Changeset 31861
- Timestamp:
- Jun 27, 2008, 9:48:11 AM (16 years ago)
- Location:
- grass/trunk
- Files:
-
- 3 edited
-
aclocal.m4 (modified) (1 diff)
-
configure (modified) (388 diffs)
-
configure.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
grass/trunk/aclocal.m4
r31318 r31861 76 76 ], $4)) 77 77 CPPFLAGS=$ac_save_cppflags 78 ]) 79 80 dnl $1 = library 81 dnl $2 = header 82 dnl $3 = function call 83 dnl $4 = descriptive name 84 dnl $5 = LDFLAGS initialiser 85 dnl $6 = result variable 86 dnl $7 = mandatory dependencies (not added to $5) 87 dnl $8 = mandatory dependencies (added to $5) 88 dnl $9 = ACTION-IF-NOT-FOUND 89 90 define(LOC_CHECK_LINK,[ 91 ac_save_ldflags="$LDFLAGS" 92 ac_save_libs="$LIBS" 93 AC_MSG_CHECKING(for $4 library) 94 LDFLAGS="$5 $LDFLAGS" 95 LIBS="-l$1 $7 $8" 96 AC_TRY_LINK([$2],[$3],[ 97 AC_MSG_RESULT(found) 98 $6="$$6 -l$1 $8" 99 ],[ 100 ifelse($9,[],[ 101 AC_MSG_ERROR([*** Unable to locate $4 library.]) 102 ],$9) 103 ]) 104 LIBS=${ac_save_libs} 105 LDFLAGS=${ac_save_ldflags} 78 106 ]) 79 107 -
grass/trunk/configure
r31806 r31861 7666 7666 ac_save_libs="$LIBS" 7667 7667 LIBS="$LIBS $GDAL_LIBS" 7668 echo $ac_n "checking for GDALOpen""... $ac_c" 1>&6 7669 echo "configure:7670: checking for GDALOpen" >&5 7670 7671 cat > conftest.$ac_ext <<EOF 7672 #line 7673 "configure" 7673 #include "confdefs.h" 7674 /* System header to define __stub macros and hopefully few prototypes, 7675 which can conflict with char GDALOpen(); below. */ 7676 #include <assert.h> 7677 /* Override any gcc2 internal prototype to avoid an error. */ 7678 /* We use char because int might match the return type of a gcc2 7679 builtin and then its argument prototype would still apply. */ 7680 char GDALOpen(); 7681 7682 int main() { 7683 7684 /* The GNU C library defines this for functions which it implements 7685 to always fail with ENOSYS. Some functions are actually named 7686 something starting with __ and the normal name is an alias. */ 7687 #if defined (__stub_GDALOpen) || defined (__stub___GDALOpen) 7688 choke me 7689 #else 7690 GDALOpen(); 7691 #endif 7692 7693 ; return 0; } 7694 EOF 7695 if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7696 rm -rf conftest* 7697 eval "ac_cv_func_GDALOpen=yes" 7698 else 7699 echo "configure: failed program was:" >&5 7700 cat conftest.$ac_ext >&5 7701 rm -rf conftest* 7702 eval "ac_cv_func_GDALOpen=no" 7703 fi 7704 rm -f conftest* 7705 7706 if eval "test \"`echo '$ac_cv_func_'GDALOpen`\" = yes"; then 7707 echo "$ac_t""yes" 1>&6 7668 cat > conftest.$ac_ext <<EOF 7669 #line 7670 "configure" 7670 #include "confdefs.h" 7671 #include <gdal.h> 7672 int main() { 7673 GDALOpen("foo", GA_ReadOnly); 7674 ; return 0; } 7675 EOF 7676 if { (eval echo configure:7677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7708 7677 : 7709 7678 else 7710 echo "$ac_t""no" 1>&6 7711 7679 echo "configure: failed program was:" >&5 7680 cat conftest.$ac_ext >&5 7681 rm -rf conftest* 7682 7712 7683 LIBS="$LIBS $GDAL_DEP_LIBS" 7713 echo $ac_n "checking for GDALOpen""... $ac_c" 1>&6 7714 echo "configure:7715: checking for GDALOpen" >&5 7715 7716 cat > conftest.$ac_ext <<EOF 7717 #line 7718 "configure" 7718 #include "confdefs.h" 7719 /* System header to define __stub macros and hopefully few prototypes, 7720 which can conflict with char GDALOpen(); below. */ 7721 #include <assert.h> 7722 /* Override any gcc2 internal prototype to avoid an error. */ 7723 /* We use char because int might match the return type of a gcc2 7724 builtin and then its argument prototype would still apply. */ 7725 char GDALOpen(); 7726 7727 int main() { 7728 7729 /* The GNU C library defines this for functions which it implements 7730 to always fail with ENOSYS. Some functions are actually named 7731 something starting with __ and the normal name is an alias. */ 7732 #if defined (__stub_GDALOpen) || defined (__stub___GDALOpen) 7733 choke me 7734 #else 7735 GDALOpen(); 7736 #endif 7737 7738 ; return 0; } 7739 EOF 7740 if { (eval echo configure:7741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7741 rm -rf conftest* 7742 eval "ac_cv_func_GDALOpen=yes" 7743 else 7744 echo "configure: failed program was:" >&5 7745 cat conftest.$ac_ext >&5 7746 rm -rf conftest* 7747 eval "ac_cv_func_GDALOpen=no" 7748 fi 7749 rm -f conftest* 7750 7751 if eval "test \"`echo '$ac_cv_func_'GDALOpen`\" = yes"; then 7752 echo "$ac_t""yes" 1>&6 7684 cat > conftest.$ac_ext <<EOF 7685 #line 7686 "configure" 7686 #include "confdefs.h" 7687 #include <gdal.h> 7688 int main() { 7689 GDALOpen("foo", GA_ReadOnly); 7690 ; return 0; } 7691 EOF 7692 if { (eval echo configure:7693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7693 rm -rf conftest* 7753 7694 GDAL_LIBS="$GDAL_LIBS $GDAL_DEP_LIBS" 7754 7695 else 7755 echo " $ac_t""no" 1>&67756 7757 { echo "configure: error: *** couldn't find GDAL" 1>&2; exit 1; }7696 echo "configure: failed program was:" >&5 7697 cat conftest.$ac_ext >&5 7698 rm -rf conftest* 7758 7699 7759 fi 7760 7700 { echo "configure: error: *** Unable to locate GDAL library." 1>&2; exit 1; } 7761 7701 7762 7702 fi 7763 7703 rm -f conftest* 7704 7705 fi 7706 rm -f conftest* 7764 7707 LIBS=${ac_save_libs} 7765 7708 … … 7774 7717 7775 7718 echo $ac_n "checking whether to use TIFF""... $ac_c" 1>&6 7776 echo "configure:77 77: checking whether to use TIFF" >&57719 echo "configure:7720: checking whether to use TIFF" >&5 7777 7720 echo "$ac_t"""$with_tiff"" 1>&6 7778 7721 case "$with_tiff" in … … 7794 7737 7795 7738 echo $ac_n "checking for location of TIFF includes""... $ac_c" 1>&6 7796 echo "configure:77 97: checking for location of TIFF includes" >&57739 echo "configure:7740: checking for location of TIFF includes" >&5 7797 7740 case "$with_tiff_includes" in 7798 7741 y | ye | yes | n | no) … … 7820 7763 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7821 7764 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7822 echo "configure:7 823: checking for $ac_hdr" >&57823 7824 cat > conftest.$ac_ext <<EOF 7825 #line 7 826"configure"7765 echo "configure:7766: checking for $ac_hdr" >&5 7766 7767 cat > conftest.$ac_ext <<EOF 7768 #line 7769 "configure" 7826 7769 #include "confdefs.h" 7827 7770 #include <$ac_hdr> 7828 7771 EOF 7829 7772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7830 { (eval echo configure:7 831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }7773 { (eval echo configure:7774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7831 7774 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7832 7775 if test -z "$ac_err"; then … … 7862 7805 7863 7806 echo $ac_n "checking for location of TIFF library""... $ac_c" 1>&6 7864 echo "configure:78 65: checking for location of TIFF library" >&57807 echo "configure:7808: checking for location of TIFF library" >&5 7865 7808 case "$with_tiff_libs" in 7866 7809 y | ye | yes | n | no) … … 7893 7836 7894 7837 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 7895 echo "configure:78 96: checking for TIFFOpen in -ltiff" >&57838 echo "configure:7839: checking for TIFFOpen in -ltiff" >&5 7896 7839 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` 7897 7840 … … 7899 7842 LIBS="-ltiff $LIBS" 7900 7843 cat > conftest.$ac_ext <<EOF 7901 #line 7 902"configure"7844 #line 7845 "configure" 7902 7845 #include "confdefs.h" 7903 7846 /* Override any gcc2 internal prototype to avoid an error. */ … … 7910 7853 ; return 0; } 7911 7854 EOF 7912 if { (eval echo configure:7 913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7855 if { (eval echo configure:7856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7913 7856 rm -rf conftest* 7914 7857 eval "ac_cv_lib_$ac_lib_var=yes" … … 7929 7872 7930 7873 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 7931 echo "configure:7 932: checking for TIFFOpen in -ltiff" >&57874 echo "configure:7875: checking for TIFFOpen in -ltiff" >&5 7932 7875 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` 7933 7876 … … 7935 7878 LIBS="-ltiff $MATHLIB $LIBS" 7936 7879 cat > conftest.$ac_ext <<EOF 7937 #line 7 938"configure"7880 #line 7881 "configure" 7938 7881 #include "confdefs.h" 7939 7882 /* Override any gcc2 internal prototype to avoid an error. */ … … 7946 7889 ; return 0; } 7947 7890 EOF 7948 if { (eval echo configure:7 949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7891 if { (eval echo configure:7892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7949 7892 rm -rf conftest* 7950 7893 eval "ac_cv_lib_$ac_lib_var=yes" … … 7965 7908 7966 7909 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 7967 echo "configure:79 68: checking for TIFFOpen in -ltiff" >&57910 echo "configure:7911: checking for TIFFOpen in -ltiff" >&5 7968 7911 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` 7969 7912 … … 7971 7914 LIBS="-ltiff $ZLIB $LIBS" 7972 7915 cat > conftest.$ac_ext <<EOF 7973 #line 79 74"configure"7916 #line 7917 "configure" 7974 7917 #include "confdefs.h" 7975 7918 /* Override any gcc2 internal prototype to avoid an error. */ … … 7982 7925 ; return 0; } 7983 7926 EOF 7984 if { (eval echo configure:79 85: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7927 if { (eval echo configure:7928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7985 7928 rm -rf conftest* 7986 7929 eval "ac_cv_lib_$ac_lib_var=yes" … … 8001 7944 8002 7945 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 8003 echo "configure: 8004: checking for TIFFOpen in -ltiff" >&57946 echo "configure:7947: checking for TIFFOpen in -ltiff" >&5 8004 7947 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` 8005 7948 … … 8007 7950 LIBS="-ltiff $ZLIB $MATHLIB $LIBS" 8008 7951 cat > conftest.$ac_ext <<EOF 8009 #line 8010"configure"7952 #line 7953 "configure" 8010 7953 #include "confdefs.h" 8011 7954 /* Override any gcc2 internal prototype to avoid an error. */ … … 8018 7961 ; return 0; } 8019 7962 EOF 8020 if { (eval echo configure: 8021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7963 if { (eval echo configure:7964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8021 7964 rm -rf conftest* 8022 7965 eval "ac_cv_lib_$ac_lib_var=yes" … … 8037 7980 8038 7981 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 8039 echo "configure: 8040: checking for TIFFOpen in -ltiff" >&57982 echo "configure:7983: checking for TIFFOpen in -ltiff" >&5 8040 7983 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` 8041 7984 … … 8043 7986 LIBS="-ltiff $JPEGLIBPATH $JPEGLIB $LIBS" 8044 7987 cat > conftest.$ac_ext <<EOF 8045 #line 8046"configure"7988 #line 7989 "configure" 8046 7989 #include "confdefs.h" 8047 7990 /* Override any gcc2 internal prototype to avoid an error. */ … … 8054 7997 ; return 0; } 8055 7998 EOF 8056 if { (eval echo configure:80 57: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then7999 if { (eval echo configure:8000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8057 8000 rm -rf conftest* 8058 8001 eval "ac_cv_lib_$ac_lib_var=yes" … … 8073 8016 8074 8017 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 8075 echo "configure:80 76: checking for TIFFOpen in -ltiff" >&58018 echo "configure:8019: checking for TIFFOpen in -ltiff" >&5 8076 8019 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` 8077 8020 … … 8079 8022 LIBS="-ltiff $JPEGLIBPATH $JPEGLIB $MATHLIB $LIBS" 8080 8023 cat > conftest.$ac_ext <<EOF 8081 #line 80 82"configure"8024 #line 8025 "configure" 8082 8025 #include "confdefs.h" 8083 8026 /* Override any gcc2 internal prototype to avoid an error. */ … … 8090 8033 ; return 0; } 8091 8034 EOF 8092 if { (eval echo configure:80 93: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8035 if { (eval echo configure:8036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8093 8036 rm -rf conftest* 8094 8037 eval "ac_cv_lib_$ac_lib_var=yes" … … 8109 8052 8110 8053 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 8111 echo "configure:8 112: checking for TIFFOpen in -ltiff" >&58054 echo "configure:8055: checking for TIFFOpen in -ltiff" >&5 8112 8055 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` 8113 8056 … … 8115 8058 LIBS="-ltiff $JPEGLIBPATH $JPEGLIB $ZLIB $LIBS" 8116 8059 cat > conftest.$ac_ext <<EOF 8117 #line 8 118"configure"8060 #line 8061 "configure" 8118 8061 #include "confdefs.h" 8119 8062 /* Override any gcc2 internal prototype to avoid an error. */ … … 8126 8069 ; return 0; } 8127 8070 EOF 8128 if { (eval echo configure:8 129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8071 if { (eval echo configure:8072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8129 8072 rm -rf conftest* 8130 8073 eval "ac_cv_lib_$ac_lib_var=yes" … … 8145 8088 8146 8089 echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 8147 echo "configure:8 148: checking for TIFFOpen in -ltiff" >&58090 echo "configure:8091: checking for TIFFOpen in -ltiff" >&5 8148 8091 ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` 8149 8092 … … 8151 8094 LIBS="-ltiff $JPEGLIBPATH $JPEGLIB $ZLIB $MATHLIB $LIBS" 8152 8095 cat > conftest.$ac_ext <<EOF 8153 #line 8 154"configure"8096 #line 8097 "configure" 8154 8097 #include "confdefs.h" 8155 8098 /* Override any gcc2 internal prototype to avoid an error. */ … … 8162 8105 ; return 0; } 8163 8106 EOF 8164 if { (eval echo configure:81 65: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8107 if { (eval echo configure:8108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8165 8108 rm -rf conftest* 8166 8109 eval "ac_cv_lib_$ac_lib_var=yes" … … 8260 8203 8261 8204 echo $ac_n "checking whether to use PNG""... $ac_c" 1>&6 8262 echo "configure:82 63: checking whether to use PNG" >&58205 echo "configure:8206: checking whether to use PNG" >&5 8263 8206 echo "$ac_t"""$with_png"" 1>&6 8264 8207 case "$with_png" in … … 8279 8222 8280 8223 echo $ac_n "checking for location of PNG includes""... $ac_c" 1>&6 8281 echo "configure:82 82: checking for location of PNG includes" >&58224 echo "configure:8225: checking for location of PNG includes" >&5 8282 8225 case "$with_png_includes" in 8283 8226 y | ye | yes | n | no) … … 8305 8248 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 8306 8249 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 8307 echo "configure:8 308: checking for $ac_hdr" >&58308 8309 cat > conftest.$ac_ext <<EOF 8310 #line 8 311"configure"8250 echo "configure:8251: checking for $ac_hdr" >&5 8251 8252 cat > conftest.$ac_ext <<EOF 8253 #line 8254 "configure" 8311 8254 #include "confdefs.h" 8312 8255 #include <$ac_hdr> 8313 8256 EOF 8314 8257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8315 { (eval echo configure:8 316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }8258 { (eval echo configure:8259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8316 8259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8317 8260 if test -z "$ac_err"; then … … 8347 8290 8348 8291 echo $ac_n "checking for location of PNG library""... $ac_c" 1>&6 8349 echo "configure:8 350: checking for location of PNG library" >&58292 echo "configure:8293: checking for location of PNG library" >&5 8350 8293 case "$with_png_libs" in 8351 8294 y | ye | yes | n | no) … … 8372 8315 8373 8316 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 8374 echo "configure:83 75: checking for png_read_image in -lpng" >&58317 echo "configure:8318: checking for png_read_image in -lpng" >&5 8375 8318 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 8376 8319 … … 8378 8321 LIBS="-lpng $ZLIB $MATHLIB $LIBS" 8379 8322 cat > conftest.$ac_ext <<EOF 8380 #line 83 81"configure"8323 #line 8324 "configure" 8381 8324 #include "confdefs.h" 8382 8325 /* Override any gcc2 internal prototype to avoid an error. */ … … 8389 8332 ; return 0; } 8390 8333 EOF 8391 if { (eval echo configure:83 92: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8334 if { (eval echo configure:8335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8392 8335 rm -rf conftest* 8393 8336 eval "ac_cv_lib_$ac_lib_var=yes" … … 8431 8374 8432 8375 echo $ac_n "checking whether to use Tcl/Tk""... $ac_c" 1>&6 8433 echo "configure:8 434: checking whether to use Tcl/Tk" >&58376 echo "configure:8377: checking whether to use Tcl/Tk" >&5 8434 8377 echo "$ac_t"""$with_tcltk"" 1>&6 8435 8378 case "$with_tcltk" in … … 8451 8394 8452 8395 echo $ac_n "checking for location of Tcl/Tk includes""... $ac_c" 1>&6 8453 echo "configure:8 454: checking for location of Tcl/Tk includes" >&58396 echo "configure:8397: checking for location of Tcl/Tk includes" >&5 8454 8397 case "$with_tcltk_includes" in 8455 8398 y | ye | yes | n | no) … … 8477 8420 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 8478 8421 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 8479 echo "configure:84 80: checking for $ac_hdr" >&58480 8481 cat > conftest.$ac_ext <<EOF 8482 #line 84 83"configure"8422 echo "configure:8423: checking for $ac_hdr" >&5 8423 8424 cat > conftest.$ac_ext <<EOF 8425 #line 8426 "configure" 8483 8426 #include "confdefs.h" 8484 8427 #include <$ac_hdr> 8485 8428 EOF 8486 8429 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8487 { (eval echo configure:84 88: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }8430 { (eval echo configure:8431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8488 8431 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8489 8432 if test -z "$ac_err"; then … … 8522 8465 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 8523 8466 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 8524 echo "configure:8 525: checking for $ac_hdr" >&58525 8526 cat > conftest.$ac_ext <<EOF 8527 #line 8 528"configure"8467 echo "configure:8468: checking for $ac_hdr" >&5 8468 8469 cat > conftest.$ac_ext <<EOF 8470 #line 8471 "configure" 8528 8471 #include "confdefs.h" 8529 8472 #include <$ac_hdr> 8530 8473 EOF 8531 8474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8532 { (eval echo configure:8 533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }8475 { (eval echo configure:8476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8533 8476 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8534 8477 if test -z "$ac_err"; then … … 8564 8507 8565 8508 echo $ac_n "checking Tcl version""... $ac_c" 1>&6 8566 echo "configure:85 67: checking Tcl version" >&58509 echo "configure:8510: checking Tcl version" >&5 8567 8510 ac_save_cppflags="$CPPFLAGS" 8568 8511 CPPFLAGS="$TCLINCDIR $CPPFLAGS" … … 8572 8515 else 8573 8516 cat > conftest.$ac_ext <<EOF 8574 #line 85 75"configure"8517 #line 8518 "configure" 8575 8518 #include "confdefs.h" 8576 8519 … … 8584 8527 8585 8528 EOF 8586 if { (eval echo configure:85 87: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null8529 if { (eval echo configure:8530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8587 8530 then 8588 8531 tcl_ver=`cat conftestdata` … … 8602 8545 8603 8546 echo $ac_n "checking Tk version""... $ac_c" 1>&6 8604 echo "configure:8 605: checking Tk version" >&58547 echo "configure:8548: checking Tk version" >&5 8605 8548 ac_save_cppflags="$CPPFLAGS" 8606 8549 CPPFLAGS="$TCLINCDIR $X_CFLAGS $CPPFLAGS" … … 8610 8553 else 8611 8554 cat > conftest.$ac_ext <<EOF 8612 #line 8 613"configure"8555 #line 8556 "configure" 8613 8556 #include "confdefs.h" 8614 8557 … … 8622 8565 8623 8566 EOF 8624 if { (eval echo configure:8 625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null8567 if { (eval echo configure:8568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 8625 8568 then 8626 8569 tk_ver=`cat conftestdata` … … 8651 8594 8652 8595 echo $ac_n "checking for location of Tcl/Tk library""... $ac_c" 1>&6 8653 echo "configure:8 654: checking for location of Tcl/Tk library" >&58596 echo "configure:8597: checking for location of Tcl/Tk library" >&5 8654 8597 case "$with_tcltk_libs" in 8655 8598 y | ye | yes | n | no) … … 8681 8624 8682 8625 echo $ac_n "checking for Tcl_Init in -ltcl""... $ac_c" 1>&6 8683 echo "configure:86 84: checking for Tcl_Init in -ltcl" >&58626 echo "configure:8627: checking for Tcl_Init in -ltcl" >&5 8684 8627 ac_lib_var=`echo tcl'_'Tcl_Init | sed 'y%./+-%__p_%'` 8685 8628 … … 8687 8630 LIBS="-ltcl $MATHLIB $LIBS" 8688 8631 cat > conftest.$ac_ext <<EOF 8689 #line 86 90"configure"8632 #line 8633 "configure" 8690 8633 #include "confdefs.h" 8691 8634 /* Override any gcc2 internal prototype to avoid an error. */ … … 8698 8641 ; return 0; } 8699 8642 EOF 8700 if { (eval echo configure:8 701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8643 if { (eval echo configure:8644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8701 8644 rm -rf conftest* 8702 8645 eval "ac_cv_lib_$ac_lib_var=yes" … … 8717 8660 8718 8661 echo $ac_n "checking for Tcl_Init in -ltcl""... $ac_c" 1>&6 8719 echo "configure:8 720: checking for Tcl_Init in -ltcl" >&58662 echo "configure:8663: checking for Tcl_Init in -ltcl" >&5 8720 8663 ac_lib_var=`echo tcl'_'Tcl_Init | sed 'y%./+-%__p_%'` 8721 8664 … … 8723 8666 LIBS="-ltcl $MATHLIB $DLLIB $LIBS" 8724 8667 cat > conftest.$ac_ext <<EOF 8725 #line 8 726"configure"8668 #line 8669 "configure" 8726 8669 #include "confdefs.h" 8727 8670 /* Override any gcc2 internal prototype to avoid an error. */ … … 8734 8677 ; return 0; } 8735 8678 EOF 8736 if { (eval echo configure:8 737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8679 if { (eval echo configure:8680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8737 8680 rm -rf conftest* 8738 8681 eval "ac_cv_lib_$ac_lib_var=yes" … … 8761 8704 8762 8705 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver""... $ac_c" 1>&6 8763 echo "configure:87 64: checking for Tcl_Init in -ltcl$tcltk_ver" >&58706 echo "configure:8707: checking for Tcl_Init in -ltcl$tcltk_ver" >&5 8764 8707 ac_lib_var=`echo tcl$tcltk_ver'_'Tcl_Init | sed 'y%./+-%__p_%'` 8765 8708 … … 8767 8710 LIBS="-ltcl$tcltk_ver $MATHLIB $LIBS" 8768 8711 cat > conftest.$ac_ext <<EOF 8769 #line 87 70"configure"8712 #line 8713 "configure" 8770 8713 #include "confdefs.h" 8771 8714 /* Override any gcc2 internal prototype to avoid an error. */ … … 8778 8721 ; return 0; } 8779 8722 EOF 8780 if { (eval echo configure:87 81: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8723 if { (eval echo configure:8724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8781 8724 rm -rf conftest* 8782 8725 eval "ac_cv_lib_$ac_lib_var=yes" … … 8797 8740 8798 8741 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver""... $ac_c" 1>&6 8799 echo "configure:8 800: checking for Tcl_Init in -ltcl$tcltk_ver" >&58742 echo "configure:8743: checking for Tcl_Init in -ltcl$tcltk_ver" >&5 8800 8743 ac_lib_var=`echo tcl$tcltk_ver'_'Tcl_Init | sed 'y%./+-%__p_%'` 8801 8744 … … 8803 8746 LIBS="-ltcl$tcltk_ver $MATHLIB $DLLIB $LIBS" 8804 8747 cat > conftest.$ac_ext <<EOF 8805 #line 8 806"configure"8748 #line 8749 "configure" 8806 8749 #include "confdefs.h" 8807 8750 /* Override any gcc2 internal prototype to avoid an error. */ … … 8814 8757 ; return 0; } 8815 8758 EOF 8816 if { (eval echo configure:8 817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8759 if { (eval echo configure:8760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8817 8760 rm -rf conftest* 8818 8761 eval "ac_cv_lib_$ac_lib_var=yes" … … 8841 8784 8842 8785 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver2""... $ac_c" 1>&6 8843 echo "configure:8 844: checking for Tcl_Init in -ltcl$tcltk_ver2" >&58786 echo "configure:8787: checking for Tcl_Init in -ltcl$tcltk_ver2" >&5 8844 8787 ac_lib_var=`echo tcl$tcltk_ver2'_'Tcl_Init | sed 'y%./+-%__p_%'` 8845 8788 … … 8847 8790 LIBS="-ltcl$tcltk_ver2 $MATHLIB $LIBS" 8848 8791 cat > conftest.$ac_ext <<EOF 8849 #line 8 850"configure"8792 #line 8793 "configure" 8850 8793 #include "confdefs.h" 8851 8794 /* Override any gcc2 internal prototype to avoid an error. */ … … 8858 8801 ; return 0; } 8859 8802 EOF 8860 if { (eval echo configure:88 61: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8803 if { (eval echo configure:8804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8861 8804 rm -rf conftest* 8862 8805 eval "ac_cv_lib_$ac_lib_var=yes" … … 8877 8820 8878 8821 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver2""... $ac_c" 1>&6 8879 echo "configure:88 80: checking for Tcl_Init in -ltcl$tcltk_ver2" >&58822 echo "configure:8823: checking for Tcl_Init in -ltcl$tcltk_ver2" >&5 8880 8823 ac_lib_var=`echo tcl$tcltk_ver2'_'Tcl_Init | sed 'y%./+-%__p_%'` 8881 8824 … … 8883 8826 LIBS="-ltcl$tcltk_ver2 $MATHLIB $DLLIB $LIBS" 8884 8827 cat > conftest.$ac_ext <<EOF 8885 #line 88 86"configure"8828 #line 8829 "configure" 8886 8829 #include "confdefs.h" 8887 8830 /* Override any gcc2 internal prototype to avoid an error. */ … … 8894 8837 ; return 0; } 8895 8838 EOF 8896 if { (eval echo configure:88 97: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8839 if { (eval echo configure:8840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8897 8840 rm -rf conftest* 8898 8841 eval "ac_cv_lib_$ac_lib_var=yes" … … 8972 8915 8973 8916 echo $ac_n "checking for Tk_MainWindow in -ltk""... $ac_c" 1>&6 8974 echo "configure:89 75: checking for Tk_MainWindow in -ltk" >&58917 echo "configure:8918: checking for Tk_MainWindow in -ltk" >&5 8975 8918 ac_lib_var=`echo tk'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 8976 8919 … … 8978 8921 LIBS="-ltk $TCLLIB $MATHLIB $LIBS" 8979 8922 cat > conftest.$ac_ext <<EOF 8980 #line 89 81"configure"8923 #line 8924 "configure" 8981 8924 #include "confdefs.h" 8982 8925 /* Override any gcc2 internal prototype to avoid an error. */ … … 8989 8932 ; return 0; } 8990 8933 EOF 8991 if { (eval echo configure:89 92: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8934 if { (eval echo configure:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8992 8935 rm -rf conftest* 8993 8936 eval "ac_cv_lib_$ac_lib_var=yes" … … 9008 8951 9009 8952 echo $ac_n "checking for Tk_MainWindow in -ltk""... $ac_c" 1>&6 9010 echo "configure: 9011: checking for Tk_MainWindow in -ltk" >&58953 echo "configure:8954: checking for Tk_MainWindow in -ltk" >&5 9011 8954 ac_lib_var=`echo tk'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 9012 8955 … … 9014 8957 LIBS="-ltk $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 9015 8958 cat > conftest.$ac_ext <<EOF 9016 #line 9017"configure"8959 #line 8960 "configure" 9017 8960 #include "confdefs.h" 9018 8961 /* Override any gcc2 internal prototype to avoid an error. */ … … 9025 8968 ; return 0; } 9026 8969 EOF 9027 if { (eval echo configure: 9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8970 if { (eval echo configure:8971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9028 8971 rm -rf conftest* 9029 8972 eval "ac_cv_lib_$ac_lib_var=yes" … … 9052 8995 9053 8996 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver""... $ac_c" 1>&6 9054 echo "configure: 9055: checking for Tk_MainWindow in -ltk$tcltk_ver" >&58997 echo "configure:8998: checking for Tk_MainWindow in -ltk$tcltk_ver" >&5 9055 8998 ac_lib_var=`echo tk$tcltk_ver'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 9056 8999 … … 9058 9001 LIBS="-ltk$tcltk_ver $TCLLIB $MATHLIB $LIBS" 9059 9002 cat > conftest.$ac_ext <<EOF 9060 #line 90 61"configure"9003 #line 9004 "configure" 9061 9004 #include "confdefs.h" 9062 9005 /* Override any gcc2 internal prototype to avoid an error. */ … … 9069 9012 ; return 0; } 9070 9013 EOF 9071 if { (eval echo configure:90 72: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9014 if { (eval echo configure:9015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9072 9015 rm -rf conftest* 9073 9016 eval "ac_cv_lib_$ac_lib_var=yes" … … 9088 9031 9089 9032 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver""... $ac_c" 1>&6 9090 echo "configure:90 91: checking for Tk_MainWindow in -ltk$tcltk_ver" >&59033 echo "configure:9034: checking for Tk_MainWindow in -ltk$tcltk_ver" >&5 9091 9034 ac_lib_var=`echo tk$tcltk_ver'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 9092 9035 … … 9094 9037 LIBS="-ltk$tcltk_ver $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 9095 9038 cat > conftest.$ac_ext <<EOF 9096 #line 90 97"configure"9039 #line 9040 "configure" 9097 9040 #include "confdefs.h" 9098 9041 /* Override any gcc2 internal prototype to avoid an error. */ … … 9105 9048 ; return 0; } 9106 9049 EOF 9107 if { (eval echo configure:9 108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9050 if { (eval echo configure:9051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9108 9051 rm -rf conftest* 9109 9052 eval "ac_cv_lib_$ac_lib_var=yes" … … 9132 9075 9133 9076 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver2""... $ac_c" 1>&6 9134 echo "configure:9 135: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&59077 echo "configure:9078: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&5 9135 9078 ac_lib_var=`echo tk$tcltk_ver2'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 9136 9079 … … 9138 9081 LIBS="-ltk$tcltk_ver2 $TCLLIB $MATHLIB $LIBS" 9139 9082 cat > conftest.$ac_ext <<EOF 9140 #line 9 141"configure"9083 #line 9084 "configure" 9141 9084 #include "confdefs.h" 9142 9085 /* Override any gcc2 internal prototype to avoid an error. */ … … 9149 9092 ; return 0; } 9150 9093 EOF 9151 if { (eval echo configure:9 152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9094 if { (eval echo configure:9095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9152 9095 rm -rf conftest* 9153 9096 eval "ac_cv_lib_$ac_lib_var=yes" … … 9168 9111 9169 9112 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver2""... $ac_c" 1>&6 9170 echo "configure:91 71: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&59113 echo "configure:9114: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&5 9171 9114 ac_lib_var=`echo tk$tcltk_ver2'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 9172 9115 … … 9174 9117 LIBS="-ltk$tcltk_ver2 $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 9175 9118 cat > conftest.$ac_ext <<EOF 9176 #line 91 77"configure"9119 #line 9120 "configure" 9177 9120 #include "confdefs.h" 9178 9121 /* Override any gcc2 internal prototype to avoid an error. */ … … 9185 9128 ; return 0; } 9186 9129 EOF 9187 if { (eval echo configure:91 88: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9130 if { (eval echo configure:9131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9188 9131 rm -rf conftest* 9189 9132 eval "ac_cv_lib_$ac_lib_var=yes" … … 9277 9220 9278 9221 echo $ac_n "checking whether to use PostgreSQL""... $ac_c" 1>&6 9279 echo "configure:92 80: checking whether to use PostgreSQL" >&59222 echo "configure:9223: checking whether to use PostgreSQL" >&5 9280 9223 echo "$ac_t"""$with_postgres"" 1>&6 9281 9224 case "$with_postgres" in … … 9304 9247 9305 9248 echo $ac_n "checking for location of PostgreSQL includes""... $ac_c" 1>&6 9306 echo "configure:9 307: checking for location of PostgreSQL includes" >&59249 echo "configure:9250: checking for location of PostgreSQL includes" >&5 9307 9250 case "$with_postgres_includes" in 9308 9251 y | ye | yes | n | no) … … 9330 9273 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 9331 9274 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 9332 echo "configure:9 333: checking for $ac_hdr" >&59333 9334 cat > conftest.$ac_ext <<EOF 9335 #line 9 336"configure"9275 echo "configure:9276: checking for $ac_hdr" >&5 9276 9277 cat > conftest.$ac_ext <<EOF 9278 #line 9279 "configure" 9336 9279 #include "confdefs.h" 9337 9280 #include <$ac_hdr> 9338 9281 EOF 9339 9282 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9340 { (eval echo configure:9 341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }9283 { (eval echo configure:9284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9341 9284 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9342 9285 if test -z "$ac_err"; then … … 9376 9319 9377 9320 echo $ac_n "checking for location of PostgreSQL library""... $ac_c" 1>&6 9378 echo "configure:93 79: checking for location of PostgreSQL library" >&59321 echo "configure:9322: checking for location of PostgreSQL library" >&5 9379 9322 case "$with_postgres_libs" in 9380 9323 y | ye | yes | n | no) … … 9405 9348 9406 9349 echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6 9407 echo "configure:9 408: checking for PQsetdbLogin in -lpq" >&59350 echo "configure:9351: checking for PQsetdbLogin in -lpq" >&5 9408 9351 ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'` 9409 9352 … … 9411 9354 LIBS="-lpq $LIBS" 9412 9355 cat > conftest.$ac_ext <<EOF 9413 #line 9 414"configure"9356 #line 9357 "configure" 9414 9357 #include "confdefs.h" 9415 9358 /* Override any gcc2 internal prototype to avoid an error. */ … … 9422 9365 ; return 0; } 9423 9366 EOF 9424 if { (eval echo configure:9 425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9367 if { (eval echo configure:9368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9425 9368 rm -rf conftest* 9426 9369 eval "ac_cv_lib_$ac_lib_var=yes" … … 9441 9384 9442 9385 echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6 9443 echo "configure:9 444: checking for PQsetdbLogin in -lpq" >&59386 echo "configure:9387: checking for PQsetdbLogin in -lpq" >&5 9444 9387 ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'` 9445 9388 … … 9447 9390 LIBS="-lpq -lssl -lcrypto $LIBS" 9448 9391 cat > conftest.$ac_ext <<EOF 9449 #line 9 450"configure"9392 #line 9393 "configure" 9450 9393 #include "confdefs.h" 9451 9394 /* Override any gcc2 internal prototype to avoid an error. */ … … 9458 9401 ; return 0; } 9459 9402 EOF 9460 if { (eval echo configure:94 61: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9403 if { (eval echo configure:9404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9461 9404 rm -rf conftest* 9462 9405 eval "ac_cv_lib_$ac_lib_var=yes" … … 9477 9420 9478 9421 echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6 9479 echo "configure:94 80: checking for PQsetdbLogin in -lpq" >&59422 echo "configure:9423: checking for PQsetdbLogin in -lpq" >&5 9480 9423 ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'` 9481 9424 … … 9483 9426 LIBS="-lpq -lcrypt $LIBS" 9484 9427 cat > conftest.$ac_ext <<EOF 9485 #line 94 86"configure"9428 #line 9429 "configure" 9486 9429 #include "confdefs.h" 9487 9430 /* Override any gcc2 internal prototype to avoid an error. */ … … 9494 9437 ; return 0; } 9495 9438 EOF 9496 if { (eval echo configure:94 97: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9439 if { (eval echo configure:9440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9497 9440 rm -rf conftest* 9498 9441 eval "ac_cv_lib_$ac_lib_var=yes" … … 9513 9456 9514 9457 echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6 9515 echo "configure:9 516: checking for PQsetdbLogin in -lpq" >&59458 echo "configure:9459: checking for PQsetdbLogin in -lpq" >&5 9516 9459 ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'` 9517 9460 … … 9519 9462 LIBS="-lpq -lcrypt -lssl -lcrypto $LIBS" 9520 9463 cat > conftest.$ac_ext <<EOF 9521 #line 9 522"configure"9464 #line 9465 "configure" 9522 9465 #include "confdefs.h" 9523 9466 /* Override any gcc2 internal prototype to avoid an error. */ … … 9530 9473 ; return 0; } 9531 9474 EOF 9532 if { (eval echo configure:9 533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9475 if { (eval echo configure:9476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9533 9476 rm -rf conftest* 9534 9477 eval "ac_cv_lib_$ac_lib_var=yes" … … 9587 9530 LDFLAGS="$LDFLAGS $PQLIBPATH" 9588 9531 echo $ac_n "checking for PQcmdTuples in -lpq""... $ac_c" 1>&6 9589 echo "configure:95 90: checking for PQcmdTuples in -lpq" >&59532 echo "configure:9533: checking for PQcmdTuples in -lpq" >&5 9590 9533 ac_lib_var=`echo pq'_'PQcmdTuples | sed 'y%./+-%__p_%'` 9591 9534 … … 9593 9536 LIBS="-lpq $LIBS" 9594 9537 cat > conftest.$ac_ext <<EOF 9595 #line 95 96"configure"9538 #line 9539 "configure" 9596 9539 #include "confdefs.h" 9597 9540 /* Override any gcc2 internal prototype to avoid an error. */ … … 9604 9547 ; return 0; } 9605 9548 EOF 9606 if { (eval echo configure:9 607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9549 if { (eval echo configure:9550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9607 9550 rm -rf conftest* 9608 9551 eval "ac_cv_lib_$ac_lib_var=yes" … … 9626 9569 9627 9570 echo $ac_n "checking for PQcmdTuples in -lpq""... $ac_c" 1>&6 9628 echo "configure:9 629: checking for PQcmdTuples in -lpq" >&59571 echo "configure:9572: checking for PQcmdTuples in -lpq" >&5 9629 9572 ac_lib_var=`echo pq'_'PQcmdTuples | sed 'y%./+-%__p_%'` 9630 9573 … … 9632 9575 LIBS="-lpq -lcrypt $LIBS" 9633 9576 cat > conftest.$ac_ext <<EOF 9634 #line 9 635"configure"9577 #line 9578 "configure" 9635 9578 #include "confdefs.h" 9636 9579 /* Override any gcc2 internal prototype to avoid an error. */ … … 9643 9586 ; return 0; } 9644 9587 EOF 9645 if { (eval echo configure:9 646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9588 if { (eval echo configure:9589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9646 9589 rm -rf conftest* 9647 9590 eval "ac_cv_lib_$ac_lib_var=yes" … … 9686 9629 9687 9630 echo $ac_n "checking whether to use MySQL""... $ac_c" 1>&6 9688 echo "configure:96 89: checking whether to use MySQL" >&59631 echo "configure:9632: checking whether to use MySQL" >&5 9689 9632 echo "$ac_t"""$with_mysql"" 1>&6 9690 9633 case "$with_mysql" in … … 9706 9649 9707 9650 echo $ac_n "checking for location of MySQL includes""... $ac_c" 1>&6 9708 echo "configure:9 709: checking for location of MySQL includes" >&59651 echo "configure:9652: checking for location of MySQL includes" >&5 9709 9652 case "$with_mysql_includes" in 9710 9653 y | ye | yes | n | no) … … 9732 9675 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 9733 9676 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 9734 echo "configure:9 735: checking for $ac_hdr" >&59735 9736 cat > conftest.$ac_ext <<EOF 9737 #line 9 738"configure"9677 echo "configure:9678: checking for $ac_hdr" >&5 9678 9679 cat > conftest.$ac_ext <<EOF 9680 #line 9681 "configure" 9738 9681 #include "confdefs.h" 9739 9682 #include <$ac_hdr> 9740 9683 EOF 9741 9684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9742 { (eval echo configure:9 743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }9685 { (eval echo configure:9686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9743 9686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9744 9687 if test -z "$ac_err"; then … … 9777 9720 9778 9721 echo $ac_n "checking for location of MySQL library""... $ac_c" 1>&6 9779 echo "configure:97 80: checking for location of MySQL library" >&59722 echo "configure:9723: checking for location of MySQL library" >&5 9780 9723 case "$with_mysql_libs" in 9781 9724 y | ye | yes | n | no) … … 9808 9751 9809 9752 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 9810 echo "configure:9 811: checking for mysql_query in -lmysqlclient" >&59753 echo "configure:9754: checking for mysql_query in -lmysqlclient" >&5 9811 9754 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 9812 9755 … … 9814 9757 LIBS="-lmysqlclient $LIBS" 9815 9758 cat > conftest.$ac_ext <<EOF 9816 #line 9 817"configure"9759 #line 9760 "configure" 9817 9760 #include "confdefs.h" 9818 9761 /* Override any gcc2 internal prototype to avoid an error. */ … … 9825 9768 ; return 0; } 9826 9769 EOF 9827 if { (eval echo configure:9 828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9770 if { (eval echo configure:9771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9828 9771 rm -rf conftest* 9829 9772 eval "ac_cv_lib_$ac_lib_var=yes" … … 9844 9787 9845 9788 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 9846 echo "configure:9 847: checking for mysql_query in -lmysqlclient" >&59789 echo "configure:9790: checking for mysql_query in -lmysqlclient" >&5 9847 9790 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 9848 9791 … … 9850 9793 LIBS="-lmysqlclient $MATHLIB $LIBS" 9851 9794 cat > conftest.$ac_ext <<EOF 9852 #line 9 853"configure"9795 #line 9796 "configure" 9853 9796 #include "confdefs.h" 9854 9797 /* Override any gcc2 internal prototype to avoid an error. */ … … 9861 9804 ; return 0; } 9862 9805 EOF 9863 if { (eval echo configure:98 64: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9806 if { (eval echo configure:9807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9864 9807 rm -rf conftest* 9865 9808 eval "ac_cv_lib_$ac_lib_var=yes" … … 9880 9823 9881 9824 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 9882 echo "configure:98 83: checking for mysql_query in -lmysqlclient" >&59825 echo "configure:9826: checking for mysql_query in -lmysqlclient" >&5 9883 9826 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 9884 9827 … … 9886 9829 LIBS="-lmysqlclient $SOCKLIB $LIBS" 9887 9830 cat > conftest.$ac_ext <<EOF 9888 #line 98 89"configure"9831 #line 9832 "configure" 9889 9832 #include "confdefs.h" 9890 9833 /* Override any gcc2 internal prototype to avoid an error. */ … … 9897 9840 ; return 0; } 9898 9841 EOF 9899 if { (eval echo configure:9 900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9842 if { (eval echo configure:9843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9900 9843 rm -rf conftest* 9901 9844 eval "ac_cv_lib_$ac_lib_var=yes" … … 9916 9859 9917 9860 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 9918 echo "configure:9 919: checking for mysql_query in -lmysqlclient" >&59861 echo "configure:9862: checking for mysql_query in -lmysqlclient" >&5 9919 9862 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 9920 9863 … … 9922 9865 LIBS="-lmysqlclient $SOCKLIB $MATHLIB $LIBS" 9923 9866 cat > conftest.$ac_ext <<EOF 9924 #line 9 925"configure"9867 #line 9868 "configure" 9925 9868 #include "confdefs.h" 9926 9869 /* Override any gcc2 internal prototype to avoid an error. */ … … 9933 9876 ; return 0; } 9934 9877 EOF 9935 if { (eval echo configure:9 936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9878 if { (eval echo configure:9879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9936 9879 rm -rf conftest* 9937 9880 eval "ac_cv_lib_$ac_lib_var=yes" … … 9952 9895 9953 9896 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 9954 echo "configure:9 955: checking for mysql_query in -lmysqlclient" >&59897 echo "configure:9898: checking for mysql_query in -lmysqlclient" >&5 9955 9898 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 9956 9899 … … 9958 9901 LIBS="-lmysqlclient $ZLIB $LIBS" 9959 9902 cat > conftest.$ac_ext <<EOF 9960 #line 99 61"configure"9903 #line 9904 "configure" 9961 9904 #include "confdefs.h" 9962 9905 /* Override any gcc2 internal prototype to avoid an error. */ … … 9969 9912 ; return 0; } 9970 9913 EOF 9971 if { (eval echo configure:99 72: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9914 if { (eval echo configure:9915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9972 9915 rm -rf conftest* 9973 9916 eval "ac_cv_lib_$ac_lib_var=yes" … … 9988 9931 9989 9932 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 9990 echo "configure:99 91: checking for mysql_query in -lmysqlclient" >&59933 echo "configure:9934: checking for mysql_query in -lmysqlclient" >&5 9991 9934 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 9992 9935 … … 9994 9937 LIBS="-lmysqlclient $ZLIB $MATHLIB $LIBS" 9995 9938 cat > conftest.$ac_ext <<EOF 9996 #line 99 97"configure"9939 #line 9940 "configure" 9997 9940 #include "confdefs.h" 9998 9941 /* Override any gcc2 internal prototype to avoid an error. */ … … 10005 9948 ; return 0; } 10006 9949 EOF 10007 if { (eval echo configure: 10008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9950 if { (eval echo configure:9951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10008 9951 rm -rf conftest* 10009 9952 eval "ac_cv_lib_$ac_lib_var=yes" … … 10024 9967 10025 9968 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 10026 echo "configure: 10027: checking for mysql_query in -lmysqlclient" >&59969 echo "configure:9970: checking for mysql_query in -lmysqlclient" >&5 10027 9970 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 10028 9971 … … 10030 9973 LIBS="-lmysqlclient $ZLIB $SOCKLIB $LIBS" 10031 9974 cat > conftest.$ac_ext <<EOF 10032 #line 10033"configure"9975 #line 9976 "configure" 10033 9976 #include "confdefs.h" 10034 9977 /* Override any gcc2 internal prototype to avoid an error. */ … … 10041 9984 ; return 0; } 10042 9985 EOF 10043 if { (eval echo configure: 10044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9986 if { (eval echo configure:9987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10044 9987 rm -rf conftest* 10045 9988 eval "ac_cv_lib_$ac_lib_var=yes" … … 10060 10003 10061 10004 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 10062 echo "configure:100 63: checking for mysql_query in -lmysqlclient" >&510005 echo "configure:10006: checking for mysql_query in -lmysqlclient" >&5 10063 10006 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 10064 10007 … … 10066 10009 LIBS="-lmysqlclient $ZLIB $SOCKLIB $MATHLIB $LIBS" 10067 10010 cat > conftest.$ac_ext <<EOF 10068 #line 100 69"configure"10011 #line 10012 "configure" 10069 10012 #include "confdefs.h" 10070 10013 /* Override any gcc2 internal prototype to avoid an error. */ … … 10077 10020 ; return 0; } 10078 10021 EOF 10079 if { (eval echo configure:100 80: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10022 if { (eval echo configure:10023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10080 10023 rm -rf conftest* 10081 10024 eval "ac_cv_lib_$ac_lib_var=yes" … … 10167 10110 set dummy mysql_config; ac_word=$2 10168 10111 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 10169 echo "configure:101 70: checking for $ac_word" >&510112 echo "configure:10113: checking for $ac_word" >&5 10170 10113 10171 10114 case "$MYSQLD_CONFIG" in … … 10208 10151 LIBS="$MYSQLDLIB $LIBS" 10209 10152 echo $ac_n "checking for mysql_server_init""... $ac_c" 1>&6 10210 echo "configure:10 211: checking for mysql_server_init" >&510211 10212 cat > conftest.$ac_ext <<EOF 10213 #line 10 214"configure"10153 echo "configure:10154: checking for mysql_server_init" >&5 10154 10155 cat > conftest.$ac_ext <<EOF 10156 #line 10157 "configure" 10214 10157 #include "confdefs.h" 10215 10158 /* System header to define __stub macros and hopefully few prototypes, … … 10234 10177 ; return 0; } 10235 10178 EOF 10236 if { (eval echo configure:10 237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10179 if { (eval echo configure:10180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10237 10180 rm -rf conftest* 10238 10181 eval "ac_cv_func_mysql_server_init=yes" … … 10272 10215 10273 10216 echo $ac_n "checking whether to use SQLite""... $ac_c" 1>&6 10274 echo "configure:102 75: checking whether to use SQLite" >&510217 echo "configure:10218: checking whether to use SQLite" >&5 10275 10218 echo "$ac_t"""$with_sqlite"" 1>&6 10276 10219 case "$with_sqlite" in … … 10292 10235 10293 10236 echo $ac_n "checking for location of SQLite includes""... $ac_c" 1>&6 10294 echo "configure:102 95: checking for location of SQLite includes" >&510237 echo "configure:10238: checking for location of SQLite includes" >&5 10295 10238 case "$with_sqlite_includes" in 10296 10239 y | ye | yes | n | no) … … 10318 10261 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10319 10262 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10320 echo "configure:10 321: checking for $ac_hdr" >&510321 10322 cat > conftest.$ac_ext <<EOF 10323 #line 10 324"configure"10263 echo "configure:10264: checking for $ac_hdr" >&5 10264 10265 cat > conftest.$ac_ext <<EOF 10266 #line 10267 "configure" 10324 10267 #include "confdefs.h" 10325 10268 #include <$ac_hdr> 10326 10269 EOF 10327 10270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10328 { (eval echo configure:10 329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }10271 { (eval echo configure:10272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10329 10272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10330 10273 if test -z "$ac_err"; then … … 10369 10312 10370 10313 echo $ac_n "checking for location of SQLite library""... $ac_c" 1>&6 10371 echo "configure:103 72: checking for location of SQLite library" >&510314 echo "configure:10315: checking for location of SQLite library" >&5 10372 10315 case "$with_sqlite_libs" in 10373 10316 y | ye | yes | n | no) … … 10396 10339 10397 10340 echo $ac_n "checking for sqlite3_open in -lsqlite3""... $ac_c" 1>&6 10398 echo "configure:103 99: checking for sqlite3_open in -lsqlite3" >&510341 echo "configure:10342: checking for sqlite3_open in -lsqlite3" >&5 10399 10342 ac_lib_var=`echo sqlite3'_'sqlite3_open | sed 'y%./+-%__p_%'` 10400 10343 … … 10402 10345 LIBS="-lsqlite3 $LIBS" 10403 10346 cat > conftest.$ac_ext <<EOF 10404 #line 10 405"configure"10347 #line 10348 "configure" 10405 10348 #include "confdefs.h" 10406 10349 /* Override any gcc2 internal prototype to avoid an error. */ … … 10413 10356 ; return 0; } 10414 10357 EOF 10415 if { (eval echo configure:10 416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10358 if { (eval echo configure:10359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10416 10359 rm -rf conftest* 10417 10360 eval "ac_cv_lib_$ac_lib_var=yes" … … 10432 10375 10433 10376 echo $ac_n "checking for sqlite3_open in -lsqlite3""... $ac_c" 1>&6 10434 echo "configure:10 435: checking for sqlite3_open in -lsqlite3" >&510377 echo "configure:10378: checking for sqlite3_open in -lsqlite3" >&5 10435 10378 ac_lib_var=`echo sqlite3'_'sqlite3_open | sed 'y%./+-%__p_%'` 10436 10379 … … 10438 10381 LIBS="-lsqlite3 $MATHLIB $LIBS" 10439 10382 cat > conftest.$ac_ext <<EOF 10440 #line 10 441"configure"10383 #line 10384 "configure" 10441 10384 #include "confdefs.h" 10442 10385 /* Override any gcc2 internal prototype to avoid an error. */ … … 10449 10392 ; return 0; } 10450 10393 EOF 10451 if { (eval echo configure:10 452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10394 if { (eval echo configure:10395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10452 10395 rm -rf conftest* 10453 10396 eval "ac_cv_lib_$ac_lib_var=yes" … … 10502 10445 10503 10446 echo $ac_n "checking whether to use FFMPEG""... $ac_c" 1>&6 10504 echo "configure:10 505: checking whether to use FFMPEG" >&510447 echo "configure:10448: checking whether to use FFMPEG" >&5 10505 10448 echo "$ac_t"""$with_ffmpeg"" 1>&6 10506 10449 case "$with_ffmpeg" in … … 10522 10465 10523 10466 echo $ac_n "checking for location of FFMPEG includes""... $ac_c" 1>&6 10524 echo "configure:10 525: checking for location of FFMPEG includes" >&510467 echo "configure:10468: checking for location of FFMPEG includes" >&5 10525 10468 case "$with_ffmpeg_includes" in 10526 10469 y | ye | yes | n | no) … … 10548 10491 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10549 10492 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10550 echo "configure:10 551: checking for $ac_hdr" >&510551 10552 cat > conftest.$ac_ext <<EOF 10553 #line 10 554"configure"10493 echo "configure:10494: checking for $ac_hdr" >&5 10494 10495 cat > conftest.$ac_ext <<EOF 10496 #line 10497 "configure" 10554 10497 #include "confdefs.h" 10555 10498 #include <$ac_hdr> 10556 10499 EOF 10557 10500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10558 { (eval echo configure:105 59: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }10501 { (eval echo configure:10502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10559 10502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10560 10503 if test -z "$ac_err"; then … … 10592 10535 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10593 10536 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10594 echo "configure:105 95: checking for $ac_hdr" >&510595 10596 cat > conftest.$ac_ext <<EOF 10597 #line 105 98"configure"10537 echo "configure:10538: checking for $ac_hdr" >&5 10538 10539 cat > conftest.$ac_ext <<EOF 10540 #line 10541 "configure" 10598 10541 #include "confdefs.h" 10599 10542 #include <$ac_hdr> 10600 10543 EOF 10601 10544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10602 { (eval echo configure:10 603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }10545 { (eval echo configure:10546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10603 10546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10604 10547 if test -z "$ac_err"; then … … 10636 10579 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10637 10580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10638 echo "configure:10 639: checking for $ac_hdr" >&510639 10640 cat > conftest.$ac_ext <<EOF 10641 #line 10 642"configure"10581 echo "configure:10582: checking for $ac_hdr" >&5 10582 10583 cat > conftest.$ac_ext <<EOF 10584 #line 10585 "configure" 10642 10585 #include "confdefs.h" 10643 10586 #include <$ac_hdr> 10644 10587 EOF 10645 10588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10646 { (eval echo configure:10 647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }10589 { (eval echo configure:10590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10647 10590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10648 10591 if test -z "$ac_err"; then … … 10687 10630 10688 10631 echo $ac_n "checking for location of FFMPEG library""... $ac_c" 1>&6 10689 echo "configure:106 90: checking for location of FFMPEG library" >&510632 echo "configure:10633: checking for location of FFMPEG library" >&5 10690 10633 case "$with_ffmpeg_libs" in 10691 10634 y | ye | yes | n | no) … … 10714 10657 10715 10658 echo $ac_n "checking for av_free in -lavutil""... $ac_c" 1>&6 10716 echo "configure:10 717: checking for av_free in -lavutil" >&510659 echo "configure:10660: checking for av_free in -lavutil" >&5 10717 10660 ac_lib_var=`echo avutil'_'av_free | sed 'y%./+-%__p_%'` 10718 10661 … … 10720 10663 LIBS="-lavutil $LIBS" 10721 10664 cat > conftest.$ac_ext <<EOF 10722 #line 10 723"configure"10665 #line 10666 "configure" 10723 10666 #include "confdefs.h" 10724 10667 /* Override any gcc2 internal prototype to avoid an error. */ … … 10731 10674 ; return 0; } 10732 10675 EOF 10733 if { (eval echo configure:10 734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10676 if { (eval echo configure:10677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10734 10677 rm -rf conftest* 10735 10678 eval "ac_cv_lib_$ac_lib_var=yes" … … 10750 10693 10751 10694 echo $ac_n "checking for av_free in -lavutil""... $ac_c" 1>&6 10752 echo "configure:10 753: checking for av_free in -lavutil" >&510695 echo "configure:10696: checking for av_free in -lavutil" >&5 10753 10696 ac_lib_var=`echo avutil'_'av_free | sed 'y%./+-%__p_%'` 10754 10697 … … 10756 10699 LIBS="-lavutil $MATHLIB $LIBS" 10757 10700 cat > conftest.$ac_ext <<EOF 10758 #line 107 59"configure"10701 #line 10702 "configure" 10759 10702 #include "confdefs.h" 10760 10703 /* Override any gcc2 internal prototype to avoid an error. */ … … 10767 10710 ; return 0; } 10768 10711 EOF 10769 if { (eval echo configure:107 70: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10712 if { (eval echo configure:10713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10770 10713 rm -rf conftest* 10771 10714 eval "ac_cv_lib_$ac_lib_var=yes" … … 10812 10755 10813 10756 echo $ac_n "checking for avcodec_init in -lavcodec""... $ac_c" 1>&6 10814 echo "configure:10 815: checking for avcodec_init in -lavcodec" >&510757 echo "configure:10758: checking for avcodec_init in -lavcodec" >&5 10815 10758 ac_lib_var=`echo avcodec'_'avcodec_init | sed 'y%./+-%__p_%'` 10816 10759 … … 10818 10761 LIBS="-lavcodec $FFMPEGLIB $LIBS" 10819 10762 cat > conftest.$ac_ext <<EOF 10820 #line 10 821"configure"10763 #line 10764 "configure" 10821 10764 #include "confdefs.h" 10822 10765 /* Override any gcc2 internal prototype to avoid an error. */ … … 10829 10772 ; return 0; } 10830 10773 EOF 10831 if { (eval echo configure:10 832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10774 if { (eval echo configure:10775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10832 10775 rm -rf conftest* 10833 10776 eval "ac_cv_lib_$ac_lib_var=yes" … … 10848 10791 10849 10792 echo $ac_n "checking for avcodec_init in -lavcodec""... $ac_c" 1>&6 10850 echo "configure:10 851: checking for avcodec_init in -lavcodec" >&510793 echo "configure:10794: checking for avcodec_init in -lavcodec" >&5 10851 10794 ac_lib_var=`echo avcodec'_'avcodec_init | sed 'y%./+-%__p_%'` 10852 10795 … … 10854 10797 LIBS="-lavcodec $FFMPEGLIB $MATHLIB $LIBS" 10855 10798 cat > conftest.$ac_ext <<EOF 10856 #line 108 57"configure"10799 #line 10800 "configure" 10857 10800 #include "confdefs.h" 10858 10801 /* Override any gcc2 internal prototype to avoid an error. */ … … 10865 10808 ; return 0; } 10866 10809 EOF 10867 if { (eval echo configure:108 68: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10810 if { (eval echo configure:10811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10868 10811 rm -rf conftest* 10869 10812 eval "ac_cv_lib_$ac_lib_var=yes" … … 10910 10853 10911 10854 echo $ac_n "checking for av_set_parameters in -lavformat""... $ac_c" 1>&6 10912 echo "configure:10 913: checking for av_set_parameters in -lavformat" >&510855 echo "configure:10856: checking for av_set_parameters in -lavformat" >&5 10913 10856 ac_lib_var=`echo avformat'_'av_set_parameters | sed 'y%./+-%__p_%'` 10914 10857 … … 10916 10859 LIBS="-lavformat $FFMPEGLIB $LIBS" 10917 10860 cat > conftest.$ac_ext <<EOF 10918 #line 10 919"configure"10861 #line 10862 "configure" 10919 10862 #include "confdefs.h" 10920 10863 /* Override any gcc2 internal prototype to avoid an error. */ … … 10927 10870 ; return 0; } 10928 10871 EOF 10929 if { (eval echo configure:10 930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10872 if { (eval echo configure:10873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10930 10873 rm -rf conftest* 10931 10874 eval "ac_cv_lib_$ac_lib_var=yes" … … 10946 10889 10947 10890 echo $ac_n "checking for av_set_parameters in -lavformat""... $ac_c" 1>&6 10948 echo "configure:10 949: checking for av_set_parameters in -lavformat" >&510891 echo "configure:10892: checking for av_set_parameters in -lavformat" >&5 10949 10892 ac_lib_var=`echo avformat'_'av_set_parameters | sed 'y%./+-%__p_%'` 10950 10893 … … 10952 10895 LIBS="-lavformat $FFMPEGLIB $MATHLIB $LIBS" 10953 10896 cat > conftest.$ac_ext <<EOF 10954 #line 10 955"configure"10897 #line 10898 "configure" 10955 10898 #include "confdefs.h" 10956 10899 /* Override any gcc2 internal prototype to avoid an error. */ … … 10963 10906 ; return 0; } 10964 10907 EOF 10965 if { (eval echo configure:109 66: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10908 if { (eval echo configure:10909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10966 10909 rm -rf conftest* 10967 10910 eval "ac_cv_lib_$ac_lib_var=yes" … … 11023 10966 11024 10967 echo $ac_n "checking whether to use OpenGL""... $ac_c" 1>&6 11025 echo "configure:1 1026: checking whether to use OpenGL" >&510968 echo "configure:10969: checking whether to use OpenGL" >&5 11026 10969 echo "$ac_t"""$with_opengl"" 1>&6 11027 10970 case "$with_opengl" in … … 11057 11000 11058 11001 echo $ac_n "checking for location of OpenGL includes""... $ac_c" 1>&6 11059 echo "configure:110 60: checking for location of OpenGL includes" >&511002 echo "configure:11003: checking for location of OpenGL includes" >&5 11060 11003 case "$with_opengl_includes" in 11061 11004 y | ye | yes | n | no) … … 11083 11026 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11084 11027 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11085 echo "configure:110 86: checking for $ac_hdr" >&511086 11087 cat > conftest.$ac_ext <<EOF 11088 #line 110 89"configure"11028 echo "configure:11029: checking for $ac_hdr" >&5 11029 11030 cat > conftest.$ac_ext <<EOF 11031 #line 11032 "configure" 11089 11032 #include "confdefs.h" 11090 11033 #include <$ac_hdr> 11091 11034 EOF 11092 11035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11093 { (eval echo configure:110 94: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }11036 { (eval echo configure:11037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11094 11037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11095 11038 if test -z "$ac_err"; then … … 11125 11068 11126 11069 echo $ac_n "checking for location of OpenGL library""... $ac_c" 1>&6 11127 echo "configure:11 128: checking for location of OpenGL library" >&511070 echo "configure:11071: checking for location of OpenGL library" >&5 11128 11071 case "$with_opengl_libs" in 11129 11072 y | ye | yes | n | no) … … 11154 11097 11155 11098 echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6 11156 echo "configure:111 57: checking for glBegin in -lGL" >&511099 echo "configure:11100: checking for glBegin in -lGL" >&5 11157 11100 ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'` 11158 11101 … … 11160 11103 LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 11161 11104 cat > conftest.$ac_ext <<EOF 11162 #line 111 63"configure"11105 #line 11106 "configure" 11163 11106 #include "confdefs.h" 11164 11107 /* Override any gcc2 internal prototype to avoid an error. */ … … 11171 11114 ; return 0; } 11172 11115 EOF 11173 if { (eval echo configure:111 74: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11116 if { (eval echo configure:11117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11174 11117 rm -rf conftest* 11175 11118 eval "ac_cv_lib_$ac_lib_var=yes" … … 11190 11133 11191 11134 echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6 11192 echo "configure:111 93: checking for glBegin in -lGL" >&511135 echo "configure:11136: checking for glBegin in -lGL" >&5 11193 11136 ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'` 11194 11137 … … 11196 11139 LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lXext $LIBS" 11197 11140 cat > conftest.$ac_ext <<EOF 11198 #line 111 99"configure"11141 #line 11142 "configure" 11199 11142 #include "confdefs.h" 11200 11143 /* Override any gcc2 internal prototype to avoid an error. */ … … 11207 11150 ; return 0; } 11208 11151 EOF 11209 if { (eval echo configure:11 210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11152 if { (eval echo configure:11153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11210 11153 rm -rf conftest* 11211 11154 eval "ac_cv_lib_$ac_lib_var=yes" … … 11226 11169 11227 11170 echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6 11228 echo "configure:11 229: checking for glBegin in -lGL" >&511171 echo "configure:11172: checking for glBegin in -lGL" >&5 11229 11172 ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'` 11230 11173 … … 11232 11175 LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lpthread $LIBS" 11233 11176 cat > conftest.$ac_ext <<EOF 11234 #line 11 235"configure"11177 #line 11178 "configure" 11235 11178 #include "confdefs.h" 11236 11179 /* Override any gcc2 internal prototype to avoid an error. */ … … 11243 11186 ; return 0; } 11244 11187 EOF 11245 if { (eval echo configure:11 246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11188 if { (eval echo configure:11189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11246 11189 rm -rf conftest* 11247 11190 eval "ac_cv_lib_$ac_lib_var=yes" … … 11262 11205 11263 11206 echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6 11264 echo "configure:112 65: checking for glBegin in -lGL" >&511207 echo "configure:11208: checking for glBegin in -lGL" >&5 11265 11208 ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'` 11266 11209 … … 11268 11211 LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lpthread -lXext $LIBS" 11269 11212 cat > conftest.$ac_ext <<EOF 11270 #line 112 71"configure"11213 #line 11214 "configure" 11271 11214 #include "confdefs.h" 11272 11215 /* Override any gcc2 internal prototype to avoid an error. */ … … 11279 11222 ; return 0; } 11280 11223 EOF 11281 if { (eval echo configure:112 82: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11224 if { (eval echo configure:11225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11282 11225 rm -rf conftest* 11283 11226 eval "ac_cv_lib_$ac_lib_var=yes" … … 11341 11284 11342 11285 echo $ac_n "checking for gluBeginCurve in -lGLU""... $ac_c" 1>&6 11343 echo "configure:11 344: checking for gluBeginCurve in -lGLU" >&511286 echo "configure:11287: checking for gluBeginCurve in -lGLU" >&5 11344 11287 ac_lib_var=`echo GLU'_'gluBeginCurve | sed 'y%./+-%__p_%'` 11345 11288 … … 11347 11290 LIBS="-lGLU $OPENGLLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 11348 11291 cat > conftest.$ac_ext <<EOF 11349 #line 11 350"configure"11292 #line 11293 "configure" 11350 11293 #include "confdefs.h" 11351 11294 /* Override any gcc2 internal prototype to avoid an error. */ … … 11358 11301 ; return 0; } 11359 11302 EOF 11360 if { (eval echo configure:113 61: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11303 if { (eval echo configure:11304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11361 11304 rm -rf conftest* 11362 11305 eval "ac_cv_lib_$ac_lib_var=yes" … … 11377 11320 11378 11321 echo $ac_n "checking for gluBeginCurve in -lGLU""... $ac_c" 1>&6 11379 echo "configure:113 80: checking for gluBeginCurve in -lGLU" >&511322 echo "configure:11323: checking for gluBeginCurve in -lGLU" >&5 11380 11323 ac_lib_var=`echo GLU'_'gluBeginCurve | sed 'y%./+-%__p_%'` 11381 11324 … … 11383 11326 LIBS="-lGLU $OPENGLLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lstdc++ $LIBS" 11384 11327 cat > conftest.$ac_ext <<EOF 11385 #line 113 86"configure"11328 #line 11329 "configure" 11386 11329 #include "confdefs.h" 11387 11330 /* Override any gcc2 internal prototype to avoid an error. */ … … 11394 11337 ; return 0; } 11395 11338 EOF 11396 if { (eval echo configure:113 97: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11339 if { (eval echo configure:11340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11397 11340 rm -rf conftest* 11398 11341 eval "ac_cv_lib_$ac_lib_var=yes" … … 11438 11381 LDFLAGS="$LDFLAGS $OPENGLLIB" 11439 11382 echo $ac_n "checking for glXCreatePbuffer""... $ac_c" 1>&6 11440 echo "configure:11 441: checking for glXCreatePbuffer" >&511441 11442 cat > conftest.$ac_ext <<EOF 11443 #line 11 444"configure"11383 echo "configure:11384: checking for glXCreatePbuffer" >&5 11384 11385 cat > conftest.$ac_ext <<EOF 11386 #line 11387 "configure" 11444 11387 #include "confdefs.h" 11445 11388 /* System header to define __stub macros and hopefully few prototypes, … … 11464 11407 ; return 0; } 11465 11408 EOF 11466 if { (eval echo configure:114 67: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11409 if { (eval echo configure:11410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11467 11410 rm -rf conftest* 11468 11411 eval "ac_cv_func_glXCreatePbuffer=yes" … … 11486 11429 11487 11430 echo $ac_n "checking for glXCreateGLXPixmap""... $ac_c" 1>&6 11488 echo "configure:114 89: checking for glXCreateGLXPixmap" >&511489 11490 cat > conftest.$ac_ext <<EOF 11491 #line 114 92"configure"11431 echo "configure:11432: checking for glXCreateGLXPixmap" >&5 11432 11433 cat > conftest.$ac_ext <<EOF 11434 #line 11435 "configure" 11492 11435 #include "confdefs.h" 11493 11436 /* System header to define __stub macros and hopefully few prototypes, … … 11512 11455 ; return 0; } 11513 11456 EOF 11514 if { (eval echo configure:11 515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11457 if { (eval echo configure:11458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11515 11458 rm -rf conftest* 11516 11459 eval "ac_cv_func_glXCreateGLXPixmap=yes" … … 11551 11494 11552 11495 echo $ac_n "checking for location of OpenGL includes""... $ac_c" 1>&6 11553 echo "configure:11 554: checking for location of OpenGL includes" >&511496 echo "configure:11497: checking for location of OpenGL includes" >&5 11554 11497 case "$with_opengl_includes" in 11555 11498 y | ye | yes | n | no) … … 11577 11520 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11578 11521 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11579 echo "configure:115 80: checking for $ac_hdr" >&511580 11581 cat > conftest.$ac_ext <<EOF 11582 #line 115 83"configure"11522 echo "configure:11523: checking for $ac_hdr" >&5 11523 11524 cat > conftest.$ac_ext <<EOF 11525 #line 11526 "configure" 11583 11526 #include "confdefs.h" 11584 11527 #include <$ac_hdr> 11585 11528 EOF 11586 11529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11587 { (eval echo configure:115 88: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }11530 { (eval echo configure:11531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11588 11531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11589 11532 if test -z "$ac_err"; then … … 11620 11563 LDFLAGS="$with_opengl_libs $LDFLAGS" 11621 11564 echo $ac_n "checking for glBegin""... $ac_c" 1>&6 11622 echo "configure:11 623: checking for glBegin" >&511623 11624 cat > conftest.$ac_ext <<EOF 11625 #line 11 626"configure"11565 echo "configure:11566: checking for glBegin" >&5 11566 11567 cat > conftest.$ac_ext <<EOF 11568 #line 11569 "configure" 11626 11569 #include "confdefs.h" 11627 11570 /* System header to define __stub macros and hopefully few prototypes, … … 11646 11589 ; return 0; } 11647 11590 EOF 11648 if { (eval echo configure:11 649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11591 if { (eval echo configure:11592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11649 11592 rm -rf conftest* 11650 11593 eval "ac_cv_func_glBegin=yes" … … 11661 11604 11662 11605 echo $ac_n "checking for gluBeginCurve""... $ac_c" 1>&6 11663 echo "configure:116 64: checking for gluBeginCurve" >&511664 11665 cat > conftest.$ac_ext <<EOF 11666 #line 116 67"configure"11606 echo "configure:11607: checking for gluBeginCurve" >&5 11607 11608 cat > conftest.$ac_ext <<EOF 11609 #line 11610 "configure" 11667 11610 #include "confdefs.h" 11668 11611 /* System header to define __stub macros and hopefully few prototypes, … … 11687 11630 ; return 0; } 11688 11631 EOF 11689 if { (eval echo configure:116 90: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11632 if { (eval echo configure:11633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11690 11633 rm -rf conftest* 11691 11634 eval "ac_cv_func_gluBeginCurve=yes" … … 11733 11676 11734 11677 echo $ac_n "checking for location of OpenGL includes""... $ac_c" 1>&6 11735 echo "configure:11 736: checking for location of OpenGL includes" >&511678 echo "configure:11679: checking for location of OpenGL includes" >&5 11736 11679 case "$with_opengl_includes" in 11737 11680 y | ye | yes | n | no) … … 11759 11702 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11760 11703 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11761 echo "configure:117 62: checking for $ac_hdr" >&511762 11763 cat > conftest.$ac_ext <<EOF 11764 #line 117 65"configure"11704 echo "configure:11705: checking for $ac_hdr" >&5 11705 11706 cat > conftest.$ac_ext <<EOF 11707 #line 11708 "configure" 11765 11708 #include "confdefs.h" 11766 11709 #include <$ac_hdr> 11767 11710 EOF 11768 11711 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11769 { (eval echo configure:117 70: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }11712 { (eval echo configure:11713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11770 11713 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11771 11714 if test -z "$ac_err"; then … … 11801 11744 11802 11745 echo $ac_n "checking for location of OpenGL library""... $ac_c" 1>&6 11803 echo "configure:11 804: checking for location of OpenGL library" >&511746 echo "configure:11747: checking for location of OpenGL library" >&5 11804 11747 case "$with_opengl_libs" in 11805 11748 y | ye | yes | n | no) … … 11820 11763 11821 11764 11765 11822 11766 ac_save_ldflags="$LDFLAGS" 11823 11767 ac_save_libs="$LIBS" 11768 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6 11769 echo "configure:11770: checking for OpenGL library" >&5 11824 11770 LDFLAGS="$OPENGL_LIB_PATH $LDFLAGS" 11825 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6 11826 echo "configure:11827: checking for OpenGL library" >&5 11827 LIBS="-lopengl32" 11828 cat > conftest.$ac_ext <<EOF 11829 #line 11830 "configure" 11771 LIBS="-lopengl32 " 11772 cat > conftest.$ac_ext <<EOF 11773 #line 11774 "configure" 11830 11774 #include "confdefs.h" 11831 11775 #include <GL/gl.h> … … 11834 11778 ; return 0; } 11835 11779 EOF 11836 if { (eval echo configure:11 837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11780 if { (eval echo configure:11781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11837 11781 rm -rf conftest* 11838 11782 11839 11783 echo "$ac_t""found" 1>&6 11840 OPENGLLIB=-lopengl32 11784 OPENGLLIB="$OPENGLLIB -lopengl32 " 11785 11786 else 11787 echo "configure: failed program was:" >&5 11788 cat conftest.$ac_ext >&5 11789 rm -rf conftest* 11790 11791 11792 { echo "configure: error: *** Unable to locate OpenGL library." 1>&2; exit 1; } 11793 11794 11795 fi 11796 rm -f conftest* 11797 LIBS=${ac_save_libs} 11798 LDFLAGS=${ac_save_ldflags} 11799 11800 11801 ac_save_ldflags="$LDFLAGS" 11802 ac_save_libs="$LIBS" 11841 11803 echo $ac_n "checking for GLU library""... $ac_c" 1>&6 11842 echo "configure:11843: checking for GLU library" >&5 11843 LIBS="-lglu32 $OPENGLLIB" 11844 cat > conftest.$ac_ext <<EOF 11845 #line 11846 "configure" 11804 echo "configure:11805: checking for GLU library" >&5 11805 LDFLAGS="$OPENGL_LIB_PATH $LDFLAGS" 11806 LIBS="-lglu32 $OPENGLLIB " 11807 cat > conftest.$ac_ext <<EOF 11808 #line 11809 "configure" 11846 11809 #include "confdefs.h" 11847 11810 #include <GL/glu.h> … … 11850 11813 ; return 0; } 11851 11814 EOF 11852 if { (eval echo configure:118 53: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11815 if { (eval echo configure:11816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11853 11816 rm -rf conftest* 11854 11817 11855 11818 echo "$ac_t""found" 1>&6 11856 OPENGLULIB=-lglu32 11857 11858 else 11859 echo "configure: failed program was:" >&5 11860 cat conftest.$ac_ext >&5 11861 rm -rf conftest* 11862 { echo "configure: error: *** Unable to locate GLU library." 1>&2; exit 1; } 11863 fi 11864 rm -f conftest* 11865 11866 else 11867 echo "configure: failed program was:" >&5 11868 cat conftest.$ac_ext >&5 11869 rm -rf conftest* 11870 { echo "configure: error: *** Unable to locate OpenGL library." 1>&2; exit 1; } 11819 OPENGLULIB="$OPENGLULIB -lglu32 " 11820 11821 else 11822 echo "configure: failed program was:" >&5 11823 cat conftest.$ac_ext >&5 11824 rm -rf conftest* 11825 11826 11827 { echo "configure: error: *** Unable to locate GLU library." 1>&2; exit 1; } 11828 11829 11871 11830 fi 11872 11831 rm -f conftest* … … 11874 11833 LDFLAGS=${ac_save_ldflags} 11875 11834 11835 11876 11836 OPENGLLIB="$OPENGL_LIB_PATH $OPENGLLIB" 11877 11837 OPENGLULIB="$OPENGL_LIB_PATH $OPENGLULIB" … … 11901 11861 11902 11862 echo $ac_n "checking whether to use ODBC""... $ac_c" 1>&6 11903 echo "configure:11 904: checking whether to use ODBC" >&511863 echo "configure:11864: checking whether to use ODBC" >&5 11904 11864 echo "$ac_t"""$with_odbc"" 1>&6 11905 11865 case "$with_odbc" in … … 11920 11880 11921 11881 echo $ac_n "checking for location of ODBC includes""... $ac_c" 1>&6 11922 echo "configure:11 923: checking for location of ODBC includes" >&511882 echo "configure:11883: checking for location of ODBC includes" >&5 11923 11883 case "$with_odbc_includes" in 11924 11884 y | ye | yes | n | no) … … 11946 11906 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11947 11907 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11948 echo "configure:119 49: checking for $ac_hdr" >&511949 11950 cat > conftest.$ac_ext <<EOF 11951 #line 119 52 "configure"11908 echo "configure:11909: checking for $ac_hdr" >&5 11909 11910 cat > conftest.$ac_ext <<EOF 11911 #line 11912 "configure" 11952 11912 #include "confdefs.h" 11953 11913 #include <$ac_hdr> 11954 11914 EOF 11955 11915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11956 { (eval echo configure:119 57: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }11916 { (eval echo configure:11917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11957 11917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11958 11918 if test -z "$ac_err"; then … … 11988 11948 11989 11949 echo $ac_n "checking for location of ODBC library""... $ac_c" 1>&6 11990 echo "configure:119 91: checking for location of ODBC library" >&511950 echo "configure:11951: checking for location of ODBC library" >&5 11991 11951 case "$with_odbc_libs" in 11992 11952 y | ye | yes | n | no) … … 12013 11973 12014 11974 echo $ac_n "checking for SQLConnect in -lodbc""... $ac_c" 1>&6 12015 echo "configure:1 2016: checking for SQLConnect in -lodbc" >&511975 echo "configure:11976: checking for SQLConnect in -lodbc" >&5 12016 11976 ac_lib_var=`echo odbc'_'SQLConnect | sed 'y%./+-%__p_%'` 12017 11977 … … 12019 11979 LIBS="-lodbc $ICONVLIB $LIBS" 12020 11980 cat > conftest.$ac_ext <<EOF 12021 #line 1 2022 "configure"11981 #line 11982 "configure" 12022 11982 #include "confdefs.h" 12023 11983 /* Override any gcc2 internal prototype to avoid an error. */ … … 12030 11990 ; return 0; } 12031 11991 EOF 12032 if { (eval echo configure:1 2033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11992 if { (eval echo configure:11993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12033 11993 rm -rf conftest* 12034 11994 eval "ac_cv_lib_$ac_lib_var=yes" … … 12055 12015 12056 12016 echo $ac_n "checking for SQLConnect in -liodbc""... $ac_c" 1>&6 12057 echo "configure:120 58: checking for SQLConnect in -liodbc" >&512017 echo "configure:12018: checking for SQLConnect in -liodbc" >&5 12058 12018 ac_lib_var=`echo iodbc'_'SQLConnect | sed 'y%./+-%__p_%'` 12059 12019 … … 12061 12021 LIBS="-liodbc $LIBS" 12062 12022 cat > conftest.$ac_ext <<EOF 12063 #line 120 64 "configure"12023 #line 12024 "configure" 12064 12024 #include "confdefs.h" 12065 12025 /* Override any gcc2 internal prototype to avoid an error. */ … … 12072 12032 ; return 0; } 12073 12033 EOF 12074 if { (eval echo configure:120 75: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12034 if { (eval echo configure:12035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12075 12035 rm -rf conftest* 12076 12036 eval "ac_cv_lib_$ac_lib_var=yes" … … 12092 12052 LDFLAGS=${ac_save_ldflags} 12093 12053 12054 ac_save_ldflags="$LDFLAGS" 12055 ac_save_libs="$LIBS" 12056 echo $ac_n "checking for ODBC library""... $ac_c" 1>&6 12057 echo "configure:12058: checking for ODBC library" >&5 12058 LDFLAGS="$ODBCLIB $LDFLAGS" 12059 LIBS="-lodbc32 " 12060 cat > conftest.$ac_ext <<EOF 12061 #line 12062 "configure" 12062 #include "confdefs.h" 12063 #include <windows.h> 12064 #include <sql.h> 12065 int main() { 12066 SQLAllocEnv((SQLHENV *)0); 12067 ; return 0; } 12068 EOF 12069 if { (eval echo configure:12070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12070 rm -rf conftest* 12071 12072 echo "$ac_t""found" 1>&6 12073 ODBCLIB="$ODBCLIB -lodbc32 " 12074 12075 else 12076 echo "configure: failed program was:" >&5 12077 cat conftest.$ac_ext >&5 12078 rm -rf conftest* 12079 12080 12094 12081 { echo "configure: error: *** Unable to locate ODBC library." 1>&2; exit 1; } 12095 12082 12096 12083 12097 12084 fi 12098 12099 12100 12085 rm -f conftest* 12086 LIBS=${ac_save_libs} 12101 12087 LDFLAGS=${ac_save_ldflags} 12102 12088 … … 12110 12096 12111 12097 12098 12099 fi 12100 12101 12102 12103 LDFLAGS=${ac_save_ldflags} 12104 12105 12112 12106 fi # $USE_ODBC 12113 12107 … … 12121 12115 12122 12116 echo $ac_n "checking whether to use FFTW""... $ac_c" 1>&6 12123 echo "configure:121 24: checking whether to use FFTW" >&512117 echo "configure:12118: checking whether to use FFTW" >&5 12124 12118 echo "$ac_t"""$with_fftw"" 1>&6 12125 12119 case "$with_fftw" in … … 12140 12134 12141 12135 echo $ac_n "checking for location of FFTW includes""... $ac_c" 1>&6 12142 echo "configure:121 43: checking for location of FFTW includes" >&512136 echo "configure:12137: checking for location of FFTW includes" >&5 12143 12137 case "$with_fftw_includes" in 12144 12138 y | ye | yes | n | no) … … 12166 12160 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12167 12161 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12168 echo "configure:1216 9: checking for $ac_hdr" >&512169 12170 cat > conftest.$ac_ext <<EOF 12171 #line 121 72"configure"12162 echo "configure:12163: checking for $ac_hdr" >&5 12163 12164 cat > conftest.$ac_ext <<EOF 12165 #line 12166 "configure" 12172 12166 #include "confdefs.h" 12173 12167 #include <$ac_hdr> 12174 12168 EOF 12175 12169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12176 { (eval echo configure:1217 7: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }12170 { (eval echo configure:12171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12177 12171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12178 12172 if test -z "$ac_err"; then … … 12202 12196 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12203 12197 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12204 echo "configure:12 205: checking for $ac_hdr" >&512205 12206 cat > conftest.$ac_ext <<EOF 12207 #line 1220 8"configure"12198 echo "configure:12199: checking for $ac_hdr" >&5 12199 12200 cat > conftest.$ac_ext <<EOF 12201 #line 12202 "configure" 12208 12202 #include "confdefs.h" 12209 12203 #include <$ac_hdr> 12210 12204 EOF 12211 12205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12212 { (eval echo configure:122 13: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }12206 { (eval echo configure:12207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12213 12207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12214 12208 if test -z "$ac_err"; then … … 12238 12232 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12239 12233 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12240 echo "configure:122 41: checking for $ac_hdr" >&512241 12242 cat > conftest.$ac_ext <<EOF 12243 #line 122 44"configure"12234 echo "configure:12235: checking for $ac_hdr" >&5 12235 12236 cat > conftest.$ac_ext <<EOF 12237 #line 12238 "configure" 12244 12238 #include "confdefs.h" 12245 12239 #include <$ac_hdr> 12246 12240 EOF 12247 12241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12248 { (eval echo configure:1224 9: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }12242 { (eval echo configure:12243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12249 12243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12250 12244 if test -z "$ac_err"; then … … 12292 12286 12293 12287 echo $ac_n "checking for location of FFTW library""... $ac_c" 1>&6 12294 echo "configure:122 95: checking for location of FFTW library" >&512288 echo "configure:12289: checking for location of FFTW library" >&5 12295 12289 case "$with_fftw_libs" in 12296 12290 y | ye | yes | n | no) … … 12317 12311 12318 12312 echo $ac_n "checking for fftw_execute in -lfftw3""... $ac_c" 1>&6 12319 echo "configure:123 20: checking for fftw_execute in -lfftw3" >&512313 echo "configure:12314: checking for fftw_execute in -lfftw3" >&5 12320 12314 ac_lib_var=`echo fftw3'_'fftw_execute | sed 'y%./+-%__p_%'` 12321 12315 … … 12323 12317 LIBS="-lfftw3 $MATHLIB $LIBS" 12324 12318 cat > conftest.$ac_ext <<EOF 12325 #line 1232 6"configure"12319 #line 12320 "configure" 12326 12320 #include "confdefs.h" 12327 12321 /* Override any gcc2 internal prototype to avoid an error. */ … … 12334 12328 ; return 0; } 12335 12329 EOF 12336 if { (eval echo configure:1233 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12330 if { (eval echo configure:12331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12337 12331 rm -rf conftest* 12338 12332 eval "ac_cv_lib_$ac_lib_var=yes" … … 12359 12353 12360 12354 echo $ac_n "checking for fftwnd_one in -lfftw""... $ac_c" 1>&6 12361 echo "configure:123 62: checking for fftwnd_one in -lfftw" >&512355 echo "configure:12356: checking for fftwnd_one in -lfftw" >&5 12362 12356 ac_lib_var=`echo fftw'_'fftwnd_one | sed 'y%./+-%__p_%'` 12363 12357 … … 12365 12359 LIBS="-lfftw $MATHLIB $LIBS" 12366 12360 cat > conftest.$ac_ext <<EOF 12367 #line 1236 8"configure"12361 #line 12362 "configure" 12368 12362 #include "confdefs.h" 12369 12363 /* Override any gcc2 internal prototype to avoid an error. */ … … 12376 12370 ; return 0; } 12377 12371 EOF 12378 if { (eval echo configure:1237 9: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12372 if { (eval echo configure:12373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12379 12373 rm -rf conftest* 12380 12374 eval "ac_cv_lib_$ac_lib_var=yes" … … 12401 12395 12402 12396 echo $ac_n "checking for fftwnd_one in -ldfftw""... $ac_c" 1>&6 12403 echo "configure:12 404: checking for fftwnd_one in -ldfftw" >&512397 echo "configure:12398: checking for fftwnd_one in -ldfftw" >&5 12404 12398 ac_lib_var=`echo dfftw'_'fftwnd_one | sed 'y%./+-%__p_%'` 12405 12399 … … 12407 12401 LIBS="-ldfftw $MATHLIB $LIBS" 12408 12402 cat > conftest.$ac_ext <<EOF 12409 #line 124 10"configure"12403 #line 12404 "configure" 12410 12404 #include "confdefs.h" 12411 12405 /* Override any gcc2 internal prototype to avoid an error. */ … … 12418 12412 ; return 0; } 12419 12413 EOF 12420 if { (eval echo configure:124 21: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12414 if { (eval echo configure:12415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12421 12415 rm -rf conftest* 12422 12416 eval "ac_cv_lib_$ac_lib_var=yes" … … 12475 12469 12476 12470 echo $ac_n "checking whether to use BLAS""... $ac_c" 1>&6 12477 echo "configure:1247 8: checking whether to use BLAS" >&512471 echo "configure:12472: checking whether to use BLAS" >&5 12478 12472 echo "$ac_t"""$with_blas"" 1>&6 12479 12473 case "$with_blas" in … … 12496 12490 12497 12491 echo $ac_n "checking for location of BLAS includes""... $ac_c" 1>&6 12498 echo "configure:1249 9: checking for location of BLAS includes" >&512492 echo "configure:12493: checking for location of BLAS includes" >&5 12499 12493 case "$with_blas_includes" in 12500 12494 y | ye | yes | n | no) … … 12516 12510 12517 12511 echo $ac_n "checking for location of BLAS library""... $ac_c" 1>&6 12518 echo "configure:1251 9: checking for location of BLAS library" >&512512 echo "configure:12513: checking for location of BLAS library" >&5 12519 12513 case "$with_blas_libs" in 12520 12514 y | ye | yes | n | no) … … 12542 12536 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12543 12537 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12544 echo "configure:125 45: checking for $ac_hdr" >&512545 12546 cat > conftest.$ac_ext <<EOF 12547 #line 1254 8"configure"12538 echo "configure:12539: checking for $ac_hdr" >&5 12539 12540 cat > conftest.$ac_ext <<EOF 12541 #line 12542 "configure" 12548 12542 #include "confdefs.h" 12549 12543 #include <$ac_hdr> 12550 12544 EOF 12551 12545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12552 { (eval echo configure:125 53: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }12546 { (eval echo configure:12547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12553 12547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12554 12548 if test -z "$ac_err"; then … … 12585 12579 12586 12580 echo $ac_n "checking for dnrm2_ in -lblas""... $ac_c" 1>&6 12587 echo "configure:1258 8: checking for dnrm2_ in -lblas" >&512581 echo "configure:12582: checking for dnrm2_ in -lblas" >&5 12588 12582 ac_lib_var=`echo blas'_'dnrm2_ | sed 'y%./+-%__p_%'` 12589 12583 … … 12591 12585 LIBS="-lblas $MATHLIB $LIBS" 12592 12586 cat > conftest.$ac_ext <<EOF 12593 #line 125 94"configure"12587 #line 12588 "configure" 12594 12588 #include "confdefs.h" 12595 12589 /* Override any gcc2 internal prototype to avoid an error. */ … … 12602 12596 ; return 0; } 12603 12597 EOF 12604 if { (eval echo configure:12 605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12598 if { (eval echo configure:12599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12605 12599 rm -rf conftest* 12606 12600 eval "ac_cv_lib_$ac_lib_var=yes" … … 12621 12615 12622 12616 echo $ac_n "checking for dnrm2_ in -lblas""... $ac_c" 1>&6 12623 echo "configure:126 24: checking for dnrm2_ in -lblas" >&512617 echo "configure:12618: checking for dnrm2_ in -lblas" >&5 12624 12618 ac_lib_var=`echo blas'_'dnrm2_ | sed 'y%./+-%__p_%'` 12625 12619 … … 12627 12621 LIBS="-lblas $MATHLIB -lg2c $LIBS" 12628 12622 cat > conftest.$ac_ext <<EOF 12629 #line 126 30"configure"12623 #line 12624 "configure" 12630 12624 #include "confdefs.h" 12631 12625 /* Override any gcc2 internal prototype to avoid an error. */ … … 12638 12632 ; return 0; } 12639 12633 EOF 12640 if { (eval echo configure:126 41: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12634 if { (eval echo configure:12635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12641 12635 rm -rf conftest* 12642 12636 eval "ac_cv_lib_$ac_lib_var=yes" … … 12682 12676 LDFLAGS="$BLASLIB $LDFLAGS" 12683 12677 echo $ac_n "checking for ATL_xerbla in -latlas""... $ac_c" 1>&6 12684 echo "configure:126 85: checking for ATL_xerbla in -latlas" >&512678 echo "configure:12679: checking for ATL_xerbla in -latlas" >&5 12685 12679 ac_lib_var=`echo atlas'_'ATL_xerbla | sed 'y%./+-%__p_%'` 12686 12680 … … 12688 12682 LIBS="-latlas $LIBS" 12689 12683 cat > conftest.$ac_ext <<EOF 12690 #line 126 91"configure"12684 #line 12685 "configure" 12691 12685 #include "confdefs.h" 12692 12686 /* Override any gcc2 internal prototype to avoid an error. */ … … 12699 12693 ; return 0; } 12700 12694 EOF 12701 if { (eval echo configure:12 702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12695 if { (eval echo configure:12696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12702 12696 rm -rf conftest* 12703 12697 eval "ac_cv_lib_$ac_lib_var=yes" … … 12714 12708 echo "$ac_t""yes" 1>&6 12715 12709 echo $ac_n "checking for sgemm_ in -lf77blas""... $ac_c" 1>&6 12716 echo "configure:1271 7: checking for sgemm_ in -lf77blas" >&512710 echo "configure:12711: checking for sgemm_ in -lf77blas" >&5 12717 12711 ac_lib_var=`echo f77blas'_'sgemm_ | sed 'y%./+-%__p_%'` 12718 12712 … … 12720 12714 LIBS="-lf77blas -latlas $LIBS" 12721 12715 cat > conftest.$ac_ext <<EOF 12722 #line 127 23"configure"12716 #line 12717 "configure" 12723 12717 #include "confdefs.h" 12724 12718 /* Override any gcc2 internal prototype to avoid an error. */ … … 12731 12725 ; return 0; } 12732 12726 EOF 12733 if { (eval echo configure:127 34: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12727 if { (eval echo configure:12728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12734 12728 rm -rf conftest* 12735 12729 eval "ac_cv_lib_$ac_lib_var=yes" … … 12746 12740 echo "$ac_t""yes" 1>&6 12747 12741 echo $ac_n "checking for cblas_dgemm in -lcblas""... $ac_c" 1>&6 12748 echo "configure:1274 9: checking for cblas_dgemm in -lcblas" >&512742 echo "configure:12743: checking for cblas_dgemm in -lcblas" >&5 12749 12743 ac_lib_var=`echo cblas'_'cblas_dgemm | sed 'y%./+-%__p_%'` 12750 12744 … … 12752 12746 LIBS="-lcblas -lf77blas -latlas $LIBS" 12753 12747 cat > conftest.$ac_ext <<EOF 12754 #line 127 55"configure"12748 #line 12749 "configure" 12755 12749 #include "confdefs.h" 12756 12750 /* Override any gcc2 internal prototype to avoid an error. */ … … 12763 12757 ; return 0; } 12764 12758 EOF 12765 if { (eval echo configure:1276 6: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12759 if { (eval echo configure:12760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12766 12760 rm -rf conftest* 12767 12761 eval "ac_cv_lib_$ac_lib_var=yes" … … 12808 12802 LIBS="$vlib_flags $LIBS" 12809 12803 echo $ac_n "checking for sgemm in $vlib_flags""... $ac_c" 1>&6 12810 echo "configure:128 11: checking for sgemm in $vlib_flags" >&512804 echo "configure:12805: checking for sgemm in $vlib_flags" >&5 12811 12805 cat > conftest.$ac_ext <<EOF 12812 #line 128 13"configure"12806 #line 12807 "configure" 12813 12807 #include "confdefs.h" 12814 12808 … … 12817 12811 ; return 0; } 12818 12812 EOF 12819 if { (eval echo configure:128 20: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12813 if { (eval echo configure:12814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12820 12814 rm -rf conftest* 12821 12815 blas_ok=yes; BLASLIB="$vlib_flags" … … 12835 12829 if test $blas_ok = no; then 12836 12830 echo $ac_n "checking for sgemm_ in -lblas""... $ac_c" 1>&6 12837 echo "configure:1283 8: checking for sgemm_ in -lblas" >&512831 echo "configure:12832: checking for sgemm_ in -lblas" >&5 12838 12832 ac_lib_var=`echo blas'_'sgemm_ | sed 'y%./+-%__p_%'` 12839 12833 … … 12841 12835 LIBS="-lblas $LIBS" 12842 12836 cat > conftest.$ac_ext <<EOF 12843 #line 128 44"configure"12837 #line 12838 "configure" 12844 12838 #include "confdefs.h" 12845 12839 /* Override any gcc2 internal prototype to avoid an error. */ … … 12852 12846 ; return 0; } 12853 12847 EOF 12854 if { (eval echo configure:128 55: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12848 if { (eval echo configure:12849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12855 12849 rm -rf conftest* 12856 12850 eval "ac_cv_lib_$ac_lib_var=yes" … … 12867 12861 echo "$ac_t""yes" 1>&6 12868 12862 echo $ac_n "checking for dgemm_ in -ldgemm""... $ac_c" 1>&6 12869 echo "configure:128 70: checking for dgemm_ in -ldgemm" >&512863 echo "configure:12864: checking for dgemm_ in -ldgemm" >&5 12870 12864 ac_lib_var=`echo dgemm'_'dgemm_ | sed 'y%./+-%__p_%'` 12871 12865 … … 12873 12867 LIBS="-ldgemm -lblas $LIBS" 12874 12868 cat > conftest.$ac_ext <<EOF 12875 #line 1287 6"configure"12869 #line 12870 "configure" 12876 12870 #include "confdefs.h" 12877 12871 /* Override any gcc2 internal prototype to avoid an error. */ … … 12884 12878 ; return 0; } 12885 12879 EOF 12886 if { (eval echo configure:1288 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12880 if { (eval echo configure:12881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12887 12881 rm -rf conftest* 12888 12882 eval "ac_cv_lib_$ac_lib_var=yes" … … 12899 12893 echo "$ac_t""yes" 1>&6 12900 12894 echo $ac_n "checking for sgemm_ in -lsgemm""... $ac_c" 1>&6 12901 echo "configure:12 902: checking for sgemm_ in -lsgemm" >&512895 echo "configure:12896: checking for sgemm_ in -lsgemm" >&5 12902 12896 ac_lib_var=`echo sgemm'_'sgemm_ | sed 'y%./+-%__p_%'` 12903 12897 … … 12905 12899 LIBS="-lsgemm -lblas $LIBS" 12906 12900 cat > conftest.$ac_ext <<EOF 12907 #line 1290 8"configure"12901 #line 12902 "configure" 12908 12902 #include "confdefs.h" 12909 12903 /* Override any gcc2 internal prototype to avoid an error. */ … … 12916 12910 ; return 0; } 12917 12911 EOF 12918 if { (eval echo configure:1291 9: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12912 if { (eval echo configure:12913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12919 12913 rm -rf conftest* 12920 12914 eval "ac_cv_lib_$ac_lib_var=yes" … … 12950 12944 if test "x$GCC" != xyes; then # only works with Sun CC 12951 12945 echo $ac_n "checking for acosp in -lsunmath""... $ac_c" 1>&6 12952 echo "configure:129 53: checking for acosp in -lsunmath" >&512946 echo "configure:12947: checking for acosp in -lsunmath" >&5 12953 12947 ac_lib_var=`echo sunmath'_'acosp | sed 'y%./+-%__p_%'` 12954 12948 … … 12956 12950 LIBS="-lsunmath $LIBS" 12957 12951 cat > conftest.$ac_ext <<EOF 12958 #line 1295 9"configure"12952 #line 12953 "configure" 12959 12953 #include "confdefs.h" 12960 12954 /* Override any gcc2 internal prototype to avoid an error. */ … … 12967 12961 ; return 0; } 12968 12962 EOF 12969 if { (eval echo configure:129 70: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12963 if { (eval echo configure:12964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12970 12964 rm -rf conftest* 12971 12965 eval "ac_cv_lib_$ac_lib_var=yes" … … 12982 12976 echo "$ac_t""yes" 1>&6 12983 12977 echo $ac_n "checking for sgemm_ in -lsunperf""... $ac_c" 1>&6 12984 echo "configure:129 85: checking for sgemm_ in -lsunperf" >&512978 echo "configure:12979: checking for sgemm_ in -lsunperf" >&5 12985 12979 ac_lib_var=`echo sunperf'_'sgemm_ | sed 'y%./+-%__p_%'` 12986 12980 … … 12988 12982 LIBS="-lsunperf -lsunmath $LIBS" 12989 12983 cat > conftest.$ac_ext <<EOF 12990 #line 129 91"configure"12984 #line 12985 "configure" 12991 12985 #include "confdefs.h" 12992 12986 /* Override any gcc2 internal prototype to avoid an error. */ … … 12999 12993 ; return 0; } 13000 12994 EOF 13001 if { (eval echo configure:1 3002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12995 if { (eval echo configure:12996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13002 12996 rm -rf conftest* 13003 12997 eval "ac_cv_lib_$ac_lib_var=yes" … … 13029 13023 if test $blas_ok = no; then 13030 13024 echo $ac_n "checking for sgemm_ in -lblas""... $ac_c" 1>&6 13031 echo "configure:130 32: checking for sgemm_ in -lblas" >&513025 echo "configure:13026: checking for sgemm_ in -lblas" >&5 13032 13026 ac_lib_var=`echo blas'_'sgemm_ | sed 'y%./+-%__p_%'` 13033 13027 … … 13035 13029 LIBS="-lblas $LIBS" 13036 13030 cat > conftest.$ac_ext <<EOF 13037 #line 1303 8"configure"13031 #line 13032 "configure" 13038 13032 #include "confdefs.h" 13039 13033 /* Override any gcc2 internal prototype to avoid an error. */ … … 13046 13040 ; return 0; } 13047 13041 EOF 13048 if { (eval echo configure:1304 9: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13042 if { (eval echo configure:13043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13049 13043 rm -rf conftest* 13050 13044 eval "ac_cv_lib_$ac_lib_var=yes" … … 13085 13079 13086 13080 echo $ac_n "checking whether to use LAPACK""... $ac_c" 1>&6 13087 echo "configure:1308 8: checking whether to use LAPACK" >&513081 echo "configure:13082: checking whether to use LAPACK" >&5 13088 13082 echo "$ac_t"""$with_lapack"" 1>&6 13089 13083 case "$with_lapack" in … … 13110 13104 13111 13105 echo $ac_n "checking for location of LAPACK includes""... $ac_c" 1>&6 13112 echo "configure:131 13: checking for location of LAPACK includes" >&513106 echo "configure:13107: checking for location of LAPACK includes" >&5 13113 13107 case "$with_lapack_includes" in 13114 13108 y | ye | yes | n | no) … … 13130 13124 13131 13125 echo $ac_n "checking for location of LAPACK library""... $ac_c" 1>&6 13132 echo "configure:131 33: checking for location of LAPACK library" >&513126 echo "configure:13127: checking for location of LAPACK library" >&5 13133 13127 case "$with_lapack_libs" in 13134 13128 y | ye | yes | n | no) … … 13156 13150 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 13157 13151 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 13158 echo "configure:1315 9: checking for $ac_hdr" >&513159 13160 cat > conftest.$ac_ext <<EOF 13161 #line 131 62"configure"13152 echo "configure:13153: checking for $ac_hdr" >&5 13153 13154 cat > conftest.$ac_ext <<EOF 13155 #line 13156 "configure" 13162 13156 #include "confdefs.h" 13163 13157 #include <$ac_hdr> 13164 13158 EOF 13165 13159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13166 { (eval echo configure:1316 7: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }13160 { (eval echo configure:13161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13167 13161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13168 13162 if test -z "$ac_err"; then … … 13196 13190 save_LDFLAGS="$LDFLAGS"; LDFLAGS="$LAPACKLIB $LDFLAGS" 13197 13191 echo $ac_n "checking for dsegv_""... $ac_c" 1>&6 13198 echo "configure:1319 9: checking for dsegv_" >&513199 13200 cat > conftest.$ac_ext <<EOF 13201 #line 13 202"configure"13192 echo "configure:13193: checking for dsegv_" >&5 13193 13194 cat > conftest.$ac_ext <<EOF 13195 #line 13196 "configure" 13202 13196 #include "confdefs.h" 13203 13197 /* System header to define __stub macros and hopefully few prototypes, … … 13222 13216 ; return 0; } 13223 13217 EOF 13224 if { (eval echo configure:132 25: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13218 if { (eval echo configure:13219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13225 13219 rm -rf conftest* 13226 13220 eval "ac_cv_func_dsegv_=yes" … … 13249 13243 save_LDFLAGS="$LDFLAGS"; LDFLAGS="$LAPACKLIB $LDFLAGS" 13250 13244 echo $ac_n "checking for desgv_ in -llapack""... $ac_c" 1>&6 13251 echo "configure:132 52: checking for desgv_ in -llapack" >&513245 echo "configure:13246: checking for desgv_ in -llapack" >&5 13252 13246 ac_lib_var=`echo lapack'_'desgv_ | sed 'y%./+-%__p_%'` 13253 13247 … … 13255 13249 LIBS="-llapack $FLIBS $LIBS" 13256 13250 cat > conftest.$ac_ext <<EOF 13257 #line 1325 8"configure"13251 #line 13252 "configure" 13258 13252 #include "confdefs.h" 13259 13253 /* Override any gcc2 internal prototype to avoid an error. */ … … 13266 13260 ; return 0; } 13267 13261 EOF 13268 if { (eval echo configure:1326 9: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13262 if { (eval echo configure:13263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13269 13263 rm -rf conftest* 13270 13264 eval "ac_cv_lib_$ac_lib_var=yes" … … 13298 13292 13299 13293 echo $ac_n "checking for dgesv_ in -llapack""... $ac_c" 1>&6 13300 echo "configure:13 301: checking for dgesv_ in -llapack" >&513294 echo "configure:13295: checking for dgesv_ in -llapack" >&5 13301 13295 ac_lib_var=`echo lapack'_'dgesv_ | sed 'y%./+-%__p_%'` 13302 13296 … … 13304 13298 LIBS="-llapack $BLASLIB $MATHLIB $LIBS" 13305 13299 cat > conftest.$ac_ext <<EOF 13306 #line 1330 7"configure"13300 #line 13301 "configure" 13307 13301 #include "confdefs.h" 13308 13302 /* Override any gcc2 internal prototype to avoid an error. */ … … 13315 13309 ; return 0; } 13316 13310 EOF 13317 if { (eval echo configure:1331 8: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13311 if { (eval echo configure:13312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13318 13312 rm -rf conftest* 13319 13313 eval "ac_cv_lib_$ac_lib_var=yes" … … 13334 13328 13335 13329 echo $ac_n "checking for dgesv_ in -llapack""... $ac_c" 1>&6 13336 echo "configure:1333 7: checking for dgesv_ in -llapack" >&513330 echo "configure:13331: checking for dgesv_ in -llapack" >&5 13337 13331 ac_lib_var=`echo lapack'_'dgesv_ | sed 'y%./+-%__p_%'` 13338 13332 … … 13340 13334 LIBS="-llapack $BLASLIB $MATHLIB -lg2c $LIBS" 13341 13335 cat > conftest.$ac_ext <<EOF 13342 #line 133 43"configure"13336 #line 13337 "configure" 13343 13337 #include "confdefs.h" 13344 13338 /* Override any gcc2 internal prototype to avoid an error. */ … … 13351 13345 ; return 0; } 13352 13346 EOF 13353 if { (eval echo configure:133 54: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13347 if { (eval echo configure:13348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13354 13348 rm -rf conftest* 13355 13349 eval "ac_cv_lib_$ac_lib_var=yes" … … 13407 13401 13408 13402 echo $ac_n "checking whether to use Motif""... $ac_c" 1>&6 13409 echo "configure:134 10: checking whether to use Motif" >&513403 echo "configure:13404: checking whether to use Motif" >&5 13410 13404 echo "$ac_t"""$with_motif"" 1>&6 13411 13405 case "$with_motif" in … … 13426 13420 13427 13421 echo $ac_n "checking for location of Motif includes""... $ac_c" 1>&6 13428 echo "configure:1342 9: checking for location of Motif includes" >&513422 echo "configure:13423: checking for location of Motif includes" >&5 13429 13423 case "$with_motif_includes" in 13430 13424 y | ye | yes | n | no) … … 13452 13446 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 13453 13447 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 13454 echo "configure:134 55: checking for $ac_hdr" >&513455 13456 cat > conftest.$ac_ext <<EOF 13457 #line 1345 8"configure"13448 echo "configure:13449: checking for $ac_hdr" >&5 13449 13450 cat > conftest.$ac_ext <<EOF 13451 #line 13452 "configure" 13458 13452 #include "confdefs.h" 13459 13453 #include <$ac_hdr> 13460 13454 EOF 13461 13455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13462 { (eval echo configure:134 63: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }13456 { (eval echo configure:13457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13463 13457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13464 13458 if test -z "$ac_err"; then … … 13494 13488 13495 13489 echo $ac_n "checking for location of Motif library""... $ac_c" 1>&6 13496 echo "configure:1349 7: checking for location of Motif library" >&513490 echo "configure:13491: checking for location of Motif library" >&5 13497 13491 case "$with_motif_libs" in 13498 13492 y | ye | yes | n | no) … … 13519 13513 13520 13514 echo $ac_n "checking for XmStringCreate in -lXm""... $ac_c" 1>&6 13521 echo "configure:135 22: checking for XmStringCreate in -lXm" >&513515 echo "configure:13516: checking for XmStringCreate in -lXm" >&5 13522 13516 ac_lib_var=`echo Xm'_'XmStringCreate | sed 'y%./+-%__p_%'` 13523 13517 … … 13525 13519 LIBS="-lXm $X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 13526 13520 cat > conftest.$ac_ext <<EOF 13527 #line 1352 8"configure"13521 #line 13522 "configure" 13528 13522 #include "confdefs.h" 13529 13523 /* Override any gcc2 internal prototype to avoid an error. */ … … 13536 13530 ; return 0; } 13537 13531 EOF 13538 if { (eval echo configure:1353 9: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13532 if { (eval echo configure:13533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13539 13533 rm -rf conftest* 13540 13534 eval "ac_cv_lib_$ac_lib_var=yes" … … 13577 13571 13578 13572 echo $ac_n "checking whether to use Cairo""... $ac_c" 1>&6 13579 echo "configure:135 80: checking whether to use Cairo" >&513573 echo "configure:13574: checking whether to use Cairo" >&5 13580 13574 echo "$ac_t"""$with_cairo"" 1>&6 13581 13575 case "$with_cairo" in … … 13603 13597 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 13604 13598 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 13605 echo "configure:1360 6: checking for $ac_hdr" >&513606 13607 cat > conftest.$ac_ext <<EOF 13608 #line 1360 9"configure"13599 echo "configure:13600: checking for $ac_hdr" >&5 13600 13601 cat > conftest.$ac_ext <<EOF 13602 #line 13603 "configure" 13609 13603 #include "confdefs.h" 13610 13604 #include <$ac_hdr> 13611 13605 EOF 13612 13606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13613 { (eval echo configure:136 14: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }13607 { (eval echo configure:13608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13614 13608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13615 13609 if test -z "$ac_err"; then … … 13648 13642 LDFLAGS="$LDFLAGS $CAIROLIB" 13649 13643 echo $ac_n "checking for cairo_create""... $ac_c" 1>&6 13650 echo "configure:136 51: checking for cairo_create" >&513651 13652 cat > conftest.$ac_ext <<EOF 13653 #line 136 54"configure"13644 echo "configure:13645: checking for cairo_create" >&5 13645 13646 cat > conftest.$ac_ext <<EOF 13647 #line 13648 "configure" 13654 13648 #include "confdefs.h" 13655 13649 /* System header to define __stub macros and hopefully few prototypes, … … 13674 13668 ; return 0; } 13675 13669 EOF 13676 if { (eval echo configure:1367 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13670 if { (eval echo configure:13671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13677 13671 rm -rf conftest* 13678 13672 eval "ac_cv_func_cairo_create=yes" … … 13709 13703 13710 13704 echo $ac_n "checking whether to use GLw""... $ac_c" 1>&6 13711 echo "configure:137 12: checking whether to use GLw" >&513705 echo "configure:13706: checking whether to use GLw" >&5 13712 13706 echo "$ac_t"""$with_glw"" 1>&6 13713 13707 case "$with_glw" in … … 13728 13722 13729 13723 echo $ac_n "checking for location of GLw includes""... $ac_c" 1>&6 13730 echo "configure:137 31: checking for location of GLw includes" >&513724 echo "configure:13725: checking for location of GLw includes" >&5 13731 13725 case "$with_glw_includes" in 13732 13726 y | ye | yes | n | no) … … 13754 13748 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 13755 13749 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 13756 echo "configure:1375 7: checking for $ac_hdr" >&513757 13758 cat > conftest.$ac_ext <<EOF 13759 #line 137 60"configure"13750 echo "configure:13751: checking for $ac_hdr" >&5 13751 13752 cat > conftest.$ac_ext <<EOF 13753 #line 13754 "configure" 13760 13754 #include "confdefs.h" 13761 13755 #include <$ac_hdr> 13762 13756 EOF 13763 13757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13764 { (eval echo configure:137 65: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }13758 { (eval echo configure:13759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13765 13759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13766 13760 if test -z "$ac_err"; then … … 13790 13784 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 13791 13785 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 13792 echo "configure:137 93: checking for $ac_hdr" >&513793 13794 cat > conftest.$ac_ext <<EOF 13795 #line 1379 6"configure"13786 echo "configure:13787: checking for $ac_hdr" >&5 13787 13788 cat > conftest.$ac_ext <<EOF 13789 #line 13790 "configure" 13796 13790 #include "confdefs.h" 13797 13791 #include <$ac_hdr> 13798 13792 EOF 13799 13793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13800 { (eval echo configure:13 801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }13794 { (eval echo configure:13795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13801 13795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13802 13796 if test -z "$ac_err"; then … … 13838 13832 13839 13833 echo $ac_n "checking for location of GLw library""... $ac_c" 1>&6 13840 echo "configure:138 41: checking for location of GLw library" >&513834 echo "configure:13835: checking for location of GLw library" >&5 13841 13835 case "$with_glw_libs" in 13842 13836 y | ye | yes | n | no) … … 13863 13857 13864 13858 echo $ac_n "checking for GLwCreateMDrawingArea in -lGLw""... $ac_c" 1>&6 13865 echo "configure:1386 6: checking for GLwCreateMDrawingArea in -lGLw" >&513859 echo "configure:13860: checking for GLwCreateMDrawingArea in -lGLw" >&5 13866 13860 ac_lib_var=`echo GLw'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 13867 13861 … … 13869 13863 LIBS="-lGLw $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 13870 13864 cat > conftest.$ac_ext <<EOF 13871 #line 138 72"configure"13865 #line 13866 "configure" 13872 13866 #include "confdefs.h" 13873 13867 /* Override any gcc2 internal prototype to avoid an error. */ … … 13880 13874 ; return 0; } 13881 13875 EOF 13882 if { (eval echo configure:138 83: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13876 if { (eval echo configure:13877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13883 13877 rm -rf conftest* 13884 13878 eval "ac_cv_lib_$ac_lib_var=yes" … … 13905 13899 13906 13900 echo $ac_n "checking for GLwCreateM1DrawingArea in -lGLw""... $ac_c" 1>&6 13907 echo "configure:1390 8: checking for GLwCreateM1DrawingArea in -lGLw" >&513901 echo "configure:13902: checking for GLwCreateM1DrawingArea in -lGLw" >&5 13908 13902 ac_lib_var=`echo GLw'_'GLwCreateM1DrawingArea | sed 'y%./+-%__p_%'` 13909 13903 … … 13911 13905 LIBS="-lGLw $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 13912 13906 cat > conftest.$ac_ext <<EOF 13913 #line 139 14"configure"13907 #line 13908 "configure" 13914 13908 #include "confdefs.h" 13915 13909 /* Override any gcc2 internal prototype to avoid an error. */ … … 13922 13916 ; return 0; } 13923 13917 EOF 13924 if { (eval echo configure:139 25: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13918 if { (eval echo configure:13919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13925 13919 rm -rf conftest* 13926 13920 eval "ac_cv_lib_$ac_lib_var=yes" … … 13947 13941 13948 13942 echo $ac_n "checking for GLwCreateM2DrawingArea in -lGLw""... $ac_c" 1>&6 13949 echo "configure:139 50: checking for GLwCreateM2DrawingArea in -lGLw" >&513943 echo "configure:13944: checking for GLwCreateM2DrawingArea in -lGLw" >&5 13950 13944 ac_lib_var=`echo GLw'_'GLwCreateM2DrawingArea | sed 'y%./+-%__p_%'` 13951 13945 … … 13953 13947 LIBS="-lGLw $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 13954 13948 cat > conftest.$ac_ext <<EOF 13955 #line 1395 6"configure"13949 #line 13950 "configure" 13956 13950 #include "confdefs.h" 13957 13951 /* Override any gcc2 internal prototype to avoid an error. */ … … 13964 13958 ; return 0; } 13965 13959 EOF 13966 if { (eval echo configure:1396 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13960 if { (eval echo configure:13961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13967 13961 rm -rf conftest* 13968 13962 eval "ac_cv_lib_$ac_lib_var=yes" … … 13989 13983 13990 13984 echo $ac_n "checking for GLwCreateMDrawingArea in -lGLwM""... $ac_c" 1>&6 13991 echo "configure:139 92: checking for GLwCreateMDrawingArea in -lGLwM" >&513985 echo "configure:13986: checking for GLwCreateMDrawingArea in -lGLwM" >&5 13992 13986 ac_lib_var=`echo GLwM'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 13993 13987 … … 13995 13989 LIBS="-lGLwM $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 13996 13990 cat > conftest.$ac_ext <<EOF 13997 #line 1399 8"configure"13991 #line 13992 "configure" 13998 13992 #include "confdefs.h" 13999 13993 /* Override any gcc2 internal prototype to avoid an error. */ … … 14006 14000 ; return 0; } 14007 14001 EOF 14008 if { (eval echo configure:1400 9: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14002 if { (eval echo configure:14003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14009 14003 rm -rf conftest* 14010 14004 eval "ac_cv_lib_$ac_lib_var=yes" … … 14031 14025 14032 14026 echo $ac_n "checking for GLwCreateM1DrawingArea in -lGLwM""... $ac_c" 1>&6 14033 echo "configure:140 34: checking for GLwCreateM1DrawingArea in -lGLwM" >&514027 echo "configure:14028: checking for GLwCreateM1DrawingArea in -lGLwM" >&5 14034 14028 ac_lib_var=`echo GLwM'_'GLwCreateM1DrawingArea | sed 'y%./+-%__p_%'` 14035 14029 … … 14037 14031 LIBS="-lGLwM $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14038 14032 cat > conftest.$ac_ext <<EOF 14039 #line 140 40"configure"14033 #line 14034 "configure" 14040 14034 #include "confdefs.h" 14041 14035 /* Override any gcc2 internal prototype to avoid an error. */ … … 14048 14042 ; return 0; } 14049 14043 EOF 14050 if { (eval echo configure:140 51: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14044 if { (eval echo configure:14045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14051 14045 rm -rf conftest* 14052 14046 eval "ac_cv_lib_$ac_lib_var=yes" … … 14073 14067 14074 14068 echo $ac_n "checking for GLwCreateM2DrawingArea in -lGLwM""... $ac_c" 1>&6 14075 echo "configure:1407 6: checking for GLwCreateM2DrawingArea in -lGLwM" >&514069 echo "configure:14070: checking for GLwCreateM2DrawingArea in -lGLwM" >&5 14076 14070 ac_lib_var=`echo GLwM'_'GLwCreateM2DrawingArea | sed 'y%./+-%__p_%'` 14077 14071 … … 14079 14073 LIBS="-lGLwM $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14080 14074 cat > conftest.$ac_ext <<EOF 14081 #line 140 82"configure"14075 #line 14076 "configure" 14082 14076 #include "confdefs.h" 14083 14077 /* Override any gcc2 internal prototype to avoid an error. */ … … 14090 14084 ; return 0; } 14091 14085 EOF 14092 if { (eval echo configure:140 93: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14086 if { (eval echo configure:14087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14093 14087 rm -rf conftest* 14094 14088 eval "ac_cv_lib_$ac_lib_var=yes" … … 14117 14111 14118 14112 echo $ac_n "checking for GLwCreateMDrawingArea in -lMesaGLw""... $ac_c" 1>&6 14119 echo "configure:141 20: checking for GLwCreateMDrawingArea in -lMesaGLw" >&514113 echo "configure:14114: checking for GLwCreateMDrawingArea in -lMesaGLw" >&5 14120 14114 ac_lib_var=`echo MesaGLw'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 14121 14115 … … 14123 14117 LIBS="-lMesaGLw $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14124 14118 cat > conftest.$ac_ext <<EOF 14125 #line 1412 6"configure"14119 #line 14120 "configure" 14126 14120 #include "confdefs.h" 14127 14121 /* Override any gcc2 internal prototype to avoid an error. */ … … 14134 14128 ; return 0; } 14135 14129 EOF 14136 if { (eval echo configure:1413 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14130 if { (eval echo configure:14131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14137 14131 rm -rf conftest* 14138 14132 eval "ac_cv_lib_$ac_lib_var=yes" … … 14153 14147 14154 14148 echo $ac_n "checking for GLwCreateMDrawingArea in -lMesaGLw""... $ac_c" 1>&6 14155 echo "configure:1415 6: checking for GLwCreateMDrawingArea in -lMesaGLw" >&514149 echo "configure:14150: checking for GLwCreateMDrawingArea in -lMesaGLw" >&5 14156 14150 ac_lib_var=`echo MesaGLw'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 14157 14151 … … 14159 14153 LIBS="-lMesaGLw $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $OPENGLULIB $LIBS" 14160 14154 cat > conftest.$ac_ext <<EOF 14161 #line 141 62"configure"14155 #line 14156 "configure" 14162 14156 #include "confdefs.h" 14163 14157 /* Override any gcc2 internal prototype to avoid an error. */ … … 14170 14164 ; return 0; } 14171 14165 EOF 14172 if { (eval echo configure:141 73: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14166 if { (eval echo configure:14167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14173 14167 rm -rf conftest* 14174 14168 eval "ac_cv_lib_$ac_lib_var=yes" … … 14197 14191 14198 14192 echo $ac_n "checking for GLwCreateMDrawingArea in -lMesaGLwM""... $ac_c" 1>&6 14199 echo "configure:14 200: checking for GLwCreateMDrawingArea in -lMesaGLwM" >&514193 echo "configure:14194: checking for GLwCreateMDrawingArea in -lMesaGLwM" >&5 14200 14194 ac_lib_var=`echo MesaGLwM'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 14201 14195 … … 14203 14197 LIBS="-lMesaGLwM $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14204 14198 cat > conftest.$ac_ext <<EOF 14205 #line 1420 6"configure"14199 #line 14200 "configure" 14206 14200 #include "confdefs.h" 14207 14201 /* Override any gcc2 internal prototype to avoid an error. */ … … 14214 14208 ; return 0; } 14215 14209 EOF 14216 if { (eval echo configure:1421 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14210 if { (eval echo configure:14211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14217 14211 rm -rf conftest* 14218 14212 eval "ac_cv_lib_$ac_lib_var=yes" … … 14233 14227 14234 14228 echo $ac_n "checking for GLwCreateMDrawingArea in -lMesaGLwM""... $ac_c" 1>&6 14235 echo "configure:1423 6: checking for GLwCreateMDrawingArea in -lMesaGLwM" >&514229 echo "configure:14230: checking for GLwCreateMDrawingArea in -lMesaGLwM" >&5 14236 14230 ac_lib_var=`echo MesaGLwM'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 14237 14231 … … 14239 14233 LIBS="-lMesaGLwM $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $OPENGLULIB $LIBS" 14240 14234 cat > conftest.$ac_ext <<EOF 14241 #line 142 42"configure"14235 #line 14236 "configure" 14242 14236 #include "confdefs.h" 14243 14237 /* Override any gcc2 internal prototype to avoid an error. */ … … 14250 14244 ; return 0; } 14251 14245 EOF 14252 if { (eval echo configure:142 53: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14246 if { (eval echo configure:14247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14253 14247 rm -rf conftest* 14254 14248 eval "ac_cv_lib_$ac_lib_var=yes" … … 14363 14357 14364 14358 echo $ac_n "checking whether to use FreeType""... $ac_c" 1>&6 14365 echo "configure:1436 6: checking whether to use FreeType" >&514359 echo "configure:14360: checking whether to use FreeType" >&5 14366 14360 echo "$ac_t"""$with_freetype"" 1>&6 14367 14361 case "$with_freetype" in … … 14382 14376 14383 14377 echo $ac_n "checking for location of FreeType includes""... $ac_c" 1>&6 14384 echo "configure:143 85: checking for location of FreeType includes" >&514378 echo "configure:14379: checking for location of FreeType includes" >&5 14385 14379 case "$with_freetype_includes" in 14386 14380 y | ye | yes | n | no) … … 14408 14402 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 14409 14403 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 14410 echo "configure:144 11: checking for $ac_hdr" >&514411 14412 cat > conftest.$ac_ext <<EOF 14413 #line 144 14"configure"14404 echo "configure:14405: checking for $ac_hdr" >&5 14405 14406 cat > conftest.$ac_ext <<EOF 14407 #line 14408 "configure" 14414 14408 #include "confdefs.h" 14415 14409 #include <$ac_hdr> 14416 14410 EOF 14417 14411 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14418 { (eval echo configure:1441 9: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }14412 { (eval echo configure:14413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14419 14413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14420 14414 if test -z "$ac_err"; then … … 14450 14444 14451 14445 echo $ac_n "checking for location of FreeType library""... $ac_c" 1>&6 14452 echo "configure:144 53: checking for location of FreeType library" >&514446 echo "configure:14447: checking for location of FreeType library" >&5 14453 14447 case "$with_freetype_libs" in 14454 14448 y | ye | yes | n | no) … … 14475 14469 14476 14470 echo $ac_n "checking for FT_Init_FreeType in -lfreetype""... $ac_c" 1>&6 14477 echo "configure:1447 8: checking for FT_Init_FreeType in -lfreetype" >&514471 echo "configure:14472: checking for FT_Init_FreeType in -lfreetype" >&5 14478 14472 ac_lib_var=`echo freetype'_'FT_Init_FreeType | sed 'y%./+-%__p_%'` 14479 14473 … … 14481 14475 LIBS="-lfreetype $LIBS" 14482 14476 cat > conftest.$ac_ext <<EOF 14483 #line 144 84"configure"14477 #line 14478 "configure" 14484 14478 #include "confdefs.h" 14485 14479 /* Override any gcc2 internal prototype to avoid an error. */ … … 14492 14486 ; return 0; } 14493 14487 EOF 14494 if { (eval echo configure:144 95: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14488 if { (eval echo configure:14489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14495 14489 rm -rf conftest* 14496 14490 eval "ac_cv_lib_$ac_lib_var=yes" … … 14533 14527 14534 14528 echo $ac_n "checking whether to use NLS""... $ac_c" 1>&6 14535 echo "configure:1453 6: checking whether to use NLS" >&514529 echo "configure:14530: checking whether to use NLS" >&5 14536 14530 echo "$ac_t"""$with_nls"" 1>&6 14537 14531 case "$with_nls" in … … 14553 14547 14554 14548 echo $ac_n "checking for gettext""... $ac_c" 1>&6 14555 echo "configure:1455 6: checking for gettext" >&514556 14557 cat > conftest.$ac_ext <<EOF 14558 #line 1455 9"configure"14549 echo "configure:14550: checking for gettext" >&5 14550 14551 cat > conftest.$ac_ext <<EOF 14552 #line 14553 "configure" 14559 14553 #include "confdefs.h" 14560 14554 /* System header to define __stub macros and hopefully few prototypes, … … 14579 14573 ; return 0; } 14580 14574 EOF 14581 if { (eval echo configure:145 82: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14575 if { (eval echo configure:14576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14582 14576 rm -rf conftest* 14583 14577 eval "ac_cv_func_gettext=yes" … … 14597 14591 14598 14592 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6 14599 echo "configure:14 600: checking for gettext in -lintl" >&514593 echo "configure:14594: checking for gettext in -lintl" >&5 14600 14594 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'` 14601 14595 … … 14603 14597 LIBS="-lintl $LIBS" 14604 14598 cat > conftest.$ac_ext <<EOF 14605 #line 1460 6"configure"14599 #line 14600 "configure" 14606 14600 #include "confdefs.h" 14607 14601 /* Override any gcc2 internal prototype to avoid an error. */ … … 14614 14608 ; return 0; } 14615 14609 EOF 14616 if { (eval echo configure:1461 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14610 if { (eval echo configure:14611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14617 14611 rm -rf conftest* 14618 14612 eval "ac_cv_lib_$ac_lib_var=yes" … … 14649 14643 14650 14644 echo $ac_n "checking whether to use C++""... $ac_c" 1>&6 14651 echo "configure:146 52: checking whether to use C++" >&514645 echo "configure:14646: checking whether to use C++" >&5 14652 14646 echo "$ac_t"""$with_cxx"" 1>&6 14653 14647 case "$with_cxx" in … … 14665 14659 set dummy $ac_prog; ac_word=$2 14666 14660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 14667 echo "configure:1466 8: checking for $ac_word" >&514661 echo "configure:14662: checking for $ac_word" >&5 14668 14662 14669 14663 if test -n "$CXX"; then … … 14694 14688 14695 14689 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 14696 echo "configure:1469 7: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&514690 echo "configure:14691: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 14697 14691 14698 14692 ac_ext=C … … 14705 14699 cat > conftest.$ac_ext << EOF 14706 14700 14707 #line 1470 8"configure"14701 #line 14702 "configure" 14708 14702 #include "confdefs.h" 14709 14703 14710 14704 int main(){return(0);} 14711 14705 EOF 14712 if { (eval echo configure:147 13: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14706 if { (eval echo configure:14707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14713 14707 ac_cv_prog_cxx_works=yes 14714 14708 # If we can't run a trivial program, we are probably using a cross compiler. … … 14736 14730 fi 14737 14731 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 14738 echo "configure:1473 9: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&514732 echo "configure:14733: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 14739 14733 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 14740 14734 cross_compiling=$ac_cv_prog_cxx_cross 14741 14735 14742 14736 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 14743 echo "configure:147 44: checking whether we are using GNU C++" >&514737 echo "configure:14738: checking whether we are using GNU C++" >&5 14744 14738 14745 14739 cat > conftest.C <<EOF … … 14748 14742 #endif 14749 14743 EOF 14750 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:147 51: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then14744 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:14745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 14751 14745 ac_cv_prog_gxx=yes 14752 14746 else … … 14766 14760 CXXFLAGS= 14767 14761 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 14768 echo "configure:1476 9: checking whether ${CXX-g++} accepts -g" >&514762 echo "configure:14763: checking whether ${CXX-g++} accepts -g" >&5 14769 14763 14770 14764 echo 'void f(){}' > conftest.cc … … 14807 14801 14808 14802 echo $ac_n "checking whether to use openDWG""... $ac_c" 1>&6 14809 echo "configure:148 10: checking whether to use openDWG" >&514803 echo "configure:14804: checking whether to use openDWG" >&5 14810 14804 echo "$ac_t"""$with_opendwg"" 1>&6 14811 14805 case "$with_opendwg" in … … 14827 14821 14828 14822 echo $ac_n "checking for location of openDGW includes""... $ac_c" 1>&6 14829 echo "configure:148 30: checking for location of openDGW includes" >&514823 echo "configure:14824: checking for location of openDGW includes" >&5 14830 14824 case "$with_opendwg_includes" in 14831 14825 y | ye | yes | n | no) … … 14853 14847 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 14854 14848 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 14855 echo "configure:1485 6: checking for $ac_hdr" >&514856 14857 cat > conftest.$ac_ext <<EOF 14858 #line 1485 9"configure"14849 echo "configure:14850: checking for $ac_hdr" >&5 14850 14851 cat > conftest.$ac_ext <<EOF 14852 #line 14853 "configure" 14859 14853 #include "confdefs.h" 14860 14854 #include <$ac_hdr> 14861 14855 EOF 14862 14856 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14863 { (eval echo configure:148 64: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }14857 { (eval echo configure:14858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14864 14858 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14865 14859 if test -z "$ac_err"; then … … 14895 14889 14896 14890 echo $ac_n "checking for location of openDWG library""... $ac_c" 1>&6 14897 echo "configure:1489 8: checking for location of openDWG library" >&514891 echo "configure:14892: checking for location of openDWG library" >&5 14898 14892 case "$with_opendwg_libs" in 14899 14893 y | ye | yes | n | no) … … 14942 14936 14943 14937 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 14944 echo "configure:149 45: checking for special C compiler options needed for large files" >&514938 echo "configure:14939: checking for special C compiler options needed for large files" >&5 14945 14939 14946 14940 ac_cv_sys_largefile_CC=no … … 14950 14944 # so use the C compiler's -n32 option if that helps. 14951 14945 cat > conftest.$ac_ext <<EOF 14952 #line 149 53"configure"14946 #line 14947 "configure" 14953 14947 #include "confdefs.h" 14954 14948 #include <sys/types.h> … … 14966 14960 ; return 0; } 14967 14961 EOF 14968 if { (eval echo configure:1496 9: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then14962 if { (eval echo configure:14963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 14969 14963 : 14970 14964 else … … 14975 14969 CC="$CC -n32" 14976 14970 cat > conftest.$ac_ext <<EOF 14977 #line 1497 8"configure"14971 #line 14972 "configure" 14978 14972 #include "confdefs.h" 14979 14973 #include <sys/types.h> … … 14991 14985 ; return 0; } 14992 14986 EOF 14993 if { (eval echo configure:149 94: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then14987 if { (eval echo configure:14988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 14994 14988 rm -rf conftest* 14995 14989 ac_cv_sys_largefile_CC=' -n32' … … 15011 15005 15012 15006 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 15013 echo "configure:150 14: checking for _FILE_OFFSET_BITS value needed for large files" >&515007 echo "configure:15008: checking for _FILE_OFFSET_BITS value needed for large files" >&5 15014 15008 15015 15009 ac_cv_sys_file_offset_bits=no 15016 15010 cat > conftest.$ac_ext <<EOF 15017 #line 1501 8"configure"15011 #line 15012 "configure" 15018 15012 #include "confdefs.h" 15019 15013 #include <sys/types.h> … … 15031 15025 ; return 0; } 15032 15026 EOF 15033 if { (eval echo configure:150 34: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15027 if { (eval echo configure:15028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15034 15028 : 15035 15029 else … … 15038 15032 rm -rf conftest* 15039 15033 cat > conftest.$ac_ext <<EOF 15040 #line 150 41"configure"15034 #line 15035 "configure" 15041 15035 #include "confdefs.h" 15042 15036 #define _FILE_OFFSET_BITS 64 … … 15056 15050 ; return 0; } 15057 15051 EOF 15058 if { (eval echo configure:1505 9: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15052 if { (eval echo configure:15053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15059 15053 rm -rf conftest* 15060 15054 ac_cv_sys_file_offset_bits=64 … … 15075 15069 fi 15076 15070 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 15077 echo "configure:1507 8: checking for _LARGE_FILES value needed for large files" >&515071 echo "configure:15072: checking for _LARGE_FILES value needed for large files" >&5 15078 15072 15079 15073 ac_cv_sys_large_files=no 15080 15074 cat > conftest.$ac_ext <<EOF 15081 #line 150 82"configure"15075 #line 15076 "configure" 15082 15076 #include "confdefs.h" 15083 15077 #include <sys/types.h> … … 15095 15089 ; return 0; } 15096 15090 EOF 15097 if { (eval echo configure:1509 8: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15091 if { (eval echo configure:15092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15098 15092 : 15099 15093 else … … 15102 15096 rm -rf conftest* 15103 15097 cat > conftest.$ac_ext <<EOF 15104 #line 15 105"configure"15098 #line 15099 "configure" 15105 15099 #include "confdefs.h" 15106 15100 #define _LARGE_FILES 1 … … 15120 15114 ; return 0; } 15121 15115 EOF 15122 if { (eval echo configure:151 23: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15116 if { (eval echo configure:15117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15123 15117 rm -rf conftest* 15124 15118 ac_cv_sys_large_files=1 … … 15139 15133 fi 15140 15134 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 15141 echo "configure:151 42: checking for _LARGEFILE_SOURCE value needed for large files" >&515135 echo "configure:15136: checking for _LARGEFILE_SOURCE value needed for large files" >&5 15142 15136 15143 15137 ac_cv_sys_largefile_source=no 15144 15138 cat > conftest.$ac_ext <<EOF 15145 #line 1514 6"configure"15139 #line 15140 "configure" 15146 15140 #include "confdefs.h" 15147 15141 #include <stdio.h> … … 15150 15144 ; return 0; } 15151 15145 EOF 15152 if { (eval echo configure:151 53: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15146 if { (eval echo configure:15147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15153 15147 : 15154 15148 else … … 15157 15151 rm -rf conftest* 15158 15152 cat > conftest.$ac_ext <<EOF 15159 #line 151 60"configure"15153 #line 15154 "configure" 15160 15154 #include "confdefs.h" 15161 15155 #define _LARGEFILE_SOURCE 1 … … 15166 15160 ; return 0; } 15167 15161 EOF 15168 if { (eval echo configure:1516 9: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15162 if { (eval echo configure:15163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15169 15163 rm -rf conftest* 15170 15164 ac_cv_sys_largefile_source=1 … … 15187 15181 15188 15182 echo $ac_n "checking if system supports Large Files at all""... $ac_c" 1>&6 15189 echo "configure:151 90: checking if system supports Large Files at all" >&515190 15191 cat > conftest.$ac_ext <<EOF 15192 #line 151 93"configure"15183 echo "configure:15184: checking if system supports Large Files at all" >&5 15184 15185 cat > conftest.$ac_ext <<EOF 15186 #line 15187 "configure" 15193 15187 #include "confdefs.h" 15194 15188 #include <stdio.h> … … 15222 15216 ; return 0; } 15223 15217 EOF 15224 if { (eval echo configure:152 25: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15218 if { (eval echo configure:15219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15225 15219 rm -rf conftest* 15226 15220 ac_cv_largefiles=yes … … 15251 15245 15252 15246 echo $ac_n "checking whether to use Python""... $ac_c" 1>&6 15253 echo "configure:152 54: checking whether to use Python" >&515247 echo "configure:15248: checking whether to use Python" >&5 15254 15248 15255 15249 PYTHONINC= … … 15271 15265 set dummy python-config; ac_word=$2 15272 15266 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 15273 echo "configure:152 74: checking for $ac_word" >&515267 echo "configure:15268: checking for $ac_word" >&5 15274 15268 15275 15269 case "$PY_CONFIG" in … … 15316 15310 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 15317 15311 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 15318 echo "configure:1531 9: checking for $ac_hdr" >&515319 15320 cat > conftest.$ac_ext <<EOF 15321 #line 153 22"configure"15312 echo "configure:15313: checking for $ac_hdr" >&5 15313 15314 cat > conftest.$ac_ext <<EOF 15315 #line 15316 "configure" 15322 15316 #include "confdefs.h" 15323 15317 #include <$ac_hdr> 15324 15318 EOF 15325 15319 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15326 { (eval echo configure:1532 7: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }15320 { (eval echo configure:15321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15327 15321 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15328 15322 if test -z "$ac_err"; then … … 15364 15358 set dummy swig; ac_word=$2 15365 15359 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 15366 echo "configure:1536 7: checking for $ac_word" >&515360 echo "configure:15361: checking for $ac_word" >&5 15367 15361 15368 15362 case "$SWIG" in … … 15410 15404 15411 15405 echo $ac_n "checking whether to use wxWidgets""... $ac_c" 1>&6 15412 echo "configure:154 13: checking whether to use wxWidgets" >&515406 echo "configure:15407: checking whether to use wxWidgets" >&5 15413 15407 15414 15408 WXVERSION= … … 15430 15424 set dummy wx-config; ac_word=$2 15431 15425 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 15432 echo "configure:154 33: checking for $ac_word" >&515426 echo "configure:15427: checking for $ac_word" >&5 15433 15427 15434 15428 case "$WX_CONFIG" in … … 15478 15472 15479 15473 echo $ac_n "checking wxWidgets version""... $ac_c" 1>&6 15480 echo "configure:154 81: checking wxWidgets version" >&515474 echo "configure:15475: checking wxWidgets version" >&5 15481 15475 if WXVERSION=`"$WX_CONFIG" --version`; then 15482 15476 echo "$ac_t""$WXVERSION" 1>&6 … … 15501 15495 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 15502 15496 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 15503 echo "configure:15 504: checking for $ac_hdr" >&515504 15505 cat > conftest.$ac_ext <<EOF 15506 #line 1550 7"configure"15497 echo "configure:15498: checking for $ac_hdr" >&5 15498 15499 cat > conftest.$ac_ext <<EOF 15500 #line 15501 "configure" 15507 15501 #include "confdefs.h" 15508 15502 #include <$ac_hdr> 15509 15503 EOF 15510 15504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15511 { (eval echo configure:155 12: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }15505 { (eval echo configure:15506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15512 15506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15513 15507 if test -z "$ac_err"; then … … 15545 15539 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 15546 15540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 15547 echo "configure:1554 8: checking for $ac_hdr" >&515548 15549 cat > conftest.$ac_ext <<EOF 15550 #line 155 51"configure"15541 echo "configure:15542: checking for $ac_hdr" >&5 15542 15543 cat > conftest.$ac_ext <<EOF 15544 #line 15545 "configure" 15551 15545 #include "confdefs.h" 15552 15546 #include <$ac_hdr> 15553 15547 EOF 15554 15548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15555 { (eval echo configure:1555 6: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }15549 { (eval echo configure:15550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15556 15550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15557 15551 if test -z "$ac_err"; then -
grass/trunk/configure.in
r31806 r31861 709 709 ac_save_libs="$LIBS" 710 710 LIBS="$LIBS $GDAL_LIBS" 711 AC_ CHECK_FUNC(GDALOpen, ,[711 AC_TRY_LINK([#include <gdal.h>],[GDALOpen("foo", GA_ReadOnly);],,[ 712 712 LIBS="$LIBS $GDAL_DEP_LIBS" 713 AC_ CHECK_FUNC(GDALOpen, GDAL_LIBS="$GDAL_LIBS $GDAL_DEP_LIBS",[714 AC_MSG_ERROR([*** couldn't find GDAL])713 AC_TRY_LINK([#include <gdal.h>],[GDALOpen("foo", GA_ReadOnly);],GDAL_LIBS="$GDAL_LIBS $GDAL_DEP_LIBS",[ 714 AC_MSG_ERROR([*** Unable to locate GDAL library.]) 715 715 ]) 716 716 ]) … … 1143 1143 LOC_CHECK_LIB_PATH(opengl,OpenGL,OPENGL_LIB_PATH) 1144 1144 1145 ac_save_ldflags="$LDFLAGS" 1146 ac_save_libs="$LIBS" 1147 LDFLAGS="$OPENGL_LIB_PATH $LDFLAGS" 1148 AC_MSG_CHECKING(for OpenGL library) 1149 LIBS="-lopengl32" 1150 AC_TRY_LINK([#include <GL/gl.h>],[glEnd();],[ 1151 AC_MSG_RESULT(found) 1152 OPENGLLIB=-lopengl32 1153 AC_MSG_CHECKING(for GLU library) 1154 LIBS="-lglu32 $OPENGLLIB" 1155 AC_TRY_LINK([#include <GL/glu.h>],[gluNewQuadric();],[ 1156 AC_MSG_RESULT(found) 1157 OPENGLULIB=-lglu32 1158 ],[AC_MSG_ERROR([*** Unable to locate GLU library.])]) 1159 ],[AC_MSG_ERROR([*** Unable to locate OpenGL library.])]) 1160 LIBS=${ac_save_libs} 1161 LDFLAGS=${ac_save_ldflags} 1145 LOC_CHECK_LINK(opengl32,[#include <GL/gl.h>],[glEnd();],OpenGL,$OPENGL_LIB_PATH,OPENGLLIB) 1146 LOC_CHECK_LINK(glu32,[#include <GL/glu.h>],[gluNewQuadric();],GLU,$OPENGL_LIB_PATH,OPENGLULIB,$OPENGLLIB) 1162 1147 1163 1148 OPENGLLIB="$OPENGL_LIB_PATH $OPENGLLIB" … … 1201 1186 1202 1187 LOC_CHECK_LIBS(odbc,SQLConnect,ODBC,$ODBCLIB,ODBCLIB,$ICONVLIB,,[ 1203 LOC_CHECK_LIBS(iodbc,SQLConnect,ODBC,$ODBCLIB,ODBCLIB,,,) 1188 LOC_CHECK_LIBS(iodbc,SQLConnect,ODBC,$ODBCLIB,ODBCLIB,,,[ 1189 LOC_CHECK_LINK(odbc32,[#include <windows.h> 1190 #include <sql.h>],[SQLAllocEnv((SQLHENV *)0);],ODBC,$ODBCLIB,ODBCLIB) 1191 ]) 1204 1192 ]) 1205 1193
Note:
See TracChangeset
for help on using the changeset viewer.
