Changeset 37402
- Timestamp:
- May 23, 2009, 10:10:51 AM (15 years ago)
- Location:
- grass/branches/develbranch_6
- Files:
-
- 8 edited
-
configure (modified) (312 diffs)
-
configure.in (modified) (3 diffs)
-
display/d.what.vect/Makefile (modified) (1 diff)
-
include/Make/Platform.make.in (modified) (3 diffs)
-
lib/form/Makefile (modified) (1 diff)
-
vector/v.digit/Makefile (modified) (1 diff)
-
vector/v.what/Makefile (modified) (1 diff)
-
visualization/nviz/src/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
grass/branches/develbranch_6/configure
r37280 r37402 8831 8831 # Done checking PNG 8832 8832 8833 # Enable TCLTK option8834 8835 8836 echo $ac_n "checking whether to use Tcl/Tk""... $ac_c" 1>&68837 echo "configure:8838: checking whether to use Tcl/Tk" >&58838 echo "$ac_t"""$with_tcltk"" 1>&68839 case "$with_tcltk" in8840 "no") USE_TCLTK= ;;8841 "yes") USE_TCLTK="1" ;;8842 *) { echo "configure: error: *** You must answer yes or no." 1>&2; exit 1; } ;;8843 esac8844 8845 8846 8847 TCLINCDIR=8848 TCLTKLIBPATH=8849 TCLTKLIBS=8850 8851 if test -n "$USE_TCLTK"; then8852 8853 # With Tcl/Tk includes directory8854 8855 8856 echo $ac_n "checking for location of Tcl/Tk includes""... $ac_c" 1>&68857 echo "configure:8858: checking for location of Tcl/Tk includes" >&58858 case "$with_tcltk_includes" in8859 y | ye | yes | n | no)8860 { echo "configure: error: *** You must supply a directory to --with-tcltk-includes." 1>&2; exit 1; }8861 ;;8862 esac8863 echo "$ac_t""$with_tcltk_includes" 1>&68864 8865 if test -n "$with_tcltk_includes" ; then8866 for dir in $with_tcltk_includes; do8867 if test -d "$dir"; then8868 TCLINCDIR="$TCLINCDIR -I$dir"8869 else8870 { echo "configure: error: *** Tcl/Tk includes directory $dir does not exist." 1>&2; exit 1; }8871 fi8872 done8873 fi8874 8875 8876 8877 ac_save_cppflags="$CPPFLAGS"8878 CPPFLAGS="$TCLINCDIR $CPPFLAGS"8879 for ac_hdr in tcl.h8880 do8881 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`8882 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&68883 echo "configure:8884: checking for $ac_hdr" >&58884 8885 cat > conftest.$ac_ext <<EOF8886 #line 8887 "configure"8887 #include "confdefs.h"8888 #include <$ac_hdr>8889 EOF8890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"8891 { (eval echo configure:8892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }8892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`8893 if test -z "$ac_err"; then8894 rm -rf conftest*8895 eval "ac_cv_header_$ac_safe=yes"8896 else8897 echo "$ac_err" >&58898 echo "configure: failed program was:" >&58899 cat conftest.$ac_ext >&58900 rm -rf conftest*8901 eval "ac_cv_header_$ac_safe=no"8902 fi8903 rm -f conftest*8904 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then8905 echo "$ac_t""yes" 1>&68906 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`8907 cat >> confdefs.h <<EOF8908 #define $ac_tr_hdr 18909 EOF8910 8911 else8912 echo "$ac_t""no" 1>&68913 { echo "configure: error: *** Unable to locate Tcl includes." 1>&2; exit 1; }8914 8915 fi8916 done8917 8918 CPPFLAGS=$ac_save_cppflags8919 8920 8921 8922 ac_save_cppflags="$CPPFLAGS"8923 CPPFLAGS="$TCLINCDIR $X_CFLAGS $CPPFLAGS"8924 for ac_hdr in tk.h8925 do8926 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`8927 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&68928 echo "configure:8929: checking for $ac_hdr" >&58929 8930 cat > conftest.$ac_ext <<EOF8931 #line 8932 "configure"8932 #include "confdefs.h"8933 #include <$ac_hdr>8934 EOF8935 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"8936 { (eval echo configure:8937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }8937 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`8938 if test -z "$ac_err"; then8939 rm -rf conftest*8940 eval "ac_cv_header_$ac_safe=yes"8941 else8942 echo "$ac_err" >&58943 echo "configure: failed program was:" >&58944 cat conftest.$ac_ext >&58945 rm -rf conftest*8946 eval "ac_cv_header_$ac_safe=no"8947 fi8948 rm -f conftest*8949 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then8950 echo "$ac_t""yes" 1>&68951 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`8952 cat >> confdefs.h <<EOF8953 #define $ac_tr_hdr 18954 EOF8955 8956 else8957 echo "$ac_t""no" 1>&68958 { echo "configure: error: *** Unable to locate Tk includes." 1>&2; exit 1; }8959 8960 fi8961 done8962 8963 CPPFLAGS=$ac_save_cppflags8964 8965 8966 # Tcl/Tk version checks8967 8968 echo $ac_n "checking Tcl version""... $ac_c" 1>&68969 echo "configure:8970: checking Tcl version" >&58970 ac_save_cppflags="$CPPFLAGS"8971 CPPFLAGS="$TCLINCDIR $CPPFLAGS"8972 if test "$cross_compiling" = yes; then8973 tcl_ver=UNKNOWN8974 echo "$ac_t""unknown (cross-compiling)" 1>&68975 else8976 cat > conftest.$ac_ext <<EOF8977 #line 8978 "configure"8978 #include "confdefs.h"8979 8980 #include <stdio.h>8981 #include <tcl.h>8982 int main(void) {8983 FILE *fp = fopen("conftestdata","w");8984 fputs(TCL_VERSION, fp);8985 return 0;8986 }8987 8988 EOF8989 if { (eval echo configure:8990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null8990 then8991 tcl_ver=`cat conftestdata`8992 echo "$ac_t""$tcl_ver" 1>&68993 else8994 echo "configure: failed program was:" >&58995 cat conftest.$ac_ext >&58996 rm -fr conftest*8997 { echo "configure: error: *** Could not determine Tcl version." 1>&2; exit 1; }8998 fi8999 rm -fr conftest*9000 fi9001 9002 CPPFLAGS=$ac_save_cppflags9003 9004 9005 9006 echo $ac_n "checking Tk version""... $ac_c" 1>&69007 echo "configure:9008: checking Tk version" >&59008 ac_save_cppflags="$CPPFLAGS"9009 CPPFLAGS="$TCLINCDIR $X_CFLAGS $CPPFLAGS"9010 if test "$cross_compiling" = yes; then9011 tk_ver=UNKNOWN9012 echo "$ac_t""unknown (cross-compiling)" 1>&69013 else9014 cat > conftest.$ac_ext <<EOF9015 #line 9016 "configure"9016 #include "confdefs.h"9017 9018 #include <stdio.h>9019 #include <tk.h>9020 int main(void) {9021 FILE *fp = fopen("conftestdata","w");9022 fputs(TK_VERSION, fp);9023 return 0;9024 }9025 9026 EOF9027 if { (eval echo configure:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null9028 then9029 tk_ver=`cat conftestdata`9030 echo "$ac_t""$tk_ver" 1>&69031 else9032 echo "configure: failed program was:" >&59033 cat conftest.$ac_ext >&59034 rm -fr conftest*9035 { echo "configure: error: *** Could not determine Tk version." 1>&2; exit 1; }9036 fi9037 rm -fr conftest*9038 fi9039 9040 CPPFLAGS=$ac_save_cppflags9041 9042 9043 if test "$tcl_ver" = "$tk_ver" ; then9044 tcltk_ver=$tcl_ver9045 else9046 { echo "configure: error: *** Tcl/Tk version mismatch." 1>&2; exit 1; }9047 fi9048 9049 TCL_VERSION="$tcl_ver"9050 9051 # FreeBSD and CygWin don't have a "dot" between major/minor version number9052 tcltk_ver2=`echo $tcltk_ver | sed 's/\.//g'`9053 9054 # With Tcl/Tk library directory9055 9056 9057 echo $ac_n "checking for location of Tcl/Tk library""... $ac_c" 1>&69058 echo "configure:9059: checking for location of Tcl/Tk library" >&59059 case "$with_tcltk_libs" in9060 y | ye | yes | n | no)9061 { echo "configure: error: *** You must supply a directory to --with-tcltk-libs." 1>&2; exit 1; }9062 ;;9063 esac9064 echo "$ac_t""$with_tcltk_libs" 1>&69065 9066 if test -n "$with_tcltk_libs"; then9067 for dir in $with_tcltk_libs; do9068 if test -d "$dir"; then9069 TCLTKLIBPATH="$TCLTKLIBPATH -L$dir"9070 else9071 { echo "configure: error: *** Tcl/Tk library directory $dir does not exist." 1>&2; exit 1; }9072 fi9073 done9074 fi9075 9076 9077 TCLLIB=9078 TKLIB=9079 9080 9081 ac_save_ldflags="$LDFLAGS"9082 LDFLAGS="$TCLTKLIBPATH $LDFLAGS"9083 9084 9085 9086 9087 echo $ac_n "checking for Tcl_Init in -ltcl""... $ac_c" 1>&69088 echo "configure:9089: checking for Tcl_Init in -ltcl" >&59089 ac_lib_var=`echo tcl'_'Tcl_Init | sed 'y%./+-%__p_%'`9090 9091 ac_save_LIBS="$LIBS"9092 LIBS="-ltcl $MATHLIB $LIBS"9093 cat > conftest.$ac_ext <<EOF9094 #line 9095 "configure"9095 #include "confdefs.h"9096 /* Override any gcc2 internal prototype to avoid an error. */9097 /* We use char because int might match the return type of a gcc29098 builtin and then its argument prototype would still apply. */9099 char Tcl_Init();9100 9101 int main() {9102 Tcl_Init()9103 ; return 0; }9104 EOF9105 if { (eval echo configure:9106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9106 rm -rf conftest*9107 eval "ac_cv_lib_$ac_lib_var=yes"9108 else9109 echo "configure: failed program was:" >&59110 cat conftest.$ac_ext >&59111 rm -rf conftest*9112 eval "ac_cv_lib_$ac_lib_var=no"9113 fi9114 rm -f conftest*9115 LIBS="$ac_save_LIBS"9116 9117 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9118 echo "$ac_t""yes" 1>&69119 TCLLIB="$TCLLIB -ltcl $MATHLIB"9120 else9121 echo "$ac_t""no" 1>&69122 9123 echo $ac_n "checking for Tcl_Init in -ltcl""... $ac_c" 1>&69124 echo "configure:9125: checking for Tcl_Init in -ltcl" >&59125 ac_lib_var=`echo tcl'_'Tcl_Init | sed 'y%./+-%__p_%'`9126 9127 ac_save_LIBS="$LIBS"9128 LIBS="-ltcl $MATHLIB $DLLIB $LIBS"9129 cat > conftest.$ac_ext <<EOF9130 #line 9131 "configure"9131 #include "confdefs.h"9132 /* Override any gcc2 internal prototype to avoid an error. */9133 /* We use char because int might match the return type of a gcc29134 builtin and then its argument prototype would still apply. */9135 char Tcl_Init();9136 9137 int main() {9138 Tcl_Init()9139 ; return 0; }9140 EOF9141 if { (eval echo configure:9142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9142 rm -rf conftest*9143 eval "ac_cv_lib_$ac_lib_var=yes"9144 else9145 echo "configure: failed program was:" >&59146 cat conftest.$ac_ext >&59147 rm -rf conftest*9148 eval "ac_cv_lib_$ac_lib_var=no"9149 fi9150 rm -f conftest*9151 LIBS="$ac_save_LIBS"9152 9153 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9154 echo "$ac_t""yes" 1>&69155 TCLLIB="$TCLLIB -ltcl $MATHLIB $DLLIB"9156 else9157 echo "$ac_t""no" 1>&69158 9159 LDFLAGS=${ac_save_ldflags}9160 9161 ac_save_ldflags="$LDFLAGS"9162 LDFLAGS="$TCLTKLIBPATH $LDFLAGS"9163 9164 9165 9166 9167 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver""... $ac_c" 1>&69168 echo "configure:9169: checking for Tcl_Init in -ltcl$tcltk_ver" >&59169 ac_lib_var=`echo tcl$tcltk_ver'_'Tcl_Init | sed 'y%./+-%__p_%'`9170 9171 ac_save_LIBS="$LIBS"9172 LIBS="-ltcl$tcltk_ver $MATHLIB $LIBS"9173 cat > conftest.$ac_ext <<EOF9174 #line 9175 "configure"9175 #include "confdefs.h"9176 /* Override any gcc2 internal prototype to avoid an error. */9177 /* We use char because int might match the return type of a gcc29178 builtin and then its argument prototype would still apply. */9179 char Tcl_Init();9180 9181 int main() {9182 Tcl_Init()9183 ; return 0; }9184 EOF9185 if { (eval echo configure:9186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9186 rm -rf conftest*9187 eval "ac_cv_lib_$ac_lib_var=yes"9188 else9189 echo "configure: failed program was:" >&59190 cat conftest.$ac_ext >&59191 rm -rf conftest*9192 eval "ac_cv_lib_$ac_lib_var=no"9193 fi9194 rm -f conftest*9195 LIBS="$ac_save_LIBS"9196 9197 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9198 echo "$ac_t""yes" 1>&69199 TCLLIB="$TCLLIB -ltcl$tcltk_ver $MATHLIB"9200 else9201 echo "$ac_t""no" 1>&69202 9203 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver""... $ac_c" 1>&69204 echo "configure:9205: checking for Tcl_Init in -ltcl$tcltk_ver" >&59205 ac_lib_var=`echo tcl$tcltk_ver'_'Tcl_Init | sed 'y%./+-%__p_%'`9206 9207 ac_save_LIBS="$LIBS"9208 LIBS="-ltcl$tcltk_ver $MATHLIB $DLLIB $LIBS"9209 cat > conftest.$ac_ext <<EOF9210 #line 9211 "configure"9211 #include "confdefs.h"9212 /* Override any gcc2 internal prototype to avoid an error. */9213 /* We use char because int might match the return type of a gcc29214 builtin and then its argument prototype would still apply. */9215 char Tcl_Init();9216 9217 int main() {9218 Tcl_Init()9219 ; return 0; }9220 EOF9221 if { (eval echo configure:9222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9222 rm -rf conftest*9223 eval "ac_cv_lib_$ac_lib_var=yes"9224 else9225 echo "configure: failed program was:" >&59226 cat conftest.$ac_ext >&59227 rm -rf conftest*9228 eval "ac_cv_lib_$ac_lib_var=no"9229 fi9230 rm -f conftest*9231 LIBS="$ac_save_LIBS"9232 9233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9234 echo "$ac_t""yes" 1>&69235 TCLLIB="$TCLLIB -ltcl$tcltk_ver $MATHLIB $DLLIB"9236 else9237 echo "$ac_t""no" 1>&69238 9239 LDFLAGS=${ac_save_ldflags}9240 9241 ac_save_ldflags="$LDFLAGS"9242 LDFLAGS="$TCLTKLIBPATH $LDFLAGS"9243 9244 9245 9246 9247 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver2""... $ac_c" 1>&69248 echo "configure:9249: checking for Tcl_Init in -ltcl$tcltk_ver2" >&59249 ac_lib_var=`echo tcl$tcltk_ver2'_'Tcl_Init | sed 'y%./+-%__p_%'`9250 9251 ac_save_LIBS="$LIBS"9252 LIBS="-ltcl$tcltk_ver2 $MATHLIB $LIBS"9253 cat > conftest.$ac_ext <<EOF9254 #line 9255 "configure"9255 #include "confdefs.h"9256 /* Override any gcc2 internal prototype to avoid an error. */9257 /* We use char because int might match the return type of a gcc29258 builtin and then its argument prototype would still apply. */9259 char Tcl_Init();9260 9261 int main() {9262 Tcl_Init()9263 ; return 0; }9264 EOF9265 if { (eval echo configure:9266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9266 rm -rf conftest*9267 eval "ac_cv_lib_$ac_lib_var=yes"9268 else9269 echo "configure: failed program was:" >&59270 cat conftest.$ac_ext >&59271 rm -rf conftest*9272 eval "ac_cv_lib_$ac_lib_var=no"9273 fi9274 rm -f conftest*9275 LIBS="$ac_save_LIBS"9276 9277 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9278 echo "$ac_t""yes" 1>&69279 TCLLIB="$TCLLIB -ltcl$tcltk_ver2 $MATHLIB"9280 else9281 echo "$ac_t""no" 1>&69282 9283 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver2""... $ac_c" 1>&69284 echo "configure:9285: checking for Tcl_Init in -ltcl$tcltk_ver2" >&59285 ac_lib_var=`echo tcl$tcltk_ver2'_'Tcl_Init | sed 'y%./+-%__p_%'`9286 9287 ac_save_LIBS="$LIBS"9288 LIBS="-ltcl$tcltk_ver2 $MATHLIB $DLLIB $LIBS"9289 cat > conftest.$ac_ext <<EOF9290 #line 9291 "configure"9291 #include "confdefs.h"9292 /* Override any gcc2 internal prototype to avoid an error. */9293 /* We use char because int might match the return type of a gcc29294 builtin and then its argument prototype would still apply. */9295 char Tcl_Init();9296 9297 int main() {9298 Tcl_Init()9299 ; return 0; }9300 EOF9301 if { (eval echo configure:9302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9302 rm -rf conftest*9303 eval "ac_cv_lib_$ac_lib_var=yes"9304 else9305 echo "configure: failed program was:" >&59306 cat conftest.$ac_ext >&59307 rm -rf conftest*9308 eval "ac_cv_lib_$ac_lib_var=no"9309 fi9310 rm -f conftest*9311 LIBS="$ac_save_LIBS"9312 9313 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9314 echo "$ac_t""yes" 1>&69315 TCLLIB="$TCLLIB -ltcl$tcltk_ver2 $MATHLIB $DLLIB"9316 else9317 echo "$ac_t""no" 1>&69318 9319 LDFLAGS=${ac_save_ldflags}9320 9321 { echo "configure: error: *** Unable to locate Tcl library." 1>&2; exit 1; }9322 9323 9324 fi9325 9326 9327 9328 9329 fi9330 9331 9332 9333 9334 9335 9336 LDFLAGS=${ac_save_ldflags}9337 9338 9339 9340 fi9341 9342 9343 9344 9345 fi9346 9347 9348 9349 9350 9351 9352 LDFLAGS=${ac_save_ldflags}9353 9354 9355 9356 fi9357 9358 9359 9360 9361 fi9362 9363 9364 9365 9366 9367 9368 LDFLAGS=${ac_save_ldflags}9369 9370 9371 9372 ac_save_ldflags="$LDFLAGS"9373 LDFLAGS="$TCLTKLIBPATH $LDFLAGS"9374 9375 9376 9377 9378 echo $ac_n "checking for Tk_MainWindow in -ltk""... $ac_c" 1>&69379 echo "configure:9380: checking for Tk_MainWindow in -ltk" >&59380 ac_lib_var=`echo tk'_'Tk_MainWindow | sed 'y%./+-%__p_%'`9381 9382 ac_save_LIBS="$LIBS"9383 LIBS="-ltk $TCLLIB $MATHLIB $LIBS"9384 cat > conftest.$ac_ext <<EOF9385 #line 9386 "configure"9386 #include "confdefs.h"9387 /* Override any gcc2 internal prototype to avoid an error. */9388 /* We use char because int might match the return type of a gcc29389 builtin and then its argument prototype would still apply. */9390 char Tk_MainWindow();9391 9392 int main() {9393 Tk_MainWindow()9394 ; return 0; }9395 EOF9396 if { (eval echo configure:9397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9397 rm -rf conftest*9398 eval "ac_cv_lib_$ac_lib_var=yes"9399 else9400 echo "configure: failed program was:" >&59401 cat conftest.$ac_ext >&59402 rm -rf conftest*9403 eval "ac_cv_lib_$ac_lib_var=no"9404 fi9405 rm -f conftest*9406 LIBS="$ac_save_LIBS"9407 9408 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9409 echo "$ac_t""yes" 1>&69410 TKLIB="$TKLIB -ltk $MATHLIB"9411 else9412 echo "$ac_t""no" 1>&69413 9414 echo $ac_n "checking for Tk_MainWindow in -ltk""... $ac_c" 1>&69415 echo "configure:9416: checking for Tk_MainWindow in -ltk" >&59416 ac_lib_var=`echo tk'_'Tk_MainWindow | sed 'y%./+-%__p_%'`9417 9418 ac_save_LIBS="$LIBS"9419 LIBS="-ltk $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"9420 cat > conftest.$ac_ext <<EOF9421 #line 9422 "configure"9422 #include "confdefs.h"9423 /* Override any gcc2 internal prototype to avoid an error. */9424 /* We use char because int might match the return type of a gcc29425 builtin and then its argument prototype would still apply. */9426 char Tk_MainWindow();9427 9428 int main() {9429 Tk_MainWindow()9430 ; return 0; }9431 EOF9432 if { (eval echo configure:9433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9433 rm -rf conftest*9434 eval "ac_cv_lib_$ac_lib_var=yes"9435 else9436 echo "configure: failed program was:" >&59437 cat conftest.$ac_ext >&59438 rm -rf conftest*9439 eval "ac_cv_lib_$ac_lib_var=no"9440 fi9441 rm -f conftest*9442 LIBS="$ac_save_LIBS"9443 9444 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9445 echo "$ac_t""yes" 1>&69446 TKLIB="$TKLIB -ltk $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"9447 else9448 echo "$ac_t""no" 1>&69449 9450 LDFLAGS=${ac_save_ldflags}9451 9452 ac_save_ldflags="$LDFLAGS"9453 LDFLAGS="$TCLTKLIBPATH $LDFLAGS"9454 9455 9456 9457 9458 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver""... $ac_c" 1>&69459 echo "configure:9460: checking for Tk_MainWindow in -ltk$tcltk_ver" >&59460 ac_lib_var=`echo tk$tcltk_ver'_'Tk_MainWindow | sed 'y%./+-%__p_%'`9461 9462 ac_save_LIBS="$LIBS"9463 LIBS="-ltk$tcltk_ver $TCLLIB $MATHLIB $LIBS"9464 cat > conftest.$ac_ext <<EOF9465 #line 9466 "configure"9466 #include "confdefs.h"9467 /* Override any gcc2 internal prototype to avoid an error. */9468 /* We use char because int might match the return type of a gcc29469 builtin and then its argument prototype would still apply. */9470 char Tk_MainWindow();9471 9472 int main() {9473 Tk_MainWindow()9474 ; return 0; }9475 EOF9476 if { (eval echo configure:9477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9477 rm -rf conftest*9478 eval "ac_cv_lib_$ac_lib_var=yes"9479 else9480 echo "configure: failed program was:" >&59481 cat conftest.$ac_ext >&59482 rm -rf conftest*9483 eval "ac_cv_lib_$ac_lib_var=no"9484 fi9485 rm -f conftest*9486 LIBS="$ac_save_LIBS"9487 9488 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9489 echo "$ac_t""yes" 1>&69490 TKLIB="$TKLIB -ltk$tcltk_ver $MATHLIB"9491 else9492 echo "$ac_t""no" 1>&69493 9494 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver""... $ac_c" 1>&69495 echo "configure:9496: checking for Tk_MainWindow in -ltk$tcltk_ver" >&59496 ac_lib_var=`echo tk$tcltk_ver'_'Tk_MainWindow | sed 'y%./+-%__p_%'`9497 9498 ac_save_LIBS="$LIBS"9499 LIBS="-ltk$tcltk_ver $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"9500 cat > conftest.$ac_ext <<EOF9501 #line 9502 "configure"9502 #include "confdefs.h"9503 /* Override any gcc2 internal prototype to avoid an error. */9504 /* We use char because int might match the return type of a gcc29505 builtin and then its argument prototype would still apply. */9506 char Tk_MainWindow();9507 9508 int main() {9509 Tk_MainWindow()9510 ; return 0; }9511 EOF9512 if { (eval echo configure:9513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9513 rm -rf conftest*9514 eval "ac_cv_lib_$ac_lib_var=yes"9515 else9516 echo "configure: failed program was:" >&59517 cat conftest.$ac_ext >&59518 rm -rf conftest*9519 eval "ac_cv_lib_$ac_lib_var=no"9520 fi9521 rm -f conftest*9522 LIBS="$ac_save_LIBS"9523 9524 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9525 echo "$ac_t""yes" 1>&69526 TKLIB="$TKLIB -ltk$tcltk_ver $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"9527 else9528 echo "$ac_t""no" 1>&69529 9530 LDFLAGS=${ac_save_ldflags}9531 9532 ac_save_ldflags="$LDFLAGS"9533 LDFLAGS="$TCLTKLIBPATH $LDFLAGS"9534 9535 9536 9537 9538 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver2""... $ac_c" 1>&69539 echo "configure:9540: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&59540 ac_lib_var=`echo tk$tcltk_ver2'_'Tk_MainWindow | sed 'y%./+-%__p_%'`9541 9542 ac_save_LIBS="$LIBS"9543 LIBS="-ltk$tcltk_ver2 $TCLLIB $MATHLIB $LIBS"9544 cat > conftest.$ac_ext <<EOF9545 #line 9546 "configure"9546 #include "confdefs.h"9547 /* Override any gcc2 internal prototype to avoid an error. */9548 /* We use char because int might match the return type of a gcc29549 builtin and then its argument prototype would still apply. */9550 char Tk_MainWindow();9551 9552 int main() {9553 Tk_MainWindow()9554 ; return 0; }9555 EOF9556 if { (eval echo configure:9557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9557 rm -rf conftest*9558 eval "ac_cv_lib_$ac_lib_var=yes"9559 else9560 echo "configure: failed program was:" >&59561 cat conftest.$ac_ext >&59562 rm -rf conftest*9563 eval "ac_cv_lib_$ac_lib_var=no"9564 fi9565 rm -f conftest*9566 LIBS="$ac_save_LIBS"9567 9568 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9569 echo "$ac_t""yes" 1>&69570 TKLIB="$TKLIB -ltk$tcltk_ver2 $MATHLIB"9571 else9572 echo "$ac_t""no" 1>&69573 9574 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver2""... $ac_c" 1>&69575 echo "configure:9576: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&59576 ac_lib_var=`echo tk$tcltk_ver2'_'Tk_MainWindow | sed 'y%./+-%__p_%'`9577 9578 ac_save_LIBS="$LIBS"9579 LIBS="-ltk$tcltk_ver2 $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"9580 cat > conftest.$ac_ext <<EOF9581 #line 9582 "configure"9582 #include "confdefs.h"9583 /* Override any gcc2 internal prototype to avoid an error. */9584 /* We use char because int might match the return type of a gcc29585 builtin and then its argument prototype would still apply. */9586 char Tk_MainWindow();9587 9588 int main() {9589 Tk_MainWindow()9590 ; return 0; }9591 EOF9592 if { (eval echo configure:9593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9593 rm -rf conftest*9594 eval "ac_cv_lib_$ac_lib_var=yes"9595 else9596 echo "configure: failed program was:" >&59597 cat conftest.$ac_ext >&59598 rm -rf conftest*9599 eval "ac_cv_lib_$ac_lib_var=no"9600 fi9601 rm -f conftest*9602 LIBS="$ac_save_LIBS"9603 9604 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then9605 echo "$ac_t""yes" 1>&69606 TKLIB="$TKLIB -ltk$tcltk_ver2 $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"9607 else9608 echo "$ac_t""no" 1>&69609 9610 LDFLAGS=${ac_save_ldflags}9611 9612 { echo "configure: error: *** Unable to locate Tk library." 1>&2; exit 1; }9613 9614 9615 fi9616 9617 9618 9619 9620 fi9621 9622 9623 9624 9625 9626 9627 LDFLAGS=${ac_save_ldflags}9628 9629 9630 9631 fi9632 9633 9634 9635 9636 fi9637 9638 9639 9640 9641 9642 9643 LDFLAGS=${ac_save_ldflags}9644 9645 9646 9647 fi9648 9649 9650 9651 9652 fi9653 9654 9655 9656 9657 9658 9659 LDFLAGS=${ac_save_ldflags}9660 9661 9662 9663 TCLTKLIBS="$TKLIB $TCLLIB"9664 cat >> confdefs.h <<\EOF9665 #define HAVE_TCLTK 19666 EOF9667 9668 9669 fi # $USE_TCLTK9670 9671 TKINCDIR=$TCLINCDIR9672 9673 9674 9675 9676 9677 9678 # Done checking Tcl/Tk9679 9680 8833 # Enable PostgreSQL option 9681 8834 9682 8835 9683 8836 echo $ac_n "checking whether to use PostgreSQL""... $ac_c" 1>&6 9684 echo "configure: 9685: checking whether to use PostgreSQL" >&58837 echo "configure:8838: checking whether to use PostgreSQL" >&5 9685 8838 echo "$ac_t"""$with_postgres"" 1>&6 9686 8839 case "$with_postgres" in … … 9709 8862 9710 8863 echo $ac_n "checking for location of PostgreSQL includes""... $ac_c" 1>&6 9711 echo "configure: 9712: checking for location of PostgreSQL includes" >&58864 echo "configure:8865: checking for location of PostgreSQL includes" >&5 9712 8865 case "$with_postgres_includes" in 9713 8866 y | ye | yes | n | no) … … 9735 8888 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 9736 8889 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 9737 echo "configure: 9738: checking for $ac_hdr" >&59738 9739 cat > conftest.$ac_ext <<EOF 9740 #line 9741"configure"8890 echo "configure:8891: checking for $ac_hdr" >&5 8891 8892 cat > conftest.$ac_ext <<EOF 8893 #line 8894 "configure" 9741 8894 #include "confdefs.h" 9742 8895 #include <$ac_hdr> 9743 8896 EOF 9744 8897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9745 { (eval echo configure: 9746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }8898 { (eval echo configure:8899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9746 8899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9747 8900 if test -z "$ac_err"; then … … 9781 8934 9782 8935 echo $ac_n "checking for location of PostgreSQL library""... $ac_c" 1>&6 9783 echo "configure: 9784: checking for location of PostgreSQL library" >&58936 echo "configure:8937: checking for location of PostgreSQL library" >&5 9784 8937 case "$with_postgres_libs" in 9785 8938 y | ye | yes | n | no) … … 9810 8963 9811 8964 echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6 9812 echo "configure: 9813: checking for PQsetdbLogin in -lpq" >&58965 echo "configure:8966: checking for PQsetdbLogin in -lpq" >&5 9813 8966 ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'` 9814 8967 … … 9816 8969 LIBS="-lpq $LIBS" 9817 8970 cat > conftest.$ac_ext <<EOF 9818 #line 9819"configure"8971 #line 8972 "configure" 9819 8972 #include "confdefs.h" 9820 8973 /* Override any gcc2 internal prototype to avoid an error. */ … … 9827 8980 ; return 0; } 9828 8981 EOF 9829 if { (eval echo configure: 9830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then8982 if { (eval echo configure:8983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9830 8983 rm -rf conftest* 9831 8984 eval "ac_cv_lib_$ac_lib_var=yes" … … 9846 8999 9847 9000 echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6 9848 echo "configure:9 849: checking for PQsetdbLogin in -lpq" >&59001 echo "configure:9002: checking for PQsetdbLogin in -lpq" >&5 9849 9002 ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'` 9850 9003 … … 9852 9005 LIBS="-lpq -lssl -lcrypto $LIBS" 9853 9006 cat > conftest.$ac_ext <<EOF 9854 #line 9 855"configure"9007 #line 9008 "configure" 9855 9008 #include "confdefs.h" 9856 9009 /* Override any gcc2 internal prototype to avoid an error. */ … … 9863 9016 ; return 0; } 9864 9017 EOF 9865 if { (eval echo configure:9 866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9018 if { (eval echo configure:9019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9866 9019 rm -rf conftest* 9867 9020 eval "ac_cv_lib_$ac_lib_var=yes" … … 9882 9035 9883 9036 echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6 9884 echo "configure:9 885: checking for PQsetdbLogin in -lpq" >&59037 echo "configure:9038: checking for PQsetdbLogin in -lpq" >&5 9885 9038 ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'` 9886 9039 … … 9888 9041 LIBS="-lpq -lcrypt $LIBS" 9889 9042 cat > conftest.$ac_ext <<EOF 9890 #line 9 891"configure"9043 #line 9044 "configure" 9891 9044 #include "confdefs.h" 9892 9045 /* Override any gcc2 internal prototype to avoid an error. */ … … 9899 9052 ; return 0; } 9900 9053 EOF 9901 if { (eval echo configure:9 902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9054 if { (eval echo configure:9055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9902 9055 rm -rf conftest* 9903 9056 eval "ac_cv_lib_$ac_lib_var=yes" … … 9918 9071 9919 9072 echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6 9920 echo "configure:9 921: checking for PQsetdbLogin in -lpq" >&59073 echo "configure:9074: checking for PQsetdbLogin in -lpq" >&5 9921 9074 ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'` 9922 9075 … … 9924 9077 LIBS="-lpq -lcrypt -lssl -lcrypto $LIBS" 9925 9078 cat > conftest.$ac_ext <<EOF 9926 #line 9 927"configure"9079 #line 9080 "configure" 9927 9080 #include "confdefs.h" 9928 9081 /* Override any gcc2 internal prototype to avoid an error. */ … … 9935 9088 ; return 0; } 9936 9089 EOF 9937 if { (eval echo configure:9 938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9090 if { (eval echo configure:9091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9938 9091 rm -rf conftest* 9939 9092 eval "ac_cv_lib_$ac_lib_var=yes" … … 9992 9145 LDFLAGS="$LDFLAGS $PQLIBPATH" 9993 9146 echo $ac_n "checking for PQcmdTuples in -lpq""... $ac_c" 1>&6 9994 echo "configure:9 995: checking for PQcmdTuples in -lpq" >&59147 echo "configure:9148: checking for PQcmdTuples in -lpq" >&5 9995 9148 ac_lib_var=`echo pq'_'PQcmdTuples | sed 'y%./+-%__p_%'` 9996 9149 … … 9998 9151 LIBS="-lpq $LIBS" 9999 9152 cat > conftest.$ac_ext <<EOF 10000 #line 10001"configure"9153 #line 9154 "configure" 10001 9154 #include "confdefs.h" 10002 9155 /* Override any gcc2 internal prototype to avoid an error. */ … … 10009 9162 ; return 0; } 10010 9163 EOF 10011 if { (eval echo configure: 10012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9164 if { (eval echo configure:9165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10012 9165 rm -rf conftest* 10013 9166 eval "ac_cv_lib_$ac_lib_var=yes" … … 10031 9184 10032 9185 echo $ac_n "checking for PQcmdTuples in -lpq""... $ac_c" 1>&6 10033 echo "configure: 10034: checking for PQcmdTuples in -lpq" >&59186 echo "configure:9187: checking for PQcmdTuples in -lpq" >&5 10034 9187 ac_lib_var=`echo pq'_'PQcmdTuples | sed 'y%./+-%__p_%'` 10035 9188 … … 10037 9190 LIBS="-lpq -lcrypt $LIBS" 10038 9191 cat > conftest.$ac_ext <<EOF 10039 #line 10040"configure"9192 #line 9193 "configure" 10040 9193 #include "confdefs.h" 10041 9194 /* Override any gcc2 internal prototype to avoid an error. */ … … 10048 9201 ; return 0; } 10049 9202 EOF 10050 if { (eval echo configure: 10051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9203 if { (eval echo configure:9204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10051 9204 rm -rf conftest* 10052 9205 eval "ac_cv_lib_$ac_lib_var=yes" … … 10091 9244 10092 9245 echo $ac_n "checking whether to use MySQL""... $ac_c" 1>&6 10093 echo "configure: 10094: checking whether to use MySQL" >&59246 echo "configure:9247: checking whether to use MySQL" >&5 10094 9247 echo "$ac_t"""$with_mysql"" 1>&6 10095 9248 case "$with_mysql" in … … 10111 9264 10112 9265 echo $ac_n "checking for location of MySQL includes""... $ac_c" 1>&6 10113 echo "configure: 10114: checking for location of MySQL includes" >&59266 echo "configure:9267: checking for location of MySQL includes" >&5 10114 9267 case "$with_mysql_includes" in 10115 9268 y | ye | yes | n | no) … … 10137 9290 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10138 9291 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10139 echo "configure: 10140: checking for $ac_hdr" >&510140 10141 cat > conftest.$ac_ext <<EOF 10142 #line 10143"configure"9292 echo "configure:9293: checking for $ac_hdr" >&5 9293 9294 cat > conftest.$ac_ext <<EOF 9295 #line 9296 "configure" 10143 9296 #include "confdefs.h" 10144 9297 #include <$ac_hdr> 10145 9298 EOF 10146 9299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10147 { (eval echo configure: 10148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }9300 { (eval echo configure:9301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10148 9301 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10149 9302 if test -z "$ac_err"; then … … 10182 9335 10183 9336 echo $ac_n "checking for location of MySQL library""... $ac_c" 1>&6 10184 echo "configure: 10185: checking for location of MySQL library" >&59337 echo "configure:9338: checking for location of MySQL library" >&5 10185 9338 case "$with_mysql_libs" in 10186 9339 y | ye | yes | n | no) … … 10213 9366 10214 9367 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 10215 echo "configure: 10216: checking for mysql_query in -lmysqlclient" >&59368 echo "configure:9369: checking for mysql_query in -lmysqlclient" >&5 10216 9369 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 10217 9370 … … 10219 9372 LIBS="-lmysqlclient $LIBS" 10220 9373 cat > conftest.$ac_ext <<EOF 10221 #line 10222"configure"9374 #line 9375 "configure" 10222 9375 #include "confdefs.h" 10223 9376 /* Override any gcc2 internal prototype to avoid an error. */ … … 10230 9383 ; return 0; } 10231 9384 EOF 10232 if { (eval echo configure: 10233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9385 if { (eval echo configure:9386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10233 9386 rm -rf conftest* 10234 9387 eval "ac_cv_lib_$ac_lib_var=yes" … … 10249 9402 10250 9403 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 10251 echo "configure: 10252: checking for mysql_query in -lmysqlclient" >&59404 echo "configure:9405: checking for mysql_query in -lmysqlclient" >&5 10252 9405 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 10253 9406 … … 10255 9408 LIBS="-lmysqlclient $MATHLIB $LIBS" 10256 9409 cat > conftest.$ac_ext <<EOF 10257 #line 10258"configure"9410 #line 9411 "configure" 10258 9411 #include "confdefs.h" 10259 9412 /* Override any gcc2 internal prototype to avoid an error. */ … … 10266 9419 ; return 0; } 10267 9420 EOF 10268 if { (eval echo configure: 10269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9421 if { (eval echo configure:9422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10269 9422 rm -rf conftest* 10270 9423 eval "ac_cv_lib_$ac_lib_var=yes" … … 10285 9438 10286 9439 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 10287 echo "configure: 10288: checking for mysql_query in -lmysqlclient" >&59440 echo "configure:9441: checking for mysql_query in -lmysqlclient" >&5 10288 9441 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 10289 9442 … … 10291 9444 LIBS="-lmysqlclient $SOCKLIB $LIBS" 10292 9445 cat > conftest.$ac_ext <<EOF 10293 #line 10294"configure"9446 #line 9447 "configure" 10294 9447 #include "confdefs.h" 10295 9448 /* Override any gcc2 internal prototype to avoid an error. */ … … 10302 9455 ; return 0; } 10303 9456 EOF 10304 if { (eval echo configure: 10305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9457 if { (eval echo configure:9458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10305 9458 rm -rf conftest* 10306 9459 eval "ac_cv_lib_$ac_lib_var=yes" … … 10321 9474 10322 9475 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 10323 echo "configure: 10324: checking for mysql_query in -lmysqlclient" >&59476 echo "configure:9477: checking for mysql_query in -lmysqlclient" >&5 10324 9477 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 10325 9478 … … 10327 9480 LIBS="-lmysqlclient $SOCKLIB $MATHLIB $LIBS" 10328 9481 cat > conftest.$ac_ext <<EOF 10329 #line 10330"configure"9482 #line 9483 "configure" 10330 9483 #include "confdefs.h" 10331 9484 /* Override any gcc2 internal prototype to avoid an error. */ … … 10338 9491 ; return 0; } 10339 9492 EOF 10340 if { (eval echo configure: 10341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9493 if { (eval echo configure:9494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10341 9494 rm -rf conftest* 10342 9495 eval "ac_cv_lib_$ac_lib_var=yes" … … 10357 9510 10358 9511 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 10359 echo "configure: 10360: checking for mysql_query in -lmysqlclient" >&59512 echo "configure:9513: checking for mysql_query in -lmysqlclient" >&5 10360 9513 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 10361 9514 … … 10363 9516 LIBS="-lmysqlclient $ZLIB $LIBS" 10364 9517 cat > conftest.$ac_ext <<EOF 10365 #line 10366"configure"9518 #line 9519 "configure" 10366 9519 #include "confdefs.h" 10367 9520 /* Override any gcc2 internal prototype to avoid an error. */ … … 10374 9527 ; return 0; } 10375 9528 EOF 10376 if { (eval echo configure: 10377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9529 if { (eval echo configure:9530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10377 9530 rm -rf conftest* 10378 9531 eval "ac_cv_lib_$ac_lib_var=yes" … … 10393 9546 10394 9547 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 10395 echo "configure: 10396: checking for mysql_query in -lmysqlclient" >&59548 echo "configure:9549: checking for mysql_query in -lmysqlclient" >&5 10396 9549 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 10397 9550 … … 10399 9552 LIBS="-lmysqlclient $ZLIB $MATHLIB $LIBS" 10400 9553 cat > conftest.$ac_ext <<EOF 10401 #line 10402"configure"9554 #line 9555 "configure" 10402 9555 #include "confdefs.h" 10403 9556 /* Override any gcc2 internal prototype to avoid an error. */ … … 10410 9563 ; return 0; } 10411 9564 EOF 10412 if { (eval echo configure: 10413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9565 if { (eval echo configure:9566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10413 9566 rm -rf conftest* 10414 9567 eval "ac_cv_lib_$ac_lib_var=yes" … … 10429 9582 10430 9583 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 10431 echo "configure: 10432: checking for mysql_query in -lmysqlclient" >&59584 echo "configure:9585: checking for mysql_query in -lmysqlclient" >&5 10432 9585 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 10433 9586 … … 10435 9588 LIBS="-lmysqlclient $ZLIB $SOCKLIB $LIBS" 10436 9589 cat > conftest.$ac_ext <<EOF 10437 #line 10438"configure"9590 #line 9591 "configure" 10438 9591 #include "confdefs.h" 10439 9592 /* Override any gcc2 internal prototype to avoid an error. */ … … 10446 9599 ; return 0; } 10447 9600 EOF 10448 if { (eval echo configure: 10449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9601 if { (eval echo configure:9602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10449 9602 rm -rf conftest* 10450 9603 eval "ac_cv_lib_$ac_lib_var=yes" … … 10465 9618 10466 9619 echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6 10467 echo "configure: 10468: checking for mysql_query in -lmysqlclient" >&59620 echo "configure:9621: checking for mysql_query in -lmysqlclient" >&5 10468 9621 ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'` 10469 9622 … … 10471 9624 LIBS="-lmysqlclient $ZLIB $SOCKLIB $MATHLIB $LIBS" 10472 9625 cat > conftest.$ac_ext <<EOF 10473 #line 10474"configure"9626 #line 9627 "configure" 10474 9627 #include "confdefs.h" 10475 9628 /* Override any gcc2 internal prototype to avoid an error. */ … … 10482 9635 ; return 0; } 10483 9636 EOF 10484 if { (eval echo configure: 10485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9637 if { (eval echo configure:9638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10485 9638 rm -rf conftest* 10486 9639 eval "ac_cv_lib_$ac_lib_var=yes" … … 10572 9725 set dummy mysql_config; ac_word=$2 10573 9726 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 10574 echo "configure: 10575: checking for $ac_word" >&59727 echo "configure:9728: checking for $ac_word" >&5 10575 9728 10576 9729 case "$MYSQLD_CONFIG" in … … 10613 9766 LIBS="$MYSQLDLIB $LIBS" 10614 9767 echo $ac_n "checking for mysql_server_init""... $ac_c" 1>&6 10615 echo "configure: 10616: checking for mysql_server_init" >&510616 10617 cat > conftest.$ac_ext <<EOF 10618 #line 10619"configure"9768 echo "configure:9769: checking for mysql_server_init" >&5 9769 9770 cat > conftest.$ac_ext <<EOF 9771 #line 9772 "configure" 10619 9772 #include "confdefs.h" 10620 9773 /* System header to define __stub macros and hopefully few prototypes, … … 10639 9792 ; return 0; } 10640 9793 EOF 10641 if { (eval echo configure: 10642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9794 if { (eval echo configure:9795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10642 9795 rm -rf conftest* 10643 9796 eval "ac_cv_func_mysql_server_init=yes" … … 10677 9830 10678 9831 echo $ac_n "checking whether to use SQLite""... $ac_c" 1>&6 10679 echo "configure: 10680: checking whether to use SQLite" >&59832 echo "configure:9833: checking whether to use SQLite" >&5 10680 9833 echo "$ac_t"""$with_sqlite"" 1>&6 10681 9834 case "$with_sqlite" in … … 10697 9850 10698 9851 echo $ac_n "checking for location of SQLite includes""... $ac_c" 1>&6 10699 echo "configure: 10700: checking for location of SQLite includes" >&59852 echo "configure:9853: checking for location of SQLite includes" >&5 10700 9853 case "$with_sqlite_includes" in 10701 9854 y | ye | yes | n | no) … … 10723 9876 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10724 9877 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10725 echo "configure: 10726: checking for $ac_hdr" >&510726 10727 cat > conftest.$ac_ext <<EOF 10728 #line 10729"configure"9878 echo "configure:9879: checking for $ac_hdr" >&5 9879 9880 cat > conftest.$ac_ext <<EOF 9881 #line 9882 "configure" 10729 9882 #include "confdefs.h" 10730 9883 #include <$ac_hdr> 10731 9884 EOF 10732 9885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10733 { (eval echo configure: 10734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }9886 { (eval echo configure:9887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10734 9887 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10735 9888 if test -z "$ac_err"; then … … 10774 9927 10775 9928 echo $ac_n "checking for location of SQLite library""... $ac_c" 1>&6 10776 echo "configure: 10777: checking for location of SQLite library" >&59929 echo "configure:9930: checking for location of SQLite library" >&5 10777 9930 case "$with_sqlite_libs" in 10778 9931 y | ye | yes | n | no) … … 10801 9954 10802 9955 echo $ac_n "checking for sqlite3_open in -lsqlite3""... $ac_c" 1>&6 10803 echo "configure: 10804: checking for sqlite3_open in -lsqlite3" >&59956 echo "configure:9957: checking for sqlite3_open in -lsqlite3" >&5 10804 9957 ac_lib_var=`echo sqlite3'_'sqlite3_open | sed 'y%./+-%__p_%'` 10805 9958 … … 10807 9960 LIBS="-lsqlite3 $LIBS" 10808 9961 cat > conftest.$ac_ext <<EOF 10809 #line 10810"configure"9962 #line 9963 "configure" 10810 9963 #include "confdefs.h" 10811 9964 /* Override any gcc2 internal prototype to avoid an error. */ … … 10818 9971 ; return 0; } 10819 9972 EOF 10820 if { (eval echo configure: 10821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then9973 if { (eval echo configure:9974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10821 9974 rm -rf conftest* 10822 9975 eval "ac_cv_lib_$ac_lib_var=yes" … … 10837 9990 10838 9991 echo $ac_n "checking for sqlite3_open in -lsqlite3""... $ac_c" 1>&6 10839 echo "configure: 10840: checking for sqlite3_open in -lsqlite3" >&59992 echo "configure:9993: checking for sqlite3_open in -lsqlite3" >&5 10840 9993 ac_lib_var=`echo sqlite3'_'sqlite3_open | sed 'y%./+-%__p_%'` 10841 9994 … … 10843 9996 LIBS="-lsqlite3 $MATHLIB $LIBS" 10844 9997 cat > conftest.$ac_ext <<EOF 10845 #line 10846"configure"9998 #line 9999 "configure" 10846 9999 #include "confdefs.h" 10847 10000 /* Override any gcc2 internal prototype to avoid an error. */ … … 10854 10007 ; return 0; } 10855 10008 EOF 10856 if { (eval echo configure:10 857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10009 if { (eval echo configure:10010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10857 10010 rm -rf conftest* 10858 10011 eval "ac_cv_lib_$ac_lib_var=yes" … … 10907 10060 10908 10061 echo $ac_n "checking whether to use FFMPEG""... $ac_c" 1>&6 10909 echo "configure:10 910: checking whether to use FFMPEG" >&510062 echo "configure:10063: checking whether to use FFMPEG" >&5 10910 10063 echo "$ac_t"""$with_ffmpeg"" 1>&6 10911 10064 case "$with_ffmpeg" in … … 10927 10080 10928 10081 echo $ac_n "checking for location of FFMPEG includes""... $ac_c" 1>&6 10929 echo "configure:10 930: checking for location of FFMPEG includes" >&510082 echo "configure:10083: checking for location of FFMPEG includes" >&5 10930 10083 case "$with_ffmpeg_includes" in 10931 10084 y | ye | yes | n | no) … … 10953 10106 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10954 10107 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10955 echo "configure:10 956: checking for $ac_hdr" >&510956 10957 cat > conftest.$ac_ext <<EOF 10958 #line 10 959"configure"10108 echo "configure:10109: checking for $ac_hdr" >&5 10109 10110 cat > conftest.$ac_ext <<EOF 10111 #line 10112 "configure" 10959 10112 #include "confdefs.h" 10960 10113 #include <$ac_hdr> 10961 10114 EOF 10962 10115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10963 { (eval echo configure:10 964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }10116 { (eval echo configure:10117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10964 10117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10965 10118 if test -z "$ac_err"; then … … 10997 10150 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10998 10151 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10999 echo "configure:1 1000: checking for $ac_hdr" >&511000 11001 cat > conftest.$ac_ext <<EOF 11002 #line 1 1003"configure"10152 echo "configure:10153: checking for $ac_hdr" >&5 10153 10154 cat > conftest.$ac_ext <<EOF 10155 #line 10156 "configure" 11003 10156 #include "confdefs.h" 11004 10157 #include <$ac_hdr> 11005 10158 EOF 11006 10159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11007 { (eval echo configure:1 1008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }10160 { (eval echo configure:10161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11008 10161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11009 10162 if test -z "$ac_err"; then … … 11041 10194 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11042 10195 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11043 echo "configure:1 1044: checking for $ac_hdr" >&511044 11045 cat > conftest.$ac_ext <<EOF 11046 #line 1 1047"configure"10196 echo "configure:10197: checking for $ac_hdr" >&5 10197 10198 cat > conftest.$ac_ext <<EOF 10199 #line 10200 "configure" 11047 10200 #include "confdefs.h" 11048 10201 #include <$ac_hdr> 11049 10202 EOF 11050 10203 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11051 { (eval echo configure:1 1052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }10204 { (eval echo configure:10205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11052 10205 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11053 10206 if test -z "$ac_err"; then … … 11092 10245 11093 10246 echo $ac_n "checking for location of FFMPEG library""... $ac_c" 1>&6 11094 echo "configure:1 1095: checking for location of FFMPEG library" >&510247 echo "configure:10248: checking for location of FFMPEG library" >&5 11095 10248 case "$with_ffmpeg_libs" in 11096 10249 y | ye | yes | n | no) … … 11119 10272 11120 10273 echo $ac_n "checking for av_free in -lavutil""... $ac_c" 1>&6 11121 echo "configure:1 1122: checking for av_free in -lavutil" >&510274 echo "configure:10275: checking for av_free in -lavutil" >&5 11122 10275 ac_lib_var=`echo avutil'_'av_free | sed 'y%./+-%__p_%'` 11123 10276 … … 11125 10278 LIBS="-lavutil $LIBS" 11126 10279 cat > conftest.$ac_ext <<EOF 11127 #line 1 1128"configure"10280 #line 10281 "configure" 11128 10281 #include "confdefs.h" 11129 10282 /* Override any gcc2 internal prototype to avoid an error. */ … … 11136 10289 ; return 0; } 11137 10290 EOF 11138 if { (eval echo configure:1 1139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10291 if { (eval echo configure:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11139 10292 rm -rf conftest* 11140 10293 eval "ac_cv_lib_$ac_lib_var=yes" … … 11155 10308 11156 10309 echo $ac_n "checking for av_free in -lavutil""... $ac_c" 1>&6 11157 echo "configure:1 1158: checking for av_free in -lavutil" >&510310 echo "configure:10311: checking for av_free in -lavutil" >&5 11158 10311 ac_lib_var=`echo avutil'_'av_free | sed 'y%./+-%__p_%'` 11159 10312 … … 11161 10314 LIBS="-lavutil $MATHLIB $LIBS" 11162 10315 cat > conftest.$ac_ext <<EOF 11163 #line 1 1164"configure"10316 #line 10317 "configure" 11164 10317 #include "confdefs.h" 11165 10318 /* Override any gcc2 internal prototype to avoid an error. */ … … 11172 10325 ; return 0; } 11173 10326 EOF 11174 if { (eval echo configure:1 1175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10327 if { (eval echo configure:10328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11175 10328 rm -rf conftest* 11176 10329 eval "ac_cv_lib_$ac_lib_var=yes" … … 11217 10370 11218 10371 echo $ac_n "checking for avcodec_init in -lavcodec""... $ac_c" 1>&6 11219 echo "configure:1 1220: checking for avcodec_init in -lavcodec" >&510372 echo "configure:10373: checking for avcodec_init in -lavcodec" >&5 11220 10373 ac_lib_var=`echo avcodec'_'avcodec_init | sed 'y%./+-%__p_%'` 11221 10374 … … 11223 10376 LIBS="-lavcodec $FFMPEGLIB $LIBS" 11224 10377 cat > conftest.$ac_ext <<EOF 11225 #line 1 1226"configure"10378 #line 10379 "configure" 11226 10379 #include "confdefs.h" 11227 10380 /* Override any gcc2 internal prototype to avoid an error. */ … … 11234 10387 ; return 0; } 11235 10388 EOF 11236 if { (eval echo configure:1 1237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10389 if { (eval echo configure:10390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11237 10390 rm -rf conftest* 11238 10391 eval "ac_cv_lib_$ac_lib_var=yes" … … 11253 10406 11254 10407 echo $ac_n "checking for avcodec_init in -lavcodec""... $ac_c" 1>&6 11255 echo "configure:1 1256: checking for avcodec_init in -lavcodec" >&510408 echo "configure:10409: checking for avcodec_init in -lavcodec" >&5 11256 10409 ac_lib_var=`echo avcodec'_'avcodec_init | sed 'y%./+-%__p_%'` 11257 10410 … … 11259 10412 LIBS="-lavcodec $FFMPEGLIB $MATHLIB $LIBS" 11260 10413 cat > conftest.$ac_ext <<EOF 11261 #line 1 1262"configure"10414 #line 10415 "configure" 11262 10415 #include "confdefs.h" 11263 10416 /* Override any gcc2 internal prototype to avoid an error. */ … … 11270 10423 ; return 0; } 11271 10424 EOF 11272 if { (eval echo configure:1 1273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10425 if { (eval echo configure:10426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11273 10426 rm -rf conftest* 11274 10427 eval "ac_cv_lib_$ac_lib_var=yes" … … 11315 10468 11316 10469 echo $ac_n "checking for av_set_parameters in -lavformat""... $ac_c" 1>&6 11317 echo "configure:1 1318: checking for av_set_parameters in -lavformat" >&510470 echo "configure:10471: checking for av_set_parameters in -lavformat" >&5 11318 10471 ac_lib_var=`echo avformat'_'av_set_parameters | sed 'y%./+-%__p_%'` 11319 10472 … … 11321 10474 LIBS="-lavformat $FFMPEGLIB $LIBS" 11322 10475 cat > conftest.$ac_ext <<EOF 11323 #line 1 1324"configure"10476 #line 10477 "configure" 11324 10477 #include "confdefs.h" 11325 10478 /* Override any gcc2 internal prototype to avoid an error. */ … … 11332 10485 ; return 0; } 11333 10486 EOF 11334 if { (eval echo configure:1 1335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10487 if { (eval echo configure:10488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11335 10488 rm -rf conftest* 11336 10489 eval "ac_cv_lib_$ac_lib_var=yes" … … 11351 10504 11352 10505 echo $ac_n "checking for av_set_parameters in -lavformat""... $ac_c" 1>&6 11353 echo "configure:1 1354: checking for av_set_parameters in -lavformat" >&510506 echo "configure:10507: checking for av_set_parameters in -lavformat" >&5 11354 10507 ac_lib_var=`echo avformat'_'av_set_parameters | sed 'y%./+-%__p_%'` 11355 10508 … … 11357 10510 LIBS="-lavformat $FFMPEGLIB $MATHLIB $LIBS" 11358 10511 cat > conftest.$ac_ext <<EOF 11359 #line 1 1360"configure"10512 #line 10513 "configure" 11360 10513 #include "confdefs.h" 11361 10514 /* Override any gcc2 internal prototype to avoid an error. */ … … 11368 10521 ; return 0; } 11369 10522 EOF 11370 if { (eval echo configure:1 1371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10523 if { (eval echo configure:10524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11371 10524 rm -rf conftest* 11372 10525 eval "ac_cv_lib_$ac_lib_var=yes" … … 11415 10568 11416 10569 # Done checking FFMPEG 11417 11418 10570 11419 10571 # Enable OpenGL option … … 11428 10580 11429 10581 echo $ac_n "checking whether to use OpenGL""... $ac_c" 1>&6 11430 echo "configure:1 1431: checking whether to use OpenGL" >&510582 echo "configure:10583: checking whether to use OpenGL" >&5 11431 10583 echo "$ac_t"""$with_opengl"" 1>&6 11432 10584 case "$with_opengl" in … … 11462 10614 11463 10615 echo $ac_n "checking for location of OpenGL includes""... $ac_c" 1>&6 11464 echo "configure:1 1465: checking for location of OpenGL includes" >&510616 echo "configure:10617: checking for location of OpenGL includes" >&5 11465 10617 case "$with_opengl_includes" in 11466 10618 y | ye | yes | n | no) … … 11488 10640 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11489 10641 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11490 echo "configure:1 1491: checking for $ac_hdr" >&511491 11492 cat > conftest.$ac_ext <<EOF 11493 #line 1 1494"configure"10642 echo "configure:10643: checking for $ac_hdr" >&5 10643 10644 cat > conftest.$ac_ext <<EOF 10645 #line 10646 "configure" 11494 10646 #include "confdefs.h" 11495 10647 #include <$ac_hdr> 11496 10648 EOF 11497 10649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11498 { (eval echo configure:1 1499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }10650 { (eval echo configure:10651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11499 10651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11500 10652 if test -z "$ac_err"; then … … 11530 10682 11531 10683 echo $ac_n "checking for location of OpenGL library""... $ac_c" 1>&6 11532 echo "configure:1 1533: checking for location of OpenGL library" >&510684 echo "configure:10685: checking for location of OpenGL library" >&5 11533 10685 case "$with_opengl_libs" in 11534 10686 y | ye | yes | n | no) … … 11559 10711 11560 10712 echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6 11561 echo "configure:1 1562: checking for glBegin in -lGL" >&510713 echo "configure:10714: checking for glBegin in -lGL" >&5 11562 10714 ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'` 11563 10715 … … 11565 10717 LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 11566 10718 cat > conftest.$ac_ext <<EOF 11567 #line 1 1568"configure"10719 #line 10720 "configure" 11568 10720 #include "confdefs.h" 11569 10721 /* Override any gcc2 internal prototype to avoid an error. */ … … 11576 10728 ; return 0; } 11577 10729 EOF 11578 if { (eval echo configure:1 1579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10730 if { (eval echo configure:10731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11579 10731 rm -rf conftest* 11580 10732 eval "ac_cv_lib_$ac_lib_var=yes" … … 11595 10747 11596 10748 echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6 11597 echo "configure:1 1598: checking for glBegin in -lGL" >&510749 echo "configure:10750: checking for glBegin in -lGL" >&5 11598 10750 ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'` 11599 10751 … … 11601 10753 LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lXext $LIBS" 11602 10754 cat > conftest.$ac_ext <<EOF 11603 #line 1 1604"configure"10755 #line 10756 "configure" 11604 10756 #include "confdefs.h" 11605 10757 /* Override any gcc2 internal prototype to avoid an error. */ … … 11612 10764 ; return 0; } 11613 10765 EOF 11614 if { (eval echo configure:1 1615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10766 if { (eval echo configure:10767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11615 10767 rm -rf conftest* 11616 10768 eval "ac_cv_lib_$ac_lib_var=yes" … … 11631 10783 11632 10784 echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6 11633 echo "configure:1 1634: checking for glBegin in -lGL" >&510785 echo "configure:10786: checking for glBegin in -lGL" >&5 11634 10786 ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'` 11635 10787 … … 11637 10789 LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lpthread $LIBS" 11638 10790 cat > conftest.$ac_ext <<EOF 11639 #line 1 1640"configure"10791 #line 10792 "configure" 11640 10792 #include "confdefs.h" 11641 10793 /* Override any gcc2 internal prototype to avoid an error. */ … … 11648 10800 ; return 0; } 11649 10801 EOF 11650 if { (eval echo configure:1 1651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10802 if { (eval echo configure:10803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11651 10803 rm -rf conftest* 11652 10804 eval "ac_cv_lib_$ac_lib_var=yes" … … 11667 10819 11668 10820 echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6 11669 echo "configure:1 1670: checking for glBegin in -lGL" >&510821 echo "configure:10822: checking for glBegin in -lGL" >&5 11670 10822 ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'` 11671 10823 … … 11673 10825 LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lpthread -lXext $LIBS" 11674 10826 cat > conftest.$ac_ext <<EOF 11675 #line 1 1676"configure"10827 #line 10828 "configure" 11676 10828 #include "confdefs.h" 11677 10829 /* Override any gcc2 internal prototype to avoid an error. */ … … 11684 10836 ; return 0; } 11685 10837 EOF 11686 if { (eval echo configure:1 1687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10838 if { (eval echo configure:10839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11687 10839 rm -rf conftest* 11688 10840 eval "ac_cv_lib_$ac_lib_var=yes" … … 11746 10898 11747 10899 echo $ac_n "checking for gluBeginCurve in -lGLU""... $ac_c" 1>&6 11748 echo "configure:1 1749: checking for gluBeginCurve in -lGLU" >&510900 echo "configure:10901: checking for gluBeginCurve in -lGLU" >&5 11749 10901 ac_lib_var=`echo GLU'_'gluBeginCurve | sed 'y%./+-%__p_%'` 11750 10902 … … 11752 10904 LIBS="-lGLU $OPENGLLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 11753 10905 cat > conftest.$ac_ext <<EOF 11754 #line 1 1755"configure"10906 #line 10907 "configure" 11755 10907 #include "confdefs.h" 11756 10908 /* Override any gcc2 internal prototype to avoid an error. */ … … 11763 10915 ; return 0; } 11764 10916 EOF 11765 if { (eval echo configure:1 1766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10917 if { (eval echo configure:10918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11766 10918 rm -rf conftest* 11767 10919 eval "ac_cv_lib_$ac_lib_var=yes" … … 11782 10934 11783 10935 echo $ac_n "checking for gluBeginCurve in -lGLU""... $ac_c" 1>&6 11784 echo "configure:1 1785: checking for gluBeginCurve in -lGLU" >&510936 echo "configure:10937: checking for gluBeginCurve in -lGLU" >&5 11785 10937 ac_lib_var=`echo GLU'_'gluBeginCurve | sed 'y%./+-%__p_%'` 11786 10938 … … 11788 10940 LIBS="-lGLU $OPENGLLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lstdc++ $LIBS" 11789 10941 cat > conftest.$ac_ext <<EOF 11790 #line 1 1791"configure"10942 #line 10943 "configure" 11791 10943 #include "confdefs.h" 11792 10944 /* Override any gcc2 internal prototype to avoid an error. */ … … 11799 10951 ; return 0; } 11800 10952 EOF 11801 if { (eval echo configure:1 1802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then10953 if { (eval echo configure:10954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11802 10954 rm -rf conftest* 11803 10955 eval "ac_cv_lib_$ac_lib_var=yes" … … 11843 10995 LDFLAGS="$LDFLAGS $OPENGLLIB" 11844 10996 echo $ac_n "checking for glXCreatePbuffer""... $ac_c" 1>&6 11845 echo "configure:1 1846: checking for glXCreatePbuffer" >&511846 11847 cat > conftest.$ac_ext <<EOF 11848 #line 11 849"configure"10997 echo "configure:10998: checking for glXCreatePbuffer" >&5 10998 10999 cat > conftest.$ac_ext <<EOF 11000 #line 11001 "configure" 11849 11001 #include "confdefs.h" 11850 11002 /* System header to define __stub macros and hopefully few prototypes, … … 11869 11021 ; return 0; } 11870 11022 EOF 11871 if { (eval echo configure:11 872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11023 if { (eval echo configure:11024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11872 11024 rm -rf conftest* 11873 11025 eval "ac_cv_func_glXCreatePbuffer=yes" … … 11891 11043 11892 11044 echo $ac_n "checking for glXCreateGLXPixmap""... $ac_c" 1>&6 11893 echo "configure:11 894: checking for glXCreateGLXPixmap" >&511894 11895 cat > conftest.$ac_ext <<EOF 11896 #line 11 897"configure"11045 echo "configure:11046: checking for glXCreateGLXPixmap" >&5 11046 11047 cat > conftest.$ac_ext <<EOF 11048 #line 11049 "configure" 11897 11049 #include "confdefs.h" 11898 11050 /* System header to define __stub macros and hopefully few prototypes, … … 11917 11069 ; return 0; } 11918 11070 EOF 11919 if { (eval echo configure:11 920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11071 if { (eval echo configure:11072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11920 11072 rm -rf conftest* 11921 11073 eval "ac_cv_func_glXCreateGLXPixmap=yes" … … 11956 11108 11957 11109 echo $ac_n "checking for location of OpenGL includes""... $ac_c" 1>&6 11958 echo "configure:11 959: checking for location of OpenGL includes" >&511110 echo "configure:11111: checking for location of OpenGL includes" >&5 11959 11111 case "$with_opengl_includes" in 11960 11112 y | ye | yes | n | no) … … 11982 11134 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11983 11135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11984 echo "configure:11 985: checking for $ac_hdr" >&511985 11986 cat > conftest.$ac_ext <<EOF 11987 #line 11 988"configure"11136 echo "configure:11137: checking for $ac_hdr" >&5 11137 11138 cat > conftest.$ac_ext <<EOF 11139 #line 11140 "configure" 11988 11140 #include "confdefs.h" 11989 11141 #include <$ac_hdr> 11990 11142 EOF 11991 11143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11992 { (eval echo configure:11 993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }11144 { (eval echo configure:11145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11993 11145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11994 11146 if test -z "$ac_err"; then … … 12025 11177 LDFLAGS="$with_opengl_libs $LDFLAGS" 12026 11178 echo $ac_n "checking for glBegin""... $ac_c" 1>&6 12027 echo "configure:1 2028: checking for glBegin" >&512028 12029 cat > conftest.$ac_ext <<EOF 12030 #line 1 2031"configure"11179 echo "configure:11180: checking for glBegin" >&5 11180 11181 cat > conftest.$ac_ext <<EOF 11182 #line 11183 "configure" 12031 11183 #include "confdefs.h" 12032 11184 /* System header to define __stub macros and hopefully few prototypes, … … 12051 11203 ; return 0; } 12052 11204 EOF 12053 if { (eval echo configure:1 2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11205 if { (eval echo configure:11206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12054 11206 rm -rf conftest* 12055 11207 eval "ac_cv_func_glBegin=yes" … … 12066 11218 12067 11219 echo $ac_n "checking for gluBeginCurve""... $ac_c" 1>&6 12068 echo "configure:1 2069: checking for gluBeginCurve" >&512069 12070 cat > conftest.$ac_ext <<EOF 12071 #line 1 2072"configure"11220 echo "configure:11221: checking for gluBeginCurve" >&5 11221 11222 cat > conftest.$ac_ext <<EOF 11223 #line 11224 "configure" 12072 11224 #include "confdefs.h" 12073 11225 /* System header to define __stub macros and hopefully few prototypes, … … 12092 11244 ; return 0; } 12093 11245 EOF 12094 if { (eval echo configure:1 2095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11246 if { (eval echo configure:11247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12095 11247 rm -rf conftest* 12096 11248 eval "ac_cv_func_gluBeginCurve=yes" … … 12136 11288 12137 11289 echo $ac_n "checking for location of OpenGL includes""... $ac_c" 1>&6 12138 echo "configure:1 2139: checking for location of OpenGL includes" >&511290 echo "configure:11291: checking for location of OpenGL includes" >&5 12139 11291 case "$with_opengl_includes" in 12140 11292 y | ye | yes | n | no) … … 12162 11314 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12163 11315 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12164 echo "configure:1 2165: checking for $ac_hdr" >&512165 12166 cat > conftest.$ac_ext <<EOF 12167 #line 1 2168"configure"11316 echo "configure:11317: checking for $ac_hdr" >&5 11317 11318 cat > conftest.$ac_ext <<EOF 11319 #line 11320 "configure" 12168 11320 #include "confdefs.h" 12169 11321 #include <$ac_hdr> 12170 11322 EOF 12171 11323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12172 { (eval echo configure:1 2173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }11324 { (eval echo configure:11325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12173 11325 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12174 11326 if test -z "$ac_err"; then … … 12204 11356 12205 11357 echo $ac_n "checking for location of OpenGL library""... $ac_c" 1>&6 12206 echo "configure:1 2207: checking for location of OpenGL library" >&511358 echo "configure:11359: checking for location of OpenGL library" >&5 12207 11359 case "$with_opengl_libs" in 12208 11360 y | ye | yes | n | no) … … 12229 11381 ac_save_libs="$LIBS" 12230 11382 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6 12231 echo "configure:1 2232: checking for OpenGL library" >&511383 echo "configure:11384: checking for OpenGL library" >&5 12232 11384 LDFLAGS="$OPENGL_LIB_PATH $LDFLAGS" 12233 11385 LIBS="-lopengl32 " 12234 11386 cat > conftest.$ac_ext <<EOF 12235 #line 1 2236"configure"11387 #line 11388 "configure" 12236 11388 #include "confdefs.h" 12237 11389 #include <GL/gl.h> … … 12240 11392 ; return 0; } 12241 11393 EOF 12242 if { (eval echo configure:1 2243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11394 if { (eval echo configure:11395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12243 11395 rm -rf conftest* 12244 11396 … … 12264 11416 ac_save_libs="$LIBS" 12265 11417 echo $ac_n "checking for GLU library""... $ac_c" 1>&6 12266 echo "configure:1 2267: checking for GLU library" >&511418 echo "configure:11419: checking for GLU library" >&5 12267 11419 LDFLAGS="$OPENGL_LIB_PATH $LDFLAGS" 12268 11420 LIBS="-lglu32 $OPENGLLIB " 12269 11421 cat > conftest.$ac_ext <<EOF 12270 #line 1 2271"configure"11422 #line 11423 "configure" 12271 11423 #include "confdefs.h" 12272 11424 #include <GL/glu.h> … … 12275 11427 ; return 0; } 12276 11428 EOF 12277 if { (eval echo configure:1 2278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then11429 if { (eval echo configure:11430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12278 11430 rm -rf conftest* 12279 11431 … … 12320 11472 # Done checking OpenGL 12321 11473 11474 # Enable TCLTK option 11475 11476 11477 echo $ac_n "checking whether to use Tcl/Tk""... $ac_c" 1>&6 11478 echo "configure:11479: checking whether to use Tcl/Tk" >&5 11479 echo "$ac_t"""$with_tcltk"" 1>&6 11480 case "$with_tcltk" in 11481 "no") USE_TCLTK= ;; 11482 "yes") USE_TCLTK="1" ;; 11483 *) { echo "configure: error: *** You must answer yes or no." 1>&2; exit 1; } ;; 11484 esac 11485 11486 11487 11488 TCLINCDIR= 11489 TCLTKLIBPATH= 11490 TCLTKLIBS= 11491 11492 if test -n "$USE_TCLTK"; then 11493 11494 # With Tcl/Tk includes directory 11495 11496 11497 echo $ac_n "checking for location of Tcl/Tk includes""... $ac_c" 1>&6 11498 echo "configure:11499: checking for location of Tcl/Tk includes" >&5 11499 case "$with_tcltk_includes" in 11500 y | ye | yes | n | no) 11501 { echo "configure: error: *** You must supply a directory to --with-tcltk-includes." 1>&2; exit 1; } 11502 ;; 11503 esac 11504 echo "$ac_t""$with_tcltk_includes" 1>&6 11505 11506 if test -n "$with_tcltk_includes" ; then 11507 for dir in $with_tcltk_includes; do 11508 if test -d "$dir"; then 11509 TCLINCDIR="$TCLINCDIR -I$dir" 11510 else 11511 { echo "configure: error: *** Tcl/Tk includes directory $dir does not exist." 1>&2; exit 1; } 11512 fi 11513 done 11514 fi 11515 11516 11517 11518 ac_save_cppflags="$CPPFLAGS" 11519 CPPFLAGS="$TCLINCDIR $CPPFLAGS" 11520 for ac_hdr in tcl.h 11521 do 11522 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11523 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11524 echo "configure:11525: checking for $ac_hdr" >&5 11525 11526 cat > conftest.$ac_ext <<EOF 11527 #line 11528 "configure" 11528 #include "confdefs.h" 11529 #include <$ac_hdr> 11530 EOF 11531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11532 { (eval echo configure:11533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11534 if test -z "$ac_err"; then 11535 rm -rf conftest* 11536 eval "ac_cv_header_$ac_safe=yes" 11537 else 11538 echo "$ac_err" >&5 11539 echo "configure: failed program was:" >&5 11540 cat conftest.$ac_ext >&5 11541 rm -rf conftest* 11542 eval "ac_cv_header_$ac_safe=no" 11543 fi 11544 rm -f conftest* 11545 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 11546 echo "$ac_t""yes" 1>&6 11547 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 11548 cat >> confdefs.h <<EOF 11549 #define $ac_tr_hdr 1 11550 EOF 11551 11552 else 11553 echo "$ac_t""no" 1>&6 11554 { echo "configure: error: *** Unable to locate Tcl includes." 1>&2; exit 1; } 11555 11556 fi 11557 done 11558 11559 CPPFLAGS=$ac_save_cppflags 11560 11561 11562 11563 ac_save_cppflags="$CPPFLAGS" 11564 CPPFLAGS="$TCLINCDIR $X_CFLAGS $CPPFLAGS" 11565 for ac_hdr in tk.h 11566 do 11567 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11568 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11569 echo "configure:11570: checking for $ac_hdr" >&5 11570 11571 cat > conftest.$ac_ext <<EOF 11572 #line 11573 "configure" 11573 #include "confdefs.h" 11574 #include <$ac_hdr> 11575 EOF 11576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11577 { (eval echo configure:11578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11579 if test -z "$ac_err"; then 11580 rm -rf conftest* 11581 eval "ac_cv_header_$ac_safe=yes" 11582 else 11583 echo "$ac_err" >&5 11584 echo "configure: failed program was:" >&5 11585 cat conftest.$ac_ext >&5 11586 rm -rf conftest* 11587 eval "ac_cv_header_$ac_safe=no" 11588 fi 11589 rm -f conftest* 11590 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 11591 echo "$ac_t""yes" 1>&6 11592 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 11593 cat >> confdefs.h <<EOF 11594 #define $ac_tr_hdr 1 11595 EOF 11596 11597 else 11598 echo "$ac_t""no" 1>&6 11599 { echo "configure: error: *** Unable to locate Tk includes." 1>&2; exit 1; } 11600 11601 fi 11602 done 11603 11604 CPPFLAGS=$ac_save_cppflags 11605 11606 11607 # Tcl/Tk version checks 11608 11609 echo $ac_n "checking Tcl version""... $ac_c" 1>&6 11610 echo "configure:11611: checking Tcl version" >&5 11611 ac_save_cppflags="$CPPFLAGS" 11612 CPPFLAGS="$TCLINCDIR $CPPFLAGS" 11613 if test "$cross_compiling" = yes; then 11614 tcl_ver=UNKNOWN 11615 echo "$ac_t""unknown (cross-compiling)" 1>&6 11616 else 11617 cat > conftest.$ac_ext <<EOF 11618 #line 11619 "configure" 11619 #include "confdefs.h" 11620 11621 #include <stdio.h> 11622 #include <tcl.h> 11623 int main(void) { 11624 FILE *fp = fopen("conftestdata","w"); 11625 fputs(TCL_VERSION, fp); 11626 return 0; 11627 } 11628 11629 EOF 11630 if { (eval echo configure:11631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 11631 then 11632 tcl_ver=`cat conftestdata` 11633 echo "$ac_t""$tcl_ver" 1>&6 11634 else 11635 echo "configure: failed program was:" >&5 11636 cat conftest.$ac_ext >&5 11637 rm -fr conftest* 11638 { echo "configure: error: *** Could not determine Tcl version." 1>&2; exit 1; } 11639 fi 11640 rm -fr conftest* 11641 fi 11642 11643 CPPFLAGS=$ac_save_cppflags 11644 11645 11646 11647 echo $ac_n "checking Tk version""... $ac_c" 1>&6 11648 echo "configure:11649: checking Tk version" >&5 11649 ac_save_cppflags="$CPPFLAGS" 11650 CPPFLAGS="$TCLINCDIR $X_CFLAGS $CPPFLAGS" 11651 if test "$cross_compiling" = yes; then 11652 tk_ver=UNKNOWN 11653 echo "$ac_t""unknown (cross-compiling)" 1>&6 11654 else 11655 cat > conftest.$ac_ext <<EOF 11656 #line 11657 "configure" 11657 #include "confdefs.h" 11658 11659 #include <stdio.h> 11660 #include <tk.h> 11661 int main(void) { 11662 FILE *fp = fopen("conftestdata","w"); 11663 fputs(TK_VERSION, fp); 11664 return 0; 11665 } 11666 11667 EOF 11668 if { (eval echo configure:11669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 11669 then 11670 tk_ver=`cat conftestdata` 11671 echo "$ac_t""$tk_ver" 1>&6 11672 else 11673 echo "configure: failed program was:" >&5 11674 cat conftest.$ac_ext >&5 11675 rm -fr conftest* 11676 { echo "configure: error: *** Could not determine Tk version." 1>&2; exit 1; } 11677 fi 11678 rm -fr conftest* 11679 fi 11680 11681 CPPFLAGS=$ac_save_cppflags 11682 11683 11684 if test "$tcl_ver" = "$tk_ver" ; then 11685 tcltk_ver=$tcl_ver 11686 else 11687 { echo "configure: error: *** Tcl/Tk version mismatch." 1>&2; exit 1; } 11688 fi 11689 11690 TCL_VERSION="$tcl_ver" 11691 11692 # FreeBSD and CygWin don't have a "dot" between major/minor version number 11693 tcltk_ver2=`echo $tcltk_ver | sed 's/\.//g'` 11694 11695 # With Tcl/Tk library directory 11696 11697 11698 echo $ac_n "checking for location of Tcl/Tk library""... $ac_c" 1>&6 11699 echo "configure:11700: checking for location of Tcl/Tk library" >&5 11700 case "$with_tcltk_libs" in 11701 y | ye | yes | n | no) 11702 { echo "configure: error: *** You must supply a directory to --with-tcltk-libs." 1>&2; exit 1; } 11703 ;; 11704 esac 11705 echo "$ac_t""$with_tcltk_libs" 1>&6 11706 11707 if test -n "$with_tcltk_libs"; then 11708 for dir in $with_tcltk_libs; do 11709 if test -d "$dir"; then 11710 TCLTKLIBPATH="$TCLTKLIBPATH -L$dir" 11711 else 11712 { echo "configure: error: *** Tcl/Tk library directory $dir does not exist." 1>&2; exit 1; } 11713 fi 11714 done 11715 fi 11716 11717 11718 TCLLIB= 11719 TKLIB= 11720 11721 # Can't test tcl/tk libs on 64bit OSX Aqua for now 11722 # assume that if OpenGL Aqua, then user specifies TclTk Aqua, 11723 # as there is no test for Tcl/Tk Aqua and Tck/Tk X11 won't work 11724 TCLTKAQUA_IS64BIT= 11725 if test "$OPENGL_AQUA" = 1 ; then 11726 temp_CFLAGS="$CFLAGS" 11727 CFLAGS="`echo \"$CFLAGS\" | sed -E 's/-arch +x86_64//g' | sed -E 's/-arch +ppc64//g'`" 11728 # can't save LDFLAGS, need to remember arch flags to insert back later 11729 temp_ARCHES= 11730 for a in x86_64 ppc64 11731 do 11732 if test -n "`echo \"$LDFLAGS\" | grep -E -e '-arch +'$a`" ; then 11733 temp_ARCHES="$temp_ARCHES -arch $a" 11734 fi 11735 done 11736 LDFLAGS="`echo \"$LDFLAGS\" | sed -E 's/-arch +x86_64//g' | sed -E 's/-arch +ppc64//g'`" 11737 fi 11738 11739 11740 ac_save_ldflags="$LDFLAGS" 11741 LDFLAGS="$TCLTKLIBPATH $LDFLAGS" 11742 11743 11744 11745 11746 echo $ac_n "checking for Tcl_Init in -ltcl""... $ac_c" 1>&6 11747 echo "configure:11748: checking for Tcl_Init in -ltcl" >&5 11748 ac_lib_var=`echo tcl'_'Tcl_Init | sed 'y%./+-%__p_%'` 11749 11750 ac_save_LIBS="$LIBS" 11751 LIBS="-ltcl $MATHLIB $LIBS" 11752 cat > conftest.$ac_ext <<EOF 11753 #line 11754 "configure" 11754 #include "confdefs.h" 11755 /* Override any gcc2 internal prototype to avoid an error. */ 11756 /* We use char because int might match the return type of a gcc2 11757 builtin and then its argument prototype would still apply. */ 11758 char Tcl_Init(); 11759 11760 int main() { 11761 Tcl_Init() 11762 ; return 0; } 11763 EOF 11764 if { (eval echo configure:11765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11765 rm -rf conftest* 11766 eval "ac_cv_lib_$ac_lib_var=yes" 11767 else 11768 echo "configure: failed program was:" >&5 11769 cat conftest.$ac_ext >&5 11770 rm -rf conftest* 11771 eval "ac_cv_lib_$ac_lib_var=no" 11772 fi 11773 rm -f conftest* 11774 LIBS="$ac_save_LIBS" 11775 11776 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 11777 echo "$ac_t""yes" 1>&6 11778 TCLLIB="$TCLLIB -ltcl $MATHLIB" 11779 else 11780 echo "$ac_t""no" 1>&6 11781 11782 echo $ac_n "checking for Tcl_Init in -ltcl""... $ac_c" 1>&6 11783 echo "configure:11784: checking for Tcl_Init in -ltcl" >&5 11784 ac_lib_var=`echo tcl'_'Tcl_Init | sed 'y%./+-%__p_%'` 11785 11786 ac_save_LIBS="$LIBS" 11787 LIBS="-ltcl $MATHLIB $DLLIB $LIBS" 11788 cat > conftest.$ac_ext <<EOF 11789 #line 11790 "configure" 11790 #include "confdefs.h" 11791 /* Override any gcc2 internal prototype to avoid an error. */ 11792 /* We use char because int might match the return type of a gcc2 11793 builtin and then its argument prototype would still apply. */ 11794 char Tcl_Init(); 11795 11796 int main() { 11797 Tcl_Init() 11798 ; return 0; } 11799 EOF 11800 if { (eval echo configure:11801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11801 rm -rf conftest* 11802 eval "ac_cv_lib_$ac_lib_var=yes" 11803 else 11804 echo "configure: failed program was:" >&5 11805 cat conftest.$ac_ext >&5 11806 rm -rf conftest* 11807 eval "ac_cv_lib_$ac_lib_var=no" 11808 fi 11809 rm -f conftest* 11810 LIBS="$ac_save_LIBS" 11811 11812 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 11813 echo "$ac_t""yes" 1>&6 11814 TCLLIB="$TCLLIB -ltcl $MATHLIB $DLLIB" 11815 else 11816 echo "$ac_t""no" 1>&6 11817 11818 LDFLAGS=${ac_save_ldflags} 11819 11820 ac_save_ldflags="$LDFLAGS" 11821 LDFLAGS="$TCLTKLIBPATH $LDFLAGS" 11822 11823 11824 11825 11826 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver""... $ac_c" 1>&6 11827 echo "configure:11828: checking for Tcl_Init in -ltcl$tcltk_ver" >&5 11828 ac_lib_var=`echo tcl$tcltk_ver'_'Tcl_Init | sed 'y%./+-%__p_%'` 11829 11830 ac_save_LIBS="$LIBS" 11831 LIBS="-ltcl$tcltk_ver $MATHLIB $LIBS" 11832 cat > conftest.$ac_ext <<EOF 11833 #line 11834 "configure" 11834 #include "confdefs.h" 11835 /* Override any gcc2 internal prototype to avoid an error. */ 11836 /* We use char because int might match the return type of a gcc2 11837 builtin and then its argument prototype would still apply. */ 11838 char Tcl_Init(); 11839 11840 int main() { 11841 Tcl_Init() 11842 ; return 0; } 11843 EOF 11844 if { (eval echo configure:11845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11845 rm -rf conftest* 11846 eval "ac_cv_lib_$ac_lib_var=yes" 11847 else 11848 echo "configure: failed program was:" >&5 11849 cat conftest.$ac_ext >&5 11850 rm -rf conftest* 11851 eval "ac_cv_lib_$ac_lib_var=no" 11852 fi 11853 rm -f conftest* 11854 LIBS="$ac_save_LIBS" 11855 11856 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 11857 echo "$ac_t""yes" 1>&6 11858 TCLLIB="$TCLLIB -ltcl$tcltk_ver $MATHLIB" 11859 else 11860 echo "$ac_t""no" 1>&6 11861 11862 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver""... $ac_c" 1>&6 11863 echo "configure:11864: checking for Tcl_Init in -ltcl$tcltk_ver" >&5 11864 ac_lib_var=`echo tcl$tcltk_ver'_'Tcl_Init | sed 'y%./+-%__p_%'` 11865 11866 ac_save_LIBS="$LIBS" 11867 LIBS="-ltcl$tcltk_ver $MATHLIB $DLLIB $LIBS" 11868 cat > conftest.$ac_ext <<EOF 11869 #line 11870 "configure" 11870 #include "confdefs.h" 11871 /* Override any gcc2 internal prototype to avoid an error. */ 11872 /* We use char because int might match the return type of a gcc2 11873 builtin and then its argument prototype would still apply. */ 11874 char Tcl_Init(); 11875 11876 int main() { 11877 Tcl_Init() 11878 ; return 0; } 11879 EOF 11880 if { (eval echo configure:11881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11881 rm -rf conftest* 11882 eval "ac_cv_lib_$ac_lib_var=yes" 11883 else 11884 echo "configure: failed program was:" >&5 11885 cat conftest.$ac_ext >&5 11886 rm -rf conftest* 11887 eval "ac_cv_lib_$ac_lib_var=no" 11888 fi 11889 rm -f conftest* 11890 LIBS="$ac_save_LIBS" 11891 11892 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 11893 echo "$ac_t""yes" 1>&6 11894 TCLLIB="$TCLLIB -ltcl$tcltk_ver $MATHLIB $DLLIB" 11895 else 11896 echo "$ac_t""no" 1>&6 11897 11898 LDFLAGS=${ac_save_ldflags} 11899 11900 ac_save_ldflags="$LDFLAGS" 11901 LDFLAGS="$TCLTKLIBPATH $LDFLAGS" 11902 11903 11904 11905 11906 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver2""... $ac_c" 1>&6 11907 echo "configure:11908: checking for Tcl_Init in -ltcl$tcltk_ver2" >&5 11908 ac_lib_var=`echo tcl$tcltk_ver2'_'Tcl_Init | sed 'y%./+-%__p_%'` 11909 11910 ac_save_LIBS="$LIBS" 11911 LIBS="-ltcl$tcltk_ver2 $MATHLIB $LIBS" 11912 cat > conftest.$ac_ext <<EOF 11913 #line 11914 "configure" 11914 #include "confdefs.h" 11915 /* Override any gcc2 internal prototype to avoid an error. */ 11916 /* We use char because int might match the return type of a gcc2 11917 builtin and then its argument prototype would still apply. */ 11918 char Tcl_Init(); 11919 11920 int main() { 11921 Tcl_Init() 11922 ; return 0; } 11923 EOF 11924 if { (eval echo configure:11925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11925 rm -rf conftest* 11926 eval "ac_cv_lib_$ac_lib_var=yes" 11927 else 11928 echo "configure: failed program was:" >&5 11929 cat conftest.$ac_ext >&5 11930 rm -rf conftest* 11931 eval "ac_cv_lib_$ac_lib_var=no" 11932 fi 11933 rm -f conftest* 11934 LIBS="$ac_save_LIBS" 11935 11936 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 11937 echo "$ac_t""yes" 1>&6 11938 TCLLIB="$TCLLIB -ltcl$tcltk_ver2 $MATHLIB" 11939 else 11940 echo "$ac_t""no" 1>&6 11941 11942 echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver2""... $ac_c" 1>&6 11943 echo "configure:11944: checking for Tcl_Init in -ltcl$tcltk_ver2" >&5 11944 ac_lib_var=`echo tcl$tcltk_ver2'_'Tcl_Init | sed 'y%./+-%__p_%'` 11945 11946 ac_save_LIBS="$LIBS" 11947 LIBS="-ltcl$tcltk_ver2 $MATHLIB $DLLIB $LIBS" 11948 cat > conftest.$ac_ext <<EOF 11949 #line 11950 "configure" 11950 #include "confdefs.h" 11951 /* Override any gcc2 internal prototype to avoid an error. */ 11952 /* We use char because int might match the return type of a gcc2 11953 builtin and then its argument prototype would still apply. */ 11954 char Tcl_Init(); 11955 11956 int main() { 11957 Tcl_Init() 11958 ; return 0; } 11959 EOF 11960 if { (eval echo configure:11961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11961 rm -rf conftest* 11962 eval "ac_cv_lib_$ac_lib_var=yes" 11963 else 11964 echo "configure: failed program was:" >&5 11965 cat conftest.$ac_ext >&5 11966 rm -rf conftest* 11967 eval "ac_cv_lib_$ac_lib_var=no" 11968 fi 11969 rm -f conftest* 11970 LIBS="$ac_save_LIBS" 11971 11972 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 11973 echo "$ac_t""yes" 1>&6 11974 TCLLIB="$TCLLIB -ltcl$tcltk_ver2 $MATHLIB $DLLIB" 11975 else 11976 echo "$ac_t""no" 1>&6 11977 11978 LDFLAGS=${ac_save_ldflags} 11979 11980 { echo "configure: error: *** Unable to locate Tcl library." 1>&2; exit 1; } 11981 11982 11983 fi 11984 11985 11986 11987 11988 fi 11989 11990 11991 11992 11993 11994 11995 LDFLAGS=${ac_save_ldflags} 11996 11997 11998 11999 fi 12000 12001 12002 12003 12004 fi 12005 12006 12007 12008 12009 12010 12011 LDFLAGS=${ac_save_ldflags} 12012 12013 12014 12015 fi 12016 12017 12018 12019 12020 fi 12021 12022 12023 12024 12025 12026 12027 LDFLAGS=${ac_save_ldflags} 12028 12029 12030 12031 ac_save_ldflags="$LDFLAGS" 12032 LDFLAGS="$TCLTKLIBPATH $LDFLAGS" 12033 12034 12035 12036 12037 echo $ac_n "checking for Tk_MainWindow in -ltk""... $ac_c" 1>&6 12038 echo "configure:12039: checking for Tk_MainWindow in -ltk" >&5 12039 ac_lib_var=`echo tk'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 12040 12041 ac_save_LIBS="$LIBS" 12042 LIBS="-ltk $TCLLIB $MATHLIB $LIBS" 12043 cat > conftest.$ac_ext <<EOF 12044 #line 12045 "configure" 12045 #include "confdefs.h" 12046 /* Override any gcc2 internal prototype to avoid an error. */ 12047 /* We use char because int might match the return type of a gcc2 12048 builtin and then its argument prototype would still apply. */ 12049 char Tk_MainWindow(); 12050 12051 int main() { 12052 Tk_MainWindow() 12053 ; return 0; } 12054 EOF 12055 if { (eval echo configure:12056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12056 rm -rf conftest* 12057 eval "ac_cv_lib_$ac_lib_var=yes" 12058 else 12059 echo "configure: failed program was:" >&5 12060 cat conftest.$ac_ext >&5 12061 rm -rf conftest* 12062 eval "ac_cv_lib_$ac_lib_var=no" 12063 fi 12064 rm -f conftest* 12065 LIBS="$ac_save_LIBS" 12066 12067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 12068 echo "$ac_t""yes" 1>&6 12069 TKLIB="$TKLIB -ltk $MATHLIB" 12070 else 12071 echo "$ac_t""no" 1>&6 12072 12073 echo $ac_n "checking for Tk_MainWindow in -ltk""... $ac_c" 1>&6 12074 echo "configure:12075: checking for Tk_MainWindow in -ltk" >&5 12075 ac_lib_var=`echo tk'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 12076 12077 ac_save_LIBS="$LIBS" 12078 LIBS="-ltk $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 12079 cat > conftest.$ac_ext <<EOF 12080 #line 12081 "configure" 12081 #include "confdefs.h" 12082 /* Override any gcc2 internal prototype to avoid an error. */ 12083 /* We use char because int might match the return type of a gcc2 12084 builtin and then its argument prototype would still apply. */ 12085 char Tk_MainWindow(); 12086 12087 int main() { 12088 Tk_MainWindow() 12089 ; return 0; } 12090 EOF 12091 if { (eval echo configure:12092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12092 rm -rf conftest* 12093 eval "ac_cv_lib_$ac_lib_var=yes" 12094 else 12095 echo "configure: failed program was:" >&5 12096 cat conftest.$ac_ext >&5 12097 rm -rf conftest* 12098 eval "ac_cv_lib_$ac_lib_var=no" 12099 fi 12100 rm -f conftest* 12101 LIBS="$ac_save_LIBS" 12102 12103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 12104 echo "$ac_t""yes" 1>&6 12105 TKLIB="$TKLIB -ltk $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS" 12106 else 12107 echo "$ac_t""no" 1>&6 12108 12109 LDFLAGS=${ac_save_ldflags} 12110 12111 ac_save_ldflags="$LDFLAGS" 12112 LDFLAGS="$TCLTKLIBPATH $LDFLAGS" 12113 12114 12115 12116 12117 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver""... $ac_c" 1>&6 12118 echo "configure:12119: checking for Tk_MainWindow in -ltk$tcltk_ver" >&5 12119 ac_lib_var=`echo tk$tcltk_ver'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 12120 12121 ac_save_LIBS="$LIBS" 12122 LIBS="-ltk$tcltk_ver $TCLLIB $MATHLIB $LIBS" 12123 cat > conftest.$ac_ext <<EOF 12124 #line 12125 "configure" 12125 #include "confdefs.h" 12126 /* Override any gcc2 internal prototype to avoid an error. */ 12127 /* We use char because int might match the return type of a gcc2 12128 builtin and then its argument prototype would still apply. */ 12129 char Tk_MainWindow(); 12130 12131 int main() { 12132 Tk_MainWindow() 12133 ; return 0; } 12134 EOF 12135 if { (eval echo configure:12136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12136 rm -rf conftest* 12137 eval "ac_cv_lib_$ac_lib_var=yes" 12138 else 12139 echo "configure: failed program was:" >&5 12140 cat conftest.$ac_ext >&5 12141 rm -rf conftest* 12142 eval "ac_cv_lib_$ac_lib_var=no" 12143 fi 12144 rm -f conftest* 12145 LIBS="$ac_save_LIBS" 12146 12147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 12148 echo "$ac_t""yes" 1>&6 12149 TKLIB="$TKLIB -ltk$tcltk_ver $MATHLIB" 12150 else 12151 echo "$ac_t""no" 1>&6 12152 12153 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver""... $ac_c" 1>&6 12154 echo "configure:12155: checking for Tk_MainWindow in -ltk$tcltk_ver" >&5 12155 ac_lib_var=`echo tk$tcltk_ver'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 12156 12157 ac_save_LIBS="$LIBS" 12158 LIBS="-ltk$tcltk_ver $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 12159 cat > conftest.$ac_ext <<EOF 12160 #line 12161 "configure" 12161 #include "confdefs.h" 12162 /* Override any gcc2 internal prototype to avoid an error. */ 12163 /* We use char because int might match the return type of a gcc2 12164 builtin and then its argument prototype would still apply. */ 12165 char Tk_MainWindow(); 12166 12167 int main() { 12168 Tk_MainWindow() 12169 ; return 0; } 12170 EOF 12171 if { (eval echo configure:12172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12172 rm -rf conftest* 12173 eval "ac_cv_lib_$ac_lib_var=yes" 12174 else 12175 echo "configure: failed program was:" >&5 12176 cat conftest.$ac_ext >&5 12177 rm -rf conftest* 12178 eval "ac_cv_lib_$ac_lib_var=no" 12179 fi 12180 rm -f conftest* 12181 LIBS="$ac_save_LIBS" 12182 12183 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 12184 echo "$ac_t""yes" 1>&6 12185 TKLIB="$TKLIB -ltk$tcltk_ver $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS" 12186 else 12187 echo "$ac_t""no" 1>&6 12188 12189 LDFLAGS=${ac_save_ldflags} 12190 12191 ac_save_ldflags="$LDFLAGS" 12192 LDFLAGS="$TCLTKLIBPATH $LDFLAGS" 12193 12194 12195 12196 12197 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver2""... $ac_c" 1>&6 12198 echo "configure:12199: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&5 12199 ac_lib_var=`echo tk$tcltk_ver2'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 12200 12201 ac_save_LIBS="$LIBS" 12202 LIBS="-ltk$tcltk_ver2 $TCLLIB $MATHLIB $LIBS" 12203 cat > conftest.$ac_ext <<EOF 12204 #line 12205 "configure" 12205 #include "confdefs.h" 12206 /* Override any gcc2 internal prototype to avoid an error. */ 12207 /* We use char because int might match the return type of a gcc2 12208 builtin and then its argument prototype would still apply. */ 12209 char Tk_MainWindow(); 12210 12211 int main() { 12212 Tk_MainWindow() 12213 ; return 0; } 12214 EOF 12215 if { (eval echo configure:12216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12216 rm -rf conftest* 12217 eval "ac_cv_lib_$ac_lib_var=yes" 12218 else 12219 echo "configure: failed program was:" >&5 12220 cat conftest.$ac_ext >&5 12221 rm -rf conftest* 12222 eval "ac_cv_lib_$ac_lib_var=no" 12223 fi 12224 rm -f conftest* 12225 LIBS="$ac_save_LIBS" 12226 12227 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 12228 echo "$ac_t""yes" 1>&6 12229 TKLIB="$TKLIB -ltk$tcltk_ver2 $MATHLIB" 12230 else 12231 echo "$ac_t""no" 1>&6 12232 12233 echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver2""... $ac_c" 1>&6 12234 echo "configure:12235: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&5 12235 ac_lib_var=`echo tk$tcltk_ver2'_'Tk_MainWindow | sed 'y%./+-%__p_%'` 12236 12237 ac_save_LIBS="$LIBS" 12238 LIBS="-ltk$tcltk_ver2 $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 12239 cat > conftest.$ac_ext <<EOF 12240 #line 12241 "configure" 12241 #include "confdefs.h" 12242 /* Override any gcc2 internal prototype to avoid an error. */ 12243 /* We use char because int might match the return type of a gcc2 12244 builtin and then its argument prototype would still apply. */ 12245 char Tk_MainWindow(); 12246 12247 int main() { 12248 Tk_MainWindow() 12249 ; return 0; } 12250 EOF 12251 if { (eval echo configure:12252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12252 rm -rf conftest* 12253 eval "ac_cv_lib_$ac_lib_var=yes" 12254 else 12255 echo "configure: failed program was:" >&5 12256 cat conftest.$ac_ext >&5 12257 rm -rf conftest* 12258 eval "ac_cv_lib_$ac_lib_var=no" 12259 fi 12260 rm -f conftest* 12261 LIBS="$ac_save_LIBS" 12262 12263 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 12264 echo "$ac_t""yes" 1>&6 12265 TKLIB="$TKLIB -ltk$tcltk_ver2 $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS" 12266 else 12267 echo "$ac_t""no" 1>&6 12268 12269 LDFLAGS=${ac_save_ldflags} 12270 12271 { echo "configure: error: *** Unable to locate Tk library." 1>&2; exit 1; } 12272 12273 12274 fi 12275 12276 12277 12278 12279 fi 12280 12281 12282 12283 12284 12285 12286 LDFLAGS=${ac_save_ldflags} 12287 12288 12289 12290 fi 12291 12292 12293 12294 12295 fi 12296 12297 12298 12299 12300 12301 12302 LDFLAGS=${ac_save_ldflags} 12303 12304 12305 12306 fi 12307 12308 12309 12310 12311 fi 12312 12313 12314 12315 12316 12317 12318 LDFLAGS=${ac_save_ldflags} 12319 12320 12321 # restore CFLAGS/LDLFAGS from Aqua 64bit strip 12322 # only Tcl/Tk-based makefiles will strip 64bit out during compile 12323 if test "$OPENGL_AQUA" = 1 ; then 12324 CFLAGS="$temp_CFLAGS" 12325 LDFLAGS="$temp_ARCHES $LDFLAGS" 12326 fi 12327 12328 TCLTKLIBS="$TKLIB $TCLLIB" 12329 cat >> confdefs.h <<\EOF 12330 #define HAVE_TCLTK 1 12331 EOF 12332 12333 12334 fi # $USE_TCLTK 12335 12336 TKINCDIR=$TCLINCDIR 12337 12338 12339 12340 12341 12342 12343 12344 # Done checking Tcl/Tk 12345 12322 12346 # Enable ODBC option 12323 12347 12324 12348 12325 12349 echo $ac_n "checking whether to use ODBC""... $ac_c" 1>&6 12326 echo "configure:123 27: checking whether to use ODBC" >&512350 echo "configure:12351: checking whether to use ODBC" >&5 12327 12351 echo "$ac_t"""$with_odbc"" 1>&6 12328 12352 case "$with_odbc" in … … 12343 12367 12344 12368 echo $ac_n "checking for location of ODBC includes""... $ac_c" 1>&6 12345 echo "configure:123 46: checking for location of ODBC includes" >&512369 echo "configure:12370: checking for location of ODBC includes" >&5 12346 12370 case "$with_odbc_includes" in 12347 12371 y | ye | yes | n | no) … … 12369 12393 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12370 12394 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12371 echo "configure:123 72: checking for $ac_hdr" >&512372 12373 cat > conftest.$ac_ext <<EOF 12374 #line 123 75"configure"12395 echo "configure:12396: checking for $ac_hdr" >&5 12396 12397 cat > conftest.$ac_ext <<EOF 12398 #line 12399 "configure" 12375 12399 #include "confdefs.h" 12376 12400 #include <$ac_hdr> 12377 12401 EOF 12378 12402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12379 { (eval echo configure:12 380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }12403 { (eval echo configure:12404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12380 12404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12381 12405 if test -z "$ac_err"; then … … 12411 12435 12412 12436 echo $ac_n "checking for location of ODBC library""... $ac_c" 1>&6 12413 echo "configure:124 14: checking for location of ODBC library" >&512437 echo "configure:12438: checking for location of ODBC library" >&5 12414 12438 case "$with_odbc_libs" in 12415 12439 y | ye | yes | n | no) … … 12436 12460 12437 12461 echo $ac_n "checking for SQLConnect in -lodbc""... $ac_c" 1>&6 12438 echo "configure:124 39: checking for SQLConnect in -lodbc" >&512462 echo "configure:12463: checking for SQLConnect in -lodbc" >&5 12439 12463 ac_lib_var=`echo odbc'_'SQLConnect | sed 'y%./+-%__p_%'` 12440 12464 … … 12442 12466 LIBS="-lodbc $ICONVLIB $LIBS" 12443 12467 cat > conftest.$ac_ext <<EOF 12444 #line 124 45"configure"12468 #line 12469 "configure" 12445 12469 #include "confdefs.h" 12446 12470 /* Override any gcc2 internal prototype to avoid an error. */ … … 12453 12477 ; return 0; } 12454 12478 EOF 12455 if { (eval echo configure:124 56: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12479 if { (eval echo configure:12480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12456 12480 rm -rf conftest* 12457 12481 eval "ac_cv_lib_$ac_lib_var=yes" … … 12478 12502 12479 12503 echo $ac_n "checking for SQLConnect in -liodbc""... $ac_c" 1>&6 12480 echo "configure:12 481: checking for SQLConnect in -liodbc" >&512504 echo "configure:12505: checking for SQLConnect in -liodbc" >&5 12481 12505 ac_lib_var=`echo iodbc'_'SQLConnect | sed 'y%./+-%__p_%'` 12482 12506 … … 12484 12508 LIBS="-liodbc $LIBS" 12485 12509 cat > conftest.$ac_ext <<EOF 12486 #line 12 487"configure"12510 #line 12511 "configure" 12487 12511 #include "confdefs.h" 12488 12512 /* Override any gcc2 internal prototype to avoid an error. */ … … 12495 12519 ; return 0; } 12496 12520 EOF 12497 if { (eval echo configure:12 498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12521 if { (eval echo configure:12522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12498 12522 rm -rf conftest* 12499 12523 eval "ac_cv_lib_$ac_lib_var=yes" … … 12520 12544 ac_save_libs="$LIBS" 12521 12545 echo $ac_n "checking for ODBC library""... $ac_c" 1>&6 12522 echo "configure:125 23: checking for ODBC library" >&512546 echo "configure:12547: checking for ODBC library" >&5 12523 12547 LDFLAGS="$ODBCLIB $LDFLAGS" 12524 12548 LIBS="-lodbc32 " 12525 12549 cat > conftest.$ac_ext <<EOF 12526 #line 125 27"configure"12550 #line 12551 "configure" 12527 12551 #include "confdefs.h" 12528 12552 #include <windows.h> … … 12532 12556 ; return 0; } 12533 12557 EOF 12534 if { (eval echo configure:125 35: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12558 if { (eval echo configure:12559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12535 12559 rm -rf conftest* 12536 12560 … … 12581 12605 12582 12606 echo $ac_n "checking whether to use FFTW""... $ac_c" 1>&6 12583 echo "configure:12 584: checking whether to use FFTW" >&512607 echo "configure:12608: checking whether to use FFTW" >&5 12584 12608 echo "$ac_t"""$with_fftw"" 1>&6 12585 12609 case "$with_fftw" in … … 12600 12624 12601 12625 echo $ac_n "checking for location of FFTW includes""... $ac_c" 1>&6 12602 echo "configure:126 03: checking for location of FFTW includes" >&512626 echo "configure:12627: checking for location of FFTW includes" >&5 12603 12627 case "$with_fftw_includes" in 12604 12628 y | ye | yes | n | no) … … 12626 12650 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12627 12651 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12628 echo "configure:126 29: checking for $ac_hdr" >&512629 12630 cat > conftest.$ac_ext <<EOF 12631 #line 126 32"configure"12652 echo "configure:12653: checking for $ac_hdr" >&5 12653 12654 cat > conftest.$ac_ext <<EOF 12655 #line 12656 "configure" 12632 12656 #include "confdefs.h" 12633 12657 #include <$ac_hdr> 12634 12658 EOF 12635 12659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12636 { (eval echo configure:126 37: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }12660 { (eval echo configure:12661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12637 12661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12638 12662 if test -z "$ac_err"; then … … 12662 12686 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12663 12687 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12664 echo "configure:126 65: checking for $ac_hdr" >&512665 12666 cat > conftest.$ac_ext <<EOF 12667 #line 126 68"configure"12688 echo "configure:12689: checking for $ac_hdr" >&5 12689 12690 cat > conftest.$ac_ext <<EOF 12691 #line 12692 "configure" 12668 12692 #include "confdefs.h" 12669 12693 #include <$ac_hdr> 12670 12694 EOF 12671 12695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12672 { (eval echo configure:126 73: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }12696 { (eval echo configure:12697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12673 12697 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12674 12698 if test -z "$ac_err"; then … … 12698 12722 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 12699 12723 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 12700 echo "configure:127 01: checking for $ac_hdr" >&512701 12702 cat > conftest.$ac_ext <<EOF 12703 #line 127 04"configure"12724 echo "configure:12725: checking for $ac_hdr" >&5 12725 12726 cat > conftest.$ac_ext <<EOF 12727 #line 12728 "configure" 12704 12728 #include "confdefs.h" 12705 12729 #include <$ac_hdr> 12706 12730 EOF 12707 12731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12708 { (eval echo configure:127 09: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }12732 { (eval echo configure:12733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12709 12733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12710 12734 if test -z "$ac_err"; then … … 12752 12776 12753 12777 echo $ac_n "checking for location of FFTW library""... $ac_c" 1>&6 12754 echo "configure:127 55: checking for location of FFTW library" >&512778 echo "configure:12779: checking for location of FFTW library" >&5 12755 12779 case "$with_fftw_libs" in 12756 12780 y | ye | yes | n | no) … … 12777 12801 12778 12802 echo $ac_n "checking for fftw_execute in -lfftw3""... $ac_c" 1>&6 12779 echo "configure:12 780: checking for fftw_execute in -lfftw3" >&512803 echo "configure:12804: checking for fftw_execute in -lfftw3" >&5 12780 12804 ac_lib_var=`echo fftw3'_'fftw_execute | sed 'y%./+-%__p_%'` 12781 12805 … … 12783 12807 LIBS="-lfftw3 $MATHLIB $LIBS" 12784 12808 cat > conftest.$ac_ext <<EOF 12785 #line 12 786"configure"12809 #line 12810 "configure" 12786 12810 #include "confdefs.h" 12787 12811 /* Override any gcc2 internal prototype to avoid an error. */ … … 12794 12818 ; return 0; } 12795 12819 EOF 12796 if { (eval echo configure:12 797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12820 if { (eval echo configure:12821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12797 12821 rm -rf conftest* 12798 12822 eval "ac_cv_lib_$ac_lib_var=yes" … … 12819 12843 12820 12844 echo $ac_n "checking for fftwnd_one in -lfftw""... $ac_c" 1>&6 12821 echo "configure:128 22: checking for fftwnd_one in -lfftw" >&512845 echo "configure:12846: checking for fftwnd_one in -lfftw" >&5 12822 12846 ac_lib_var=`echo fftw'_'fftwnd_one | sed 'y%./+-%__p_%'` 12823 12847 … … 12825 12849 LIBS="-lfftw $MATHLIB $LIBS" 12826 12850 cat > conftest.$ac_ext <<EOF 12827 #line 128 28"configure"12851 #line 12852 "configure" 12828 12852 #include "confdefs.h" 12829 12853 /* Override any gcc2 internal prototype to avoid an error. */ … … 12836 12860 ; return 0; } 12837 12861 EOF 12838 if { (eval echo configure:128 39: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12862 if { (eval echo configure:12863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12839 12863 rm -rf conftest* 12840 12864 eval "ac_cv_lib_$ac_lib_var=yes" … … 12861 12885 12862 12886 echo $ac_n "checking for fftwnd_one in -ldfftw""... $ac_c" 1>&6 12863 echo "configure:128 64: checking for fftwnd_one in -ldfftw" >&512887 echo "configure:12888: checking for fftwnd_one in -ldfftw" >&5 12864 12888 ac_lib_var=`echo dfftw'_'fftwnd_one | sed 'y%./+-%__p_%'` 12865 12889 … … 12867 12891 LIBS="-ldfftw $MATHLIB $LIBS" 12868 12892 cat > conftest.$ac_ext <<EOF 12869 #line 128 70"configure"12893 #line 12894 "configure" 12870 12894 #include "confdefs.h" 12871 12895 /* Override any gcc2 internal prototype to avoid an error. */ … … 12878 12902 ; return 0; } 12879 12903 EOF 12880 if { (eval echo configure:12 881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then12904 if { (eval echo configure:12905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12881 12905 rm -rf conftest* 12882 12906 eval "ac_cv_lib_$ac_lib_var=yes" … … 12935 12959 12936 12960 echo $ac_n "checking whether to use BLAS""... $ac_c" 1>&6 12937 echo "configure:129 38: checking whether to use BLAS" >&512961 echo "configure:12962: checking whether to use BLAS" >&5 12938 12962 echo "$ac_t"""$with_blas"" 1>&6 12939 12963 case "$with_blas" in … … 12956 12980 12957 12981 echo $ac_n "checking for location of BLAS includes""... $ac_c" 1>&6 12958 echo "configure:129 59: checking for location of BLAS includes" >&512982 echo "configure:12983: checking for location of BLAS includes" >&5 12959 12983 case "$with_blas_includes" in 12960 12984 y | ye | yes | n | no) … … 12976 13000 12977 13001 echo $ac_n "checking for location of BLAS library""... $ac_c" 1>&6 12978 echo "configure:1 2979: checking for location of BLAS library" >&513002 echo "configure:13003: checking for location of BLAS library" >&5 12979 13003 case "$with_blas_libs" in 12980 13004 y | ye | yes | n | no) … … 13002 13026 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 13003 13027 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 13004 echo "configure:130 05: checking for $ac_hdr" >&513005 13006 cat > conftest.$ac_ext <<EOF 13007 #line 130 08"configure"13028 echo "configure:13029: checking for $ac_hdr" >&5 13029 13030 cat > conftest.$ac_ext <<EOF 13031 #line 13032 "configure" 13008 13032 #include "confdefs.h" 13009 13033 #include <$ac_hdr> 13010 13034 EOF 13011 13035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13012 { (eval echo configure:130 13: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }13036 { (eval echo configure:13037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13013 13037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13014 13038 if test -z "$ac_err"; then … … 13045 13069 13046 13070 echo $ac_n "checking for dnrm2_ in -lblas""... $ac_c" 1>&6 13047 echo "configure:130 48: checking for dnrm2_ in -lblas" >&513071 echo "configure:13072: checking for dnrm2_ in -lblas" >&5 13048 13072 ac_lib_var=`echo blas'_'dnrm2_ | sed 'y%./+-%__p_%'` 13049 13073 … … 13051 13075 LIBS="-lblas $MATHLIB $LIBS" 13052 13076 cat > conftest.$ac_ext <<EOF 13053 #line 130 54"configure"13077 #line 13078 "configure" 13054 13078 #include "confdefs.h" 13055 13079 /* Override any gcc2 internal prototype to avoid an error. */ … … 13062 13086 ; return 0; } 13063 13087 EOF 13064 if { (eval echo configure:130 65: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13088 if { (eval echo configure:13089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13065 13089 rm -rf conftest* 13066 13090 eval "ac_cv_lib_$ac_lib_var=yes" … … 13081 13105 13082 13106 echo $ac_n "checking for dnrm2_ in -lblas""... $ac_c" 1>&6 13083 echo "configure:13 084: checking for dnrm2_ in -lblas" >&513107 echo "configure:13108: checking for dnrm2_ in -lblas" >&5 13084 13108 ac_lib_var=`echo blas'_'dnrm2_ | sed 'y%./+-%__p_%'` 13085 13109 … … 13087 13111 LIBS="-lblas $MATHLIB -lg2c $LIBS" 13088 13112 cat > conftest.$ac_ext <<EOF 13089 #line 13 090"configure"13113 #line 13114 "configure" 13090 13114 #include "confdefs.h" 13091 13115 /* Override any gcc2 internal prototype to avoid an error. */ … … 13098 13122 ; return 0; } 13099 13123 EOF 13100 if { (eval echo configure:131 01: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13124 if { (eval echo configure:13125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13101 13125 rm -rf conftest* 13102 13126 eval "ac_cv_lib_$ac_lib_var=yes" … … 13142 13166 LDFLAGS="$BLASLIB $LDFLAGS" 13143 13167 echo $ac_n "checking for ATL_xerbla in -latlas""... $ac_c" 1>&6 13144 echo "configure:131 45: checking for ATL_xerbla in -latlas" >&513168 echo "configure:13169: checking for ATL_xerbla in -latlas" >&5 13145 13169 ac_lib_var=`echo atlas'_'ATL_xerbla | sed 'y%./+-%__p_%'` 13146 13170 … … 13148 13172 LIBS="-latlas $LIBS" 13149 13173 cat > conftest.$ac_ext <<EOF 13150 #line 131 51"configure"13174 #line 13175 "configure" 13151 13175 #include "confdefs.h" 13152 13176 /* Override any gcc2 internal prototype to avoid an error. */ … … 13159 13183 ; return 0; } 13160 13184 EOF 13161 if { (eval echo configure:131 62: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13185 if { (eval echo configure:13186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13162 13186 rm -rf conftest* 13163 13187 eval "ac_cv_lib_$ac_lib_var=yes" … … 13174 13198 echo "$ac_t""yes" 1>&6 13175 13199 echo $ac_n "checking for sgemm_ in -lf77blas""... $ac_c" 1>&6 13176 echo "configure:13 177: checking for sgemm_ in -lf77blas" >&513200 echo "configure:13201: checking for sgemm_ in -lf77blas" >&5 13177 13201 ac_lib_var=`echo f77blas'_'sgemm_ | sed 'y%./+-%__p_%'` 13178 13202 … … 13180 13204 LIBS="-lf77blas -latlas $LIBS" 13181 13205 cat > conftest.$ac_ext <<EOF 13182 #line 13 183"configure"13206 #line 13207 "configure" 13183 13207 #include "confdefs.h" 13184 13208 /* Override any gcc2 internal prototype to avoid an error. */ … … 13191 13215 ; return 0; } 13192 13216 EOF 13193 if { (eval echo configure:13 194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13217 if { (eval echo configure:13218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13194 13218 rm -rf conftest* 13195 13219 eval "ac_cv_lib_$ac_lib_var=yes" … … 13206 13230 echo "$ac_t""yes" 1>&6 13207 13231 echo $ac_n "checking for cblas_dgemm in -lcblas""... $ac_c" 1>&6 13208 echo "configure:132 09: checking for cblas_dgemm in -lcblas" >&513232 echo "configure:13233: checking for cblas_dgemm in -lcblas" >&5 13209 13233 ac_lib_var=`echo cblas'_'cblas_dgemm | sed 'y%./+-%__p_%'` 13210 13234 … … 13212 13236 LIBS="-lcblas -lf77blas -latlas $LIBS" 13213 13237 cat > conftest.$ac_ext <<EOF 13214 #line 132 15"configure"13238 #line 13239 "configure" 13215 13239 #include "confdefs.h" 13216 13240 /* Override any gcc2 internal prototype to avoid an error. */ … … 13223 13247 ; return 0; } 13224 13248 EOF 13225 if { (eval echo configure:132 26: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13249 if { (eval echo configure:13250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13226 13250 rm -rf conftest* 13227 13251 eval "ac_cv_lib_$ac_lib_var=yes" … … 13268 13292 LIBS="$vlib_flags $LIBS" 13269 13293 echo $ac_n "checking for sgemm in $vlib_flags""... $ac_c" 1>&6 13270 echo "configure:132 71: checking for sgemm in $vlib_flags" >&513294 echo "configure:13295: checking for sgemm in $vlib_flags" >&5 13271 13295 cat > conftest.$ac_ext <<EOF 13272 #line 132 73"configure"13296 #line 13297 "configure" 13273 13297 #include "confdefs.h" 13274 13298 … … 13277 13301 ; return 0; } 13278 13302 EOF 13279 if { (eval echo configure:13 280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13303 if { (eval echo configure:13304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13280 13304 rm -rf conftest* 13281 13305 blas_ok=yes; BLASLIB="$vlib_flags" … … 13295 13319 if test $blas_ok = no; then 13296 13320 echo $ac_n "checking for sgemm_ in -lblas""... $ac_c" 1>&6 13297 echo "configure:13 298: checking for sgemm_ in -lblas" >&513321 echo "configure:13322: checking for sgemm_ in -lblas" >&5 13298 13322 ac_lib_var=`echo blas'_'sgemm_ | sed 'y%./+-%__p_%'` 13299 13323 … … 13301 13325 LIBS="-lblas $LIBS" 13302 13326 cat > conftest.$ac_ext <<EOF 13303 #line 133 04"configure"13327 #line 13328 "configure" 13304 13328 #include "confdefs.h" 13305 13329 /* Override any gcc2 internal prototype to avoid an error. */ … … 13312 13336 ; return 0; } 13313 13337 EOF 13314 if { (eval echo configure:133 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13338 if { (eval echo configure:13339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13315 13339 rm -rf conftest* 13316 13340 eval "ac_cv_lib_$ac_lib_var=yes" … … 13327 13351 echo "$ac_t""yes" 1>&6 13328 13352 echo $ac_n "checking for dgemm_ in -ldgemm""... $ac_c" 1>&6 13329 echo "configure:133 30: checking for dgemm_ in -ldgemm" >&513353 echo "configure:13354: checking for dgemm_ in -ldgemm" >&5 13330 13354 ac_lib_var=`echo dgemm'_'dgemm_ | sed 'y%./+-%__p_%'` 13331 13355 … … 13333 13357 LIBS="-ldgemm -lblas $LIBS" 13334 13358 cat > conftest.$ac_ext <<EOF 13335 #line 133 36"configure"13359 #line 13360 "configure" 13336 13360 #include "confdefs.h" 13337 13361 /* Override any gcc2 internal prototype to avoid an error. */ … … 13344 13368 ; return 0; } 13345 13369 EOF 13346 if { (eval echo configure:133 47: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13370 if { (eval echo configure:13371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13347 13371 rm -rf conftest* 13348 13372 eval "ac_cv_lib_$ac_lib_var=yes" … … 13359 13383 echo "$ac_t""yes" 1>&6 13360 13384 echo $ac_n "checking for sgemm_ in -lsgemm""... $ac_c" 1>&6 13361 echo "configure:133 62: checking for sgemm_ in -lsgemm" >&513385 echo "configure:13386: checking for sgemm_ in -lsgemm" >&5 13362 13386 ac_lib_var=`echo sgemm'_'sgemm_ | sed 'y%./+-%__p_%'` 13363 13387 … … 13365 13389 LIBS="-lsgemm -lblas $LIBS" 13366 13390 cat > conftest.$ac_ext <<EOF 13367 #line 133 68"configure"13391 #line 13392 "configure" 13368 13392 #include "confdefs.h" 13369 13393 /* Override any gcc2 internal prototype to avoid an error. */ … … 13376 13400 ; return 0; } 13377 13401 EOF 13378 if { (eval echo configure:13 379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13402 if { (eval echo configure:13403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13379 13403 rm -rf conftest* 13380 13404 eval "ac_cv_lib_$ac_lib_var=yes" … … 13410 13434 if test "x$GCC" != xyes; then # only works with Sun CC 13411 13435 echo $ac_n "checking for acosp in -lsunmath""... $ac_c" 1>&6 13412 echo "configure:134 13: checking for acosp in -lsunmath" >&513436 echo "configure:13437: checking for acosp in -lsunmath" >&5 13413 13437 ac_lib_var=`echo sunmath'_'acosp | sed 'y%./+-%__p_%'` 13414 13438 … … 13416 13440 LIBS="-lsunmath $LIBS" 13417 13441 cat > conftest.$ac_ext <<EOF 13418 #line 134 19"configure"13442 #line 13443 "configure" 13419 13443 #include "confdefs.h" 13420 13444 /* Override any gcc2 internal prototype to avoid an error. */ … … 13427 13451 ; return 0; } 13428 13452 EOF 13429 if { (eval echo configure:134 30: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13453 if { (eval echo configure:13454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13430 13454 rm -rf conftest* 13431 13455 eval "ac_cv_lib_$ac_lib_var=yes" … … 13442 13466 echo "$ac_t""yes" 1>&6 13443 13467 echo $ac_n "checking for sgemm_ in -lsunperf""... $ac_c" 1>&6 13444 echo "configure:134 45: checking for sgemm_ in -lsunperf" >&513468 echo "configure:13469: checking for sgemm_ in -lsunperf" >&5 13445 13469 ac_lib_var=`echo sunperf'_'sgemm_ | sed 'y%./+-%__p_%'` 13446 13470 … … 13448 13472 LIBS="-lsunperf -lsunmath $LIBS" 13449 13473 cat > conftest.$ac_ext <<EOF 13450 #line 134 51"configure"13474 #line 13475 "configure" 13451 13475 #include "confdefs.h" 13452 13476 /* Override any gcc2 internal prototype to avoid an error. */ … … 13459 13483 ; return 0; } 13460 13484 EOF 13461 if { (eval echo configure:134 62: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13485 if { (eval echo configure:13486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13462 13486 rm -rf conftest* 13463 13487 eval "ac_cv_lib_$ac_lib_var=yes" … … 13489 13513 if test $blas_ok = no; then 13490 13514 echo $ac_n "checking for sgemm_ in -lblas""... $ac_c" 1>&6 13491 echo "configure:13 492: checking for sgemm_ in -lblas" >&513515 echo "configure:13516: checking for sgemm_ in -lblas" >&5 13492 13516 ac_lib_var=`echo blas'_'sgemm_ | sed 'y%./+-%__p_%'` 13493 13517 … … 13495 13519 LIBS="-lblas $LIBS" 13496 13520 cat > conftest.$ac_ext <<EOF 13497 #line 13 498"configure"13521 #line 13522 "configure" 13498 13522 #include "confdefs.h" 13499 13523 /* Override any gcc2 internal prototype to avoid an error. */ … … 13506 13530 ; return 0; } 13507 13531 EOF 13508 if { (eval echo configure:135 09: \"$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 13509 13533 rm -rf conftest* 13510 13534 eval "ac_cv_lib_$ac_lib_var=yes" … … 13545 13569 13546 13570 echo $ac_n "checking whether to use LAPACK""... $ac_c" 1>&6 13547 echo "configure:135 48: checking whether to use LAPACK" >&513571 echo "configure:13572: checking whether to use LAPACK" >&5 13548 13572 echo "$ac_t"""$with_lapack"" 1>&6 13549 13573 case "$with_lapack" in … … 13570 13594 13571 13595 echo $ac_n "checking for location of LAPACK includes""... $ac_c" 1>&6 13572 echo "configure:135 73: checking for location of LAPACK includes" >&513596 echo "configure:13597: checking for location of LAPACK includes" >&5 13573 13597 case "$with_lapack_includes" in 13574 13598 y | ye | yes | n | no) … … 13590 13614 13591 13615 echo $ac_n "checking for location of LAPACK library""... $ac_c" 1>&6 13592 echo "configure:13 593: checking for location of LAPACK library" >&513616 echo "configure:13617: checking for location of LAPACK library" >&5 13593 13617 case "$with_lapack_libs" in 13594 13618 y | ye | yes | n | no) … … 13616 13640 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 13617 13641 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 13618 echo "configure:136 19: checking for $ac_hdr" >&513619 13620 cat > conftest.$ac_ext <<EOF 13621 #line 136 22"configure"13642 echo "configure:13643: checking for $ac_hdr" >&5 13643 13644 cat > conftest.$ac_ext <<EOF 13645 #line 13646 "configure" 13622 13646 #include "confdefs.h" 13623 13647 #include <$ac_hdr> 13624 13648 EOF 13625 13649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13626 { (eval echo configure:136 27: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }13650 { (eval echo configure:13651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13627 13651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13628 13652 if test -z "$ac_err"; then … … 13656 13680 save_LDFLAGS="$LDFLAGS"; LDFLAGS="$LAPACKLIB $LDFLAGS" 13657 13681 echo $ac_n "checking for dsegv_""... $ac_c" 1>&6 13658 echo "configure:136 59: checking for dsegv_" >&513659 13660 cat > conftest.$ac_ext <<EOF 13661 #line 136 62"configure"13682 echo "configure:13683: checking for dsegv_" >&5 13683 13684 cat > conftest.$ac_ext <<EOF 13685 #line 13686 "configure" 13662 13686 #include "confdefs.h" 13663 13687 /* System header to define __stub macros and hopefully few prototypes, … … 13682 13706 ; return 0; } 13683 13707 EOF 13684 if { (eval echo configure:13 685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13708 if { (eval echo configure:13709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13685 13709 rm -rf conftest* 13686 13710 eval "ac_cv_func_dsegv_=yes" … … 13709 13733 save_LDFLAGS="$LDFLAGS"; LDFLAGS="$LAPACKLIB $LDFLAGS" 13710 13734 echo $ac_n "checking for desgv_ in -llapack""... $ac_c" 1>&6 13711 echo "configure:137 12: checking for desgv_ in -llapack" >&513735 echo "configure:13736: checking for desgv_ in -llapack" >&5 13712 13736 ac_lib_var=`echo lapack'_'desgv_ | sed 'y%./+-%__p_%'` 13713 13737 … … 13715 13739 LIBS="-llapack $FLIBS $LIBS" 13716 13740 cat > conftest.$ac_ext <<EOF 13717 #line 137 18"configure"13741 #line 13742 "configure" 13718 13742 #include "confdefs.h" 13719 13743 /* Override any gcc2 internal prototype to avoid an error. */ … … 13726 13750 ; return 0; } 13727 13751 EOF 13728 if { (eval echo configure:137 29: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13752 if { (eval echo configure:13753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13729 13753 rm -rf conftest* 13730 13754 eval "ac_cv_lib_$ac_lib_var=yes" … … 13758 13782 13759 13783 echo $ac_n "checking for dgesv_ in -llapack""... $ac_c" 1>&6 13760 echo "configure:137 61: checking for dgesv_ in -llapack" >&513784 echo "configure:13785: checking for dgesv_ in -llapack" >&5 13761 13785 ac_lib_var=`echo lapack'_'dgesv_ | sed 'y%./+-%__p_%'` 13762 13786 … … 13764 13788 LIBS="-llapack $BLASLIB $MATHLIB $LIBS" 13765 13789 cat > conftest.$ac_ext <<EOF 13766 #line 137 67"configure"13790 #line 13791 "configure" 13767 13791 #include "confdefs.h" 13768 13792 /* Override any gcc2 internal prototype to avoid an error. */ … … 13775 13799 ; return 0; } 13776 13800 EOF 13777 if { (eval echo configure:13 778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13801 if { (eval echo configure:13802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13778 13802 rm -rf conftest* 13779 13803 eval "ac_cv_lib_$ac_lib_var=yes" … … 13794 13818 13795 13819 echo $ac_n "checking for dgesv_ in -llapack""... $ac_c" 1>&6 13796 echo "configure:13 797: checking for dgesv_ in -llapack" >&513820 echo "configure:13821: checking for dgesv_ in -llapack" >&5 13797 13821 ac_lib_var=`echo lapack'_'dgesv_ | sed 'y%./+-%__p_%'` 13798 13822 … … 13800 13824 LIBS="-llapack $BLASLIB $MATHLIB -lg2c $LIBS" 13801 13825 cat > conftest.$ac_ext <<EOF 13802 #line 138 03"configure"13826 #line 13827 "configure" 13803 13827 #include "confdefs.h" 13804 13828 /* Override any gcc2 internal prototype to avoid an error. */ … … 13811 13835 ; return 0; } 13812 13836 EOF 13813 if { (eval echo configure:138 14: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then13837 if { (eval echo configure:13838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13814 13838 rm -rf conftest* 13815 13839 eval "ac_cv_lib_$ac_lib_var=yes" … … 13867 13891 13868 13892 echo $ac_n "checking whether to use Motif""... $ac_c" 1>&6 13869 echo "configure:138 70: checking whether to use Motif" >&513893 echo "configure:13894: checking whether to use Motif" >&5 13870 13894 echo "$ac_t"""$with_motif"" 1>&6 13871 13895 case "$with_motif" in … … 13886 13910 13887 13911 echo $ac_n "checking for location of Motif includes""... $ac_c" 1>&6 13888 echo "configure:13 889: checking for location of Motif includes" >&513912 echo "configure:13913: checking for location of Motif includes" >&5 13889 13913 case "$with_motif_includes" in 13890 13914 y | ye | yes | n | no) … … 13912 13936 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 13913 13937 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 13914 echo "configure:139 15: checking for $ac_hdr" >&513915 13916 cat > conftest.$ac_ext <<EOF 13917 #line 139 18"configure"13938 echo "configure:13939: checking for $ac_hdr" >&5 13939 13940 cat > conftest.$ac_ext <<EOF 13941 #line 13942 "configure" 13918 13942 #include "confdefs.h" 13919 13943 #include <$ac_hdr> 13920 13944 EOF 13921 13945 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13922 { (eval echo configure:139 23: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }13946 { (eval echo configure:13947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13923 13947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13924 13948 if test -z "$ac_err"; then … … 13954 13978 13955 13979 echo $ac_n "checking for location of Motif library""... $ac_c" 1>&6 13956 echo "configure:139 57: checking for location of Motif library" >&513980 echo "configure:13981: checking for location of Motif library" >&5 13957 13981 case "$with_motif_libs" in 13958 13982 y | ye | yes | n | no) … … 13979 14003 13980 14004 echo $ac_n "checking for XmStringCreate in -lXm""... $ac_c" 1>&6 13981 echo "configure:1 3982: checking for XmStringCreate in -lXm" >&514005 echo "configure:14006: checking for XmStringCreate in -lXm" >&5 13982 14006 ac_lib_var=`echo Xm'_'XmStringCreate | sed 'y%./+-%__p_%'` 13983 14007 … … 13985 14009 LIBS="-lXm $X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 13986 14010 cat > conftest.$ac_ext <<EOF 13987 #line 1 3988"configure"14011 #line 14012 "configure" 13988 14012 #include "confdefs.h" 13989 14013 /* Override any gcc2 internal prototype to avoid an error. */ … … 13996 14020 ; return 0; } 13997 14021 EOF 13998 if { (eval echo configure:1 3999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14022 if { (eval echo configure:14023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13999 14023 rm -rf conftest* 14000 14024 eval "ac_cv_lib_$ac_lib_var=yes" … … 14037 14061 14038 14062 echo $ac_n "checking whether to use Cairo""... $ac_c" 1>&6 14039 echo "configure:140 40: checking whether to use Cairo" >&514063 echo "configure:14064: checking whether to use Cairo" >&5 14040 14064 echo "$ac_t"""$with_cairo"" 1>&6 14041 14065 case "$with_cairo" in … … 14063 14087 14064 14088 echo $ac_n "checking for location of cairo includes""... $ac_c" 1>&6 14065 echo "configure:140 66: checking for location of cairo includes" >&514089 echo "configure:14090: checking for location of cairo includes" >&5 14066 14090 case "$with_cairo_includes" in 14067 14091 y | ye | yes | n | no) … … 14089 14113 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 14090 14114 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 14091 echo "configure:14 092: checking for $ac_hdr" >&514092 14093 cat > conftest.$ac_ext <<EOF 14094 #line 14 095"configure"14115 echo "configure:14116: checking for $ac_hdr" >&5 14116 14117 cat > conftest.$ac_ext <<EOF 14118 #line 14119 "configure" 14095 14119 #include "confdefs.h" 14096 14120 #include <$ac_hdr> 14097 14121 EOF 14098 14122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14099 { (eval echo configure:141 00: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }14123 { (eval echo configure:14124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14100 14124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14101 14125 if test -z "$ac_err"; then … … 14133 14157 14134 14158 echo $ac_n "checking for location of cairo library""... $ac_c" 1>&6 14135 echo "configure:141 36: checking for location of cairo library" >&514159 echo "configure:14160: checking for location of cairo library" >&5 14136 14160 case "$with_cairo_libs" in 14137 14161 y | ye | yes | n | no) … … 14153 14177 14154 14178 echo $ac_n "checking for cairo linking flags""... $ac_c" 1>&6 14155 echo "configure:141 56: checking for cairo linking flags" >&514179 echo "configure:14180: checking for cairo linking flags" >&5 14156 14180 case "$with_cairo_ldflags" in 14157 14181 y | ye | yes | n | no) … … 14169 14193 LDFLAGS=" $LDFLAGS" 14170 14194 echo $ac_n "checking for cairo_create""... $ac_c" 1>&6 14171 echo "configure:141 72: checking for cairo_create" >&514172 14173 cat > conftest.$ac_ext <<EOF 14174 #line 141 75"configure"14195 echo "configure:14196: checking for cairo_create" >&5 14196 14197 cat > conftest.$ac_ext <<EOF 14198 #line 14199 "configure" 14175 14199 #include "confdefs.h" 14176 14200 /* System header to define __stub macros and hopefully few prototypes, … … 14195 14219 ; return 0; } 14196 14220 EOF 14197 if { (eval echo configure:14 198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14221 if { (eval echo configure:14222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14198 14222 rm -rf conftest* 14199 14223 eval "ac_cv_func_cairo_create=yes" … … 14229 14253 LDFLAGS=" $LDFLAGS" 14230 14254 echo $ac_n "checking for cairo_xlib_surface_create_with_xrender_format""... $ac_c" 1>&6 14231 echo "configure:142 32: checking for cairo_xlib_surface_create_with_xrender_format" >&514232 14233 cat > conftest.$ac_ext <<EOF 14234 #line 142 35"configure"14255 echo "configure:14256: checking for cairo_xlib_surface_create_with_xrender_format" >&5 14256 14257 cat > conftest.$ac_ext <<EOF 14258 #line 14259 "configure" 14235 14259 #include "confdefs.h" 14236 14260 /* System header to define __stub macros and hopefully few prototypes, … … 14255 14279 ; return 0; } 14256 14280 EOF 14257 if { (eval echo configure:142 58: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14281 if { (eval echo configure:14282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14258 14282 rm -rf conftest* 14259 14283 eval "ac_cv_func_cairo_xlib_surface_create_with_xrender_format=yes" … … 14297 14321 14298 14322 echo $ac_n "checking whether to use GLw""... $ac_c" 1>&6 14299 echo "configure:143 00: checking whether to use GLw" >&514323 echo "configure:14324: checking whether to use GLw" >&5 14300 14324 echo "$ac_t"""$with_glw"" 1>&6 14301 14325 case "$with_glw" in … … 14316 14340 14317 14341 echo $ac_n "checking for location of GLw includes""... $ac_c" 1>&6 14318 echo "configure:143 19: checking for location of GLw includes" >&514342 echo "configure:14343: checking for location of GLw includes" >&5 14319 14343 case "$with_glw_includes" in 14320 14344 y | ye | yes | n | no) … … 14342 14366 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 14343 14367 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 14344 echo "configure:143 45: checking for $ac_hdr" >&514345 14346 cat > conftest.$ac_ext <<EOF 14347 #line 143 48"configure"14368 echo "configure:14369: checking for $ac_hdr" >&5 14369 14370 cat > conftest.$ac_ext <<EOF 14371 #line 14372 "configure" 14348 14372 #include "confdefs.h" 14349 14373 #include <$ac_hdr> 14350 14374 EOF 14351 14375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14352 { (eval echo configure:143 53: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }14376 { (eval echo configure:14377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14353 14377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14354 14378 if test -z "$ac_err"; then … … 14378 14402 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 14379 14403 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 14380 echo "configure:14 381: checking for $ac_hdr" >&514381 14382 cat > conftest.$ac_ext <<EOF 14383 #line 14 384"configure"14404 echo "configure:14405: checking for $ac_hdr" >&5 14405 14406 cat > conftest.$ac_ext <<EOF 14407 #line 14408 "configure" 14384 14408 #include "confdefs.h" 14385 14409 #include <$ac_hdr> 14386 14410 EOF 14387 14411 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14388 { (eval echo configure:14 389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }14412 { (eval echo configure:14413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14389 14413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14390 14414 if test -z "$ac_err"; then … … 14426 14450 14427 14451 echo $ac_n "checking for location of GLw library""... $ac_c" 1>&6 14428 echo "configure:144 29: checking for location of GLw library" >&514452 echo "configure:14453: checking for location of GLw library" >&5 14429 14453 case "$with_glw_libs" in 14430 14454 y | ye | yes | n | no) … … 14451 14475 14452 14476 echo $ac_n "checking for GLwCreateMDrawingArea in -lGLw""... $ac_c" 1>&6 14453 echo "configure:144 54: checking for GLwCreateMDrawingArea in -lGLw" >&514477 echo "configure:14478: checking for GLwCreateMDrawingArea in -lGLw" >&5 14454 14478 ac_lib_var=`echo GLw'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 14455 14479 … … 14457 14481 LIBS="-lGLw $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14458 14482 cat > conftest.$ac_ext <<EOF 14459 #line 144 60"configure"14483 #line 14484 "configure" 14460 14484 #include "confdefs.h" 14461 14485 /* Override any gcc2 internal prototype to avoid an error. */ … … 14468 14492 ; return 0; } 14469 14493 EOF 14470 if { (eval echo configure:144 71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14494 if { (eval echo configure:14495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14471 14495 rm -rf conftest* 14472 14496 eval "ac_cv_lib_$ac_lib_var=yes" … … 14493 14517 14494 14518 echo $ac_n "checking for GLwCreateM1DrawingArea in -lGLw""... $ac_c" 1>&6 14495 echo "configure:14 496: checking for GLwCreateM1DrawingArea in -lGLw" >&514519 echo "configure:14520: checking for GLwCreateM1DrawingArea in -lGLw" >&5 14496 14520 ac_lib_var=`echo GLw'_'GLwCreateM1DrawingArea | sed 'y%./+-%__p_%'` 14497 14521 … … 14499 14523 LIBS="-lGLw $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14500 14524 cat > conftest.$ac_ext <<EOF 14501 #line 145 02"configure"14525 #line 14526 "configure" 14502 14526 #include "confdefs.h" 14503 14527 /* Override any gcc2 internal prototype to avoid an error. */ … … 14510 14534 ; return 0; } 14511 14535 EOF 14512 if { (eval echo configure:145 13: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14536 if { (eval echo configure:14537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14513 14537 rm -rf conftest* 14514 14538 eval "ac_cv_lib_$ac_lib_var=yes" … … 14535 14559 14536 14560 echo $ac_n "checking for GLwCreateM2DrawingArea in -lGLw""... $ac_c" 1>&6 14537 echo "configure:145 38: checking for GLwCreateM2DrawingArea in -lGLw" >&514561 echo "configure:14562: checking for GLwCreateM2DrawingArea in -lGLw" >&5 14538 14562 ac_lib_var=`echo GLw'_'GLwCreateM2DrawingArea | sed 'y%./+-%__p_%'` 14539 14563 … … 14541 14565 LIBS="-lGLw $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14542 14566 cat > conftest.$ac_ext <<EOF 14543 #line 145 44"configure"14567 #line 14568 "configure" 14544 14568 #include "confdefs.h" 14545 14569 /* Override any gcc2 internal prototype to avoid an error. */ … … 14552 14576 ; return 0; } 14553 14577 EOF 14554 if { (eval echo configure:145 55: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14578 if { (eval echo configure:14579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14555 14579 rm -rf conftest* 14556 14580 eval "ac_cv_lib_$ac_lib_var=yes" … … 14577 14601 14578 14602 echo $ac_n "checking for GLwCreateMDrawingArea in -lGLwM""... $ac_c" 1>&6 14579 echo "configure:14 580: checking for GLwCreateMDrawingArea in -lGLwM" >&514603 echo "configure:14604: checking for GLwCreateMDrawingArea in -lGLwM" >&5 14580 14604 ac_lib_var=`echo GLwM'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 14581 14605 … … 14583 14607 LIBS="-lGLwM $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14584 14608 cat > conftest.$ac_ext <<EOF 14585 #line 14 586"configure"14609 #line 14610 "configure" 14586 14610 #include "confdefs.h" 14587 14611 /* Override any gcc2 internal prototype to avoid an error. */ … … 14594 14618 ; return 0; } 14595 14619 EOF 14596 if { (eval echo configure:14 597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14620 if { (eval echo configure:14621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14597 14621 rm -rf conftest* 14598 14622 eval "ac_cv_lib_$ac_lib_var=yes" … … 14619 14643 14620 14644 echo $ac_n "checking for GLwCreateM1DrawingArea in -lGLwM""... $ac_c" 1>&6 14621 echo "configure:146 22: checking for GLwCreateM1DrawingArea in -lGLwM" >&514645 echo "configure:14646: checking for GLwCreateM1DrawingArea in -lGLwM" >&5 14622 14646 ac_lib_var=`echo GLwM'_'GLwCreateM1DrawingArea | sed 'y%./+-%__p_%'` 14623 14647 … … 14625 14649 LIBS="-lGLwM $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14626 14650 cat > conftest.$ac_ext <<EOF 14627 #line 146 28"configure"14651 #line 14652 "configure" 14628 14652 #include "confdefs.h" 14629 14653 /* Override any gcc2 internal prototype to avoid an error. */ … … 14636 14660 ; return 0; } 14637 14661 EOF 14638 if { (eval echo configure:146 39: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14662 if { (eval echo configure:14663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14639 14663 rm -rf conftest* 14640 14664 eval "ac_cv_lib_$ac_lib_var=yes" … … 14661 14685 14662 14686 echo $ac_n "checking for GLwCreateM2DrawingArea in -lGLwM""... $ac_c" 1>&6 14663 echo "configure:146 64: checking for GLwCreateM2DrawingArea in -lGLwM" >&514687 echo "configure:14688: checking for GLwCreateM2DrawingArea in -lGLwM" >&5 14664 14688 ac_lib_var=`echo GLwM'_'GLwCreateM2DrawingArea | sed 'y%./+-%__p_%'` 14665 14689 … … 14667 14691 LIBS="-lGLwM $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14668 14692 cat > conftest.$ac_ext <<EOF 14669 #line 146 70"configure"14693 #line 14694 "configure" 14670 14694 #include "confdefs.h" 14671 14695 /* Override any gcc2 internal prototype to avoid an error. */ … … 14678 14702 ; return 0; } 14679 14703 EOF 14680 if { (eval echo configure:14 681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14704 if { (eval echo configure:14705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14681 14705 rm -rf conftest* 14682 14706 eval "ac_cv_lib_$ac_lib_var=yes" … … 14705 14729 14706 14730 echo $ac_n "checking for GLwCreateMDrawingArea in -lMesaGLw""... $ac_c" 1>&6 14707 echo "configure:147 08: checking for GLwCreateMDrawingArea in -lMesaGLw" >&514731 echo "configure:14732: checking for GLwCreateMDrawingArea in -lMesaGLw" >&5 14708 14732 ac_lib_var=`echo MesaGLw'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 14709 14733 … … 14711 14735 LIBS="-lMesaGLw $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14712 14736 cat > conftest.$ac_ext <<EOF 14713 #line 147 14"configure"14737 #line 14738 "configure" 14714 14738 #include "confdefs.h" 14715 14739 /* Override any gcc2 internal prototype to avoid an error. */ … … 14722 14746 ; return 0; } 14723 14747 EOF 14724 if { (eval echo configure:147 25: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14748 if { (eval echo configure:14749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14725 14749 rm -rf conftest* 14726 14750 eval "ac_cv_lib_$ac_lib_var=yes" … … 14741 14765 14742 14766 echo $ac_n "checking for GLwCreateMDrawingArea in -lMesaGLw""... $ac_c" 1>&6 14743 echo "configure:147 44: checking for GLwCreateMDrawingArea in -lMesaGLw" >&514767 echo "configure:14768: checking for GLwCreateMDrawingArea in -lMesaGLw" >&5 14744 14768 ac_lib_var=`echo MesaGLw'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 14745 14769 … … 14747 14771 LIBS="-lMesaGLw $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $OPENGLULIB $LIBS" 14748 14772 cat > conftest.$ac_ext <<EOF 14749 #line 147 50"configure"14773 #line 14774 "configure" 14750 14774 #include "confdefs.h" 14751 14775 /* Override any gcc2 internal prototype to avoid an error. */ … … 14758 14782 ; return 0; } 14759 14783 EOF 14760 if { (eval echo configure:147 61: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14784 if { (eval echo configure:14785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14761 14785 rm -rf conftest* 14762 14786 eval "ac_cv_lib_$ac_lib_var=yes" … … 14785 14809 14786 14810 echo $ac_n "checking for GLwCreateMDrawingArea in -lMesaGLwM""... $ac_c" 1>&6 14787 echo "configure:14 788: checking for GLwCreateMDrawingArea in -lMesaGLwM" >&514811 echo "configure:14812: checking for GLwCreateMDrawingArea in -lMesaGLwM" >&5 14788 14812 ac_lib_var=`echo MesaGLwM'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 14789 14813 … … 14791 14815 LIBS="-lMesaGLwM $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $LIBS" 14792 14816 cat > conftest.$ac_ext <<EOF 14793 #line 14 794"configure"14817 #line 14818 "configure" 14794 14818 #include "confdefs.h" 14795 14819 /* Override any gcc2 internal prototype to avoid an error. */ … … 14802 14826 ; return 0; } 14803 14827 EOF 14804 if { (eval echo configure:148 05: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14828 if { (eval echo configure:14829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14805 14829 rm -rf conftest* 14806 14830 eval "ac_cv_lib_$ac_lib_var=yes" … … 14821 14845 14822 14846 echo $ac_n "checking for GLwCreateMDrawingArea in -lMesaGLwM""... $ac_c" 1>&6 14823 echo "configure:148 24: checking for GLwCreateMDrawingArea in -lMesaGLwM" >&514847 echo "configure:14848: checking for GLwCreateMDrawingArea in -lMesaGLwM" >&5 14824 14848 ac_lib_var=`echo MesaGLwM'_'GLwCreateMDrawingArea | sed 'y%./+-%__p_%'` 14825 14849 … … 14827 14851 LIBS="-lMesaGLwM $X_LIBS $OPENGLLIB -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB $OPENGLULIB $LIBS" 14828 14852 cat > conftest.$ac_ext <<EOF 14829 #line 148 30"configure"14853 #line 14854 "configure" 14830 14854 #include "confdefs.h" 14831 14855 /* Override any gcc2 internal prototype to avoid an error. */ … … 14838 14862 ; return 0; } 14839 14863 EOF 14840 if { (eval echo configure:148 41: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then14864 if { (eval echo configure:14865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14841 14865 rm -rf conftest* 14842 14866 eval "ac_cv_lib_$ac_lib_var=yes" … … 14951 14975 14952 14976 echo $ac_n "checking whether to use FreeType""... $ac_c" 1>&6 14953 echo "configure:149 54: checking whether to use FreeType" >&514977 echo "configure:14978: checking whether to use FreeType" >&5 14954 14978 echo "$ac_t"""$with_freetype"" 1>&6 14955 14979 case "$with_freetype" in … … 14970 14994 14971 14995 echo $ac_n "checking for location of FreeType includes""... $ac_c" 1>&6 14972 echo "configure:149 73: checking for location of FreeType includes" >&514996 echo "configure:14997: checking for location of FreeType includes" >&5 14973 14997 case "$with_freetype_includes" in 14974 14998 y | ye | yes | n | no) … … 14996 15020 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 14997 15021 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 14998 echo "configure:1 4999: checking for $ac_hdr" >&514999 15000 cat > conftest.$ac_ext <<EOF 15001 #line 150 02"configure"15022 echo "configure:15023: checking for $ac_hdr" >&5 15023 15024 cat > conftest.$ac_ext <<EOF 15025 #line 15026 "configure" 15002 15026 #include "confdefs.h" 15003 15027 #include <$ac_hdr> 15004 15028 EOF 15005 15029 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15006 { (eval echo configure:150 07: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }15030 { (eval echo configure:15031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15007 15031 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15008 15032 if test -z "$ac_err"; then … … 15038 15062 15039 15063 echo $ac_n "checking for location of FreeType library""... $ac_c" 1>&6 15040 echo "configure:150 41: checking for location of FreeType library" >&515064 echo "configure:15065: checking for location of FreeType library" >&5 15041 15065 case "$with_freetype_libs" in 15042 15066 y | ye | yes | n | no) … … 15063 15087 15064 15088 echo $ac_n "checking for FT_Init_FreeType in -lfreetype""... $ac_c" 1>&6 15065 echo "configure:150 66: checking for FT_Init_FreeType in -lfreetype" >&515089 echo "configure:15090: checking for FT_Init_FreeType in -lfreetype" >&5 15066 15090 ac_lib_var=`echo freetype'_'FT_Init_FreeType | sed 'y%./+-%__p_%'` 15067 15091 … … 15069 15093 LIBS="-lfreetype $LIBS" 15070 15094 cat > conftest.$ac_ext <<EOF 15071 #line 150 72"configure"15095 #line 15096 "configure" 15072 15096 #include "confdefs.h" 15073 15097 /* Override any gcc2 internal prototype to avoid an error. */ … … 15080 15104 ; return 0; } 15081 15105 EOF 15082 if { (eval echo configure:15 083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then15106 if { (eval echo configure:15107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15083 15107 rm -rf conftest* 15084 15108 eval "ac_cv_lib_$ac_lib_var=yes" … … 15121 15145 15122 15146 echo $ac_n "checking whether to use NLS""... $ac_c" 1>&6 15123 echo "configure:151 24: checking whether to use NLS" >&515147 echo "configure:15148: checking whether to use NLS" >&5 15124 15148 echo "$ac_t"""$with_nls"" 1>&6 15125 15149 case "$with_nls" in … … 15141 15165 15142 15166 echo $ac_n "checking for gettext""... $ac_c" 1>&6 15143 echo "configure:151 44: checking for gettext" >&515144 15145 cat > conftest.$ac_ext <<EOF 15146 #line 151 47"configure"15167 echo "configure:15168: checking for gettext" >&5 15168 15169 cat > conftest.$ac_ext <<EOF 15170 #line 15171 "configure" 15147 15171 #include "confdefs.h" 15148 15172 /* System header to define __stub macros and hopefully few prototypes, … … 15167 15191 ; return 0; } 15168 15192 EOF 15169 if { (eval echo configure:151 70: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then15193 if { (eval echo configure:15194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15170 15194 rm -rf conftest* 15171 15195 eval "ac_cv_func_gettext=yes" … … 15185 15209 15186 15210 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6 15187 echo "configure:15 188: checking for gettext in -lintl" >&515211 echo "configure:15212: checking for gettext in -lintl" >&5 15188 15212 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'` 15189 15213 … … 15191 15215 LIBS="-lintl $LIBS" 15192 15216 cat > conftest.$ac_ext <<EOF 15193 #line 15 194"configure"15217 #line 15218 "configure" 15194 15218 #include "confdefs.h" 15195 15219 /* Override any gcc2 internal prototype to avoid an error. */ … … 15202 15226 ; return 0; } 15203 15227 EOF 15204 if { (eval echo configure:152 05: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then15228 if { (eval echo configure:15229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15205 15229 rm -rf conftest* 15206 15230 eval "ac_cv_lib_$ac_lib_var=yes" … … 15237 15261 15238 15262 echo $ac_n "checking whether to use C++""... $ac_c" 1>&6 15239 echo "configure:152 40: checking whether to use C++" >&515263 echo "configure:15264: checking whether to use C++" >&5 15240 15264 echo "$ac_t"""$with_cxx"" 1>&6 15241 15265 case "$with_cxx" in … … 15253 15277 set dummy $ac_prog; ac_word=$2 15254 15278 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 15255 echo "configure:152 56: checking for $ac_word" >&515279 echo "configure:15280: checking for $ac_word" >&5 15256 15280 15257 15281 if test -n "$CXX"; then … … 15282 15306 15283 15307 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 15284 echo "configure:15 285: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&515308 echo "configure:15309: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 15285 15309 15286 15310 ac_ext=C … … 15293 15317 cat > conftest.$ac_ext << EOF 15294 15318 15295 #line 15 296"configure"15319 #line 15320 "configure" 15296 15320 #include "confdefs.h" 15297 15321 15298 15322 int main(){return(0);} 15299 15323 EOF 15300 if { (eval echo configure:153 01: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then15324 if { (eval echo configure:15325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15301 15325 ac_cv_prog_cxx_works=yes 15302 15326 # If we can't run a trivial program, we are probably using a cross compiler. … … 15324 15348 fi 15325 15349 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 15326 echo "configure:153 27: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&515350 echo "configure:15351: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 15327 15351 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 15328 15352 cross_compiling=$ac_cv_prog_cxx_cross 15329 15353 15330 15354 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 15331 echo "configure:153 32: checking whether we are using GNU C++" >&515355 echo "configure:15356: checking whether we are using GNU C++" >&5 15332 15356 15333 15357 cat > conftest.C <<EOF … … 15336 15360 #endif 15337 15361 EOF 15338 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:153 39: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then15362 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:15363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 15339 15363 ac_cv_prog_gxx=yes 15340 15364 else … … 15354 15378 CXXFLAGS= 15355 15379 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 15356 echo "configure:153 57: checking whether ${CXX-g++} accepts -g" >&515380 echo "configure:15381: checking whether ${CXX-g++} accepts -g" >&5 15357 15381 15358 15382 echo 'void f(){}' > conftest.cc … … 15395 15419 15396 15420 echo $ac_n "checking whether to use openDWG""... $ac_c" 1>&6 15397 echo "configure:15 398: checking whether to use openDWG" >&515421 echo "configure:15422: checking whether to use openDWG" >&5 15398 15422 echo "$ac_t"""$with_opendwg"" 1>&6 15399 15423 case "$with_opendwg" in … … 15415 15439 15416 15440 echo $ac_n "checking for location of openDGW includes""... $ac_c" 1>&6 15417 echo "configure:154 18: checking for location of openDGW includes" >&515441 echo "configure:15442: checking for location of openDGW includes" >&5 15418 15442 case "$with_opendwg_includes" in 15419 15443 y | ye | yes | n | no) … … 15441 15465 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 15442 15466 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 15443 echo "configure:154 44: checking for $ac_hdr" >&515444 15445 cat > conftest.$ac_ext <<EOF 15446 #line 154 47"configure"15467 echo "configure:15468: checking for $ac_hdr" >&5 15468 15469 cat > conftest.$ac_ext <<EOF 15470 #line 15471 "configure" 15447 15471 #include "confdefs.h" 15448 15472 #include <$ac_hdr> 15449 15473 EOF 15450 15474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15451 { (eval echo configure:154 52: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }15475 { (eval echo configure:15476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15452 15476 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15453 15477 if test -z "$ac_err"; then … … 15483 15507 15484 15508 echo $ac_n "checking for location of openDWG library""... $ac_c" 1>&6 15485 echo "configure:15 486: checking for location of openDWG library" >&515509 echo "configure:15510: checking for location of openDWG library" >&5 15486 15510 case "$with_opendwg_libs" in 15487 15511 y | ye | yes | n | no) … … 15530 15554 15531 15555 echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 15532 echo "configure:155 33: checking for special C compiler options needed for large files" >&515556 echo "configure:15557: checking for special C compiler options needed for large files" >&5 15533 15557 15534 15558 ac_cv_sys_largefile_CC=no … … 15538 15562 # so use the C compiler's -n32 option if that helps. 15539 15563 cat > conftest.$ac_ext <<EOF 15540 #line 155 41"configure"15564 #line 15565 "configure" 15541 15565 #include "confdefs.h" 15542 15566 #include <sys/types.h> … … 15554 15578 ; return 0; } 15555 15579 EOF 15556 if { (eval echo configure:155 57: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15580 if { (eval echo configure:15581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15557 15581 : 15558 15582 else … … 15563 15587 CC="$CC -n32" 15564 15588 cat > conftest.$ac_ext <<EOF 15565 #line 155 66"configure"15589 #line 15590 "configure" 15566 15590 #include "confdefs.h" 15567 15591 #include <sys/types.h> … … 15579 15603 ; return 0; } 15580 15604 EOF 15581 if { (eval echo configure:15 582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15605 if { (eval echo configure:15606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15582 15606 rm -rf conftest* 15583 15607 ac_cv_sys_largefile_CC=' -n32' … … 15599 15623 15600 15624 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 15601 echo "configure:156 02: checking for _FILE_OFFSET_BITS value needed for large files" >&515625 echo "configure:15626: checking for _FILE_OFFSET_BITS value needed for large files" >&5 15602 15626 15603 15627 ac_cv_sys_file_offset_bits=no 15604 15628 cat > conftest.$ac_ext <<EOF 15605 #line 156 06"configure"15629 #line 15630 "configure" 15606 15630 #include "confdefs.h" 15607 15631 #include <sys/types.h> … … 15619 15643 ; return 0; } 15620 15644 EOF 15621 if { (eval echo configure:156 22: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15645 if { (eval echo configure:15646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15622 15646 : 15623 15647 else … … 15626 15650 rm -rf conftest* 15627 15651 cat > conftest.$ac_ext <<EOF 15628 #line 156 29"configure"15652 #line 15653 "configure" 15629 15653 #include "confdefs.h" 15630 15654 #define _FILE_OFFSET_BITS 64 … … 15644 15668 ; return 0; } 15645 15669 EOF 15646 if { (eval echo configure:156 47: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15670 if { (eval echo configure:15671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15647 15671 rm -rf conftest* 15648 15672 ac_cv_sys_file_offset_bits=64 … … 15663 15687 fi 15664 15688 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6 15665 echo "configure:156 66: checking for _LARGE_FILES value needed for large files" >&515689 echo "configure:15690: checking for _LARGE_FILES value needed for large files" >&5 15666 15690 15667 15691 ac_cv_sys_large_files=no 15668 15692 cat > conftest.$ac_ext <<EOF 15669 #line 156 70"configure"15693 #line 15694 "configure" 15670 15694 #include "confdefs.h" 15671 15695 #include <sys/types.h> … … 15683 15707 ; return 0; } 15684 15708 EOF 15685 if { (eval echo configure:15 686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15709 if { (eval echo configure:15710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15686 15710 : 15687 15711 else … … 15690 15714 rm -rf conftest* 15691 15715 cat > conftest.$ac_ext <<EOF 15692 #line 15 693"configure"15716 #line 15717 "configure" 15693 15717 #include "confdefs.h" 15694 15718 #define _LARGE_FILES 1 … … 15708 15732 ; return 0; } 15709 15733 EOF 15710 if { (eval echo configure:157 11: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15734 if { (eval echo configure:15735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15711 15735 rm -rf conftest* 15712 15736 ac_cv_sys_large_files=1 … … 15727 15751 fi 15728 15752 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 15729 echo "configure:157 30: checking for _LARGEFILE_SOURCE value needed for large files" >&515753 echo "configure:15754: checking for _LARGEFILE_SOURCE value needed for large files" >&5 15730 15754 15731 15755 ac_cv_sys_largefile_source=no 15732 15756 cat > conftest.$ac_ext <<EOF 15733 #line 157 34"configure"15757 #line 15758 "configure" 15734 15758 #include "confdefs.h" 15735 15759 #include <stdio.h> … … 15738 15762 ; return 0; } 15739 15763 EOF 15740 if { (eval echo configure:157 41: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15764 if { (eval echo configure:15765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15741 15765 : 15742 15766 else … … 15745 15769 rm -rf conftest* 15746 15770 cat > conftest.$ac_ext <<EOF 15747 #line 157 48"configure"15771 #line 15772 "configure" 15748 15772 #include "confdefs.h" 15749 15773 #define _LARGEFILE_SOURCE 1 … … 15754 15778 ; return 0; } 15755 15779 EOF 15756 if { (eval echo configure:157 57: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15780 if { (eval echo configure:15781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15757 15781 rm -rf conftest* 15758 15782 ac_cv_sys_largefile_source=1 … … 15775 15799 15776 15800 echo $ac_n "checking if system supports Large Files at all""... $ac_c" 1>&6 15777 echo "configure:15 778: checking if system supports Large Files at all" >&515778 15779 cat > conftest.$ac_ext <<EOF 15780 #line 15 781"configure"15801 echo "configure:15802: checking if system supports Large Files at all" >&5 15802 15803 cat > conftest.$ac_ext <<EOF 15804 #line 15805 "configure" 15781 15805 #include "confdefs.h" 15782 15806 #include <stdio.h> … … 15810 15834 ; return 0; } 15811 15835 EOF 15812 if { (eval echo configure:158 13: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then15836 if { (eval echo configure:15837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15813 15837 rm -rf conftest* 15814 15838 ac_cv_largefiles=yes … … 15839 15863 15840 15864 echo $ac_n "checking whether to use Python""... $ac_c" 1>&6 15841 echo "configure:158 42: checking whether to use Python" >&515865 echo "configure:15866: checking whether to use Python" >&5 15842 15866 15843 15867 PYTHONINC= … … 15859 15883 set dummy python-config; ac_word=$2 15860 15884 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 15861 echo "configure:158 62: checking for $ac_word" >&515885 echo "configure:15886: checking for $ac_word" >&5 15862 15886 15863 15887 case "$PY_CONFIG" in … … 15901 15925 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 15902 15926 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 15903 echo "configure:159 04: checking for $ac_hdr" >&515904 15905 cat > conftest.$ac_ext <<EOF 15906 #line 159 07"configure"15927 echo "configure:15928: checking for $ac_hdr" >&5 15928 15929 cat > conftest.$ac_ext <<EOF 15930 #line 15931 "configure" 15907 15931 #include "confdefs.h" 15908 15932 #include <$ac_hdr> 15909 15933 EOF 15910 15934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 15911 { (eval echo configure:159 12: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }15935 { (eval echo configure:15936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 15912 15936 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 15913 15937 if test -z "$ac_err"; then … … 15950 15974 set dummy swig; ac_word=$2 15951 15975 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 15952 echo "configure:159 53: checking for $ac_word" >&515976 echo "configure:15977: checking for $ac_word" >&5 15953 15977 15954 15978 case "$SWIG" in … … 15996 16020 15997 16021 echo $ac_n "checking whether to use wxWidgets""... $ac_c" 1>&6 15998 echo "configure:1 5999: checking whether to use wxWidgets" >&516022 echo "configure:16023: checking whether to use wxWidgets" >&5 15999 16023 16000 16024 WXVERSION= … … 16016 16040 set dummy wx-config; ac_word=$2 16017 16041 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 16018 echo "configure:160 19: checking for $ac_word" >&516042 echo "configure:16043: checking for $ac_word" >&5 16019 16043 16020 16044 case "$WX_CONFIG" in … … 16064 16088 16065 16089 echo $ac_n "checking wxWidgets version""... $ac_c" 1>&6 16066 echo "configure:160 67: checking wxWidgets version" >&516090 echo "configure:16091: checking wxWidgets version" >&5 16067 16091 if WXVERSION=`"$WX_CONFIG" --version`; then 16068 16092 echo "$ac_t""$WXVERSION" 1>&6 … … 16087 16111 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 16088 16112 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 16089 echo "configure:16 090: checking for $ac_hdr" >&516090 16091 cat > conftest.$ac_ext <<EOF 16092 #line 16 093"configure"16113 echo "configure:16114: checking for $ac_hdr" >&5 16114 16115 cat > conftest.$ac_ext <<EOF 16116 #line 16117 "configure" 16093 16117 #include "confdefs.h" 16094 16118 #include <$ac_hdr> 16095 16119 EOF 16096 16120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 16097 { (eval echo configure:16 098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }16121 { (eval echo configure:16122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 16098 16122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 16099 16123 if test -z "$ac_err"; then … … 16351 16375 s%@PNGLIB@%$PNGLIB%g 16352 16376 s%@USE_PNG@%$USE_PNG%g 16353 s%@TCLINCDIR@%$TCLINCDIR%g16354 s%@TKINCDIR@%$TKINCDIR%g16355 s%@TCLTKLIBPATH@%$TCLTKLIBPATH%g16356 s%@TCLTKLIBS@%$TCLTKLIBS%g16357 s%@TCL_VERSION@%$TCL_VERSION%g16358 16377 s%@USE_POSTGRES@%$USE_POSTGRES%g 16359 16378 s%@PQINCPATH@%$PQINCPATH%g … … 16381 16400 s%@OPENGLLIB@%$OPENGLLIB%g 16382 16401 s%@OPENGLULIB@%$OPENGLULIB%g 16402 s%@TCLINCDIR@%$TCLINCDIR%g 16403 s%@TKINCDIR@%$TKINCDIR%g 16404 s%@TCLTKLIBPATH@%$TCLTKLIBPATH%g 16405 s%@TCLTKLIBS@%$TCLTKLIBS%g 16406 s%@TCL_VERSION@%$TCL_VERSION%g 16407 s%@TCLTKAQUA_IS64BIT@%$TCLTKAQUA_IS64BIT%g 16383 16408 s%@ODBCINC@%$ODBCINC%g 16384 16409 s%@ODBCLIB@%$ODBCLIB%g -
grass/branches/develbranch_6/configure.in
r37280 r37402 876 876 # Done checking PNG 877 877 878 # Enable TCLTK option879 880 LOC_CHECK_USE(tcltk,Tcl/Tk,USE_TCLTK)881 882 TCLINCDIR=883 TCLTKLIBPATH=884 TCLTKLIBS=885 886 if test -n "$USE_TCLTK"; then887 888 # With Tcl/Tk includes directory889 890 LOC_CHECK_INC_PATH(tcltk,Tcl/Tk,TCLINCDIR)891 892 LOC_CHECK_INCLUDES(tcl.h,Tcl,$TCLINCDIR)893 894 LOC_CHECK_INCLUDES(tk.h,Tk,$TCLINCDIR $X_CFLAGS)895 896 # Tcl/Tk version checks897 LOC_CHECK_VERSION_STRING(tcl.h,TCL_VERSION,Tcl,tcl_ver,$TCLINCDIR,UNKNOWN)898 899 LOC_CHECK_VERSION_STRING(tk.h,TK_VERSION,Tk,tk_ver,$TCLINCDIR $X_CFLAGS,UNKNOWN)900 901 if test "$tcl_ver" = "$tk_ver" ; then902 tcltk_ver=$tcl_ver903 else904 AC_MSG_ERROR([*** Tcl/Tk version mismatch.])905 fi906 907 TCL_VERSION="$tcl_ver"908 909 # FreeBSD and CygWin don't have a "dot" between major/minor version number910 tcltk_ver2=`echo $tcltk_ver | sed 's/\.//g'`911 912 # With Tcl/Tk library directory913 914 LOC_CHECK_LIB_PATH(tcltk,Tcl/Tk,TCLTKLIBPATH)915 916 TCLLIB=917 TKLIB=918 919 LOC_CHECK_LIBS(tcl, Tcl_Init,Tcl,$TCLTKLIBPATH,TCLLIB,,$MATHLIB,[920 LOC_CHECK_LIBS(tcl$tcltk_ver, Tcl_Init,Tcl,$TCLTKLIBPATH,TCLLIB,,$MATHLIB,[921 LOC_CHECK_LIBS(tcl$tcltk_ver2,Tcl_Init,Tcl,$TCLTKLIBPATH,TCLLIB,,$MATHLIB,[922 ],$DLLIB)923 ],$DLLIB)924 ],$DLLIB)925 926 LOC_CHECK_LIBS(tk, Tk_MainWindow,Tk,$TCLTKLIBPATH,TKLIB,$TCLLIB,$MATHLIB,[927 LOC_CHECK_LIBS(tk$tcltk_ver, Tk_MainWindow,Tk,$TCLTKLIBPATH,TKLIB,$TCLLIB,$MATHLIB,[928 LOC_CHECK_LIBS(tk$tcltk_ver2,Tk_MainWindow,Tk,$TCLTKLIBPATH,TKLIB,$TCLLIB,$MATHLIB,[929 ],$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS)930 ],$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS)931 ],$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS)932 933 934 TCLTKLIBS="$TKLIB $TCLLIB"935 AC_DEFINE(HAVE_TCLTK)936 937 fi # $USE_TCLTK938 939 TKINCDIR=$TCLINCDIR940 941 AC_SUBST(TCLINCDIR)942 AC_SUBST(TKINCDIR)943 AC_SUBST(TCLTKLIBPATH)944 AC_SUBST(TCLTKLIBS)945 AC_SUBST(TCL_VERSION)946 # Done checking Tcl/Tk947 948 878 # Enable PostgreSQL option 949 879 … … 1127 1057 1128 1058 # Done checking FFMPEG 1129 1130 1059 1131 1060 # Enable OpenGL option … … 1261 1190 1262 1191 # Done checking OpenGL 1192 1193 # Enable TCLTK option 1194 1195 LOC_CHECK_USE(tcltk,Tcl/Tk,USE_TCLTK) 1196 1197 TCLINCDIR= 1198 TCLTKLIBPATH= 1199 TCLTKLIBS= 1200 1201 if test -n "$USE_TCLTK"; then 1202 1203 # With Tcl/Tk includes directory 1204 1205 LOC_CHECK_INC_PATH(tcltk,Tcl/Tk,TCLINCDIR) 1206 1207 LOC_CHECK_INCLUDES(tcl.h,Tcl,$TCLINCDIR) 1208 1209 LOC_CHECK_INCLUDES(tk.h,Tk,$TCLINCDIR $X_CFLAGS) 1210 1211 # Tcl/Tk version checks 1212 LOC_CHECK_VERSION_STRING(tcl.h,TCL_VERSION,Tcl,tcl_ver,$TCLINCDIR,UNKNOWN) 1213 1214 LOC_CHECK_VERSION_STRING(tk.h,TK_VERSION,Tk,tk_ver,$TCLINCDIR $X_CFLAGS,UNKNOWN) 1215 1216 if test "$tcl_ver" = "$tk_ver" ; then 1217 tcltk_ver=$tcl_ver 1218 else 1219 AC_MSG_ERROR([*** Tcl/Tk version mismatch.]) 1220 fi 1221 1222 TCL_VERSION="$tcl_ver" 1223 1224 # FreeBSD and CygWin don't have a "dot" between major/minor version number 1225 tcltk_ver2=`echo $tcltk_ver | sed 's/\.//g'` 1226 1227 # With Tcl/Tk library directory 1228 1229 LOC_CHECK_LIB_PATH(tcltk,Tcl/Tk,TCLTKLIBPATH) 1230 1231 TCLLIB= 1232 TKLIB= 1233 1234 # Can't test tcl/tk libs on 64bit OSX Aqua for now 1235 # assume that if OpenGL Aqua, then user specifies TclTk Aqua, 1236 # as there is no test for Tcl/Tk Aqua and Tck/Tk X11 won't work 1237 TCLTKAQUA_IS64BIT= 1238 if test "$OPENGL_AQUA" = 1 ; then 1239 temp_CFLAGS="$CFLAGS" 1240 CFLAGS="`echo \"$CFLAGS\" | sed -E 's/-arch +x86_64//g' | sed -E 's/-arch +ppc64//g'`" 1241 # can't save LDFLAGS, need to remember arch flags to insert back later 1242 temp_ARCHES= 1243 for a in x86_64 ppc64 1244 do 1245 if test -n "`echo \"$LDFLAGS\" | grep -E -e '-arch +'$a`" ; then 1246 temp_ARCHES="$temp_ARCHES -arch $a" 1247 fi 1248 done 1249 LDFLAGS="`echo \"$LDFLAGS\" | sed -E 's/-arch +x86_64//g' | sed -E 's/-arch +ppc64//g'`" 1250 fi 1251 1252 LOC_CHECK_LIBS(tcl, Tcl_Init,Tcl,$TCLTKLIBPATH,TCLLIB,,$MATHLIB,[ 1253 LOC_CHECK_LIBS(tcl$tcltk_ver, Tcl_Init,Tcl,$TCLTKLIBPATH,TCLLIB,,$MATHLIB,[ 1254 LOC_CHECK_LIBS(tcl$tcltk_ver2,Tcl_Init,Tcl,$TCLTKLIBPATH,TCLLIB,,$MATHLIB,[ 1255 ],$DLLIB) 1256 ],$DLLIB) 1257 ],$DLLIB) 1258 1259 LOC_CHECK_LIBS(tk, Tk_MainWindow,Tk,$TCLTKLIBPATH,TKLIB,$TCLLIB,$MATHLIB,[ 1260 LOC_CHECK_LIBS(tk$tcltk_ver, Tk_MainWindow,Tk,$TCLTKLIBPATH,TKLIB,$TCLLIB,$MATHLIB,[ 1261 LOC_CHECK_LIBS(tk$tcltk_ver2,Tk_MainWindow,Tk,$TCLTKLIBPATH,TKLIB,$TCLLIB,$MATHLIB,[ 1262 ],$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS) 1263 ],$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS) 1264 ],$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS) 1265 1266 # restore CFLAGS/LDLFAGS from Aqua 64bit strip 1267 # only Tcl/Tk-based makefiles will strip 64bit out during compile 1268 if test "$OPENGL_AQUA" = 1 ; then 1269 CFLAGS="$temp_CFLAGS" 1270 LDFLAGS="$temp_ARCHES $LDFLAGS" 1271 fi 1272 1273 TCLTKLIBS="$TKLIB $TCLLIB" 1274 AC_DEFINE(HAVE_TCLTK) 1275 1276 fi # $USE_TCLTK 1277 1278 TKINCDIR=$TCLINCDIR 1279 1280 AC_SUBST(TCLINCDIR) 1281 AC_SUBST(TKINCDIR) 1282 AC_SUBST(TCLTKLIBPATH) 1283 AC_SUBST(TCLTKLIBS) 1284 AC_SUBST(TCL_VERSION) 1285 AC_SUBST(TCLTKAQUA_IS64BIT) 1286 # Done checking Tcl/Tk 1263 1287 1264 1288 # Enable ODBC option -
grass/branches/develbranch_6/display/d.what.vect/Makefile
r23013 r37402 13 13 include $(MODULE_TOPDIR)/include/Make/Module.make 14 14 15 ifeq ($(OPENGL_AQUA),1) 16 ifneq ($(TCLTKAQUA_IS64BIT),1) 17 CFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(CFLAGS))) 18 LDFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(LDFLAGS))) 19 endif 20 endif 21 15 22 default: cmd 16 23 -
grass/branches/develbranch_6/include/Make/Platform.make.in
r37280 r37402 172 172 TCLTKLIBS = @TCLTKLIBS@ 173 173 TCLVERSION = @TCL_VERSION@ 174 # set from configure when 64bit TclTk Aqua becomes possible on OSX 175 TCLTKAQUA_IS64BIT = @TCLTKAQUA_IS64BIT@ 174 176 175 177 #FFTW: … … 188 190 USE_GDAL = @USE_GDAL@ 189 191 USE_OGR = @USE_OGR@ 190 191 #GEOS192 GEOSLIBS = @GEOS_LIBS@193 GEOSCFLAGS = @GEOS_CFLAGS@194 USE_GEOS = @USE_GEOS@195 192 196 193 #FreeType: … … 228 225 WXWIDGETSLIB = @WXWIDGETSLIB@ 229 226 USE_WXWIDGETS = @USE_WXWIDGETS@ 227 # set from configure when 64bit wxWidgets becomes possible on OSX 228 WX_ISOSX64BIT = 230 229 231 230 #regex -
grass/branches/develbranch_6/lib/form/Makefile
r25132 r37402 20 20 21 21 include $(MODULE_TOPDIR)/include/Make/Lib.make 22 23 ifeq ($(OPENGL_AQUA),1) 24 ifneq ($(TCLTKAQUA_IS64BIT),1) 25 CFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(CFLAGS))) 26 LDFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(LDFLAGS))) 27 endif 28 endif 22 29 23 30 default: lib $(GTCLTKFORM) -
grass/branches/develbranch_6/vector/v.digit/Makefile
r33331 r37402 11 11 12 12 include $(MODULE_TOPDIR)/include/Make/Module.make 13 14 ifeq ($(OPENGL_AQUA),1) 15 ifneq ($(TCLTKAQUA_IS64BIT),1) 16 CFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(CFLAGS))) 17 LDFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(LDFLAGS))) 18 endif 19 endif 13 20 14 21 AUXDIR := $(GISBASE)/etc/v.digit -
grass/branches/develbranch_6/vector/v.what/Makefile
r24652 r37402 13 13 include $(MODULE_TOPDIR)/include/Make/Module.make 14 14 15 ifeq ($(OPENGL_AQUA),1) 16 ifneq ($(TCLTKAQUA_IS64BIT),1) 17 CFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(CFLAGS))) 18 LDFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(LDFLAGS))) 19 endif 20 endif 21 15 22 default: cmd 16 23 -
grass/branches/develbranch_6/visualization/nviz/src/Makefile
r35718 r37402 19 19 ifeq ($(OPENGL_AQUA),1) 20 20 OGL_LIBS := $(OPENGLULIB) $(OPENGLLIB) $(MATHLIB) 21 ifneq ($(TCLTKAQUA_IS64BIT),1) 22 CFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(CFLAGS))) 23 LDFLAGS := $(subst -arch ppc64,,$(subst -arch x86_64,,$(LDFLAGS))) 24 endif 21 25 endif 22 26
Note:
See TracChangeset
for help on using the changeset viewer.
