forked from Lainports/freebsd-ports
MNG permits losslessly compressed, animated images. PR: 22547 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
89 lines
2.4 KiB
Text
89 lines
2.4 KiB
Text
--- configure Sun Oct 29 05:02:00 2000
|
|
+++ configure Thu Nov 2 11:31:45 2000
|
|
@@ -2664,67 +2664,3 @@
|
|
|
|
- ac_safe=`echo "lcms/lcms.h" | sed 'y%./+-%__p_%'`
|
|
-echo $ac_n "checking for lcms/lcms.h""... $ac_c" 1>&6
|
|
-echo "configure:2668: checking for lcms/lcms.h" >&5
|
|
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
- echo $ac_n "(cached) $ac_c" 1>&6
|
|
-else
|
|
- cat > conftest.$ac_ext <<EOF
|
|
-#line 2673 "configure"
|
|
-#include "confdefs.h"
|
|
-#include <lcms/lcms.h>
|
|
-EOF
|
|
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
-{ (eval echo configure:2678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
-if test -z "$ac_err"; then
|
|
- rm -rf conftest*
|
|
- eval "ac_cv_header_$ac_safe=yes"
|
|
-else
|
|
- echo "$ac_err" >&5
|
|
- echo "configure: failed program was:" >&5
|
|
- cat conftest.$ac_ext >&5
|
|
- rm -rf conftest*
|
|
- eval "ac_cv_header_$ac_safe=no"
|
|
-fi
|
|
-rm -f conftest*
|
|
-fi
|
|
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
- echo "$ac_t""yes" 1>&6
|
|
- echo $ac_n "checking for cmsCreateRGBProfile in -llcms""... $ac_c" 1>&6
|
|
-echo "configure:2695: checking for cmsCreateRGBProfile in -llcms" >&5
|
|
-ac_lib_var=`echo lcms'_'cmsCreateRGBProfile | sed 'y%./+-%__p_%'`
|
|
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
- echo $ac_n "(cached) $ac_c" 1>&6
|
|
-else
|
|
- ac_save_LIBS="$LIBS"
|
|
-LIBS="-llcms $LIBS"
|
|
-cat > conftest.$ac_ext <<EOF
|
|
-#line 2703 "configure"
|
|
-#include "confdefs.h"
|
|
-/* Override any gcc2 internal prototype to avoid an error. */
|
|
-/* We use char because int might match the return type of a gcc2
|
|
- builtin and then its argument prototype would still apply. */
|
|
-char cmsCreateRGBProfile();
|
|
-
|
|
-int main() {
|
|
-cmsCreateRGBProfile()
|
|
-; return 0; }
|
|
-EOF
|
|
-if { (eval echo configure:2714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
- rm -rf conftest*
|
|
- eval "ac_cv_lib_$ac_lib_var=yes"
|
|
-else
|
|
- echo "configure: failed program was:" >&5
|
|
- cat conftest.$ac_ext >&5
|
|
- rm -rf conftest*
|
|
- eval "ac_cv_lib_$ac_lib_var=no"
|
|
-fi
|
|
-rm -f conftest*
|
|
-LIBS="$ac_save_LIBS"
|
|
-
|
|
-fi
|
|
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
- echo "$ac_t""yes" 1>&6
|
|
-
|
|
- LIBS="$LIBS -llcms"
|
|
+ LIBS="$LIBS -llcms"
|
|
cat >> confdefs.h <<\EOF
|
|
@@ -2737,3 +2673,2 @@
|
|
|
|
-
|
|
else
|
|
@@ -2745,13 +2680,2 @@
|
|
fi
|
|
-
|
|
-
|
|
-else
|
|
- echo "$ac_t""no" 1>&6
|
|
-fi
|
|
-
|
|
-
|
|
- test $_restore -eq 1 && CPPFLAGS=$_cppflags LDFLAGS=$_ldflags
|
|
-
|
|
-fi
|
|
-
|
|
|