Changeset 45388


Ignore:
Timestamp:
Feb 12, 2011, 5:10:10 AM (14 years ago)
Author:
martinl
Message:

there is no need for python switch (wxGUI vdigit and nviz were
pythonized)

Location:
grass/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/configure

    r44822 r45388  
    7373                          enable GDAL/OGR support (gdal-config with path,
    7474                          e.g. '--with-gdal=/usr/local/bin/gdal-config')"
    75 ac_help="$ac_help
    76   --with-python[=path/python-config]
    77                           enable support for Python SWIG bindings and wxGUI
    78                           Python extensions (python-config with path, e.g.
    79                           '--with-python=/usr/bin/python2.5-config',
    80                           default: no)"
    8175ac_help="$ac_help
    8276  --with-wxwidgets[=path/wx-config]
     
    747741
    748742echo $ac_n "checking host system type""... $ac_c" 1>&6
    749 echo "configure:750: checking host system type" >&5
     743echo "configure:744: checking host system type" >&5
    750744
    751745host_alias=$host
     
    770764set dummy gcc; ac_word=$2
    771765echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    772 echo "configure:773: checking for $ac_word" >&5
     766echo "configure:767: checking for $ac_word" >&5
    773767
    774768if test -n "$CC"; then
     
    797791set dummy cc; ac_word=$2
    798792echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    799 echo "configure:800: checking for $ac_word" >&5
     793echo "configure:794: checking for $ac_word" >&5
    800794
    801795if test -n "$CC"; then
     
    845839set dummy cl; ac_word=$2
    846840echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    847 echo "configure:848: checking for $ac_word" >&5
     841echo "configure:842: checking for $ac_word" >&5
    848842
    849843if test -n "$CC"; then
     
    874868
    875869echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    876 echo "configure:877: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     870echo "configure:871: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    877871
    878872ac_ext=c
     
    885879cat > conftest.$ac_ext << EOF
    886880
    887 #line 888 "configure"
     881#line 882 "configure"
    888882#include "confdefs.h"
    889883
    890884main(){return(0);}
    891885EOF
    892 if { (eval echo configure:893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     886if { (eval echo configure:887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    893887  ac_cv_prog_cc_works=yes
    894888  # If we can't run a trivial program, we are probably using a cross compiler.
     
    916910fi
    917911echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    918 echo "configure:919: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     912echo "configure:913: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    919913echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    920914cross_compiling=$ac_cv_prog_cc_cross
    921915
    922916echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    923 echo "configure:924: checking whether we are using GNU C" >&5
     917echo "configure:918: checking whether we are using GNU C" >&5
    924918
    925919cat > conftest.c <<EOF
     
    928922#endif
    929923EOF
    930 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     924if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    931925  ac_cv_prog_gcc=yes
    932926else
     
    946940CFLAGS=
    947941echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    948 echo "configure:949: checking whether ${CC-cc} accepts -g" >&5
     942echo "configure:943: checking whether ${CC-cc} accepts -g" >&5
    949943
    950944echo 'void f(){}' > conftest.c
     
    975969
    976970echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    977 echo "configure:978: checking for Cygwin environment" >&5
    978 
    979 cat > conftest.$ac_ext <<EOF
    980 #line 981 "configure"
     971echo "configure:972: checking for Cygwin environment" >&5
     972
     973cat > conftest.$ac_ext <<EOF
     974#line 975 "configure"
    981975#include "confdefs.h"
    982976
     
    989983; return 0; }
    990984EOF
    991 if { (eval echo configure:992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     985if { (eval echo configure:986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    992986  rm -rf conftest*
    993987  ac_cv_cygwin=yes
     
    1005999test "$ac_cv_cygwin" = yes && CYGWIN=yes
    10061000echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    1007 echo "configure:1008: checking for mingw32 environment" >&5
    1008 
    1009 cat > conftest.$ac_ext <<EOF
    1010 #line 1011 "configure"
     1001echo "configure:1002: checking for mingw32 environment" >&5
     1002
     1003cat > conftest.$ac_ext <<EOF
     1004#line 1005 "configure"
    10111005#include "confdefs.h"
    10121006
     
    10151009; return 0; }
    10161010EOF
    1017 if { (eval echo configure:1018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1011if { (eval echo configure:1012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    10181012  rm -rf conftest*
    10191013  ac_cv_mingw32=yes
     
    10331027
    10341028echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    1035 echo "configure:1036: checking for executable suffix" >&5
     1029echo "configure:1030: checking for executable suffix" >&5
    10361030
    10371031if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
     
    10521046
    10531047echo $ac_n "checking for full floating-point support""... $ac_c" 1>&6
    1054 echo "configure:1055: checking for full floating-point support" >&5
     1048echo "configure:1049: checking for full floating-point support" >&5
    10551049if test "$cross_compiling" = yes; then
    10561050     echo "$ac_t""unknown (cross-compiling)" 1>&6
    10571051     
    10581052echo $ac_n "checking whether "cc -mieee" works""... $ac_c" 1>&6
    1059 echo "configure:1060: checking whether "cc -mieee" works" >&5
     1053echo "configure:1054: checking whether "cc -mieee" works" >&5
    10601054ac_save_cflags=${CFLAGS}
    10611055CFLAGS="$CFLAGS -mieee"
    10621056cat > conftest.$ac_ext <<EOF
    1063 #line 1064 "configure"
    1064 #include "confdefs.h"
    1065 
    1066 int main() {
    1067 
    1068 ; return 0; }
    1069 EOF
    1070 if { (eval echo configure:1071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1057#line 1058 "configure"
     1058#include "confdefs.h"
     1059
     1060int main() {
     1061
     1062; return 0; }
     1063EOF
     1064if { (eval echo configure:1065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    10711065  rm -rf conftest*
    10721066     echo "$ac_t""yes" 1>&6
     
    10841078else
    10851079  cat > conftest.$ac_ext <<EOF
    1086 #line 1087 "configure"
     1080#line 1081 "configure"
    10871081#include "confdefs.h"
    10881082
     
    10981092
    10991093EOF
    1100 if { (eval echo configure:1101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1094if { (eval echo configure:1095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    11011095then
    11021096     echo "$ac_t""yes" 1>&6
     
    11111105 
    11121106echo $ac_n "checking for full floating-point support with -mieee""... $ac_c" 1>&6
    1113 echo "configure:1114: checking for full floating-point support with -mieee" >&5
     1107echo "configure:1108: checking for full floating-point support with -mieee" >&5
    11141108if test "$cross_compiling" = yes; then
    11151109     echo "$ac_t""unknown (cross-compiling)" 1>&6
     
    11181112else
    11191113  cat > conftest.$ac_ext <<EOF
    1120 #line 1121 "configure"
     1114#line 1115 "configure"
    11211115#include "confdefs.h"
    11221116
     
    11321126
    11331127EOF
    1134 if { (eval echo configure:1135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1128if { (eval echo configure:1129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    11351129then
    11361130     echo "$ac_t""yes" 1>&6
     
    11691163set dummy pwd; ac_word=$2
    11701164echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1171 echo "configure:1172: checking for $ac_word" >&5
     1165echo "configure:1166: checking for $ac_word" >&5
    11721166
    11731167case "$pwd" in
     
    12071201
    12081202echo $ac_n "checking for source directory""... $ac_c" 1>&6
    1209 echo "configure:1210: checking for source directory" >&5
     1203echo "configure:1204: checking for source directory" >&5
    12101204
    12111205if test -z "$srcdir" ; then
     
    12181212
    12191213echo $ac_n "checking for build directory""... $ac_c" 1>&6
    1220 echo "configure:1221: checking for build directory" >&5
     1214echo "configure:1215: checking for build directory" >&5
    12211215
    12221216DSTDIR=`$pwd`
     
    12861280set dummy svnversion; ac_word=$2
    12871281echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1288 echo "configure:1289: checking for $ac_word" >&5
     1282echo "configure:1283: checking for $ac_word" >&5
    12891283
    12901284case "$SVN_VERSION" in
     
    13421336
    13431337echo $ac_n "checking for MacOSX App""... $ac_c" 1>&6
    1344 echo "configure:1345: checking for MacOSX App" >&5
     1338echo "configure:1339: checking for MacOSX App" >&5
    13451339case "$enable_macosx_app" in
    13461340        yes)    MACOSX_APP=1    ;;
     
    13541348
    13551349echo $ac_n "checking for MacOSX architectures""... $ac_c" 1>&6
    1356 echo "configure:1357: checking for MacOSX architectures" >&5
     1350echo "configure:1351: checking for MacOSX architectures" >&5
    13571351
    13581352MACOSX_ARCHS=
     
    13831377
    13841378echo $ac_n "checking for MacOSX SDK""... $ac_c" 1>&6
    1385 echo "configure:1386: checking for MacOSX SDK" >&5
     1379echo "configure:1380: checking for MacOSX SDK" >&5
    13861380
    13871381MACOSX_SDK=
     
    13931387ac_safe=`echo "$with_macosx_sdk/SDKSettings.plist" | sed 'y%./+-%__p_%'`
    13941388echo $ac_n "checking for $with_macosx_sdk/SDKSettings.plist""... $ac_c" 1>&6
    1395 echo "configure:1396: checking for $with_macosx_sdk/SDKSettings.plist" >&5
     1389echo "configure:1390: checking for $with_macosx_sdk/SDKSettings.plist" >&5
    13961390
    13971391if test "$cross_compiling" = yes; then
     
    14371431
    14381432    echo $ac_n "checking how to build libraries""... $ac_c" 1>&6
    1439 echo "configure:1440: checking how to build libraries" >&5
     1433echo "configure:1434: checking how to build libraries" >&5
    14401434    # Check whether --enable-shared or --disable-shared was given.
    14411435if test "${enable_shared+set}" = set; then
     
    18221816
    18231817
    1824 # Check whether --with-python or --without-python was given.
    1825 if test "${with_python+set}" = set; then
    1826   withval="$with_python"
    1827   :
    1828 else
    1829   with_python="no"
    1830 fi
    1831 
    1832 
    18331818# Check whether --with-wxwidgets or --without-wxwidgets was given.
    18341819if test "${with_wxwidgets+set}" = set; then
     
    22552240
    22562241echo $ac_n "checking for additional include dirs""... $ac_c" 1>&6
    2257 echo "configure:2258: checking for additional include dirs" >&5
     2242echo "configure:2243: checking for additional include dirs" >&5
    22582243case "$with_includes" in
    22592244y | ye | yes | n | no)
     
    22782263
    22792264echo $ac_n "checking for additional library dirs""... $ac_c" 1>&6
    2280 echo "configure:2281: checking for additional library dirs" >&5
     2265echo "configure:2266: checking for additional library dirs" >&5
    22812266case "$with_libs" in
    22822267y | ye | yes | n | no)
     
    23122297# ./install, which can be erroneously created by make from ./install.sh.
    23132298echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    2314 echo "configure:2315: checking for a BSD compatible install" >&5
     2299echo "configure:2300: checking for a BSD compatible install" >&5
    23152300if test -z "$INSTALL"; then
    23162301
     
    23652350set dummy flex; ac_word=$2
    23662351echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2367 echo "configure:2368: checking for $ac_word" >&5
     2352echo "configure:2353: checking for $ac_word" >&5
    23682353
    23692354if test -n "$LEX"; then
     
    23962381  esac
    23972382  echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
    2398 echo "configure:2399: checking for yywrap in -l$ac_lib" >&5
     2383echo "configure:2384: checking for yywrap in -l$ac_lib" >&5
    23992384ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
    24002385
     
    24022387LIBS="-l$ac_lib  $LIBS"
    24032388cat > conftest.$ac_ext <<EOF
    2404 #line 2405 "configure"
     2389#line 2390 "configure"
    24052390#include "confdefs.h"
    24062391/* Override any gcc2 internal prototype to avoid an error.  */
     
    24132398; return 0; }
    24142399EOF
    2415 if { (eval echo configure:2416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2400if { (eval echo configure:2401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    24162401  rm -rf conftest*
    24172402  eval "ac_cv_lib_$ac_lib_var=yes"
     
    24382423set dummy lex; ac_word=$2
    24392424echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2440 echo "configure:2441: checking for $ac_word" >&5
     2425echo "configure:2426: checking for $ac_word" >&5
    24412426
    24422427case "$LEXPATH" in
     
    24782463set dummy $ac_prog; ac_word=$2
    24792464echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2480 echo "configure:2481: checking for $ac_word" >&5
     2465echo "configure:2466: checking for $ac_word" >&5
    24812466
    24822467if test -n "$YACC"; then
     
    25092494set dummy yacc; ac_word=$2
    25102495echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2511 echo "configure:2512: checking for $ac_word" >&5
     2496echo "configure:2497: checking for $ac_word" >&5
    25122497
    25132498case "$YACCPATH" in
     
    25472532set dummy ranlib; ac_word=$2
    25482533echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2549 echo "configure:2550: checking for $ac_word" >&5
     2534echo "configure:2535: checking for $ac_word" >&5
    25502535
    25512536if test -n "$RANLIB"; then
     
    25762561set dummy $ac_prog; ac_word=$2
    25772562echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2578 echo "configure:2579: checking for $ac_word" >&5
     2563echo "configure:2564: checking for $ac_word" >&5
    25792564
    25802565if test -n "$AR"; then
     
    26072592set dummy $ac_prog; ac_word=$2
    26082593echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2609 echo "configure:2610: checking for $ac_word" >&5
     2594echo "configure:2595: checking for $ac_word" >&5
    26102595
    26112596if test -n "$ENV"; then
     
    26362621set dummy perl; ac_word=$2
    26372622echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2638 echo "configure:2639: checking for $ac_word" >&5
     2623echo "configure:2624: checking for $ac_word" >&5
    26392624
    26402625case "$PERL" in
     
    26672652 
    26682653echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2669 echo "configure:2670: checking how to run the C preprocessor" >&5
     2654echo "configure:2655: checking how to run the C preprocessor" >&5
    26702655# On Suns, sometimes $CPP names a directory.
    26712656if test -n "$CPP" && test -d "$CPP"; then
     
    26802665  # not just through cpp.
    26812666  cat > conftest.$ac_ext <<EOF
    2682 #line 2683 "configure"
     2667#line 2668 "configure"
    26832668#include "confdefs.h"
    26842669#include <assert.h>
     
    26862671EOF
    26872672ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2688 { (eval echo configure:2689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2673{ (eval echo configure:2674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26892674ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26902675if test -z "$ac_err"; then
     
    26972682  CPP="${CC-cc} -E -traditional-cpp"
    26982683  cat > conftest.$ac_ext <<EOF
    2699 #line 2700 "configure"
     2684#line 2685 "configure"
    27002685#include "confdefs.h"
    27012686#include <assert.h>
     
    27032688EOF
    27042689ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2705 { (eval echo configure:2706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2690{ (eval echo configure:2691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    27062691ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    27072692if test -z "$ac_err"; then
     
    27142699  CPP="${CC-cc} -nologo -E"
    27152700  cat > conftest.$ac_ext <<EOF
    2716 #line 2717 "configure"
     2701#line 2702 "configure"
    27172702#include "confdefs.h"
    27182703#include <assert.h>
     
    27202705EOF
    27212706ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2722 { (eval echo configure:2723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2707{ (eval echo configure:2708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    27232708ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    27242709if test -z "$ac_err"; then
     
    27442729
    27452730echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2746 echo "configure:2747: checking for ANSI C header files" >&5
    2747 
    2748 cat > conftest.$ac_ext <<EOF
    2749 #line 2750 "configure"
     2731echo "configure:2732: checking for ANSI C header files" >&5
     2732
     2733cat > conftest.$ac_ext <<EOF
     2734#line 2735 "configure"
    27502735#include "confdefs.h"
    27512736#include <stdlib.h>
     
    27552740EOF
    27562741ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2757 { (eval echo configure:2758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2742{ (eval echo configure:2743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    27582743ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    27592744if test -z "$ac_err"; then
     
    27722757  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    27732758cat > conftest.$ac_ext <<EOF
    2774 #line 2775 "configure"
     2759#line 2760 "configure"
    27752760#include "confdefs.h"
    27762761#include <string.h>
     
    27902775  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    27912776cat > conftest.$ac_ext <<EOF
    2792 #line 2793 "configure"
     2777#line 2778 "configure"
    27932778#include "confdefs.h"
    27942779#include <stdlib.h>
     
    28112796else
    28122797  cat > conftest.$ac_ext <<EOF
    2813 #line 2814 "configure"
     2798#line 2799 "configure"
    28142799#include "confdefs.h"
    28152800#include <ctype.h>
     
    28222807
    28232808EOF
    2824 if { (eval echo configure:2825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2809if { (eval echo configure:2810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    28252810then
    28262811  :
     
    28492834ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    28502835echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2851 echo "configure:2852: checking for $ac_hdr" >&5
    2852 
    2853 cat > conftest.$ac_ext <<EOF
    2854 #line 2855 "configure"
     2836echo "configure:2837: checking for $ac_hdr" >&5
     2837
     2838cat > conftest.$ac_ext <<EOF
     2839#line 2840 "configure"
    28552840#include "confdefs.h"
    28562841#include <$ac_hdr>
    28572842EOF
    28582843ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2859 { (eval echo configure:2860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2844{ (eval echo configure:2845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    28602845ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    28612846if test -z "$ac_err"; then
     
    28862871ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    28872872echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2888 echo "configure:2889: checking for $ac_hdr" >&5
    2889 
    2890 cat > conftest.$ac_ext <<EOF
    2891 #line 2892 "configure"
     2873echo "configure:2874: checking for $ac_hdr" >&5
     2874
     2875cat > conftest.$ac_ext <<EOF
     2876#line 2877 "configure"
    28922877#include "confdefs.h"
    28932878#include <$ac_hdr>
    28942879EOF
    28952880ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2896 { (eval echo configure:2897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2881{ (eval echo configure:2882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    28972882ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    28982883if test -z "$ac_err"; then
     
    29232908ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    29242909echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2925 echo "configure:2926: checking for $ac_hdr" >&5
    2926 
    2927 cat > conftest.$ac_ext <<EOF
    2928 #line 2929 "configure"
     2910echo "configure:2911: checking for $ac_hdr" >&5
     2911
     2912cat > conftest.$ac_ext <<EOF
     2913#line 2914 "configure"
    29292914#include "confdefs.h"
    29302915#include <$ac_hdr>
    29312916EOF
    29322917ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2933 { (eval echo configure:2934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2918{ (eval echo configure:2919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    29342919ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    29352920if test -z "$ac_err"; then
     
    29602945ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    29612946echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2962 echo "configure:2963: checking for $ac_hdr" >&5
    2963 
    2964 cat > conftest.$ac_ext <<EOF
    2965 #line 2966 "configure"
     2947echo "configure:2948: checking for $ac_hdr" >&5
     2948
     2949cat > conftest.$ac_ext <<EOF
     2950#line 2951 "configure"
    29662951#include "confdefs.h"
    29672952#include <$ac_hdr>
    29682953EOF
    29692954ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2970 { (eval echo configure:2971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2955{ (eval echo configure:2956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    29712956ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    29722957if test -z "$ac_err"; then
     
    29972982ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    29982983echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2999 echo "configure:3000: checking for $ac_hdr" >&5
    3000 
    3001 cat > conftest.$ac_ext <<EOF
    3002 #line 3003 "configure"
     2984echo "configure:2985: checking for $ac_hdr" >&5
     2985
     2986cat > conftest.$ac_ext <<EOF
     2987#line 2988 "configure"
    30032988#include "confdefs.h"
    30042989#include <$ac_hdr>
    30052990EOF
    30062991ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3007 { (eval echo configure:3008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2992{ (eval echo configure:2993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    30082993ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    30092994if test -z "$ac_err"; then
     
    30313016
    30323017echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    3033 echo "configure:3034: checking whether time.h and sys/time.h may both be included" >&5
    3034 
    3035 cat > conftest.$ac_ext <<EOF
    3036 #line 3037 "configure"
     3018echo "configure:3019: checking whether time.h and sys/time.h may both be included" >&5
     3019
     3020cat > conftest.$ac_ext <<EOF
     3021#line 3022 "configure"
    30373022#include "confdefs.h"
    30383023#include <sys/types.h>
     
    30433028; return 0; }
    30443029EOF
    3045 if { (eval echo configure:3046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3030if { (eval echo configure:3031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30463031  rm -rf conftest*
    30473032  ac_cv_header_time=yes
     
    30633048
    30643049echo $ac_n "checking for off_t""... $ac_c" 1>&6
    3065 echo "configure:3066: checking for off_t" >&5
    3066 
    3067 cat > conftest.$ac_ext <<EOF
    3068 #line 3069 "configure"
     3050echo "configure:3051: checking for off_t" >&5
     3051
     3052cat > conftest.$ac_ext <<EOF
     3053#line 3054 "configure"
    30693054#include "confdefs.h"
    30703055#include <sys/types.h>
     
    30933078
    30943079echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
    3095 echo "configure:3096: checking for uid_t in sys/types.h" >&5
    3096 
    3097 cat > conftest.$ac_ext <<EOF
    3098 #line 3099 "configure"
     3080echo "configure:3081: checking for uid_t in sys/types.h" >&5
     3081
     3082cat > conftest.$ac_ext <<EOF
     3083#line 3084 "configure"
    30993084#include "confdefs.h"
    31003085#include <sys/types.h>
     
    31243109
    31253110echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    3126 echo "configure:3127: checking return type of signal handlers" >&5
    3127 
    3128 cat > conftest.$ac_ext <<EOF
    3129 #line 3130 "configure"
     3111echo "configure:3112: checking return type of signal handlers" >&5
     3112
     3113cat > conftest.$ac_ext <<EOF
     3114#line 3115 "configure"
    31303115#include "confdefs.h"
    31313116#include <sys/types.h>
     
    31443129; return 0; }
    31453130EOF
    3146 if { (eval echo configure:3147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3131if { (eval echo configure:3132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31473132  rm -rf conftest*
    31483133  ac_cv_type_signal=void
     
    31623147
    31633148echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    3164 echo "configure:3165: checking for Cygwin environment" >&5
    3165 
    3166 cat > conftest.$ac_ext <<EOF
    3167 #line 3168 "configure"
     3149echo "configure:3150: checking for Cygwin environment" >&5
     3150
     3151cat > conftest.$ac_ext <<EOF
     3152#line 3153 "configure"
    31683153#include "confdefs.h"
    31693154
     
    31763161; return 0; }
    31773162EOF
    3178 if { (eval echo configure:3179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3163if { (eval echo configure:3164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31793164  rm -rf conftest*
    31803165  ac_cv_cygwin=yes
     
    31943179do
    31953180echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3196 echo "configure:3197: checking for $ac_func" >&5
    3197 
    3198 cat > conftest.$ac_ext <<EOF
    3199 #line 3200 "configure"
     3181echo "configure:3182: checking for $ac_func" >&5
     3182
     3183cat > conftest.$ac_ext <<EOF
     3184#line 3185 "configure"
    32003185#include "confdefs.h"
    32013186/* System header to define __stub macros and hopefully few prototypes,
     
    32203205; return 0; }
    32213206EOF
    3222 if { (eval echo configure:3223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3207if { (eval echo configure:3208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32233208  rm -rf conftest*
    32243209  eval "ac_cv_func_$ac_func=yes"
     
    32463231do
    32473232echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3248 echo "configure:3249: checking for $ac_func" >&5
    3249 
    3250 cat > conftest.$ac_ext <<EOF
    3251 #line 3252 "configure"
     3233echo "configure:3234: checking for $ac_func" >&5
     3234
     3235cat > conftest.$ac_ext <<EOF
     3236#line 3237 "configure"
    32523237#include "confdefs.h"
    32533238/* System header to define __stub macros and hopefully few prototypes,
     
    32723257; return 0; }
    32733258EOF
    3274 if { (eval echo configure:3275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3259if { (eval echo configure:3260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32753260  rm -rf conftest*
    32763261  eval "ac_cv_func_$ac_func=yes"
     
    32983283do
    32993284echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3300 echo "configure:3301: checking for $ac_func" >&5
    3301 
    3302 cat > conftest.$ac_ext <<EOF
    3303 #line 3304 "configure"
     3285echo "configure:3286: checking for $ac_func" >&5
     3286
     3287cat > conftest.$ac_ext <<EOF
     3288#line 3289 "configure"
    33043289#include "confdefs.h"
    33053290/* System header to define __stub macros and hopefully few prototypes,
     
    33243309; return 0; }
    33253310EOF
    3326 if { (eval echo configure:3327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3311if { (eval echo configure:3312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    33273312  rm -rf conftest*
    33283313  eval "ac_cv_func_$ac_func=yes"
     
    33503335do
    33513336echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3352 echo "configure:3353: checking for $ac_func" >&5
    3353 
    3354 cat > conftest.$ac_ext <<EOF
    3355 #line 3356 "configure"
     3337echo "configure:3338: checking for $ac_func" >&5
     3338
     3339cat > conftest.$ac_ext <<EOF
     3340#line 3341 "configure"
    33563341#include "confdefs.h"
    33573342/* System header to define __stub macros and hopefully few prototypes,
     
    33763361; return 0; }
    33773362EOF
    3378 if { (eval echo configure:3379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3363if { (eval echo configure:3364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    33793364  rm -rf conftest*
    33803365  eval "ac_cv_func_$ac_func=yes"
     
    34023387do
    34033388echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3404 echo "configure:3405: checking for $ac_func" >&5
    3405 
    3406 cat > conftest.$ac_ext <<EOF
    3407 #line 3408 "configure"
     3389echo "configure:3390: checking for $ac_func" >&5
     3390
     3391cat > conftest.$ac_ext <<EOF
     3392#line 3393 "configure"
    34083393#include "confdefs.h"
    34093394/* System header to define __stub macros and hopefully few prototypes,
     
    34283413; return 0; }
    34293414EOF
    3430 if { (eval echo configure:3431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3415if { (eval echo configure:3416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34313416  rm -rf conftest*
    34323417  eval "ac_cv_func_$ac_func=yes"
     
    34533438if test "$cross_compiling" != "yes" ; then
    34543439echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6
    3455 echo "configure:3456: checking whether setpgrp takes no argument" >&5
     3440echo "configure:3441: checking whether setpgrp takes no argument" >&5
    34563441
    34573442if test "$cross_compiling" = yes; then
     
    34593444else
    34603445  cat > conftest.$ac_ext <<EOF
    3461 #line 3462 "configure"
     3446#line 3447 "configure"
    34623447#include "confdefs.h"
    34633448
     
    34793464
    34803465EOF
    3481 if { (eval echo configure:3482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3466if { (eval echo configure:3467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34823467then
    34833468  ac_cv_func_setpgrp_void=no
     
    35073492
    35083493echo $ac_n "checking for long long int""... $ac_c" 1>&6
    3509 echo "configure:3510: checking for long long int" >&5
    3510 cat > conftest.$ac_ext <<EOF
    3511 #line 3512 "configure"
     3494echo "configure:3495: checking for long long int" >&5
     3495cat > conftest.$ac_ext <<EOF
     3496#line 3497 "configure"
    35123497#include "confdefs.h"
    35133498
     
    35163501; return 0; }
    35173502EOF
    3518 if { (eval echo configure:3519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3503if { (eval echo configure:3504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    35193504  rm -rf conftest*
    35203505 
     
    35363521
    35373522echo $ac_n "checking for W11""... $ac_c" 1>&6
    3538 echo "configure:3539: checking for W11" >&5
     3523echo "configure:3524: checking for W11" >&5
    35393524case "$enable_w11" in
    35403525        yes|no) echo "$ac_t"""$enable_w11"" 1>&6        ;;
     
    35643549# --without-x overrides everything else, but does not touch the cache.
    35653550echo $ac_n "checking for X""... $ac_c" 1>&6
    3566 echo "configure:3567: checking for X" >&5
     3551echo "configure:3552: checking for X" >&5
    35673552
    35683553# Check whether --with-x or --without-x was given.
     
    36243609  # First, try using that file with no special directory specified.
    36253610cat > conftest.$ac_ext <<EOF
    3626 #line 3627 "configure"
     3611#line 3612 "configure"
    36273612#include "confdefs.h"
    36283613#include <$x_direct_test_include>
    36293614EOF
    36303615ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3631 { (eval echo configure:3632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3616{ (eval echo configure:3617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    36323617ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    36333618if test -z "$ac_err"; then
     
    36983683  LIBS="-l$x_direct_test_library $LIBS"
    36993684cat > conftest.$ac_ext <<EOF
    3700 #line 3701 "configure"
     3685#line 3686 "configure"
    37013686#include "confdefs.h"
    37023687
     
    37053690; return 0; }
    37063691EOF
    3707 if { (eval echo configure:3708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3692if { (eval echo configure:3693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37083693  rm -rf conftest*
    37093694  LIBS="$ac_save_LIBS"
     
    38103795    "SunOS 5"*)
    38113796      echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
    3812 echo "configure:3813: checking whether -R must be followed by a space" >&5
     3797echo "configure:3798: checking whether -R must be followed by a space" >&5
    38133798      ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
    38143799      cat > conftest.$ac_ext <<EOF
    3815 #line 3816 "configure"
    3816 #include "confdefs.h"
    3817 
    3818 int main() {
    3819 
    3820 ; return 0; }
    3821 EOF
    3822 if { (eval echo configure:3823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3800#line 3801 "configure"
     3801#include "confdefs.h"
     3802
     3803int main() {
     3804
     3805; return 0; }
     3806EOF
     3807if { (eval echo configure:3808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38233808  rm -rf conftest*
    38243809  ac_R_nospace=yes
     
    38363821        LIBS="$ac_xsave_LIBS -R $x_libraries"
    38373822        cat > conftest.$ac_ext <<EOF
    3838 #line 3839 "configure"
    3839 #include "confdefs.h"
    3840 
    3841 int main() {
    3842 
    3843 ; return 0; }
    3844 EOF
    3845 if { (eval echo configure:3846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3823#line 3824 "configure"
     3824#include "confdefs.h"
     3825
     3826int main() {
     3827
     3828; return 0; }
     3829EOF
     3830if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38463831  rm -rf conftest*
    38473832  ac_R_space=yes
     
    38753860    # the Alpha needs dnet_stub (dnet does not exist).
    38763861    echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
    3877 echo "configure:3878: checking for dnet_ntoa in -ldnet" >&5
     3862echo "configure:3863: checking for dnet_ntoa in -ldnet" >&5
    38783863ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
    38793864
     
    38813866LIBS="-ldnet  $LIBS"
    38823867cat > conftest.$ac_ext <<EOF
    3883 #line 3884 "configure"
     3868#line 3869 "configure"
    38843869#include "confdefs.h"
    38853870/* Override any gcc2 internal prototype to avoid an error.  */
     
    38923877; return 0; }
    38933878EOF
    3894 if { (eval echo configure:3895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3879if { (eval echo configure:3880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38953880  rm -rf conftest*
    38963881  eval "ac_cv_lib_$ac_lib_var=yes"
     
    39133898    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
    39143899      echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
    3915 echo "configure:3916: checking for dnet_ntoa in -ldnet_stub" >&5
     3900echo "configure:3901: checking for dnet_ntoa in -ldnet_stub" >&5
    39163901ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
    39173902
     
    39193904LIBS="-ldnet_stub  $LIBS"
    39203905cat > conftest.$ac_ext <<EOF
    3921 #line 3922 "configure"
     3906#line 3907 "configure"
    39223907#include "confdefs.h"
    39233908/* Override any gcc2 internal prototype to avoid an error.  */
     
    39303915; return 0; }
    39313916EOF
    3932 if { (eval echo configure:3933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3917if { (eval echo configure:3918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39333918  rm -rf conftest*
    39343919  eval "ac_cv_lib_$ac_lib_var=yes"
     
    39583943    # on Irix 5.2, according to dickey@clark.net.
    39593944    echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
    3960 echo "configure:3961: checking for gethostbyname" >&5
    3961 
    3962 cat > conftest.$ac_ext <<EOF
    3963 #line 3964 "configure"
     3945echo "configure:3946: checking for gethostbyname" >&5
     3946
     3947cat > conftest.$ac_ext <<EOF
     3948#line 3949 "configure"
    39643949#include "confdefs.h"
    39653950/* System header to define __stub macros and hopefully few prototypes,
     
    39843969; return 0; }
    39853970EOF
    3986 if { (eval echo configure:3987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3971if { (eval echo configure:3972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39873972  rm -rf conftest*
    39883973  eval "ac_cv_func_gethostbyname=yes"
     
    40043989    if test $ac_cv_func_gethostbyname = no; then
    40053990      echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    4006 echo "configure:4007: checking for gethostbyname in -lnsl" >&5
     3991echo "configure:3992: checking for gethostbyname in -lnsl" >&5
    40073992ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    40083993
     
    40103995LIBS="-lnsl  $LIBS"
    40113996cat > conftest.$ac_ext <<EOF
    4012 #line 4013 "configure"
     3997#line 3998 "configure"
    40133998#include "confdefs.h"
    40143999/* Override any gcc2 internal prototype to avoid an error.  */
     
    40214006; return 0; }
    40224007EOF
    4023 if { (eval echo configure:4024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4008if { (eval echo configure:4009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40244009  rm -rf conftest*
    40254010  eval "ac_cv_lib_$ac_lib_var=yes"
     
    40504035    # We assume that if connect needs -lnsl, so does gethostbyname.
    40514036    echo $ac_n "checking for connect""... $ac_c" 1>&6
    4052 echo "configure:4053: checking for connect" >&5
    4053 
    4054 cat > conftest.$ac_ext <<EOF
    4055 #line 4056 "configure"
     4037echo "configure:4038: checking for connect" >&5
     4038
     4039cat > conftest.$ac_ext <<EOF
     4040#line 4041 "configure"
    40564041#include "confdefs.h"
    40574042/* System header to define __stub macros and hopefully few prototypes,
     
    40764061; return 0; }
    40774062EOF
    4078 if { (eval echo configure:4079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4063if { (eval echo configure:4064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40794064  rm -rf conftest*
    40804065  eval "ac_cv_func_connect=yes"
     
    40964081    if test $ac_cv_func_connect = no; then
    40974082      echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
    4098 echo "configure:4099: checking for connect in -lsocket" >&5
     4083echo "configure:4084: checking for connect in -lsocket" >&5
    40994084ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
    41004085
     
    41024087LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
    41034088cat > conftest.$ac_ext <<EOF
    4104 #line 4105 "configure"
     4089#line 4090 "configure"
    41054090#include "confdefs.h"
    41064091/* Override any gcc2 internal prototype to avoid an error.  */
     
    41134098; return 0; }
    41144099EOF
    4115 if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4100if { (eval echo configure:4101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41164101  rm -rf conftest*
    41174102  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41364121    # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
    41374122    echo $ac_n "checking for remove""... $ac_c" 1>&6
    4138 echo "configure:4139: checking for remove" >&5
    4139 
    4140 cat > conftest.$ac_ext <<EOF
    4141 #line 4142 "configure"
     4123echo "configure:4124: checking for remove" >&5
     4124
     4125cat > conftest.$ac_ext <<EOF
     4126#line 4127 "configure"
    41424127#include "confdefs.h"
    41434128/* System header to define __stub macros and hopefully few prototypes,
     
    41624147; return 0; }
    41634148EOF
    4164 if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4149if { (eval echo configure:4150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41654150  rm -rf conftest*
    41664151  eval "ac_cv_func_remove=yes"
     
    41824167    if test $ac_cv_func_remove = no; then
    41834168      echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
    4184 echo "configure:4185: checking for remove in -lposix" >&5
     4169echo "configure:4170: checking for remove in -lposix" >&5
    41854170ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
    41864171
     
    41884173LIBS="-lposix  $LIBS"
    41894174cat > conftest.$ac_ext <<EOF
    4190 #line 4191 "configure"
     4175#line 4176 "configure"
    41914176#include "confdefs.h"
    41924177/* Override any gcc2 internal prototype to avoid an error.  */
     
    41994184; return 0; }
    42004185EOF
    4201 if { (eval echo configure:4202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4186if { (eval echo configure:4187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42024187  rm -rf conftest*
    42034188  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42224207    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
    42234208    echo $ac_n "checking for shmat""... $ac_c" 1>&6
    4224 echo "configure:4225: checking for shmat" >&5
    4225 
    4226 cat > conftest.$ac_ext <<EOF
    4227 #line 4228 "configure"
     4209echo "configure:4210: checking for shmat" >&5
     4210
     4211cat > conftest.$ac_ext <<EOF
     4212#line 4213 "configure"
    42284213#include "confdefs.h"
    42294214/* System header to define __stub macros and hopefully few prototypes,
     
    42484233; return 0; }
    42494234EOF
    4250 if { (eval echo configure:4251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4235if { (eval echo configure:4236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42514236  rm -rf conftest*
    42524237  eval "ac_cv_func_shmat=yes"
     
    42684253    if test $ac_cv_func_shmat = no; then
    42694254      echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
    4270 echo "configure:4271: checking for shmat in -lipc" >&5
     4255echo "configure:4256: checking for shmat in -lipc" >&5
    42714256ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
    42724257
     
    42744259LIBS="-lipc  $LIBS"
    42754260cat > conftest.$ac_ext <<EOF
    4276 #line 4277 "configure"
     4261#line 4262 "configure"
    42774262#include "confdefs.h"
    42784263/* Override any gcc2 internal prototype to avoid an error.  */
     
    42854270; return 0; }
    42864271EOF
    4287 if { (eval echo configure:4288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4272if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42884273  rm -rf conftest*
    42894274  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43174302  #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
    43184303  echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
    4319 echo "configure:4320: checking for IceConnectionNumber in -lICE" >&5
     4304echo "configure:4305: checking for IceConnectionNumber in -lICE" >&5
    43204305ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
    43214306
     
    43234308LIBS="-lICE $X_EXTRA_LIBS $LIBS"
    43244309cat > conftest.$ac_ext <<EOF
    4325 #line 4326 "configure"
     4310#line 4311 "configure"
    43264311#include "confdefs.h"
    43274312/* Override any gcc2 internal prototype to avoid an error.  */
     
    43344319; return 0; }
    43354320EOF
    4336 if { (eval echo configure:4337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4321if { (eval echo configure:4322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43374322  rm -rf conftest*
    43384323  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43744359
    43754360echo $ac_n "checking for library containing cuserid""... $ac_c" 1>&6
    4376 echo "configure:4377: checking for library containing cuserid" >&5
     4361echo "configure:4362: checking for library containing cuserid" >&5
    43774362
    43784363ac_func_search_save_LIBS="$LIBS"
    43794364ac_cv_search_cuserid="no"
    43804365cat > conftest.$ac_ext <<EOF
    4381 #line 4382 "configure"
     4366#line 4367 "configure"
    43824367#include "confdefs.h"
    43834368/* Override any gcc2 internal prototype to avoid an error.  */
     
    43904375; return 0; }
    43914376EOF
    4392 if { (eval echo configure:4393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4377if { (eval echo configure:4378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43934378  rm -rf conftest*
    43944379  ac_cv_search_cuserid="none required"
     
    44014386LIBS="-l$i  $ac_func_search_save_LIBS"
    44024387cat > conftest.$ac_ext <<EOF
    4403 #line 4404 "configure"
     4388#line 4389 "configure"
    44044389#include "confdefs.h"
    44054390/* Override any gcc2 internal prototype to avoid an error.  */
     
    44124397; return 0; }
    44134398EOF
    4414 if { (eval echo configure:4415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4399if { (eval echo configure:4400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44154400  rm -rf conftest*
    44164401  ac_cv_search_cuserid="-l$i"
     
    44384423
    44394424echo $ac_n "checking for xdrmem_create""... $ac_c" 1>&6
    4440 echo "configure:4441: checking for xdrmem_create" >&5
    4441 
    4442 cat > conftest.$ac_ext <<EOF
    4443 #line 4444 "configure"
     4425echo "configure:4426: checking for xdrmem_create" >&5
     4426
     4427cat > conftest.$ac_ext <<EOF
     4428#line 4429 "configure"
    44444429#include "confdefs.h"
    44454430/* System header to define __stub macros and hopefully few prototypes,
     
    44644449; return 0; }
    44654450EOF
    4466 if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4451if { (eval echo configure:4452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44674452  rm -rf conftest*
    44684453  eval "ac_cv_func_xdrmem_create=yes"
     
    44824467
    44834468echo $ac_n "checking for xdrmem_create in -lsun""... $ac_c" 1>&6
    4484 echo "configure:4485: checking for xdrmem_create in -lsun" >&5
     4469echo "configure:4470: checking for xdrmem_create in -lsun" >&5
    44854470ac_lib_var=`echo sun'_'xdrmem_create | sed 'y%./+-%__p_%'`
    44864471
     
    44884473LIBS="-lsun  $LIBS"
    44894474cat > conftest.$ac_ext <<EOF
    4490 #line 4491 "configure"
     4475#line 4476 "configure"
    44914476#include "confdefs.h"
    44924477/* Override any gcc2 internal prototype to avoid an error.  */
     
    44994484; return 0; }
    45004485EOF
    4501 if { (eval echo configure:4502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4486if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45024487  rm -rf conftest*
    45034488  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45184503
    45194504echo $ac_n "checking for xdrmem_create in -lnsl""... $ac_c" 1>&6
    4520 echo "configure:4521: checking for xdrmem_create in -lnsl" >&5
     4505echo "configure:4506: checking for xdrmem_create in -lnsl" >&5
    45214506ac_lib_var=`echo nsl'_'xdrmem_create | sed 'y%./+-%__p_%'`
    45224507
     
    45244509LIBS="-lnsl  $LIBS"
    45254510cat > conftest.$ac_ext <<EOF
    4526 #line 4527 "configure"
     4511#line 4512 "configure"
    45274512#include "confdefs.h"
    45284513/* Override any gcc2 internal prototype to avoid an error.  */
     
    45354520; return 0; }
    45364521EOF
    4537 if { (eval echo configure:4538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4522if { (eval echo configure:4523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45384523  rm -rf conftest*
    45394524  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45544539
    45554540echo $ac_n "checking for xdrmem_create in -lrpclib""... $ac_c" 1>&6
    4556 echo "configure:4557: checking for xdrmem_create in -lrpclib" >&5
     4541echo "configure:4542: checking for xdrmem_create in -lrpclib" >&5
    45574542ac_lib_var=`echo rpclib'_'xdrmem_create | sed 'y%./+-%__p_%'`
    45584543
     
    45604545LIBS="-lrpclib  $LIBS"
    45614546cat > conftest.$ac_ext <<EOF
    4562 #line 4563 "configure"
     4547#line 4548 "configure"
    45634548#include "confdefs.h"
    45644549/* Override any gcc2 internal prototype to avoid an error.  */
     
    45714556; return 0; }
    45724557EOF
    4573 if { (eval echo configure:4574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4558if { (eval echo configure:4559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45744559  rm -rf conftest*
    45754560  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45904575
    45914576echo $ac_n "checking for xdrmem_create in -lxdr""... $ac_c" 1>&6
    4592 echo "configure:4593: checking for xdrmem_create in -lxdr" >&5
     4577echo "configure:4578: checking for xdrmem_create in -lxdr" >&5
    45934578ac_lib_var=`echo xdr'_'xdrmem_create | sed 'y%./+-%__p_%'`
    45944579
     
    45964581LIBS="-lxdr -liberty -lws2_32  $LIBS"
    45974582cat > conftest.$ac_ext <<EOF
    4598 #line 4599 "configure"
     4583#line 4584 "configure"
    45994584#include "confdefs.h"
    46004585/* Override any gcc2 internal prototype to avoid an error.  */
     
    46074592; return 0; }
    46084593EOF
    4609 if { (eval echo configure:4610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4594if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46104595  rm -rf conftest*
    46114596  eval "ac_cv_lib_$ac_lib_var=yes"
     
    46414626do
    46424627echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    4643 echo "configure:4644: checking for $ac_func" >&5
    4644 
    4645 cat > conftest.$ac_ext <<EOF
    4646 #line 4647 "configure"
     4628echo "configure:4629: checking for $ac_func" >&5
     4629
     4630cat > conftest.$ac_ext <<EOF
     4631#line 4632 "configure"
    46474632#include "confdefs.h"
    46484633/* System header to define __stub macros and hopefully few prototypes,
     
    46674652; return 0; }
    46684653EOF
    4669 if { (eval echo configure:4670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4654if { (eval echo configure:4655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46704655  rm -rf conftest*
    46714656  eval "ac_cv_func_$ac_func=yes"
     
    46944679# Test if mathlib needs -lm flag or is included with libc
    46954680echo $ac_n "checking for atan""... $ac_c" 1>&6
    4696 echo "configure:4697: checking for atan" >&5
    4697 
    4698 cat > conftest.$ac_ext <<EOF
    4699 #line 4700 "configure"
     4681echo "configure:4682: checking for atan" >&5
     4682
     4683cat > conftest.$ac_ext <<EOF
     4684#line 4685 "configure"
    47004685#include "confdefs.h"
    47014686/* System header to define __stub macros and hopefully few prototypes,
     
    47204705; return 0; }
    47214706EOF
    4722 if { (eval echo configure:4723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4707if { (eval echo configure:4708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47234708  rm -rf conftest*
    47244709  eval "ac_cv_func_atan=yes"
     
    47384723
    47394724echo $ac_n "checking for atan in -lm""... $ac_c" 1>&6
    4740 echo "configure:4741: checking for atan in -lm" >&5
     4725echo "configure:4726: checking for atan in -lm" >&5
    47414726ac_lib_var=`echo m'_'atan | sed 'y%./+-%__p_%'`
    47424727
     
    47444729LIBS="-lm  $LIBS"
    47454730cat > conftest.$ac_ext <<EOF
    4746 #line 4747 "configure"
     4731#line 4732 "configure"
    47474732#include "confdefs.h"
    47484733/* Override any gcc2 internal prototype to avoid an error.  */
     
    47554740; return 0; }
    47564741EOF
    4757 if { (eval echo configure:4758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4742if { (eval echo configure:4743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47584743  rm -rf conftest*
    47594744  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47824767
    47834768echo $ac_n "checking for dlsym""... $ac_c" 1>&6
    4784 echo "configure:4785: checking for dlsym" >&5
    4785 
    4786 cat > conftest.$ac_ext <<EOF
    4787 #line 4788 "configure"
     4769echo "configure:4770: checking for dlsym" >&5
     4770
     4771cat > conftest.$ac_ext <<EOF
     4772#line 4773 "configure"
    47884773#include "confdefs.h"
    47894774/* System header to define __stub macros and hopefully few prototypes,
     
    48084793; return 0; }
    48094794EOF
    4810 if { (eval echo configure:4811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4795if { (eval echo configure:4796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48114796  rm -rf conftest*
    48124797  eval "ac_cv_func_dlsym=yes"
     
    48264811
    48274812echo $ac_n "checking for dlsym in -ldl""... $ac_c" 1>&6
    4828 echo "configure:4829: checking for dlsym in -ldl" >&5
     4813echo "configure:4814: checking for dlsym in -ldl" >&5
    48294814ac_lib_var=`echo dl'_'dlsym | sed 'y%./+-%__p_%'`
    48304815
     
    48324817LIBS="-ldl  $LIBS"
    48334818cat > conftest.$ac_ext <<EOF
    4834 #line 4835 "configure"
     4819#line 4820 "configure"
    48354820#include "confdefs.h"
    48364821/* Override any gcc2 internal prototype to avoid an error.  */
     
    48434828; return 0; }
    48444829EOF
    4845 if { (eval echo configure:4846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4830if { (eval echo configure:4831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48464831  rm -rf conftest*
    48474832  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48704855
    48714856echo $ac_n "checking for iconv""... $ac_c" 1>&6
    4872 echo "configure:4873: checking for iconv" >&5
    4873 
    4874 cat > conftest.$ac_ext <<EOF
    4875 #line 4876 "configure"
     4857echo "configure:4858: checking for iconv" >&5
     4858
     4859cat > conftest.$ac_ext <<EOF
     4860#line 4861 "configure"
    48764861#include "confdefs.h"
    48774862/* System header to define __stub macros and hopefully few prototypes,
     
    48964881; return 0; }
    48974882EOF
    4898 if { (eval echo configure:4899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4883if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48994884  rm -rf conftest*
    49004885  eval "ac_cv_func_iconv=yes"
     
    49144899
    49154900echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
    4916 echo "configure:4917: checking for iconv in -liconv" >&5
     4901echo "configure:4902: checking for iconv in -liconv" >&5
    49174902ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
    49184903
     
    49204905LIBS="-liconv  $LIBS"
    49214906cat > conftest.$ac_ext <<EOF
    4922 #line 4923 "configure"
     4907#line 4908 "configure"
    49234908#include "confdefs.h"
    49244909/* Override any gcc2 internal prototype to avoid an error.  */
     
    49314916; return 0; }
    49324917EOF
    4933 if { (eval echo configure:4934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4918if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    49344919  rm -rf conftest*
    49354920  eval "ac_cv_lib_$ac_lib_var=yes"
     
    49504935
    49514936echo $ac_n "checking for iconv in -lgiconv""... $ac_c" 1>&6
    4952 echo "configure:4953: checking for iconv in -lgiconv" >&5
     4937echo "configure:4938: checking for iconv in -lgiconv" >&5
    49534938ac_lib_var=`echo giconv'_'iconv | sed 'y%./+-%__p_%'`
    49544939
     
    49564941LIBS="-lgiconv  $LIBS"
    49574942cat > conftest.$ac_ext <<EOF
    4958 #line 4959 "configure"
     4943#line 4944 "configure"
    49594944#include "confdefs.h"
    49604945/* Override any gcc2 internal prototype to avoid an error.  */
     
    49674952; return 0; }
    49684953EOF
    4969 if { (eval echo configure:4970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4954if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    49704955  rm -rf conftest*
    49714956  eval "ac_cv_lib_$ac_lib_var=yes"
     
    49864971
    49874972echo $ac_n "checking for libiconv""... $ac_c" 1>&6
    4988 echo "configure:4989: checking for libiconv" >&5
    4989 
    4990 cat > conftest.$ac_ext <<EOF
    4991 #line 4992 "configure"
     4973echo "configure:4974: checking for libiconv" >&5
     4974
     4975cat > conftest.$ac_ext <<EOF
     4976#line 4977 "configure"
    49924977#include "confdefs.h"
    49934978/* System header to define __stub macros and hopefully few prototypes,
     
    50124997; return 0; }
    50134998EOF
    5014 if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4999if { (eval echo configure:5000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    50155000  rm -rf conftest*
    50165001  eval "ac_cv_func_libiconv=yes"
     
    50305015
    50315016echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6
    5032 echo "configure:5033: checking for libiconv in -liconv" >&5
     5017echo "configure:5018: checking for libiconv in -liconv" >&5
    50335018ac_lib_var=`echo iconv'_'libiconv | sed 'y%./+-%__p_%'`
    50345019
     
    50365021LIBS="-liconv  $LIBS"
    50375022cat > conftest.$ac_ext <<EOF
    5038 #line 5039 "configure"
     5023#line 5024 "configure"
    50395024#include "confdefs.h"
    50405025/* Override any gcc2 internal prototype to avoid an error.  */
     
    50475032; return 0; }
    50485033EOF
    5049 if { (eval echo configure:5050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5034if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    50505035  rm -rf conftest*
    50515036  eval "ac_cv_lib_$ac_lib_var=yes"
     
    50665051
    50675052echo $ac_n "checking for libiconv in -lgiconv""... $ac_c" 1>&6
    5068 echo "configure:5069: checking for libiconv in -lgiconv" >&5
     5053echo "configure:5054: checking for libiconv in -lgiconv" >&5
    50695054ac_lib_var=`echo giconv'_'libiconv | sed 'y%./+-%__p_%'`
    50705055
     
    50725057LIBS="-lgiconv  $LIBS"
    50735058cat > conftest.$ac_ext <<EOF
    5074 #line 5075 "configure"
     5059#line 5060 "configure"
    50755060#include "confdefs.h"
    50765061/* Override any gcc2 internal prototype to avoid an error.  */
     
    50835068; return 0; }
    50845069EOF
    5085 if { (eval echo configure:5086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5070if { (eval echo configure:5071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    50865071  rm -rf conftest*
    50875072  eval "ac_cv_lib_$ac_lib_var=yes"
     
    51205105have_socket=1
    51215106echo $ac_n "checking for socket""... $ac_c" 1>&6
    5122 echo "configure:5123: checking for socket" >&5
    5123 
    5124 cat > conftest.$ac_ext <<EOF
    5125 #line 5126 "configure"
     5107echo "configure:5108: checking for socket" >&5
     5108
     5109cat > conftest.$ac_ext <<EOF
     5110#line 5111 "configure"
    51265111#include "confdefs.h"
    51275112/* System header to define __stub macros and hopefully few prototypes,
     
    51465131; return 0; }
    51475132EOF
    5148 if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5133if { (eval echo configure:5134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    51495134  rm -rf conftest*
    51505135  eval "ac_cv_func_socket=yes"
     
    51645149
    51655150echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
    5166 echo "configure:5167: checking for socket in -lsocket" >&5
     5151echo "configure:5152: checking for socket in -lsocket" >&5
    51675152ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
    51685153
     
    51705155LIBS="-lsocket  $LIBS"
    51715156cat > conftest.$ac_ext <<EOF
    5172 #line 5173 "configure"
     5157#line 5158 "configure"
    51735158#include "confdefs.h"
    51745159/* Override any gcc2 internal prototype to avoid an error.  */
     
    51815166; return 0; }
    51825167EOF
    5183 if { (eval echo configure:5184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5168if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    51845169  rm -rf conftest*
    51855170  eval "ac_cv_lib_$ac_lib_var=yes"
     
    52295214
    52305215echo $ac_n "checking for location of zlib includes""... $ac_c" 1>&6
    5231 echo "configure:5232: checking for location of zlib includes" >&5
     5216echo "configure:5217: checking for location of zlib includes" >&5
    52325217case "$with_zlib_includes" in
    52335218y | ye | yes | n | no)
     
    52555240ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    52565241echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5257 echo "configure:5258: checking for $ac_hdr" >&5
    5258 
    5259 cat > conftest.$ac_ext <<EOF
    5260 #line 5261 "configure"
     5242echo "configure:5243: checking for $ac_hdr" >&5
     5243
     5244cat > conftest.$ac_ext <<EOF
     5245#line 5246 "configure"
    52615246#include "confdefs.h"
    52625247#include <$ac_hdr>
    52635248EOF
    52645249ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5265 { (eval echo configure:5266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5250{ (eval echo configure:5251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    52665251ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    52675252if test -z "$ac_err"; then
     
    52975282
    52985283echo $ac_n "checking for location of zlib library""... $ac_c" 1>&6
    5299 echo "configure:5300: checking for location of zlib library" >&5
     5284echo "configure:5285: checking for location of zlib library" >&5
    53005285case "$with_zlib_libs" in
    53015286y | ye | yes | n | no)
     
    53225307
    53235308echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
    5324 echo "configure:5325: checking for deflate in -lz" >&5
     5309echo "configure:5310: checking for deflate in -lz" >&5
    53255310ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
    53265311
     
    53285313LIBS="-lz  $LIBS"
    53295314cat > conftest.$ac_ext <<EOF
    5330 #line 5331 "configure"
     5315#line 5316 "configure"
    53315316#include "confdefs.h"
    53325317/* Override any gcc2 internal prototype to avoid an error.  */
     
    53395324; return 0; }
    53405325EOF
    5341 if { (eval echo configure:5342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5326if { (eval echo configure:5327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    53425327  rm -rf conftest*
    53435328  eval "ac_cv_lib_$ac_lib_var=yes"
     
    53875372
    53885373echo $ac_n "checking for location of External PROJ.4 includes""... $ac_c" 1>&6
    5389 echo "configure:5390: checking for location of External PROJ.4 includes" >&5
     5374echo "configure:5375: checking for location of External PROJ.4 includes" >&5
    53905375case "$with_proj_includes" in
    53915376y | ye | yes | n | no)
     
    54135398ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    54145399echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5415 echo "configure:5416: checking for $ac_hdr" >&5
    5416 
    5417 cat > conftest.$ac_ext <<EOF
    5418 #line 5419 "configure"
     5400echo "configure:5401: checking for $ac_hdr" >&5
     5401
     5402cat > conftest.$ac_ext <<EOF
     5403#line 5404 "configure"
    54195404#include "confdefs.h"
    54205405#include <$ac_hdr>
    54215406EOF
    54225407ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5423 { (eval echo configure:5424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5408{ (eval echo configure:5409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    54245409ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    54255410if test -z "$ac_err"; then
     
    54585443   
    54595444echo $ac_n "checking External PROJ.4 version""... $ac_c" 1>&6
    5460 echo "configure:5461: checking External PROJ.4 version" >&5
     5445echo "configure:5446: checking External PROJ.4 version" >&5
    54615446ac_save_cppflags="$CPPFLAGS"
    54625447CPPFLAGS="$PROJINC $CPPFLAGS"
     
    54665451else
    54675452  cat > conftest.$ac_ext <<EOF
    5468 #line 5469 "configure"
     5453#line 5454 "configure"
    54695454#include "confdefs.h"
    54705455
     
    54785463   
    54795464EOF
    5480 if { (eval echo configure:5481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     5465if { (eval echo configure:5466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    54815466then
    54825467     proj_ver=`cat conftestdata`
     
    55035488
    55045489echo $ac_n "checking for location of External PROJ.4 library""... $ac_c" 1>&6
    5505 echo "configure:5506: checking for location of External PROJ.4 library" >&5
     5490echo "configure:5491: checking for location of External PROJ.4 library" >&5
    55065491case "$with_proj_libs" in
    55075492y | ye | yes | n | no)
     
    55285513
    55295514echo $ac_n "checking for pj_get_def in -lproj""... $ac_c" 1>&6
    5530 echo "configure:5531: checking for pj_get_def in -lproj" >&5
     5515echo "configure:5516: checking for pj_get_def in -lproj" >&5
    55315516ac_lib_var=`echo proj'_'pj_get_def | sed 'y%./+-%__p_%'`
    55325517
     
    55345519LIBS="-lproj  $LIBS"
    55355520cat > conftest.$ac_ext <<EOF
    5536 #line 5537 "configure"
     5521#line 5522 "configure"
    55375522#include "confdefs.h"
    55385523/* Override any gcc2 internal prototype to avoid an error.  */
     
    55455530; return 0; }
    55465531EOF
    5547 if { (eval echo configure:5548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5532if { (eval echo configure:5533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    55485533  rm -rf conftest*
    55495534  eval "ac_cv_lib_$ac_lib_var=yes"
     
    55795564
    55805565echo $ac_n "checking for location of External PROJ.4 data files""... $ac_c" 1>&6
    5581 echo "configure:5582: checking for location of External PROJ.4 data files" >&5
     5566echo "configure:5567: checking for location of External PROJ.4 data files" >&5
    55825567case "$with_proj_share" in
    55835568y | ye | yes | n | no)
     
    56035588if test "$cross_compiling" = "yes" ; then
    56045589    echo $ac_n "checking for epsg""... $ac_c" 1>&6
    5605 echo "configure:5606: checking for epsg" >&5
     5590echo "configure:5591: checking for epsg" >&5
    56065591    echo "$ac_t""unknown (cross-compiling)" 1>&6
    56075592else
     
    56105595ac_safe=`echo "$PROJSHARE/epsg" | sed 'y%./+-%__p_%'`
    56115596echo $ac_n "checking for $PROJSHARE/epsg""... $ac_c" 1>&6
    5612 echo "configure:5613: checking for $PROJSHARE/epsg" >&5
     5597echo "configure:5598: checking for $PROJSHARE/epsg" >&5
    56135598
    56145599if test "$cross_compiling" = yes; then
     
    56425627set dummy nad2bin; ac_word=$2
    56435628echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    5644 echo "configure:5645: checking for $ac_word" >&5
     5629echo "configure:5630: checking for $ac_word" >&5
    56455630
    56465631case "$NAD2BIN" in
     
    56825667
    56835668echo $ac_n "checking whether to use regex""... $ac_c" 1>&6
    5684 echo "configure:5685: checking whether to use regex" >&5
     5669echo "configure:5670: checking whether to use regex" >&5
    56855670echo "$ac_t"""$with_regex"" 1>&6
    56865671case "$with_regex" in
     
    57025687
    57035688echo $ac_n "checking for location of regex includes""... $ac_c" 1>&6
    5704 echo "configure:5705: checking for location of regex includes" >&5
     5689echo "configure:5690: checking for location of regex includes" >&5
    57055690case "$with_regex_includes" in
    57065691y | ye | yes | n | no)
     
    57285713ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    57295714echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5730 echo "configure:5731: checking for $ac_hdr" >&5
    5731 
    5732 cat > conftest.$ac_ext <<EOF
    5733 #line 5734 "configure"
     5715echo "configure:5716: checking for $ac_hdr" >&5
     5716
     5717cat > conftest.$ac_ext <<EOF
     5718#line 5719 "configure"
    57345719#include "confdefs.h"
    57355720#include <$ac_hdr>
    57365721EOF
    57375722ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5738 { (eval echo configure:5739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5723{ (eval echo configure:5724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    57395724ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    57405725if test -z "$ac_err"; then
     
    57705755
    57715756echo $ac_n "checking for location of regex library""... $ac_c" 1>&6
    5772 echo "configure:5773: checking for location of regex library" >&5
     5757echo "configure:5758: checking for location of regex library" >&5
    57735758case "$with_regex_libs" in
    57745759y | ye | yes | n | no)
     
    57955780LDFLAGS=" $LDFLAGS"
    57965781echo $ac_n "checking for regcomp""... $ac_c" 1>&6
    5797 echo "configure:5798: checking for regcomp" >&5
    5798 
    5799 cat > conftest.$ac_ext <<EOF
    5800 #line 5801 "configure"
     5782echo "configure:5783: checking for regcomp" >&5
     5783
     5784cat > conftest.$ac_ext <<EOF
     5785#line 5786 "configure"
    58015786#include "confdefs.h"
    58025787/* System header to define __stub macros and hopefully few prototypes,
     
    58215806; return 0; }
    58225807EOF
    5823 if { (eval echo configure:5824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5808if { (eval echo configure:5809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    58245809  rm -rf conftest*
    58255810  eval "ac_cv_func_regcomp=yes"
     
    58485833
    58495834echo $ac_n "checking for regcomp in -lregex""... $ac_c" 1>&6
    5850 echo "configure:5851: checking for regcomp in -lregex" >&5
     5835echo "configure:5836: checking for regcomp in -lregex" >&5
    58515836ac_lib_var=`echo regex'_'regcomp | sed 'y%./+-%__p_%'`
    58525837
     
    58545839LIBS="-lregex  $LIBS"
    58555840cat > conftest.$ac_ext <<EOF
    5856 #line 5857 "configure"
     5841#line 5842 "configure"
    58575842#include "confdefs.h"
    58585843/* Override any gcc2 internal prototype to avoid an error.  */
     
    58655850; return 0; }
    58665851EOF
    5867 if { (eval echo configure:5868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5852if { (eval echo configure:5853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    58685853  rm -rf conftest*
    58695854  eval "ac_cv_lib_$ac_lib_var=yes"
     
    59155900
    59165901echo $ac_n "checking whether to use Readline""... $ac_c" 1>&6
    5917 echo "configure:5918: checking whether to use Readline" >&5
     5902echo "configure:5903: checking whether to use Readline" >&5
    59185903echo "$ac_t"""$with_readline"" 1>&6
    59195904case "$with_readline" in
     
    59365921
    59375922echo $ac_n "checking for location of Readline includes""... $ac_c" 1>&6
    5938 echo "configure:5939: checking for location of Readline includes" >&5
     5923echo "configure:5924: checking for location of Readline includes" >&5
    59395924case "$with_readline_includes" in
    59405925y | ye | yes | n | no)
     
    59625947ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    59635948echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5964 echo "configure:5965: checking for $ac_hdr" >&5
    5965 
    5966 cat > conftest.$ac_ext <<EOF
    5967 #line 5968 "configure"
     5949echo "configure:5950: checking for $ac_hdr" >&5
     5950
     5951cat > conftest.$ac_ext <<EOF
     5952#line 5953 "configure"
    59685953#include "confdefs.h"
    59695954#include <$ac_hdr>
    59705955EOF
    59715956ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5972 { (eval echo configure:5973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5957{ (eval echo configure:5958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    59735958ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    59745959if test -z "$ac_err"; then
     
    60065991ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    60075992echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    6008 echo "configure:6009: checking for $ac_hdr" >&5
    6009 
    6010 cat > conftest.$ac_ext <<EOF
    6011 #line 6012 "configure"
     5993echo "configure:5994: checking for $ac_hdr" >&5
     5994
     5995cat > conftest.$ac_ext <<EOF
     5996#line 5997 "configure"
    60125997#include "confdefs.h"
    60135998#include <$ac_hdr>
    60145999EOF
    60156000ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    6016 { (eval echo configure:6017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     6001{ (eval echo configure:6002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    60176002ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    60186003if test -z "$ac_err"; then
     
    60486033
    60496034echo $ac_n "checking for location of Readline library""... $ac_c" 1>&6
    6050 echo "configure:6051: checking for location of Readline library" >&5
     6035echo "configure:6036: checking for location of Readline library" >&5
    60516036case "$with_readline_libs" in
    60526037y | ye | yes | n | no)
     
    60736058
    60746059echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
    6075 echo "configure:6076: checking for readline in -lreadline" >&5
     6060echo "configure:6061: checking for readline in -lreadline" >&5
    60766061ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
    60776062
     
    60796064LIBS="-lreadline  $LIBS"
    60806065cat > conftest.$ac_ext <<EOF
    6081 #line 6082 "configure"
     6066#line 6067 "configure"
    60826067#include "confdefs.h"
    60836068/* Override any gcc2 internal prototype to avoid an error.  */
     
    60906075; return 0; }
    60916076EOF
    6092 if { (eval echo configure:6093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6077if { (eval echo configure:6078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    60936078  rm -rf conftest*
    60946079  eval "ac_cv_lib_$ac_lib_var=yes"
     
    61256110
    61266111echo $ac_n "checking for add_history in -lhistory""... $ac_c" 1>&6
    6127 echo "configure:6128: checking for add_history in -lhistory" >&5
     6112echo "configure:6113: checking for add_history in -lhistory" >&5
    61286113ac_lib_var=`echo history'_'add_history | sed 'y%./+-%__p_%'`
    61296114
     
    61316116LIBS="-lhistory  $LIBS"
    61326117cat > conftest.$ac_ext <<EOF
    6133 #line 6134 "configure"
     6118#line 6119 "configure"
    61346119#include "confdefs.h"
    61356120/* Override any gcc2 internal prototype to avoid an error.  */
     
    61426127; return 0; }
    61436128EOF
    6144 if { (eval echo configure:6145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6129if { (eval echo configure:6130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    61456130  rm -rf conftest*
    61466131  eval "ac_cv_lib_$ac_lib_var=yes"
     
    61856170
    61866171echo $ac_n "checking whether to use JPEG""... $ac_c" 1>&6
    6187 echo "configure:6188: checking whether to use JPEG" >&5
     6172echo "configure:6173: checking whether to use JPEG" >&5
    61886173echo "$ac_t"""$with_jpeg"" 1>&6
    61896174case "$with_jpeg" in
     
    62056190
    62066191echo $ac_n "checking for location of JPEG includes""... $ac_c" 1>&6
    6207 echo "configure:6208: checking for location of JPEG includes" >&5
     6192echo "configure:6193: checking for location of JPEG includes" >&5
    62086193case "$with_jpeg_includes" in
    62096194y | ye | yes | n | no)
     
    62316216ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    62326217echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    6233 echo "configure:6234: checking for $ac_hdr" >&5
    6234 
    6235 cat > conftest.$ac_ext <<EOF
    6236 #line 6237 "configure"
     6218echo "configure:6219: checking for $ac_hdr" >&5
     6219
     6220cat > conftest.$ac_ext <<EOF
     6221#line 6222 "configure"
    62376222#include "confdefs.h"
    62386223#include <$ac_hdr>
    62396224EOF
    62406225ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    6241 { (eval echo configure:6242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     6226{ (eval echo configure:6227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    62426227ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    62436228if test -z "$ac_err"; then
     
    62736258
    62746259echo $ac_n "checking for location of JPEG library""... $ac_c" 1>&6
    6275 echo "configure:6276: checking for location of JPEG library" >&5
     6260echo "configure:6261: checking for location of JPEG library" >&5
    62766261case "$with_jpeg_libs" in
    62776262y | ye | yes | n | no)
     
    63006285
    63016286echo $ac_n "checking for jpeg_start_compress in -ljpeg""... $ac_c" 1>&6
    6302 echo "configure:6303: checking for jpeg_start_compress in -ljpeg" >&5
     6287echo "configure:6288: checking for jpeg_start_compress in -ljpeg" >&5
    63036288ac_lib_var=`echo jpeg'_'jpeg_start_compress | sed 'y%./+-%__p_%'`
    63046289
     
    63066291LIBS="-ljpeg  $LIBS"
    63076292cat > conftest.$ac_ext <<EOF
    6308 #line 6309 "configure"
     6293#line 6294 "configure"
    63096294#include "confdefs.h"
    63106295/* Override any gcc2 internal prototype to avoid an error.  */
     
    63176302; return 0; }
    63186303EOF
    6319 if { (eval echo configure:6320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6304if { (eval echo configure:6305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    63206305  rm -rf conftest*
    63216306  eval "ac_cv_lib_$ac_lib_var=yes"
     
    63366321
    63376322echo $ac_n "checking for jpeg_start_compress in -ljpeg""... $ac_c" 1>&6
    6338 echo "configure:6339: checking for jpeg_start_compress in -ljpeg" >&5
     6323echo "configure:6324: checking for jpeg_start_compress in -ljpeg" >&5
    63396324ac_lib_var=`echo jpeg'_'jpeg_start_compress | sed 'y%./+-%__p_%'`
    63406325
     
    63426327LIBS="-ljpeg $ZLIB $LIBS"
    63436328cat > conftest.$ac_ext <<EOF
    6344 #line 6345 "configure"
     6329#line 6330 "configure"
    63456330#include "confdefs.h"
    63466331/* Override any gcc2 internal prototype to avoid an error.  */
     
    63536338; return 0; }
    63546339EOF
    6355 if { (eval echo configure:6356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6340if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    63566341  rm -rf conftest*
    63576342  eval "ac_cv_lib_$ac_lib_var=yes"
     
    64026387
    64036388echo $ac_n "checking whether to use GDAL""... $ac_c" 1>&6
    6404 echo "configure:6405: checking whether to use GDAL" >&5
     6389echo "configure:6390: checking whether to use GDAL" >&5
    64056390
    64066391GDAL_LIBS=
     
    64206405set dummy gdal-config; ac_word=$2
    64216406echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    6422 echo "configure:6423: checking for $ac_word" >&5
     6407echo "configure:6408: checking for $ac_word" >&5
    64236408
    64246409case "$GDAL_CONFIG" in
     
    64756460  CFLAGS="$CFLAGS $GDAL_CFLAGS"
    64766461  cat > conftest.$ac_ext <<EOF
    6477 #line 6478 "configure"
     6462#line 6463 "configure"
    64786463#include "confdefs.h"
    64796464#include <gdal.h>
     
    64826467; return 0; }
    64836468EOF
    6484 if { (eval echo configure:6485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6469if { (eval echo configure:6470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    64856470  :
    64866471else
     
    64916476  LIBS="$LIBS $GDAL_DEP_LIBS"
    64926477  cat > conftest.$ac_ext <<EOF
    6493 #line 6494 "configure"
     6478#line 6479 "configure"
    64946479#include "confdefs.h"
    64956480#include <gdal.h>
     
    64986483; return 0; }
    64996484EOF
    6500 if { (eval echo configure:6501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6485if { (eval echo configure:6486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    65016486  rm -rf conftest*
    65026487  GDAL_LIBS="$GDAL_LIBS $GDAL_DEP_LIBS"
     
    65306515
    65316516echo $ac_n "checking whether to use GEOS""... $ac_c" 1>&6
    6532 echo "configure:6533: checking whether to use GEOS" >&5
     6517echo "configure:6518: checking whether to use GEOS" >&5
    65336518
    65346519GEOS_LIBS=
     
    65486533set dummy geos-config; ac_word=$2
    65496534echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    6550 echo "configure:6551: checking for $ac_word" >&5
     6535echo "configure:6536: checking for $ac_word" >&5
    65516536
    65526537case "$GEOS_CONFIG" in
     
    65966581ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    65976582echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    6598 echo "configure:6599: checking for $ac_hdr" >&5
    6599 
    6600 cat > conftest.$ac_ext <<EOF
    6601 #line 6602 "configure"
     6583echo "configure:6584: checking for $ac_hdr" >&5
     6584
     6585cat > conftest.$ac_ext <<EOF
     6586#line 6587 "configure"
    66026587#include "confdefs.h"
    66036588#include <$ac_hdr>
    66046589EOF
    66056590ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    6606 { (eval echo configure:6607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     6591{ (eval echo configure:6592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    66076592ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    66086593if test -z "$ac_err"; then
     
    66396624
    66406625echo $ac_n "checking for initGEOS in -lgeos_c""... $ac_c" 1>&6
    6641 echo "configure:6642: checking for initGEOS in -lgeos_c" >&5
     6626echo "configure:6627: checking for initGEOS in -lgeos_c" >&5
    66426627ac_lib_var=`echo geos_c'_'initGEOS | sed 'y%./+-%__p_%'`
    66436628
     
    66456630LIBS="-lgeos_c  $LIBS"
    66466631cat > conftest.$ac_ext <<EOF
    6647 #line 6648 "configure"
     6632#line 6633 "configure"
    66486633#include "confdefs.h"
    66496634/* Override any gcc2 internal prototype to avoid an error.  */
     
    66566641; return 0; }
    66576642EOF
    6658 if { (eval echo configure:6659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6643if { (eval echo configure:6644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    66596644  rm -rf conftest*
    66606645  eval "ac_cv_lib_$ac_lib_var=yes"
     
    66996684
    67006685echo $ac_n "checking whether to use TIFF""... $ac_c" 1>&6
    6701 echo "configure:6702: checking whether to use TIFF" >&5
     6686echo "configure:6687: checking whether to use TIFF" >&5
    67026687echo "$ac_t"""$with_tiff"" 1>&6
    67036688case "$with_tiff" in
     
    67196704
    67206705echo $ac_n "checking for location of TIFF includes""... $ac_c" 1>&6
    6721 echo "configure:6722: checking for location of TIFF includes" >&5
     6706echo "configure:6707: checking for location of TIFF includes" >&5
    67226707case "$with_tiff_includes" in
    67236708y | ye | yes | n | no)
     
    67456730ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    67466731echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    6747 echo "configure:6748: checking for $ac_hdr" >&5
    6748 
    6749 cat > conftest.$ac_ext <<EOF
    6750 #line 6751 "configure"
     6732echo "configure:6733: checking for $ac_hdr" >&5
     6733
     6734cat > conftest.$ac_ext <<EOF
     6735#line 6736 "configure"
    67516736#include "confdefs.h"
    67526737#include <$ac_hdr>
    67536738EOF
    67546739ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    6755 { (eval echo configure:6756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     6740{ (eval echo configure:6741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    67566741ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    67576742if test -z "$ac_err"; then
     
    67876772
    67886773echo $ac_n "checking for location of TIFF library""... $ac_c" 1>&6
    6789 echo "configure:6790: checking for location of TIFF library" >&5
     6774echo "configure:6775: checking for location of TIFF library" >&5
    67906775case "$with_tiff_libs" in
    67916776y | ye | yes | n | no)
     
    68186803
    68196804echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6
    6820 echo "configure:6821: checking for TIFFOpen in -ltiff" >&5
     6805echo "configure:6806: checking for TIFFOpen in -ltiff" >&5
    68216806ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'`
    68226807
     
    68246809LIBS="-ltiff  $LIBS"
    68256810cat > conftest.$ac_ext <<EOF
    6826 #line 6827 "configure"
     6811#line 6812 "configure"
    68276812#include "confdefs.h"
    68286813/* Override any gcc2 internal prototype to avoid an error.  */
     
    68356820; return 0; }
    68366821EOF
    6837 if { (eval echo configure:6838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6822if { (eval echo configure:6823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    68386823  rm -rf conftest*
    68396824  eval "ac_cv_lib_$ac_lib_var=yes"
     
    68546839
    68556840echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6
    6856 echo "configure:6857: checking for TIFFOpen in -ltiff" >&5
     6841echo "configure:6842: checking for TIFFOpen in -ltiff" >&5
    68576842ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'`
    68586843
     
    68606845LIBS="-ltiff $MATHLIB $LIBS"
    68616846cat > conftest.$ac_ext <<EOF
    6862 #line 6863 "configure"
     6847#line 6848 "configure"
    68636848#include "confdefs.h"
    68646849/* Override any gcc2 internal prototype to avoid an error.  */
     
    68716856; return 0; }
    68726857EOF
    6873 if { (eval echo configure:6874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6858if { (eval echo configure:6859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    68746859  rm -rf conftest*
    68756860  eval "ac_cv_lib_$ac_lib_var=yes"
     
    68906875
    68916876echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6
    6892 echo "configure:6893: checking for TIFFOpen in -ltiff" >&5
     6877echo "configure:6878: checking for TIFFOpen in -ltiff" >&5
    68936878ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'`
    68946879
     
    68966881LIBS="-ltiff $ZLIB $LIBS"
    68976882cat > conftest.$ac_ext <<EOF
    6898 #line 6899 "configure"
     6883#line 6884 "configure"
    68996884#include "confdefs.h"
    69006885/* Override any gcc2 internal prototype to avoid an error.  */
     
    69076892; return 0; }
    69086893EOF
    6909 if { (eval echo configure:6910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6894if { (eval echo configure:6895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    69106895  rm -rf conftest*
    69116896  eval "ac_cv_lib_$ac_lib_var=yes"
     
    69266911
    69276912echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6
    6928 echo "configure:6929: checking for TIFFOpen in -ltiff" >&5
     6913echo "configure:6914: checking for TIFFOpen in -ltiff" >&5
    69296914ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'`
    69306915
     
    69326917LIBS="-ltiff $ZLIB $MATHLIB $LIBS"
    69336918cat > conftest.$ac_ext <<EOF
    6934 #line 6935 "configure"
     6919#line 6920 "configure"
    69356920#include "confdefs.h"
    69366921/* Override any gcc2 internal prototype to avoid an error.  */
     
    69436928; return 0; }
    69446929EOF
    6945 if { (eval echo configure:6946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6930if { (eval echo configure:6931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    69466931  rm -rf conftest*
    69476932  eval "ac_cv_lib_$ac_lib_var=yes"
     
    69626947
    69636948echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6
    6964 echo "configure:6965: checking for TIFFOpen in -ltiff" >&5
     6949echo "configure:6950: checking for TIFFOpen in -ltiff" >&5
    69656950ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'`
    69666951
     
    69686953LIBS="-ltiff $JPEGLIBPATH $JPEGLIB $LIBS"
    69696954cat > conftest.$ac_ext <<EOF
    6970 #line 6971 "configure"
     6955#line 6956 "configure"
    69716956#include "confdefs.h"
    69726957/* Override any gcc2 internal prototype to avoid an error.  */
     
    69796964; return 0; }
    69806965EOF
    6981 if { (eval echo configure:6982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6966if { (eval echo configure:6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    69826967  rm -rf conftest*
    69836968  eval "ac_cv_lib_$ac_lib_var=yes"
     
    69986983
    69996984echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6
    7000 echo "configure:7001: checking for TIFFOpen in -ltiff" >&5
     6985echo "configure:6986: checking for TIFFOpen in -ltiff" >&5
    70016986ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'`
    70026987
     
    70046989LIBS="-ltiff $JPEGLIBPATH $JPEGLIB $MATHLIB $LIBS"
    70056990cat > conftest.$ac_ext <<EOF
    7006 #line 7007 "configure"
     6991#line 6992 "configure"
    70076992#include "confdefs.h"
    70086993/* Override any gcc2 internal prototype to avoid an error.  */
     
    70157000; return 0; }
    70167001EOF
    7017 if { (eval echo configure:7018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7002if { (eval echo configure:7003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    70187003  rm -rf conftest*
    70197004  eval "ac_cv_lib_$ac_lib_var=yes"
     
    70347019
    70357020echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6
    7036 echo "configure:7037: checking for TIFFOpen in -ltiff" >&5
     7021echo "configure:7022: checking for TIFFOpen in -ltiff" >&5
    70377022ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'`
    70387023
     
    70407025LIBS="-ltiff $JPEGLIBPATH $JPEGLIB $ZLIB $LIBS"
    70417026cat > conftest.$ac_ext <<EOF
    7042 #line 7043 "configure"
     7027#line 7028 "configure"
    70437028#include "confdefs.h"
    70447029/* Override any gcc2 internal prototype to avoid an error.  */
     
    70517036; return 0; }
    70527037EOF
    7053 if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7038if { (eval echo configure:7039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    70547039  rm -rf conftest*
    70557040  eval "ac_cv_lib_$ac_lib_var=yes"
     
    70707055
    70717056echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6
    7072 echo "configure:7073: checking for TIFFOpen in -ltiff" >&5
     7057echo "configure:7058: checking for TIFFOpen in -ltiff" >&5
    70737058ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'`
    70747059
     
    70767061LIBS="-ltiff $JPEGLIBPATH $JPEGLIB $ZLIB $MATHLIB $LIBS"
    70777062cat > conftest.$ac_ext <<EOF
    7078 #line 7079 "configure"
     7063#line 7064 "configure"
    70797064#include "confdefs.h"
    70807065/* Override any gcc2 internal prototype to avoid an error.  */
     
    70877072; return 0; }
    70887073EOF
    7089 if { (eval echo configure:7090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7074if { (eval echo configure:7075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    70907075  rm -rf conftest*
    70917076  eval "ac_cv_lib_$ac_lib_var=yes"
     
    71857170
    71867171echo $ac_n "checking whether to use PNG""... $ac_c" 1>&6
    7187 echo "configure:7188: checking whether to use PNG" >&5
     7172echo "configure:7173: checking whether to use PNG" >&5
    71887173echo "$ac_t"""$with_png"" 1>&6
    71897174case "$with_png" in
     
    72047189
    72057190echo $ac_n "checking for location of PNG includes""... $ac_c" 1>&6
    7206 echo "configure:7207: checking for location of PNG includes" >&5
     7191echo "configure:7192: checking for location of PNG includes" >&5
    72077192case "$with_png_includes" in
    72087193y | ye | yes | n | no)
     
    72307215ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    72317216echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    7232 echo "configure:7233: checking for $ac_hdr" >&5
    7233 
    7234 cat > conftest.$ac_ext <<EOF
    7235 #line 7236 "configure"
     7217echo "configure:7218: checking for $ac_hdr" >&5
     7218
     7219cat > conftest.$ac_ext <<EOF
     7220#line 7221 "configure"
    72367221#include "confdefs.h"
    72377222#include <$ac_hdr>
    72387223EOF
    72397224ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    7240 { (eval echo configure:7241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     7225{ (eval echo configure:7226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    72417226ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    72427227if test -z "$ac_err"; then
     
    72727257
    72737258echo $ac_n "checking for location of PNG library""... $ac_c" 1>&6
    7274 echo "configure:7275: checking for location of PNG library" >&5
     7259echo "configure:7260: checking for location of PNG library" >&5
    72757260case "$with_png_libs" in
    72767261y | ye | yes | n | no)
     
    72977282
    72987283echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
    7299 echo "configure:7300: checking for png_read_image in -lpng" >&5
     7284echo "configure:7285: checking for png_read_image in -lpng" >&5
    73007285ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
    73017286
     
    73037288LIBS="-lpng $ZLIB $MATHLIB $LIBS"
    73047289cat > conftest.$ac_ext <<EOF
    7305 #line 7306 "configure"
     7290#line 7291 "configure"
    73067291#include "confdefs.h"
    73077292/* Override any gcc2 internal prototype to avoid an error.  */
     
    73147299; return 0; }
    73157300EOF
    7316 if { (eval echo configure:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7301if { (eval echo configure:7302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    73177302  rm -rf conftest*
    73187303  eval "ac_cv_lib_$ac_lib_var=yes"
     
    73567341
    73577342echo $ac_n "checking whether to use PostgreSQL""... $ac_c" 1>&6
    7358 echo "configure:7359: checking whether to use PostgreSQL" >&5
     7343echo "configure:7344: checking whether to use PostgreSQL" >&5
    73597344echo "$ac_t"""$with_postgres"" 1>&6
    73607345case "$with_postgres" in
     
    73837368
    73847369echo $ac_n "checking for location of PostgreSQL includes""... $ac_c" 1>&6
    7385 echo "configure:7386: checking for location of PostgreSQL includes" >&5
     7370echo "configure:7371: checking for location of PostgreSQL includes" >&5
    73867371case "$with_postgres_includes" in
    73877372y | ye | yes | n | no)
     
    74097394ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    74107395echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    7411 echo "configure:7412: checking for $ac_hdr" >&5
    7412 
    7413 cat > conftest.$ac_ext <<EOF
    7414 #line 7415 "configure"
     7396echo "configure:7397: checking for $ac_hdr" >&5
     7397
     7398cat > conftest.$ac_ext <<EOF
     7399#line 7400 "configure"
    74157400#include "confdefs.h"
    74167401#include <$ac_hdr>
    74177402EOF
    74187403ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    7419 { (eval echo configure:7420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     7404{ (eval echo configure:7405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    74207405ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    74217406if test -z "$ac_err"; then
     
    74557440
    74567441echo $ac_n "checking for location of PostgreSQL library""... $ac_c" 1>&6
    7457 echo "configure:7458: checking for location of PostgreSQL library" >&5
     7442echo "configure:7443: checking for location of PostgreSQL library" >&5
    74587443case "$with_postgres_libs" in
    74597444y | ye | yes | n | no)
     
    74847469
    74857470echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6
    7486 echo "configure:7487: checking for PQsetdbLogin in -lpq" >&5
     7471echo "configure:7472: checking for PQsetdbLogin in -lpq" >&5
    74877472ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'`
    74887473
     
    74907475LIBS="-lpq  $LIBS"
    74917476cat > conftest.$ac_ext <<EOF
    7492 #line 7493 "configure"
     7477#line 7478 "configure"
    74937478#include "confdefs.h"
    74947479/* Override any gcc2 internal prototype to avoid an error.  */
     
    75017486; return 0; }
    75027487EOF
    7503 if { (eval echo configure:7504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7488if { (eval echo configure:7489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    75047489  rm -rf conftest*
    75057490  eval "ac_cv_lib_$ac_lib_var=yes"
     
    75207505
    75217506echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6
    7522 echo "configure:7523: checking for PQsetdbLogin in -lpq" >&5
     7507echo "configure:7508: checking for PQsetdbLogin in -lpq" >&5
    75237508ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'`
    75247509
     
    75267511LIBS="-lpq -lssl -lcrypto $LIBS"
    75277512cat > conftest.$ac_ext <<EOF
    7528 #line 7529 "configure"
     7513#line 7514 "configure"
    75297514#include "confdefs.h"
    75307515/* Override any gcc2 internal prototype to avoid an error.  */
     
    75377522; return 0; }
    75387523EOF
    7539 if { (eval echo configure:7540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7524if { (eval echo configure:7525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    75407525  rm -rf conftest*
    75417526  eval "ac_cv_lib_$ac_lib_var=yes"
     
    75567541
    75577542echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6
    7558 echo "configure:7559: checking for PQsetdbLogin in -lpq" >&5
     7543echo "configure:7544: checking for PQsetdbLogin in -lpq" >&5
    75597544ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'`
    75607545
     
    75627547LIBS="-lpq -lcrypt $LIBS"
    75637548cat > conftest.$ac_ext <<EOF
    7564 #line 7565 "configure"
     7549#line 7550 "configure"
    75657550#include "confdefs.h"
    75667551/* Override any gcc2 internal prototype to avoid an error.  */
     
    75737558; return 0; }
    75747559EOF
    7575 if { (eval echo configure:7576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7560if { (eval echo configure:7561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    75767561  rm -rf conftest*
    75777562  eval "ac_cv_lib_$ac_lib_var=yes"
     
    75927577
    75937578echo $ac_n "checking for PQsetdbLogin in -lpq""... $ac_c" 1>&6
    7594 echo "configure:7595: checking for PQsetdbLogin in -lpq" >&5
     7579echo "configure:7580: checking for PQsetdbLogin in -lpq" >&5
    75957580ac_lib_var=`echo pq'_'PQsetdbLogin | sed 'y%./+-%__p_%'`
    75967581
     
    75987583LIBS="-lpq -lcrypt -lssl -lcrypto $LIBS"
    75997584cat > conftest.$ac_ext <<EOF
    7600 #line 7601 "configure"
     7585#line 7586 "configure"
    76017586#include "confdefs.h"
    76027587/* Override any gcc2 internal prototype to avoid an error.  */
     
    76097594; return 0; }
    76107595EOF
    7611 if { (eval echo configure:7612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7596if { (eval echo configure:7597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    76127597  rm -rf conftest*
    76137598  eval "ac_cv_lib_$ac_lib_var=yes"
     
    76667651LDFLAGS="$LDFLAGS $PQLIBPATH"
    76677652echo $ac_n "checking for PQcmdTuples in -lpq""... $ac_c" 1>&6
    7668 echo "configure:7669: checking for PQcmdTuples in -lpq" >&5
     7653echo "configure:7654: checking for PQcmdTuples in -lpq" >&5
    76697654ac_lib_var=`echo pq'_'PQcmdTuples | sed 'y%./+-%__p_%'`
    76707655
     
    76727657LIBS="-lpq  $LIBS"
    76737658cat > conftest.$ac_ext <<EOF
    7674 #line 7675 "configure"
     7659#line 7660 "configure"
    76757660#include "confdefs.h"
    76767661/* Override any gcc2 internal prototype to avoid an error.  */
     
    76837668; return 0; }
    76847669EOF
    7685 if { (eval echo configure:7686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7670if { (eval echo configure:7671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    76867671  rm -rf conftest*
    76877672  eval "ac_cv_lib_$ac_lib_var=yes"
     
    77057690
    77067691echo $ac_n "checking for PQcmdTuples in -lpq""... $ac_c" 1>&6
    7707 echo "configure:7708: checking for PQcmdTuples in -lpq" >&5
     7692echo "configure:7693: checking for PQcmdTuples in -lpq" >&5
    77087693ac_lib_var=`echo pq'_'PQcmdTuples | sed 'y%./+-%__p_%'`
    77097694
     
    77117696LIBS="-lpq -lcrypt $LIBS"
    77127697cat > conftest.$ac_ext <<EOF
    7713 #line 7714 "configure"
     7698#line 7699 "configure"
    77147699#include "confdefs.h"
    77157700/* Override any gcc2 internal prototype to avoid an error.  */
     
    77227707; return 0; }
    77237708EOF
    7724 if { (eval echo configure:7725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7709if { (eval echo configure:7710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    77257710  rm -rf conftest*
    77267711  eval "ac_cv_lib_$ac_lib_var=yes"
     
    77657750
    77667751echo $ac_n "checking whether to use MySQL""... $ac_c" 1>&6
    7767 echo "configure:7768: checking whether to use MySQL" >&5
     7752echo "configure:7753: checking whether to use MySQL" >&5
    77687753echo "$ac_t"""$with_mysql"" 1>&6
    77697754case "$with_mysql" in
     
    77857770
    77867771echo $ac_n "checking for location of MySQL includes""... $ac_c" 1>&6
    7787 echo "configure:7788: checking for location of MySQL includes" >&5
     7772echo "configure:7773: checking for location of MySQL includes" >&5
    77887773case "$with_mysql_includes" in
    77897774y | ye | yes | n | no)
     
    78117796ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    78127797echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    7813 echo "configure:7814: checking for $ac_hdr" >&5
    7814 
    7815 cat > conftest.$ac_ext <<EOF
    7816 #line 7817 "configure"
     7798echo "configure:7799: checking for $ac_hdr" >&5
     7799
     7800cat > conftest.$ac_ext <<EOF
     7801#line 7802 "configure"
    78177802#include "confdefs.h"
    78187803#include <$ac_hdr>
    78197804EOF
    78207805ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    7821 { (eval echo configure:7822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     7806{ (eval echo configure:7807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    78227807ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    78237808if test -z "$ac_err"; then
     
    78567841 
    78577842echo $ac_n "checking for location of MySQL library""... $ac_c" 1>&6
    7858 echo "configure:7859: checking for location of MySQL library" >&5
     7843echo "configure:7844: checking for location of MySQL library" >&5
    78597844case "$with_mysql_libs" in
    78607845y | ye | yes | n | no)
     
    78877872
    78887873echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6
    7889 echo "configure:7890: checking for mysql_query in -lmysqlclient" >&5
     7874echo "configure:7875: checking for mysql_query in -lmysqlclient" >&5
    78907875ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'`
    78917876
     
    78937878LIBS="-lmysqlclient  $LIBS"
    78947879cat > conftest.$ac_ext <<EOF
    7895 #line 7896 "configure"
     7880#line 7881 "configure"
    78967881#include "confdefs.h"
    78977882/* Override any gcc2 internal prototype to avoid an error.  */
     
    79047889; return 0; }
    79057890EOF
    7906 if { (eval echo configure:7907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7891if { (eval echo configure:7892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    79077892  rm -rf conftest*
    79087893  eval "ac_cv_lib_$ac_lib_var=yes"
     
    79237908
    79247909echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6
    7925 echo "configure:7926: checking for mysql_query in -lmysqlclient" >&5
     7910echo "configure:7911: checking for mysql_query in -lmysqlclient" >&5
    79267911ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'`
    79277912
     
    79297914LIBS="-lmysqlclient $MATHLIB $LIBS"
    79307915cat > conftest.$ac_ext <<EOF
    7931 #line 7932 "configure"
     7916#line 7917 "configure"
    79327917#include "confdefs.h"
    79337918/* Override any gcc2 internal prototype to avoid an error.  */
     
    79407925; return 0; }
    79417926EOF
    7942 if { (eval echo configure:7943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7927if { (eval echo configure:7928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    79437928  rm -rf conftest*
    79447929  eval "ac_cv_lib_$ac_lib_var=yes"
     
    79597944
    79607945echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6
    7961 echo "configure:7962: checking for mysql_query in -lmysqlclient" >&5
     7946echo "configure:7947: checking for mysql_query in -lmysqlclient" >&5
    79627947ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'`
    79637948
     
    79657950LIBS="-lmysqlclient $SOCKLIB $LIBS"
    79667951cat > conftest.$ac_ext <<EOF
    7967 #line 7968 "configure"
     7952#line 7953 "configure"
    79687953#include "confdefs.h"
    79697954/* Override any gcc2 internal prototype to avoid an error.  */
     
    79767961; return 0; }
    79777962EOF
    7978 if { (eval echo configure:7979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7963if { (eval echo configure:7964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    79797964  rm -rf conftest*
    79807965  eval "ac_cv_lib_$ac_lib_var=yes"
     
    79957980
    79967981echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6
    7997 echo "configure:7998: checking for mysql_query in -lmysqlclient" >&5
     7982echo "configure:7983: checking for mysql_query in -lmysqlclient" >&5
    79987983ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'`
    79997984
     
    80017986LIBS="-lmysqlclient $SOCKLIB $MATHLIB $LIBS"
    80027987cat > conftest.$ac_ext <<EOF
    8003 #line 8004 "configure"
     7988#line 7989 "configure"
    80047989#include "confdefs.h"
    80057990/* Override any gcc2 internal prototype to avoid an error.  */
     
    80127997; return 0; }
    80137998EOF
    8014 if { (eval echo configure:8015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     7999if { (eval echo configure:8000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    80158000  rm -rf conftest*
    80168001  eval "ac_cv_lib_$ac_lib_var=yes"
     
    80318016
    80328017echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6
    8033 echo "configure:8034: checking for mysql_query in -lmysqlclient" >&5
     8018echo "configure:8019: checking for mysql_query in -lmysqlclient" >&5
    80348019ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'`
    80358020
     
    80378022LIBS="-lmysqlclient $ZLIB $LIBS"
    80388023cat > conftest.$ac_ext <<EOF
    8039 #line 8040 "configure"
     8024#line 8025 "configure"
    80408025#include "confdefs.h"
    80418026/* Override any gcc2 internal prototype to avoid an error.  */
     
    80488033; return 0; }
    80498034EOF
    8050 if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     8035if { (eval echo configure:8036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    80518036  rm -rf conftest*
    80528037  eval "ac_cv_lib_$ac_lib_var=yes"
     
    80678052
    80688053echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6
    8069 echo "configure:8070: checking for mysql_query in -lmysqlclient" >&5
     8054echo "configure:8055: checking for mysql_query in -lmysqlclient" >&5
    80708055ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'`
    80718056
     
    80738058LIBS="-lmysqlclient $ZLIB $MATHLIB $LIBS"
    80748059cat > conftest.$ac_ext <<EOF
    8075 #line 8076 "configure"
     8060#line 8061 "configure"
    80768061#include "confdefs.h"
    80778062/* Override any gcc2 internal prototype to avoid an error.  */
     
    80848069; return 0; }
    80858070EOF
    8086 if { (eval echo configure:8087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     8071if { (eval echo configure:8072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    80878072  rm -rf conftest*
    80888073  eval "ac_cv_lib_$ac_lib_var=yes"
     
    81038088
    81048089echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6
    8105 echo "configure:8106: checking for mysql_query in -lmysqlclient" >&5
     8090echo "configure:8091: checking for mysql_query in -lmysqlclient" >&5
    81068091ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'`
    81078092
     
    81098094LIBS="-lmysqlclient $ZLIB $SOCKLIB $LIBS"
    81108095cat > conftest.$ac_ext <<EOF
    8111 #line 8112 "configure"
     8096#line 8097 "configure"
    81128097#include "confdefs.h"
    81138098/* Override any gcc2 internal prototype to avoid an error.  */
     
    81208105; return 0; }
    81218106EOF
    8122 if { (eval echo configure:8123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     8107if { (eval echo configure:8108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    81238108  rm -rf conftest*
    81248109  eval "ac_cv_lib_$ac_lib_var=yes"
     
    81398124
    81408125echo $ac_n "checking for mysql_query in -lmysqlclient""... $ac_c" 1>&6
    8141 echo "configure:8142: checking for mysql_query in -lmysqlclient" >&5
     8126echo "configure:8127: checking for mysql_query in -lmysqlclient" >&5
    81428127ac_lib_var=`echo mysqlclient'_'mysql_query | sed 'y%./+-%__p_%'`
    81438128
     
    81458130LIBS="-lmysqlclient $ZLIB $SOCKLIB $MATHLIB $LIBS"
    81468131cat > conftest.$ac_ext <<EOF
    8147 #line 8148 "configure"
     8132#line 8133 "configure"
    81488133#include "confdefs.h"
    81498134/* Override any gcc2 internal prototype to avoid an error.  */
     
    81568141; return 0; }
    81578142EOF
    8158 if { (eval echo configure:8159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     8143if { (eval echo configure:8144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    81598144  rm -rf conftest*
    81608145  eval "ac_cv_lib_$ac_lib_var=yes"
     
    82468231set dummy mysql_config; ac_word=$2
    82478232echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    8248 echo "configure:8249: checking for $ac_word" >&5
     8233echo "configure:8234: checking for $ac_word" >&5
    82498234
    82508235case "$MYSQLD_CONFIG" in
     
    82958280    LIBS="$MYSQLDLIB $LIBS"
    82968281    echo $ac_n "checking for mysql_server_init""... $ac_c" 1>&6
    8297 echo "configure:8298: checking for mysql_server_init" >&5
    8298 
    8299 cat > conftest.$ac_ext <<EOF
    8300 #line 8301 "configure"
     8282echo "configure:8283: checking for mysql_server_init" >&5
     8283
     8284cat > conftest.$ac_ext <<EOF
     8285#line 8286 "configure"
    83018286#include "confdefs.h"
    83028287/* System header to define __stub macros and hopefully few prototypes,
     
    83248309; return 0; }
    83258310EOF
    8326 if { (eval echo configure:8327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     8311if { (eval echo configure:8312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    83278312  rm -rf conftest*
    83288313  eval "ac_cv_func_mysql_server_init=yes"
     
    83768361
    83778362echo $ac_n "checking whether to use SQLite""... $ac_c" 1>&6
    8378 echo "configure:8379: checking whether to use SQLite" >&5
     8363echo "configure:8364: checking whether to use SQLite" >&5
    83798364echo "$ac_t"""$with_sqlite"" 1>&6
    83808365case "$with_sqlite" in
     
    83968381
    83978382echo $ac_n "checking for location of SQLite includes""... $ac_c" 1>&6
    8398 echo "configure:8399: checking for location of SQLite includes" >&5
     8383echo "configure:8384: checking for location of SQLite includes" >&5
    83998384case "$with_sqlite_includes" in
    84008385y | ye | yes | n | no)
     
    84228407ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    84238408echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    8424 echo "configure:8425: checking for $ac_hdr" >&5
    8425 
    8426 cat > conftest.$ac_ext <<EOF
    8427 #line 8428 "configure"
     8409echo "configure:8410: checking for $ac_hdr" >&5
     8410
     8411cat > conftest.$ac_ext <<EOF
     8412#line 8413 "configure"
    84288413#include "confdefs.h"
    84298414#include <$ac_hdr>
    84308415EOF
    84318416ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    8432 { (eval echo configure:8433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     8417{ (eval echo configure:8418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    84338418ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    84348419if test -z "$ac_err"; then
     
    84738458
    84748459echo $ac_n "checking for location of SQLite library""... $ac_c" 1>&6
    8475 echo "configure:8476: checking for location of SQLite library" >&5
     8460echo "configure:8461: checking for location of SQLite library" >&5
    84768461case "$with_sqlite_libs" in
    84778462y | ye | yes | n | no)
     
    85028487
    85038488echo $ac_n "checking for sqlite3_open in -lsqlite3""... $ac_c" 1>&6
    8504 echo "configure:8505: checking for sqlite3_open in -lsqlite3" >&5
     8489echo "configure:8490: checking for sqlite3_open in -lsqlite3" >&5
    85058490ac_lib_var=`echo sqlite3'_'sqlite3_open | sed 'y%./+-%__p_%'`
    85068491
     
    85088493LIBS="-lsqlite3  $LIBS"
    85098494cat > conftest.$ac_ext <<EOF
    8510 #line 8511 "configure"
     8495#line 8496 "configure"
    85118496#include "confdefs.h"
    85128497/* Override any gcc2 internal prototype to avoid an error.  */
     
    85198504; return 0; }
    85208505EOF
    8521 if { (eval echo configure:8522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     8506if { (eval echo configure:8507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    85228507  rm -rf conftest*
    85238508  eval "ac_cv_lib_$ac_lib_var=yes"
     
    85388523
    85398524echo $ac_n "checking for sqlite3_open in -lsqlite3""... $ac_c" 1>&6
    8540 echo "configure:8541: checking for sqlite3_open in -lsqlite3" >&5
     8525echo "configure:8526: checking for sqlite3_open in -lsqlite3" >&5
    85418526ac_lib_var=`echo sqlite3'_'sqlite3_open | sed 'y%./+-%__p_%'`
    85428527
     
    85448529LIBS="-lsqlite3 $DLLIB $LIBS"
    85458530cat > conftest.$ac_ext <<EOF
    8546 #line 8547 "configure"
     8531#line 8532 "configure"
    85478532#include "confdefs.h"
    85488533/* Override any gcc2 internal prototype to avoid an error.  */
     
    85558540; return 0; }
    85568541EOF
    8557 if { (eval echo configure:8558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     8542if { (eval echo configure:8543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    85588543  rm -rf conftest*
    85598544  eval "ac_cv_lib_$ac_lib_var=yes"
     
    85748559
    85758560echo $ac_n "checking for sqlite3_open in -lsqlite3""... $ac_c" 1>&6
    8576 echo "configure:8577: checking for sqlite3_open in -lsqlite3" >&5
     8561echo "configure:8562: checking for sqlite3_open in -lsqlite3" >&5
    85778562ac_lib_var=`echo sqlite3'_'sqlite3_open | sed 'y%./+-%__p_%'`
    85788563
     
    85808565LIBS="-lsqlite3 $MATHLIB $LIBS"
    85818566cat > conftest.$ac_ext <<EOF
    8582 #line 8583 "configure"
     8567#line 8568 "configure"
    85838568#include "confdefs.h"
    85848569/* Override any gcc2 internal prototype to avoid an error.  */
     
    85918576; return 0; }
    85928577EOF
    8593 if { (eval echo configure:8594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     8578if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    85948579  rm -rf conftest*
    85958580  eval "ac_cv_lib_$ac_lib_var=yes"
     
    86108595
    86118596echo $ac_n "checking for sqlite3_open in -lsqlite3""... $ac_c" 1>&6
    8612 echo "configure:8613: checking for sqlite3_open in -lsqlite3" >&5
     8597echo "configure:8598: checking for sqlite3_open in -lsqlite3" >&5
    86138598ac_lib_var=`echo sqlite3'_'sqlite3_open | sed 'y%./+-%__p_%'`
    86148599
     
    86168601LIBS="-lsqlite3 $MATHLIB $DLLIB $LIBS"
    86178602cat > conftest.$ac_ext <<EOF
    8618 #line 8619 "configure"
     8603#line 8604 "configure"
    86198604#include "confdefs.h"
    86208605/* Override any gcc2 internal prototype to avoid an error.  */
     
    86278612; return 0; }
    86288613EOF
    8629 if { (eval echo configure:8630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     8614if { (eval echo configure:8615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    86308615  rm -rf conftest*
    86318616  eval "ac_cv_lib_$ac_lib_var=yes"
     
    86968681
    86978682echo $ac_n "checking whether to use FFMPEG""... $ac_c" 1>&6
    8698 echo "configure:8699: checking whether to use FFMPEG" >&5
     8683echo "configure:8684: checking whether to use FFMPEG" >&5
    86998684echo "$ac_t"""$with_ffmpeg"" 1>&6
    87008685case "$with_ffmpeg" in
     
    87168701
    87178702echo $ac_n "checking for location of FFMPEG includes""... $ac_c" 1>&6
    8718 echo "configure:8719: checking for location of FFMPEG includes" >&5
     8703echo "configure:8704: checking for location of FFMPEG includes" >&5
    87198704case "$with_ffmpeg_includes" in
    87208705y | ye | yes | n | no)
     
    87428727ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    87438728echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    8744 echo "configure:8745: checking for $ac_hdr" >&5
    8745 
    8746 cat > conftest.$ac_ext <<EOF
    8747 #line 8748 "configure"
     8729echo "configure:8730: checking for $ac_hdr" >&5
     8730
     8731cat > conftest.$ac_ext <<EOF
     8732#line 8733 "configure"
    87488733#include "confdefs.h"
    87498734#include <$ac_hdr>
    87508735EOF
    87518736ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    8752 { (eval echo configure:8753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     8737{ (eval echo configure:8738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    87538738ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    87548739if test -z "$ac_err"; then
     
    87868771ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    87878772echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    8788 echo "configure:8789: checking for $ac_hdr" >&5
    8789 
    8790 cat > conftest.$ac_ext <<EOF
    8791 #line 8792 "configure"
     8773echo "configure:8774: checking for $ac_hdr" >&5
     8774
     8775cat > conftest.$ac_ext <<EOF
     8776#line 8777 "configure"
    87928777#include "confdefs.h"
    87938778#include <$ac_hdr>
    87948779EOF
    87958780ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    8796 { (eval echo configure:8797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     8781{ (eval echo configure:8782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    87978782ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    87988783if test -z "$ac_err"; then
     
    88308815ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    88318816echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    8832 echo "configure:8833: checking for $ac_hdr" >&5
    8833 
    8834 cat > conftest.$ac_ext <<EOF
    8835 #line 8836 "configure"
     8817echo "configure:8818: checking for $ac_hdr" >&5
     8818
     8819cat > conftest.$ac_ext <<EOF
     8820#line 8821 "configure"
    88368821#include "confdefs.h"
    88378822#include <$ac_hdr>
    88388823EOF
    88398824ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    8840 { (eval echo configure:8841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     8825{ (eval echo configure:8826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    88418826ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    88428827if test -z "$ac_err"; then
     
    88818866
    88828867echo $ac_n "checking for location of FFMPEG library""... $ac_c" 1>&6
    8883 echo "configure:8884: checking for location of FFMPEG library" >&5
     8868echo "configure:8869: checking for location of FFMPEG library" >&5
    88848869case "$with_ffmpeg_libs" in
    88858870y | ye | yes | n | no)
     
    89088893
    89098894echo $ac_n "checking for av_free in -lavutil""... $ac_c" 1>&6
    8910 echo "configure:8911: checking for av_free in -lavutil" >&5
     8895echo "configure:8896: checking for av_free in -lavutil" >&5
    89118896ac_lib_var=`echo avutil'_'av_free | sed 'y%./+-%__p_%'`
    89128897
     
    89148899LIBS="-lavutil  $LIBS"
    89158900cat > conftest.$ac_ext <<EOF
    8916 #line 8917 "configure"
     8901#line 8902 "configure"
    89178902#include "confdefs.h"
    89188903/* Override any gcc2 internal prototype to avoid an error.  */
     
    89258910; return 0; }
    89268911EOF
    8927 if { (eval echo configure:8928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     8912if { (eval echo configure:8913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    89288913  rm -rf conftest*
    89298914  eval "ac_cv_lib_$ac_lib_var=yes"
     
    89448929
    89458930echo $ac_n "checking for av_free in -lavutil""... $ac_c" 1>&6
    8946 echo "configure:8947: checking for av_free in -lavutil" >&5
     8931echo "configure:8932: checking for av_free in -lavutil" >&5
    89478932ac_lib_var=`echo avutil'_'av_free | sed 'y%./+-%__p_%'`
    89488933
     
    89508935LIBS="-lavutil $MATHLIB $LIBS"
    89518936cat > conftest.$ac_ext <<EOF
    8952 #line 8953 "configure"
     8937#line 8938 "configure"
    89538938#include "confdefs.h"
    89548939/* Override any gcc2 internal prototype to avoid an error.  */
     
    89618946; return 0; }
    89628947EOF
    8963 if { (eval echo configure:8964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     8948if { (eval echo configure:8949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    89648949  rm -rf conftest*
    89658950  eval "ac_cv_lib_$ac_lib_var=yes"
     
    90068991
    90078992echo $ac_n "checking for avcodec_init in -lavcodec""... $ac_c" 1>&6
    9008 echo "configure:9009: checking for avcodec_init in -lavcodec" >&5
     8993echo "configure:8994: checking for avcodec_init in -lavcodec" >&5
    90098994ac_lib_var=`echo avcodec'_'avcodec_init | sed 'y%./+-%__p_%'`
    90108995
     
    90128997LIBS="-lavcodec $FFMPEGLIB  $LIBS"
    90138998cat > conftest.$ac_ext <<EOF
    9014 #line 9015 "configure"
     8999#line 9000 "configure"
    90159000#include "confdefs.h"
    90169001/* Override any gcc2 internal prototype to avoid an error.  */
     
    90239008; return 0; }
    90249009EOF
    9025 if { (eval echo configure:9026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9010if { (eval echo configure:9011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    90269011  rm -rf conftest*
    90279012  eval "ac_cv_lib_$ac_lib_var=yes"
     
    90429027
    90439028echo $ac_n "checking for avcodec_init in -lavcodec""... $ac_c" 1>&6
    9044 echo "configure:9045: checking for avcodec_init in -lavcodec" >&5
     9029echo "configure:9030: checking for avcodec_init in -lavcodec" >&5
    90459030ac_lib_var=`echo avcodec'_'avcodec_init | sed 'y%./+-%__p_%'`
    90469031
     
    90489033LIBS="-lavcodec $FFMPEGLIB $MATHLIB $LIBS"
    90499034cat > conftest.$ac_ext <<EOF
    9050 #line 9051 "configure"
     9035#line 9036 "configure"
    90519036#include "confdefs.h"
    90529037/* Override any gcc2 internal prototype to avoid an error.  */
     
    90599044; return 0; }
    90609045EOF
    9061 if { (eval echo configure:9062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9046if { (eval echo configure:9047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    90629047  rm -rf conftest*
    90639048  eval "ac_cv_lib_$ac_lib_var=yes"
     
    91049089
    91059090echo $ac_n "checking for av_set_parameters in -lavformat""... $ac_c" 1>&6
    9106 echo "configure:9107: checking for av_set_parameters in -lavformat" >&5
     9091echo "configure:9092: checking for av_set_parameters in -lavformat" >&5
    91079092ac_lib_var=`echo avformat'_'av_set_parameters | sed 'y%./+-%__p_%'`
    91089093
     
    91109095LIBS="-lavformat $FFMPEGLIB  $LIBS"
    91119096cat > conftest.$ac_ext <<EOF
    9112 #line 9113 "configure"
     9097#line 9098 "configure"
    91139098#include "confdefs.h"
    91149099/* Override any gcc2 internal prototype to avoid an error.  */
     
    91219106; return 0; }
    91229107EOF
    9123 if { (eval echo configure:9124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9108if { (eval echo configure:9109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    91249109  rm -rf conftest*
    91259110  eval "ac_cv_lib_$ac_lib_var=yes"
     
    91409125
    91419126echo $ac_n "checking for av_set_parameters in -lavformat""... $ac_c" 1>&6
    9142 echo "configure:9143: checking for av_set_parameters in -lavformat" >&5
     9127echo "configure:9128: checking for av_set_parameters in -lavformat" >&5
    91439128ac_lib_var=`echo avformat'_'av_set_parameters | sed 'y%./+-%__p_%'`
    91449129
     
    91469131LIBS="-lavformat $FFMPEGLIB $MATHLIB $LIBS"
    91479132cat > conftest.$ac_ext <<EOF
    9148 #line 9149 "configure"
     9133#line 9134 "configure"
    91499134#include "confdefs.h"
    91509135/* Override any gcc2 internal prototype to avoid an error.  */
     
    91579142; return 0; }
    91589143EOF
    9159 if { (eval echo configure:9160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9144if { (eval echo configure:9145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    91609145  rm -rf conftest*
    91619146  eval "ac_cv_lib_$ac_lib_var=yes"
     
    92169201
    92179202echo $ac_n "checking whether to use OpenGL""... $ac_c" 1>&6
    9218 echo "configure:9219: checking whether to use OpenGL" >&5
     9203echo "configure:9204: checking whether to use OpenGL" >&5
    92199204echo "$ac_t"""$with_opengl"" 1>&6
    92209205case "$with_opengl" in
     
    92509235
    92519236echo $ac_n "checking for location of OpenGL includes""... $ac_c" 1>&6
    9252 echo "configure:9253: checking for location of OpenGL includes" >&5
     9237echo "configure:9238: checking for location of OpenGL includes" >&5
    92539238case "$with_opengl_includes" in
    92549239y | ye | yes | n | no)
     
    92769261ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    92779262echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    9278 echo "configure:9279: checking for $ac_hdr" >&5
    9279 
    9280 cat > conftest.$ac_ext <<EOF
    9281 #line 9282 "configure"
     9263echo "configure:9264: checking for $ac_hdr" >&5
     9264
     9265cat > conftest.$ac_ext <<EOF
     9266#line 9267 "configure"
    92829267#include "confdefs.h"
    92839268#include <$ac_hdr>
    92849269EOF
    92859270ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    9286 { (eval echo configure:9287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     9271{ (eval echo configure:9272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    92879272ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    92889273if test -z "$ac_err"; then
     
    93189303
    93199304echo $ac_n "checking for location of OpenGL library""... $ac_c" 1>&6
    9320 echo "configure:9321: checking for location of OpenGL library" >&5
     9305echo "configure:9306: checking for location of OpenGL library" >&5
    93219306case "$with_opengl_libs" in
    93229307y | ye | yes | n | no)
     
    93479332
    93489333echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6
    9349 echo "configure:9350: checking for glBegin in -lGL" >&5
     9334echo "configure:9335: checking for glBegin in -lGL" >&5
    93509335ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'`
    93519336
     
    93539338LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB  $LIBS"
    93549339cat > conftest.$ac_ext <<EOF
    9355 #line 9356 "configure"
     9340#line 9341 "configure"
    93569341#include "confdefs.h"
    93579342/* Override any gcc2 internal prototype to avoid an error.  */
     
    93649349; return 0; }
    93659350EOF
    9366 if { (eval echo configure:9367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9351if { (eval echo configure:9352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    93679352  rm -rf conftest*
    93689353  eval "ac_cv_lib_$ac_lib_var=yes"
     
    93839368
    93849369echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6
    9385 echo "configure:9386: checking for glBegin in -lGL" >&5
     9370echo "configure:9371: checking for glBegin in -lGL" >&5
    93869371ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'`
    93879372
     
    93899374LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lXext $LIBS"
    93909375cat > conftest.$ac_ext <<EOF
    9391 #line 9392 "configure"
     9376#line 9377 "configure"
    93929377#include "confdefs.h"
    93939378/* Override any gcc2 internal prototype to avoid an error.  */
     
    94009385; return 0; }
    94019386EOF
    9402 if { (eval echo configure:9403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9387if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    94039388  rm -rf conftest*
    94049389  eval "ac_cv_lib_$ac_lib_var=yes"
     
    94199404
    94209405echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6
    9421 echo "configure:9422: checking for glBegin in -lGL" >&5
     9406echo "configure:9407: checking for glBegin in -lGL" >&5
    94229407ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'`
    94239408
     
    94259410LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lpthread $LIBS"
    94269411cat > conftest.$ac_ext <<EOF
    9427 #line 9428 "configure"
     9412#line 9413 "configure"
    94289413#include "confdefs.h"
    94299414/* Override any gcc2 internal prototype to avoid an error.  */
     
    94369421; return 0; }
    94379422EOF
    9438 if { (eval echo configure:9439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9423if { (eval echo configure:9424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    94399424  rm -rf conftest*
    94409425  eval "ac_cv_lib_$ac_lib_var=yes"
     
    94559440
    94569441echo $ac_n "checking for glBegin in -lGL""... $ac_c" 1>&6
    9457 echo "configure:9458: checking for glBegin in -lGL" >&5
     9442echo "configure:9443: checking for glBegin in -lGL" >&5
    94589443ac_lib_var=`echo GL'_'glBegin | sed 'y%./+-%__p_%'`
    94599444
     
    94619446LIBS="-lGL $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lpthread -lXext $LIBS"
    94629447cat > conftest.$ac_ext <<EOF
    9463 #line 9464 "configure"
     9448#line 9449 "configure"
    94649449#include "confdefs.h"
    94659450/* Override any gcc2 internal prototype to avoid an error.  */
     
    94729457; return 0; }
    94739458EOF
    9474 if { (eval echo configure:9475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9459if { (eval echo configure:9460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    94759460  rm -rf conftest*
    94769461  eval "ac_cv_lib_$ac_lib_var=yes"
     
    95349519
    95359520echo $ac_n "checking for gluBeginCurve in -lGLU""... $ac_c" 1>&6
    9536 echo "configure:9537: checking for gluBeginCurve in -lGLU" >&5
     9521echo "configure:9522: checking for gluBeginCurve in -lGLU" >&5
    95379522ac_lib_var=`echo GLU'_'gluBeginCurve | sed 'y%./+-%__p_%'`
    95389523
     
    95409525LIBS="-lGLU $OPENGLLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB  $LIBS"
    95419526cat > conftest.$ac_ext <<EOF
    9542 #line 9543 "configure"
     9527#line 9528 "configure"
    95439528#include "confdefs.h"
    95449529/* Override any gcc2 internal prototype to avoid an error.  */
     
    95519536; return 0; }
    95529537EOF
    9553 if { (eval echo configure:9554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9538if { (eval echo configure:9539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    95549539  rm -rf conftest*
    95559540  eval "ac_cv_lib_$ac_lib_var=yes"
     
    95709555
    95719556echo $ac_n "checking for gluBeginCurve in -lGLU""... $ac_c" 1>&6
    9572 echo "configure:9573: checking for gluBeginCurve in -lGLU" >&5
     9557echo "configure:9558: checking for gluBeginCurve in -lGLU" >&5
    95739558ac_lib_var=`echo GLU'_'gluBeginCurve | sed 'y%./+-%__p_%'`
    95749559
     
    95769561LIBS="-lGLU $OPENGLLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $MATHLIB -lstdc++ $LIBS"
    95779562cat > conftest.$ac_ext <<EOF
    9578 #line 9579 "configure"
     9563#line 9564 "configure"
    95799564#include "confdefs.h"
    95809565/* Override any gcc2 internal prototype to avoid an error.  */
     
    95879572; return 0; }
    95889573EOF
    9589 if { (eval echo configure:9590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9574if { (eval echo configure:9575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    95909575  rm -rf conftest*
    95919576  eval "ac_cv_lib_$ac_lib_var=yes"
     
    96349619LDFLAGS=" $LDFLAGS"
    96359620echo $ac_n "checking for glXCreatePbuffer""... $ac_c" 1>&6
    9636 echo "configure:9637: checking for glXCreatePbuffer" >&5
    9637 
    9638 cat > conftest.$ac_ext <<EOF
    9639 #line 9640 "configure"
     9621echo "configure:9622: checking for glXCreatePbuffer" >&5
     9622
     9623cat > conftest.$ac_ext <<EOF
     9624#line 9625 "configure"
    96409625#include "confdefs.h"
    96419626/* System header to define __stub macros and hopefully few prototypes,
     
    96609645; return 0; }
    96619646EOF
    9662 if { (eval echo configure:9663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9647if { (eval echo configure:9648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    96639648  rm -rf conftest*
    96649649  eval "ac_cv_func_glXCreatePbuffer=yes"
     
    96979682LDFLAGS=" $LDFLAGS"
    96989683echo $ac_n "checking for glXCreateGLXPixmap""... $ac_c" 1>&6
    9699 echo "configure:9700: checking for glXCreateGLXPixmap" >&5
    9700 
    9701 cat > conftest.$ac_ext <<EOF
    9702 #line 9703 "configure"
     9684echo "configure:9685: checking for glXCreateGLXPixmap" >&5
     9685
     9686cat > conftest.$ac_ext <<EOF
     9687#line 9688 "configure"
    97039688#include "confdefs.h"
    97049689/* System header to define __stub macros and hopefully few prototypes,
     
    97239708; return 0; }
    97249709EOF
    9725 if { (eval echo configure:9726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9710if { (eval echo configure:9711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    97269711  rm -rf conftest*
    97279712  eval "ac_cv_func_glXCreateGLXPixmap=yes"
     
    97669751
    97679752echo $ac_n "checking for location of OpenGL framework""... $ac_c" 1>&6
    9768 echo "configure:9769: checking for location of OpenGL framework" >&5
     9753echo "configure:9754: checking for location of OpenGL framework" >&5
    97699754case "$with_opengl_framework" in
    97709755y | ye | yes | n | no)
     
    97909775ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    97919776echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    9792 echo "configure:9793: checking for $ac_hdr" >&5
    9793 
    9794 cat > conftest.$ac_ext <<EOF
    9795 #line 9796 "configure"
     9777echo "configure:9778: checking for $ac_hdr" >&5
     9778
     9779cat > conftest.$ac_ext <<EOF
     9780#line 9781 "configure"
    97969781#include "confdefs.h"
    97979782#include <$ac_hdr>
    97989783EOF
    97999784ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    9800 { (eval echo configure:9801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     9785{ (eval echo configure:9786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    98019786ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    98029787if test -z "$ac_err"; then
     
    98349819LDFLAGS="$OPENGLPATH $LDFLAGS"
    98359820echo $ac_n "checking for glBegin""... $ac_c" 1>&6
    9836 echo "configure:9837: checking for glBegin" >&5
    9837 
    9838 cat > conftest.$ac_ext <<EOF
    9839 #line 9840 "configure"
     9821echo "configure:9822: checking for glBegin" >&5
     9822
     9823cat > conftest.$ac_ext <<EOF
     9824#line 9825 "configure"
    98409825#include "confdefs.h"
    98419826/* System header to define __stub macros and hopefully few prototypes,
     
    98609845; return 0; }
    98619846EOF
    9862 if { (eval echo configure:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9847if { (eval echo configure:9848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    98639848  rm -rf conftest*
    98649849  eval "ac_cv_func_glBegin=yes"
     
    98979882LDFLAGS="$OPENGLPATH $LDFLAGS"
    98989883echo $ac_n "checking for gluBeginCurve""... $ac_c" 1>&6
    9899 echo "configure:9900: checking for gluBeginCurve" >&5
    9900 
    9901 cat > conftest.$ac_ext <<EOF
    9902 #line 9903 "configure"
     9884echo "configure:9885: checking for gluBeginCurve" >&5
     9885
     9886cat > conftest.$ac_ext <<EOF
     9887#line 9888 "configure"
    99039888#include "confdefs.h"
    99049889/* System header to define __stub macros and hopefully few prototypes,
     
    99239908; return 0; }
    99249909EOF
    9925 if { (eval echo configure:9926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     9910if { (eval echo configure:9911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    99269911  rm -rf conftest*
    99279912  eval "ac_cv_func_gluBeginCurve=yes"
     
    99719956
    99729957echo $ac_n "checking for location of OpenGL includes""... $ac_c" 1>&6
    9973 echo "configure:9974: checking for location of OpenGL includes" >&5
     9958echo "configure:9959: checking for location of OpenGL includes" >&5
    99749959case "$with_opengl_includes" in
    99759960y | ye | yes | n | no)
     
    99979982ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    99989983echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    9999 echo "configure:10000: checking for $ac_hdr" >&5
    10000 
    10001 cat > conftest.$ac_ext <<EOF
    10002 #line 10003 "configure"
     9984echo "configure:9985: checking for $ac_hdr" >&5
     9985
     9986cat > conftest.$ac_ext <<EOF
     9987#line 9988 "configure"
    100039988#include "confdefs.h"
    100049989#include <$ac_hdr>
    100059990EOF
    100069991ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    10007 { (eval echo configure:10008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     9992{ (eval echo configure:9993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    100089993ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    100099994if test -z "$ac_err"; then
     
    1003910024
    1004010025echo $ac_n "checking for location of OpenGL library""... $ac_c" 1>&6
    10041 echo "configure:10042: checking for location of OpenGL library" >&5
     10026echo "configure:10027: checking for location of OpenGL library" >&5
    1004210027case "$with_opengl_libs" in
    1004310028y | ye | yes | n | no)
     
    1006410049ac_save_libs="$LIBS"
    1006510050echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
    10066 echo "configure:10067: checking for OpenGL library" >&5
     10051echo "configure:10052: checking for OpenGL library" >&5
    1006710052LDFLAGS="$OPENGL_LIB_PATH $LDFLAGS"
    1006810053LIBS="-lopengl32  "
    1006910054cat > conftest.$ac_ext <<EOF
    10070 #line 10071 "configure"
     10055#line 10056 "configure"
    1007110056#include "confdefs.h"
    1007210057#include <GL/gl.h>
     
    1007510060; return 0; }
    1007610061EOF
    10077 if { (eval echo configure:10078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10062if { (eval echo configure:10063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1007810063  rm -rf conftest*
    1007910064 
     
    1009910084ac_save_libs="$LIBS"
    1010010085echo $ac_n "checking for GLU library""... $ac_c" 1>&6
    10101 echo "configure:10102: checking for GLU library" >&5
     10086echo "configure:10087: checking for GLU library" >&5
    1010210087LDFLAGS="$OPENGL_LIB_PATH $LDFLAGS"
    1010310088LIBS="-lglu32 $OPENGLLIB "
    1010410089cat > conftest.$ac_ext <<EOF
    10105 #line 10106 "configure"
     10090#line 10091 "configure"
    1010610091#include "confdefs.h"
    1010710092#include <GL/glu.h>
     
    1011010095; return 0; }
    1011110096EOF
    10112 if { (eval echo configure:10113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10097if { (eval echo configure:10098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1011310098  rm -rf conftest*
    1011410099 
     
    1015910144
    1016010145echo $ac_n "checking whether to use Tcl/Tk""... $ac_c" 1>&6
    10161 echo "configure:10162: checking whether to use Tcl/Tk" >&5
     10146echo "configure:10147: checking whether to use Tcl/Tk" >&5
    1016210147echo "$ac_t"""$with_tcltk"" 1>&6
    1016310148case "$with_tcltk" in
     
    1017910164
    1018010165echo $ac_n "checking for location of Tcl/Tk includes""... $ac_c" 1>&6
    10181 echo "configure:10182: checking for location of Tcl/Tk includes" >&5
     10166echo "configure:10167: checking for location of Tcl/Tk includes" >&5
    1018210167case "$with_tcltk_includes" in
    1018310168y | ye | yes | n | no)
     
    1020510190ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1020610191echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    10207 echo "configure:10208: checking for $ac_hdr" >&5
    10208 
    10209 cat > conftest.$ac_ext <<EOF
    10210 #line 10211 "configure"
     10192echo "configure:10193: checking for $ac_hdr" >&5
     10193
     10194cat > conftest.$ac_ext <<EOF
     10195#line 10196 "configure"
    1021110196#include "confdefs.h"
    1021210197#include <$ac_hdr>
    1021310198EOF
    1021410199ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    10215 { (eval echo configure:10216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     10200{ (eval echo configure:10201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1021610201ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1021710202if test -z "$ac_err"; then
     
    1025010235ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1025110236echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    10252 echo "configure:10253: checking for $ac_hdr" >&5
    10253 
    10254 cat > conftest.$ac_ext <<EOF
    10255 #line 10256 "configure"
     10237echo "configure:10238: checking for $ac_hdr" >&5
     10238
     10239cat > conftest.$ac_ext <<EOF
     10240#line 10241 "configure"
    1025610241#include "confdefs.h"
    1025710242#include <$ac_hdr>
    1025810243EOF
    1025910244ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    10260 { (eval echo configure:10261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     10245{ (eval echo configure:10246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1026110246ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1026210247if test -z "$ac_err"; then
     
    1029210277
    1029310278echo $ac_n "checking Tcl version""... $ac_c" 1>&6
    10294 echo "configure:10295: checking Tcl version" >&5
     10279echo "configure:10280: checking Tcl version" >&5
    1029510280ac_save_cppflags="$CPPFLAGS"
    1029610281CPPFLAGS="$TCLINCDIR $CPPFLAGS"
     
    1030010285else
    1030110286  cat > conftest.$ac_ext <<EOF
    10302 #line 10303 "configure"
     10287#line 10288 "configure"
    1030310288#include "confdefs.h"
    1030410289
     
    1031210297
    1031310298EOF
    10314 if { (eval echo configure:10315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     10299if { (eval echo configure:10300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    1031510300then
    1031610301     tcl_ver=`cat conftestdata`
     
    1033010315
    1033110316echo $ac_n "checking Tk version""... $ac_c" 1>&6
    10332 echo "configure:10333: checking Tk version" >&5
     10317echo "configure:10318: checking Tk version" >&5
    1033310318ac_save_cppflags="$CPPFLAGS"
    1033410319CPPFLAGS="$TCLINCDIR $X_CFLAGS $CPPFLAGS"
     
    1033810323else
    1033910324  cat > conftest.$ac_ext <<EOF
    10340 #line 10341 "configure"
     10325#line 10326 "configure"
    1034110326#include "confdefs.h"
    1034210327
     
    1035010335
    1035110336EOF
    10352 if { (eval echo configure:10353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     10337if { (eval echo configure:10338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    1035310338then
    1035410339     tk_ver=`cat conftestdata`
     
    1037910364
    1038010365echo $ac_n "checking for location of Tcl/Tk library""... $ac_c" 1>&6
    10381 echo "configure:10382: checking for location of Tcl/Tk library" >&5
     10366echo "configure:10367: checking for location of Tcl/Tk library" >&5
    1038210367case "$with_tcltk_libs" in
    1038310368y | ye | yes | n | no)
     
    1041910404
    1042010405echo $ac_n "checking for Tcl_Init in -ltcl""... $ac_c" 1>&6
    10421 echo "configure:10422: checking for Tcl_Init in -ltcl" >&5
     10406echo "configure:10407: checking for Tcl_Init in -ltcl" >&5
    1042210407ac_lib_var=`echo tcl'_'Tcl_Init | sed 'y%./+-%__p_%'`
    1042310408
     
    1042510410LIBS="-ltcl $MATHLIB $LIBS"
    1042610411cat > conftest.$ac_ext <<EOF
    10427 #line 10428 "configure"
     10412#line 10413 "configure"
    1042810413#include "confdefs.h"
    1042910414/* Override any gcc2 internal prototype to avoid an error.  */
     
    1043610421; return 0; }
    1043710422EOF
    10438 if { (eval echo configure:10439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10423if { (eval echo configure:10424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1043910424  rm -rf conftest*
    1044010425  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1045510440
    1045610441echo $ac_n "checking for Tcl_Init in -ltcl""... $ac_c" 1>&6
    10457 echo "configure:10458: checking for Tcl_Init in -ltcl" >&5
     10442echo "configure:10443: checking for Tcl_Init in -ltcl" >&5
    1045810443ac_lib_var=`echo tcl'_'Tcl_Init | sed 'y%./+-%__p_%'`
    1045910444
     
    1046110446LIBS="-ltcl $MATHLIB $DLLIB $LIBS"
    1046210447cat > conftest.$ac_ext <<EOF
    10463 #line 10464 "configure"
     10448#line 10449 "configure"
    1046410449#include "confdefs.h"
    1046510450/* Override any gcc2 internal prototype to avoid an error.  */
     
    1047210457; return 0; }
    1047310458EOF
    10474 if { (eval echo configure:10475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10459if { (eval echo configure:10460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1047510460  rm -rf conftest*
    1047610461  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1049910484
    1050010485echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver""... $ac_c" 1>&6
    10501 echo "configure:10502: checking for Tcl_Init in -ltcl$tcltk_ver" >&5
     10486echo "configure:10487: checking for Tcl_Init in -ltcl$tcltk_ver" >&5
    1050210487ac_lib_var=`echo tcl$tcltk_ver'_'Tcl_Init | sed 'y%./+-%__p_%'`
    1050310488
     
    1050510490LIBS="-ltcl$tcltk_ver $MATHLIB $LIBS"
    1050610491cat > conftest.$ac_ext <<EOF
    10507 #line 10508 "configure"
     10492#line 10493 "configure"
    1050810493#include "confdefs.h"
    1050910494/* Override any gcc2 internal prototype to avoid an error.  */
     
    1051610501; return 0; }
    1051710502EOF
    10518 if { (eval echo configure:10519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10503if { (eval echo configure:10504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1051910504  rm -rf conftest*
    1052010505  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1053510520
    1053610521echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver""... $ac_c" 1>&6
    10537 echo "configure:10538: checking for Tcl_Init in -ltcl$tcltk_ver" >&5
     10522echo "configure:10523: checking for Tcl_Init in -ltcl$tcltk_ver" >&5
    1053810523ac_lib_var=`echo tcl$tcltk_ver'_'Tcl_Init | sed 'y%./+-%__p_%'`
    1053910524
     
    1054110526LIBS="-ltcl$tcltk_ver $MATHLIB $DLLIB $LIBS"
    1054210527cat > conftest.$ac_ext <<EOF
    10543 #line 10544 "configure"
     10528#line 10529 "configure"
    1054410529#include "confdefs.h"
    1054510530/* Override any gcc2 internal prototype to avoid an error.  */
     
    1055210537; return 0; }
    1055310538EOF
    10554 if { (eval echo configure:10555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10539if { (eval echo configure:10540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1055510540  rm -rf conftest*
    1055610541  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1057910564
    1058010565echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver2""... $ac_c" 1>&6
    10581 echo "configure:10582: checking for Tcl_Init in -ltcl$tcltk_ver2" >&5
     10566echo "configure:10567: checking for Tcl_Init in -ltcl$tcltk_ver2" >&5
    1058210567ac_lib_var=`echo tcl$tcltk_ver2'_'Tcl_Init | sed 'y%./+-%__p_%'`
    1058310568
     
    1058510570LIBS="-ltcl$tcltk_ver2 $MATHLIB $LIBS"
    1058610571cat > conftest.$ac_ext <<EOF
    10587 #line 10588 "configure"
     10572#line 10573 "configure"
    1058810573#include "confdefs.h"
    1058910574/* Override any gcc2 internal prototype to avoid an error.  */
     
    1059610581; return 0; }
    1059710582EOF
    10598 if { (eval echo configure:10599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10583if { (eval echo configure:10584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1059910584  rm -rf conftest*
    1060010585  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1061510600
    1061610601echo $ac_n "checking for Tcl_Init in -ltcl$tcltk_ver2""... $ac_c" 1>&6
    10617 echo "configure:10618: checking for Tcl_Init in -ltcl$tcltk_ver2" >&5
     10602echo "configure:10603: checking for Tcl_Init in -ltcl$tcltk_ver2" >&5
    1061810603ac_lib_var=`echo tcl$tcltk_ver2'_'Tcl_Init | sed 'y%./+-%__p_%'`
    1061910604
     
    1062110606LIBS="-ltcl$tcltk_ver2 $MATHLIB $DLLIB $LIBS"
    1062210607cat > conftest.$ac_ext <<EOF
    10623 #line 10624 "configure"
     10608#line 10609 "configure"
    1062410609#include "confdefs.h"
    1062510610/* Override any gcc2 internal prototype to avoid an error.  */
     
    1063210617; return 0; }
    1063310618EOF
    10634 if { (eval echo configure:10635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10619if { (eval echo configure:10620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1063510620  rm -rf conftest*
    1063610621  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1071010695
    1071110696echo $ac_n "checking for Tk_MainWindow in -ltk""... $ac_c" 1>&6
    10712 echo "configure:10713: checking for Tk_MainWindow in -ltk" >&5
     10697echo "configure:10698: checking for Tk_MainWindow in -ltk" >&5
    1071310698ac_lib_var=`echo tk'_'Tk_MainWindow | sed 'y%./+-%__p_%'`
    1071410699
     
    1071610701LIBS="-ltk $TCLLIB $MATHLIB $LIBS"
    1071710702cat > conftest.$ac_ext <<EOF
    10718 #line 10719 "configure"
     10703#line 10704 "configure"
    1071910704#include "confdefs.h"
    1072010705/* Override any gcc2 internal prototype to avoid an error.  */
     
    1072710712; return 0; }
    1072810713EOF
    10729 if { (eval echo configure:10730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10714if { (eval echo configure:10715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1073010715  rm -rf conftest*
    1073110716  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1074610731
    1074710732echo $ac_n "checking for Tk_MainWindow in -ltk""... $ac_c" 1>&6
    10748 echo "configure:10749: checking for Tk_MainWindow in -ltk" >&5
     10733echo "configure:10734: checking for Tk_MainWindow in -ltk" >&5
    1074910734ac_lib_var=`echo tk'_'Tk_MainWindow | sed 'y%./+-%__p_%'`
    1075010735
     
    1075210737LIBS="-ltk $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
    1075310738cat > conftest.$ac_ext <<EOF
    10754 #line 10755 "configure"
     10739#line 10740 "configure"
    1075510740#include "confdefs.h"
    1075610741/* Override any gcc2 internal prototype to avoid an error.  */
     
    1076310748; return 0; }
    1076410749EOF
    10765 if { (eval echo configure:10766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10750if { (eval echo configure:10751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1076610751  rm -rf conftest*
    1076710752  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1079010775
    1079110776echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver""... $ac_c" 1>&6
    10792 echo "configure:10793: checking for Tk_MainWindow in -ltk$tcltk_ver" >&5
     10777echo "configure:10778: checking for Tk_MainWindow in -ltk$tcltk_ver" >&5
    1079310778ac_lib_var=`echo tk$tcltk_ver'_'Tk_MainWindow | sed 'y%./+-%__p_%'`
    1079410779
     
    1079610781LIBS="-ltk$tcltk_ver $TCLLIB $MATHLIB $LIBS"
    1079710782cat > conftest.$ac_ext <<EOF
    10798 #line 10799 "configure"
     10783#line 10784 "configure"
    1079910784#include "confdefs.h"
    1080010785/* Override any gcc2 internal prototype to avoid an error.  */
     
    1080710792; return 0; }
    1080810793EOF
    10809 if { (eval echo configure:10810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10794if { (eval echo configure:10795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1081010795  rm -rf conftest*
    1081110796  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1082610811
    1082710812echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver""... $ac_c" 1>&6
    10828 echo "configure:10829: checking for Tk_MainWindow in -ltk$tcltk_ver" >&5
     10813echo "configure:10814: checking for Tk_MainWindow in -ltk$tcltk_ver" >&5
    1082910814ac_lib_var=`echo tk$tcltk_ver'_'Tk_MainWindow | sed 'y%./+-%__p_%'`
    1083010815
     
    1083210817LIBS="-ltk$tcltk_ver $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
    1083310818cat > conftest.$ac_ext <<EOF
    10834 #line 10835 "configure"
     10819#line 10820 "configure"
    1083510820#include "confdefs.h"
    1083610821/* Override any gcc2 internal prototype to avoid an error.  */
     
    1084310828; return 0; }
    1084410829EOF
    10845 if { (eval echo configure:10846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10830if { (eval echo configure:10831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1084610831  rm -rf conftest*
    1084710832  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1087010855
    1087110856echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver2""... $ac_c" 1>&6
    10872 echo "configure:10873: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&5
     10857echo "configure:10858: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&5
    1087310858ac_lib_var=`echo tk$tcltk_ver2'_'Tk_MainWindow | sed 'y%./+-%__p_%'`
    1087410859
     
    1087610861LIBS="-ltk$tcltk_ver2 $TCLLIB $MATHLIB $LIBS"
    1087710862cat > conftest.$ac_ext <<EOF
    10878 #line 10879 "configure"
     10863#line 10864 "configure"
    1087910864#include "confdefs.h"
    1088010865/* Override any gcc2 internal prototype to avoid an error.  */
     
    1088710872; return 0; }
    1088810873EOF
    10889 if { (eval echo configure:10890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10874if { (eval echo configure:10875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1089010875  rm -rf conftest*
    1089110876  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1090610891
    1090710892echo $ac_n "checking for Tk_MainWindow in -ltk$tcltk_ver2""... $ac_c" 1>&6
    10908 echo "configure:10909: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&5
     10893echo "configure:10894: checking for Tk_MainWindow in -ltk$tcltk_ver2" >&5
    1090910894ac_lib_var=`echo tk$tcltk_ver2'_'Tk_MainWindow | sed 'y%./+-%__p_%'`
    1091010895
     
    1091210897LIBS="-ltk$tcltk_ver2 $TCLLIB $MATHLIB $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
    1091310898cat > conftest.$ac_ext <<EOF
    10914 #line 10915 "configure"
     10899#line 10900 "configure"
    1091510900#include "confdefs.h"
    1091610901/* Override any gcc2 internal prototype to avoid an error.  */
     
    1092310908; return 0; }
    1092410909EOF
    10925 if { (eval echo configure:10926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     10910if { (eval echo configure:10911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1092610911  rm -rf conftest*
    1092710912  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1101310998    # add only if in MACOSX_ARCHS
    1101410999    echo $ac_n "checking for Tcl_Init in -l$tlib""... $ac_c" 1>&6
    11015 echo "configure:11016: checking for Tcl_Init in -l$tlib" >&5
     11000echo "configure:11001: checking for Tcl_Init in -l$tlib" >&5
    1101611001ac_lib_var=`echo $tlib'_'Tcl_Init | sed 'y%./+-%__p_%'`
    1101711002
     
    1101911004LIBS="-l$tlib -arch $a $MACOSX_SDK $TCLTKLIBPATH $LIBS"
    1102011005cat > conftest.$ac_ext <<EOF
    11021 #line 11022 "configure"
     11006#line 11007 "configure"
    1102211007#include "confdefs.h"
    1102311008/* Override any gcc2 internal prototype to avoid an error.  */
     
    1103011015; return 0; }
    1103111016EOF
    11032 if { (eval echo configure:11033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11017if { (eval echo configure:11018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1103311018  rm -rf conftest*
    1103411019  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1108011065
    1108111066echo $ac_n "checking whether to use ODBC""... $ac_c" 1>&6
    11082 echo "configure:11083: checking whether to use ODBC" >&5
     11067echo "configure:11068: checking whether to use ODBC" >&5
    1108311068echo "$ac_t"""$with_odbc"" 1>&6
    1108411069case "$with_odbc" in
     
    1109911084
    1110011085echo $ac_n "checking for location of ODBC includes""... $ac_c" 1>&6
    11101 echo "configure:11102: checking for location of ODBC includes" >&5
     11086echo "configure:11087: checking for location of ODBC includes" >&5
    1110211087case "$with_odbc_includes" in
    1110311088y | ye | yes | n | no)
     
    1112511110ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1112611111echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    11127 echo "configure:11128: checking for $ac_hdr" >&5
    11128 
    11129 cat > conftest.$ac_ext <<EOF
    11130 #line 11131 "configure"
     11112echo "configure:11113: checking for $ac_hdr" >&5
     11113
     11114cat > conftest.$ac_ext <<EOF
     11115#line 11116 "configure"
    1113111116#include "confdefs.h"
    1113211117#include <$ac_hdr>
    1113311118EOF
    1113411119ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    11135 { (eval echo configure:11136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     11120{ (eval echo configure:11121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1113611121ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1113711122if test -z "$ac_err"; then
     
    1116711152
    1116811153echo $ac_n "checking for location of ODBC library""... $ac_c" 1>&6
    11169 echo "configure:11170: checking for location of ODBC library" >&5
     11154echo "configure:11155: checking for location of ODBC library" >&5
    1117011155case "$with_odbc_libs" in
    1117111156y | ye | yes | n | no)
     
    1119211177
    1119311178echo $ac_n "checking for SQLConnect in -lodbc""... $ac_c" 1>&6
    11194 echo "configure:11195: checking for SQLConnect in -lodbc" >&5
     11179echo "configure:11180: checking for SQLConnect in -lodbc" >&5
    1119511180ac_lib_var=`echo odbc'_'SQLConnect | sed 'y%./+-%__p_%'`
    1119611181
     
    1119811183LIBS="-lodbc $ICONVLIB  $LIBS"
    1119911184cat > conftest.$ac_ext <<EOF
    11200 #line 11201 "configure"
     11185#line 11186 "configure"
    1120111186#include "confdefs.h"
    1120211187/* Override any gcc2 internal prototype to avoid an error.  */
     
    1120911194; return 0; }
    1121011195EOF
    11211 if { (eval echo configure:11212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11196if { (eval echo configure:11197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1121211197  rm -rf conftest*
    1121311198  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1123411219
    1123511220echo $ac_n "checking for SQLConnect in -liodbc""... $ac_c" 1>&6
    11236 echo "configure:11237: checking for SQLConnect in -liodbc" >&5
     11221echo "configure:11222: checking for SQLConnect in -liodbc" >&5
    1123711222ac_lib_var=`echo iodbc'_'SQLConnect | sed 'y%./+-%__p_%'`
    1123811223
     
    1124011225LIBS="-liodbc  $LIBS"
    1124111226cat > conftest.$ac_ext <<EOF
    11242 #line 11243 "configure"
     11227#line 11228 "configure"
    1124311228#include "confdefs.h"
    1124411229/* Override any gcc2 internal prototype to avoid an error.  */
     
    1125111236; return 0; }
    1125211237EOF
    11253 if { (eval echo configure:11254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11238if { (eval echo configure:11239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1125411239  rm -rf conftest*
    1125511240  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1127611261ac_save_libs="$LIBS"
    1127711262echo $ac_n "checking for ODBC library""... $ac_c" 1>&6
    11278 echo "configure:11279: checking for ODBC library" >&5
     11263echo "configure:11264: checking for ODBC library" >&5
    1127911264LDFLAGS="$ODBCLIB $LDFLAGS"
    1128011265LIBS="-lodbc32  "
    1128111266cat > conftest.$ac_ext <<EOF
    11282 #line 11283 "configure"
     11267#line 11268 "configure"
    1128311268#include "confdefs.h"
    1128411269#include <windows.h>
     
    1128811273; return 0; }
    1128911274EOF
    11290 if { (eval echo configure:11291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11275if { (eval echo configure:11276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1129111276  rm -rf conftest*
    1129211277 
     
    1133711322
    1133811323echo $ac_n "checking whether to use FFTW""... $ac_c" 1>&6
    11339 echo "configure:11340: checking whether to use FFTW" >&5
     11324echo "configure:11325: checking whether to use FFTW" >&5
    1134011325echo "$ac_t"""$with_fftw"" 1>&6
    1134111326case "$with_fftw" in
     
    1135611341
    1135711342echo $ac_n "checking for location of FFTW includes""... $ac_c" 1>&6
    11358 echo "configure:11359: checking for location of FFTW includes" >&5
     11343echo "configure:11344: checking for location of FFTW includes" >&5
    1135911344case "$with_fftw_includes" in
    1136011345y | ye | yes | n | no)
     
    1138211367ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1138311368echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    11384 echo "configure:11385: checking for $ac_hdr" >&5
    11385 
    11386 cat > conftest.$ac_ext <<EOF
    11387 #line 11388 "configure"
     11369echo "configure:11370: checking for $ac_hdr" >&5
     11370
     11371cat > conftest.$ac_ext <<EOF
     11372#line 11373 "configure"
    1138811373#include "confdefs.h"
    1138911374#include <$ac_hdr>
    1139011375EOF
    1139111376ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    11392 { (eval echo configure:11393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     11377{ (eval echo configure:11378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1139311378ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1139411379if test -z "$ac_err"; then
     
    1141811403ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1141911404echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    11420 echo "configure:11421: checking for $ac_hdr" >&5
    11421 
    11422 cat > conftest.$ac_ext <<EOF
    11423 #line 11424 "configure"
     11405echo "configure:11406: checking for $ac_hdr" >&5
     11406
     11407cat > conftest.$ac_ext <<EOF
     11408#line 11409 "configure"
    1142411409#include "confdefs.h"
    1142511410#include <$ac_hdr>
    1142611411EOF
    1142711412ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    11428 { (eval echo configure:11429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     11413{ (eval echo configure:11414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1142911414ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1143011415if test -z "$ac_err"; then
     
    1145411439ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1145511440echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    11456 echo "configure:11457: checking for $ac_hdr" >&5
    11457 
    11458 cat > conftest.$ac_ext <<EOF
    11459 #line 11460 "configure"
     11441echo "configure:11442: checking for $ac_hdr" >&5
     11442
     11443cat > conftest.$ac_ext <<EOF
     11444#line 11445 "configure"
    1146011445#include "confdefs.h"
    1146111446#include <$ac_hdr>
    1146211447EOF
    1146311448ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    11464 { (eval echo configure:11465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     11449{ (eval echo configure:11450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1146511450ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1146611451if test -z "$ac_err"; then
     
    1150811493
    1150911494echo $ac_n "checking for location of FFTW library""... $ac_c" 1>&6
    11510 echo "configure:11511: checking for location of FFTW library" >&5
     11495echo "configure:11496: checking for location of FFTW library" >&5
    1151111496case "$with_fftw_libs" in
    1151211497y | ye | yes | n | no)
     
    1153311518
    1153411519echo $ac_n "checking for fftw_execute in -lfftw3""... $ac_c" 1>&6
    11535 echo "configure:11536: checking for fftw_execute in -lfftw3" >&5
     11520echo "configure:11521: checking for fftw_execute in -lfftw3" >&5
    1153611521ac_lib_var=`echo fftw3'_'fftw_execute | sed 'y%./+-%__p_%'`
    1153711522
     
    1153911524LIBS="-lfftw3 $MATHLIB $LIBS"
    1154011525cat > conftest.$ac_ext <<EOF
    11541 #line 11542 "configure"
     11526#line 11527 "configure"
    1154211527#include "confdefs.h"
    1154311528/* Override any gcc2 internal prototype to avoid an error.  */
     
    1155011535; return 0; }
    1155111536EOF
    11552 if { (eval echo configure:11553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11537if { (eval echo configure:11538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1155311538  rm -rf conftest*
    1155411539  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1157511560
    1157611561echo $ac_n "checking for fftwnd_one in -lfftw""... $ac_c" 1>&6
    11577 echo "configure:11578: checking for fftwnd_one in -lfftw" >&5
     11562echo "configure:11563: checking for fftwnd_one in -lfftw" >&5
    1157811563ac_lib_var=`echo fftw'_'fftwnd_one | sed 'y%./+-%__p_%'`
    1157911564
     
    1158111566LIBS="-lfftw $MATHLIB $LIBS"
    1158211567cat > conftest.$ac_ext <<EOF
    11583 #line 11584 "configure"
     11568#line 11569 "configure"
    1158411569#include "confdefs.h"
    1158511570/* Override any gcc2 internal prototype to avoid an error.  */
     
    1159211577; return 0; }
    1159311578EOF
    11594 if { (eval echo configure:11595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11579if { (eval echo configure:11580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1159511580  rm -rf conftest*
    1159611581  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1161711602
    1161811603echo $ac_n "checking for fftwnd_one in -ldfftw""... $ac_c" 1>&6
    11619 echo "configure:11620: checking for fftwnd_one in -ldfftw" >&5
     11604echo "configure:11605: checking for fftwnd_one in -ldfftw" >&5
    1162011605ac_lib_var=`echo dfftw'_'fftwnd_one | sed 'y%./+-%__p_%'`
    1162111606
     
    1162311608LIBS="-ldfftw $MATHLIB $LIBS"
    1162411609cat > conftest.$ac_ext <<EOF
    11625 #line 11626 "configure"
     11610#line 11611 "configure"
    1162611611#include "confdefs.h"
    1162711612/* Override any gcc2 internal prototype to avoid an error.  */
     
    1163411619; return 0; }
    1163511620EOF
    11636 if { (eval echo configure:11637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11621if { (eval echo configure:11622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1163711622  rm -rf conftest*
    1163811623  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1169111676
    1169211677echo $ac_n "checking whether to use BLAS""... $ac_c" 1>&6
    11693 echo "configure:11694: checking whether to use BLAS" >&5
     11678echo "configure:11679: checking whether to use BLAS" >&5
    1169411679echo "$ac_t"""$with_blas"" 1>&6
    1169511680case "$with_blas" in
     
    1171211697
    1171311698echo $ac_n "checking for location of BLAS includes""... $ac_c" 1>&6
    11714 echo "configure:11715: checking for location of BLAS includes" >&5
     11699echo "configure:11700: checking for location of BLAS includes" >&5
    1171511700case "$with_blas_includes" in
    1171611701y | ye | yes | n | no)
     
    1173211717
    1173311718echo $ac_n "checking for location of BLAS library""... $ac_c" 1>&6
    11734 echo "configure:11735: checking for location of BLAS library" >&5
     11719echo "configure:11720: checking for location of BLAS library" >&5
    1173511720case "$with_blas_libs" in
    1173611721y | ye | yes | n | no)
     
    1175811743ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1175911744echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    11760 echo "configure:11761: checking for $ac_hdr" >&5
    11761 
    11762 cat > conftest.$ac_ext <<EOF
    11763 #line 11764 "configure"
     11745echo "configure:11746: checking for $ac_hdr" >&5
     11746
     11747cat > conftest.$ac_ext <<EOF
     11748#line 11749 "configure"
    1176411749#include "confdefs.h"
    1176511750#include <$ac_hdr>
    1176611751EOF
    1176711752ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    11768 { (eval echo configure:11769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     11753{ (eval echo configure:11754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1176911754ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1177011755if test -z "$ac_err"; then
     
    1180111786
    1180211787echo $ac_n "checking for dnrm2_ in -lblas""... $ac_c" 1>&6
    11803 echo "configure:11804: checking for dnrm2_ in -lblas" >&5
     11788echo "configure:11789: checking for dnrm2_ in -lblas" >&5
    1180411789ac_lib_var=`echo blas'_'dnrm2_ | sed 'y%./+-%__p_%'`
    1180511790
     
    1180711792LIBS="-lblas $MATHLIB  $LIBS"
    1180811793cat > conftest.$ac_ext <<EOF
    11809 #line 11810 "configure"
     11794#line 11795 "configure"
    1181011795#include "confdefs.h"
    1181111796/* Override any gcc2 internal prototype to avoid an error.  */
     
    1181811803; return 0; }
    1181911804EOF
    11820 if { (eval echo configure:11821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11805if { (eval echo configure:11806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1182111806  rm -rf conftest*
    1182211807  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1183711822
    1183811823echo $ac_n "checking for dnrm2_ in -lblas""... $ac_c" 1>&6
    11839 echo "configure:11840: checking for dnrm2_ in -lblas" >&5
     11824echo "configure:11825: checking for dnrm2_ in -lblas" >&5
    1184011825ac_lib_var=`echo blas'_'dnrm2_ | sed 'y%./+-%__p_%'`
    1184111826
     
    1184311828LIBS="-lblas $MATHLIB -lg2c $LIBS"
    1184411829cat > conftest.$ac_ext <<EOF
    11845 #line 11846 "configure"
     11830#line 11831 "configure"
    1184611831#include "confdefs.h"
    1184711832/* Override any gcc2 internal prototype to avoid an error.  */
     
    1185411839; return 0; }
    1185511840EOF
    11856 if { (eval echo configure:11857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11841if { (eval echo configure:11842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1185711842  rm -rf conftest*
    1185811843  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1189811883LDFLAGS="$BLASLIB $LDFLAGS"
    1189911884echo $ac_n "checking for ATL_xerbla in -latlas""... $ac_c" 1>&6
    11900 echo "configure:11901: checking for ATL_xerbla in -latlas" >&5
     11885echo "configure:11886: checking for ATL_xerbla in -latlas" >&5
    1190111886ac_lib_var=`echo atlas'_'ATL_xerbla | sed 'y%./+-%__p_%'`
    1190211887
     
    1190411889LIBS="-latlas  $LIBS"
    1190511890cat > conftest.$ac_ext <<EOF
    11906 #line 11907 "configure"
     11891#line 11892 "configure"
    1190711892#include "confdefs.h"
    1190811893/* Override any gcc2 internal prototype to avoid an error.  */
     
    1191511900; return 0; }
    1191611901EOF
    11917 if { (eval echo configure:11918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11902if { (eval echo configure:11903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1191811903  rm -rf conftest*
    1191911904  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1193011915  echo "$ac_t""yes" 1>&6
    1193111916  echo $ac_n "checking for sgemm_ in -lf77blas""... $ac_c" 1>&6
    11932 echo "configure:11933: checking for sgemm_ in -lf77blas" >&5
     11917echo "configure:11918: checking for sgemm_ in -lf77blas" >&5
    1193311918ac_lib_var=`echo f77blas'_'sgemm_ | sed 'y%./+-%__p_%'`
    1193411919
     
    1193611921LIBS="-lf77blas -latlas $LIBS"
    1193711922cat > conftest.$ac_ext <<EOF
    11938 #line 11939 "configure"
     11923#line 11924 "configure"
    1193911924#include "confdefs.h"
    1194011925/* Override any gcc2 internal prototype to avoid an error.  */
     
    1194711932; return 0; }
    1194811933EOF
    11949 if { (eval echo configure:11950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11934if { (eval echo configure:11935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1195011935  rm -rf conftest*
    1195111936  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1196211947  echo "$ac_t""yes" 1>&6
    1196311948  echo $ac_n "checking for cblas_dgemm in -lcblas""... $ac_c" 1>&6
    11964 echo "configure:11965: checking for cblas_dgemm in -lcblas" >&5
     11949echo "configure:11950: checking for cblas_dgemm in -lcblas" >&5
    1196511950ac_lib_var=`echo cblas'_'cblas_dgemm | sed 'y%./+-%__p_%'`
    1196611951
     
    1196811953LIBS="-lcblas -lf77blas -latlas $LIBS"
    1196911954cat > conftest.$ac_ext <<EOF
    11970 #line 11971 "configure"
     11955#line 11956 "configure"
    1197111956#include "confdefs.h"
    1197211957/* Override any gcc2 internal prototype to avoid an error.  */
     
    1197911964; return 0; }
    1198011965EOF
    11981 if { (eval echo configure:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     11966if { (eval echo configure:11967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1198211967  rm -rf conftest*
    1198311968  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1202512010        LIBS="$vlib_flags $LIBS"
    1202612011        echo $ac_n "checking for sgemm in $vlib_flags""... $ac_c" 1>&6
    12027 echo "configure:12028: checking for sgemm in $vlib_flags" >&5
     12012echo "configure:12013: checking for sgemm in $vlib_flags" >&5
    1202812013        cat > conftest.$ac_ext <<EOF
    12029 #line 12030 "configure"
     12014#line 12015 "configure"
    1203012015#include "confdefs.h"
    1203112016
     
    1203412019; return 0; }
    1203512020EOF
    12036 if { (eval echo configure:12037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12021if { (eval echo configure:12022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1203712022  rm -rf conftest*
    1203812023  blas_ok=yes; BLASLIB="$vlib_flags"
     
    1205212037if test $blas_ok = no; then
    1205312038        echo $ac_n "checking for sgemm_ in -lblas""... $ac_c" 1>&6
    12054 echo "configure:12055: checking for sgemm_ in -lblas" >&5
     12039echo "configure:12040: checking for sgemm_ in -lblas" >&5
    1205512040ac_lib_var=`echo blas'_'sgemm_ | sed 'y%./+-%__p_%'`
    1205612041
     
    1205812043LIBS="-lblas  $LIBS"
    1205912044cat > conftest.$ac_ext <<EOF
    12060 #line 12061 "configure"
     12045#line 12046 "configure"
    1206112046#include "confdefs.h"
    1206212047/* Override any gcc2 internal prototype to avoid an error.  */
     
    1206912054; return 0; }
    1207012055EOF
    12071 if { (eval echo configure:12072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12056if { (eval echo configure:12057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1207212057  rm -rf conftest*
    1207312058  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1208412069  echo "$ac_t""yes" 1>&6
    1208512070  echo $ac_n "checking for dgemm_ in -ldgemm""... $ac_c" 1>&6
    12086 echo "configure:12087: checking for dgemm_ in -ldgemm" >&5
     12071echo "configure:12072: checking for dgemm_ in -ldgemm" >&5
    1208712072ac_lib_var=`echo dgemm'_'dgemm_ | sed 'y%./+-%__p_%'`
    1208812073
     
    1209012075LIBS="-ldgemm -lblas $LIBS"
    1209112076cat > conftest.$ac_ext <<EOF
    12092 #line 12093 "configure"
     12077#line 12078 "configure"
    1209312078#include "confdefs.h"
    1209412079/* Override any gcc2 internal prototype to avoid an error.  */
     
    1210112086; return 0; }
    1210212087EOF
    12103 if { (eval echo configure:12104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12088if { (eval echo configure:12089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1210412089  rm -rf conftest*
    1210512090  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1211612101  echo "$ac_t""yes" 1>&6
    1211712102  echo $ac_n "checking for sgemm_ in -lsgemm""... $ac_c" 1>&6
    12118 echo "configure:12119: checking for sgemm_ in -lsgemm" >&5
     12103echo "configure:12104: checking for sgemm_ in -lsgemm" >&5
    1211912104ac_lib_var=`echo sgemm'_'sgemm_ | sed 'y%./+-%__p_%'`
    1212012105
     
    1212212107LIBS="-lsgemm -lblas $LIBS"
    1212312108cat > conftest.$ac_ext <<EOF
    12124 #line 12125 "configure"
     12109#line 12110 "configure"
    1212512110#include "confdefs.h"
    1212612111/* Override any gcc2 internal prototype to avoid an error.  */
     
    1213312118; return 0; }
    1213412119EOF
    12135 if { (eval echo configure:12136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12120if { (eval echo configure:12121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1213612121  rm -rf conftest*
    1213712122  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1216712152        if test "x$GCC" != xyes; then # only works with Sun CC
    1216812153                echo $ac_n "checking for acosp in -lsunmath""... $ac_c" 1>&6
    12169 echo "configure:12170: checking for acosp in -lsunmath" >&5
     12154echo "configure:12155: checking for acosp in -lsunmath" >&5
    1217012155ac_lib_var=`echo sunmath'_'acosp | sed 'y%./+-%__p_%'`
    1217112156
     
    1217312158LIBS="-lsunmath  $LIBS"
    1217412159cat > conftest.$ac_ext <<EOF
    12175 #line 12176 "configure"
     12160#line 12161 "configure"
    1217612161#include "confdefs.h"
    1217712162/* Override any gcc2 internal prototype to avoid an error.  */
     
    1218412169; return 0; }
    1218512170EOF
    12186 if { (eval echo configure:12187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12171if { (eval echo configure:12172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1218712172  rm -rf conftest*
    1218812173  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1219912184  echo "$ac_t""yes" 1>&6
    1220012185  echo $ac_n "checking for sgemm_ in -lsunperf""... $ac_c" 1>&6
    12201 echo "configure:12202: checking for sgemm_ in -lsunperf" >&5
     12186echo "configure:12187: checking for sgemm_ in -lsunperf" >&5
    1220212187ac_lib_var=`echo sunperf'_'sgemm_ | sed 'y%./+-%__p_%'`
    1220312188
     
    1220512190LIBS="-lsunperf -lsunmath $LIBS"
    1220612191cat > conftest.$ac_ext <<EOF
    12207 #line 12208 "configure"
     12192#line 12193 "configure"
    1220812193#include "confdefs.h"
    1220912194/* Override any gcc2 internal prototype to avoid an error.  */
     
    1221612201; return 0; }
    1221712202EOF
    12218 if { (eval echo configure:12219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12203if { (eval echo configure:12204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1221912204  rm -rf conftest*
    1222012205  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1224612231if test $blas_ok = no; then
    1224712232        echo $ac_n "checking for sgemm_ in -lblas""... $ac_c" 1>&6
    12248 echo "configure:12249: checking for sgemm_ in -lblas" >&5
     12233echo "configure:12234: checking for sgemm_ in -lblas" >&5
    1224912234ac_lib_var=`echo blas'_'sgemm_ | sed 'y%./+-%__p_%'`
    1225012235
     
    1225212237LIBS="-lblas  $LIBS"
    1225312238cat > conftest.$ac_ext <<EOF
    12254 #line 12255 "configure"
     12239#line 12240 "configure"
    1225512240#include "confdefs.h"
    1225612241/* Override any gcc2 internal prototype to avoid an error.  */
     
    1226312248; return 0; }
    1226412249EOF
    12265 if { (eval echo configure:12266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12250if { (eval echo configure:12251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1226612251  rm -rf conftest*
    1226712252  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1230212287
    1230312288echo $ac_n "checking whether to use LAPACK""... $ac_c" 1>&6
    12304 echo "configure:12305: checking whether to use LAPACK" >&5
     12289echo "configure:12290: checking whether to use LAPACK" >&5
    1230512290echo "$ac_t"""$with_lapack"" 1>&6
    1230612291case "$with_lapack" in
     
    1232712312
    1232812313echo $ac_n "checking for location of LAPACK includes""... $ac_c" 1>&6
    12329 echo "configure:12330: checking for location of LAPACK includes" >&5
     12314echo "configure:12315: checking for location of LAPACK includes" >&5
    1233012315case "$with_lapack_includes" in
    1233112316y | ye | yes | n | no)
     
    1234712332
    1234812333echo $ac_n "checking for location of LAPACK library""... $ac_c" 1>&6
    12349 echo "configure:12350: checking for location of LAPACK library" >&5
     12334echo "configure:12335: checking for location of LAPACK library" >&5
    1235012335case "$with_lapack_libs" in
    1235112336y | ye | yes | n | no)
     
    1237312358ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1237412359echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    12375 echo "configure:12376: checking for $ac_hdr" >&5
    12376 
    12377 cat > conftest.$ac_ext <<EOF
    12378 #line 12379 "configure"
     12360echo "configure:12361: checking for $ac_hdr" >&5
     12361
     12362cat > conftest.$ac_ext <<EOF
     12363#line 12364 "configure"
    1237912364#include "confdefs.h"
    1238012365#include <$ac_hdr>
    1238112366EOF
    1238212367ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    12383 { (eval echo configure:12384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     12368{ (eval echo configure:12369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1238412369ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1238512370if test -z "$ac_err"; then
     
    1241312398        save_LDFLAGS="$LDFLAGS"; LDFLAGS="$LAPACKLIB $LDFLAGS"
    1241412399        echo $ac_n "checking for dsegv_""... $ac_c" 1>&6
    12415 echo "configure:12416: checking for dsegv_" >&5
    12416 
    12417 cat > conftest.$ac_ext <<EOF
    12418 #line 12419 "configure"
     12400echo "configure:12401: checking for dsegv_" >&5
     12401
     12402cat > conftest.$ac_ext <<EOF
     12403#line 12404 "configure"
    1241912404#include "confdefs.h"
    1242012405/* System header to define __stub macros and hopefully few prototypes,
     
    1243912424; return 0; }
    1244012425EOF
    12441 if { (eval echo configure:12442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12426if { (eval echo configure:12427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1244212427  rm -rf conftest*
    1244312428  eval "ac_cv_func_dsegv_=yes"
     
    1246612451        save_LDFLAGS="$LDFLAGS"; LDFLAGS="$LAPACKLIB $LDFLAGS"
    1246712452        echo $ac_n "checking for desgv_ in -llapack""... $ac_c" 1>&6
    12468 echo "configure:12469: checking for desgv_ in -llapack" >&5
     12453echo "configure:12454: checking for desgv_ in -llapack" >&5
    1246912454ac_lib_var=`echo lapack'_'desgv_ | sed 'y%./+-%__p_%'`
    1247012455
     
    1247212457LIBS="-llapack $FLIBS $LIBS"
    1247312458cat > conftest.$ac_ext <<EOF
    12474 #line 12475 "configure"
     12459#line 12460 "configure"
    1247512460#include "confdefs.h"
    1247612461/* Override any gcc2 internal prototype to avoid an error.  */
     
    1248312468; return 0; }
    1248412469EOF
    12485 if { (eval echo configure:12486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12470if { (eval echo configure:12471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1248612471  rm -rf conftest*
    1248712472  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1251512500
    1251612501echo $ac_n "checking for dgesv_ in -llapack""... $ac_c" 1>&6
    12517 echo "configure:12518: checking for dgesv_ in -llapack" >&5
     12502echo "configure:12503: checking for dgesv_ in -llapack" >&5
    1251812503ac_lib_var=`echo lapack'_'dgesv_ | sed 'y%./+-%__p_%'`
    1251912504
     
    1252112506LIBS="-llapack $BLASLIB $MATHLIB  $LIBS"
    1252212507cat > conftest.$ac_ext <<EOF
    12523 #line 12524 "configure"
     12508#line 12509 "configure"
    1252412509#include "confdefs.h"
    1252512510/* Override any gcc2 internal prototype to avoid an error.  */
     
    1253212517; return 0; }
    1253312518EOF
    12534 if { (eval echo configure:12535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12519if { (eval echo configure:12520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1253512520  rm -rf conftest*
    1253612521  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1255112536
    1255212537echo $ac_n "checking for dgesv_ in -llapack""... $ac_c" 1>&6
    12553 echo "configure:12554: checking for dgesv_ in -llapack" >&5
     12538echo "configure:12539: checking for dgesv_ in -llapack" >&5
    1255412539ac_lib_var=`echo lapack'_'dgesv_ | sed 'y%./+-%__p_%'`
    1255512540
     
    1255712542LIBS="-llapack $BLASLIB $MATHLIB -lg2c $LIBS"
    1255812543cat > conftest.$ac_ext <<EOF
    12559 #line 12560 "configure"
     12544#line 12545 "configure"
    1256012545#include "confdefs.h"
    1256112546/* Override any gcc2 internal prototype to avoid an error.  */
     
    1256812553; return 0; }
    1256912554EOF
    12570 if { (eval echo configure:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12555if { (eval echo configure:12556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1257112556  rm -rf conftest*
    1257212557  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1262412609
    1262512610echo $ac_n "checking whether to use Cairo""... $ac_c" 1>&6
    12626 echo "configure:12627: checking whether to use Cairo" >&5
     12611echo "configure:12612: checking whether to use Cairo" >&5
    1262712612echo "$ac_t"""$with_cairo"" 1>&6
    1262812613case "$with_cairo" in
     
    1265012635
    1265112636echo $ac_n "checking for location of cairo includes""... $ac_c" 1>&6
    12652 echo "configure:12653: checking for location of cairo includes" >&5
     12637echo "configure:12638: checking for location of cairo includes" >&5
    1265312638case "$with_cairo_includes" in
    1265412639y | ye | yes | n | no)
     
    1267612661ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1267712662echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    12678 echo "configure:12679: checking for $ac_hdr" >&5
    12679 
    12680 cat > conftest.$ac_ext <<EOF
    12681 #line 12682 "configure"
     12663echo "configure:12664: checking for $ac_hdr" >&5
     12664
     12665cat > conftest.$ac_ext <<EOF
     12666#line 12667 "configure"
    1268212667#include "confdefs.h"
    1268312668#include <$ac_hdr>
    1268412669EOF
    1268512670ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    12686 { (eval echo configure:12687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     12671{ (eval echo configure:12672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1268712672ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1268812673if test -z "$ac_err"; then
     
    1272012705
    1272112706echo $ac_n "checking for location of cairo library""... $ac_c" 1>&6
    12722 echo "configure:12723: checking for location of cairo library" >&5
     12707echo "configure:12708: checking for location of cairo library" >&5
    1272312708case "$with_cairo_libs" in
    1272412709y | ye | yes | n | no)
     
    1274012725
    1274112726echo $ac_n "checking for cairo linking flags""... $ac_c" 1>&6
    12742 echo "configure:12743: checking for cairo linking flags" >&5
     12727echo "configure:12728: checking for cairo linking flags" >&5
    1274312728case "$with_cairo_ldflags" in
    1274412729y | ye | yes | n | no)
     
    1275612741LDFLAGS=" $LDFLAGS"
    1275712742echo $ac_n "checking for cairo_create""... $ac_c" 1>&6
    12758 echo "configure:12759: checking for cairo_create" >&5
    12759 
    12760 cat > conftest.$ac_ext <<EOF
    12761 #line 12762 "configure"
     12743echo "configure:12744: checking for cairo_create" >&5
     12744
     12745cat > conftest.$ac_ext <<EOF
     12746#line 12747 "configure"
    1276212747#include "confdefs.h"
    1276312748/* System header to define __stub macros and hopefully few prototypes,
     
    1278212767; return 0; }
    1278312768EOF
    12784 if { (eval echo configure:12785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12769if { (eval echo configure:12770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1278512770  rm -rf conftest*
    1278612771  eval "ac_cv_func_cairo_create=yes"
     
    1281612801LDFLAGS=" $LDFLAGS"
    1281712802echo $ac_n "checking for cairo_xlib_surface_create_with_xrender_format""... $ac_c" 1>&6
    12818 echo "configure:12819: checking for cairo_xlib_surface_create_with_xrender_format" >&5
    12819 
    12820 cat > conftest.$ac_ext <<EOF
    12821 #line 12822 "configure"
     12803echo "configure:12804: checking for cairo_xlib_surface_create_with_xrender_format" >&5
     12804
     12805cat > conftest.$ac_ext <<EOF
     12806#line 12807 "configure"
    1282212807#include "confdefs.h"
    1282312808/* System header to define __stub macros and hopefully few prototypes,
     
    1284212827; return 0; }
    1284312828EOF
    12844 if { (eval echo configure:12845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12829if { (eval echo configure:12830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1284512830  rm -rf conftest*
    1284612831  eval "ac_cv_func_cairo_xlib_surface_create_with_xrender_format=yes"
     
    1287512860LDFLAGS=" $LDFLAGS"
    1287612861echo $ac_n "checking for cairo_xlib_surface_get_xrender_format""... $ac_c" 1>&6
    12877 echo "configure:12878: checking for cairo_xlib_surface_get_xrender_format" >&5
    12878 
    12879 cat > conftest.$ac_ext <<EOF
    12880 #line 12881 "configure"
     12862echo "configure:12863: checking for cairo_xlib_surface_get_xrender_format" >&5
     12863
     12864cat > conftest.$ac_ext <<EOF
     12865#line 12866 "configure"
    1288112866#include "confdefs.h"
    1288212867/* System header to define __stub macros and hopefully few prototypes,
     
    1290112886; return 0; }
    1290212887EOF
    12903 if { (eval echo configure:12904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     12888if { (eval echo configure:12889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1290412889  rm -rf conftest*
    1290512890  eval "ac_cv_func_cairo_xlib_surface_get_xrender_format=yes"
     
    1294312928
    1294412929echo $ac_n "checking whether to use FreeType""... $ac_c" 1>&6
    12945 echo "configure:12946: checking whether to use FreeType" >&5
     12930echo "configure:12931: checking whether to use FreeType" >&5
    1294612931echo "$ac_t"""$with_freetype"" 1>&6
    1294712932case "$with_freetype" in
     
    1296212947
    1296312948echo $ac_n "checking for location of FreeType includes""... $ac_c" 1>&6
    12964 echo "configure:12965: checking for location of FreeType includes" >&5
     12949echo "configure:12950: checking for location of FreeType includes" >&5
    1296512950case "$with_freetype_includes" in
    1296612951y | ye | yes | n | no)
     
    1298812973ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1298912974echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    12990 echo "configure:12991: checking for $ac_hdr" >&5
    12991 
    12992 cat > conftest.$ac_ext <<EOF
    12993 #line 12994 "configure"
     12975echo "configure:12976: checking for $ac_hdr" >&5
     12976
     12977cat > conftest.$ac_ext <<EOF
     12978#line 12979 "configure"
    1299412979#include "confdefs.h"
    1299512980#include <$ac_hdr>
    1299612981EOF
    1299712982ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    12998 { (eval echo configure:12999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     12983{ (eval echo configure:12984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1299912984ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1300012985if test -z "$ac_err"; then
     
    1303013015
    1303113016echo $ac_n "checking for location of FreeType library""... $ac_c" 1>&6
    13032 echo "configure:13033: checking for location of FreeType library" >&5
     13017echo "configure:13018: checking for location of FreeType library" >&5
    1303313018case "$with_freetype_libs" in
    1303413019y | ye | yes | n | no)
     
    1305513040
    1305613041echo $ac_n "checking for FT_Init_FreeType in -lfreetype""... $ac_c" 1>&6
    13057 echo "configure:13058: checking for FT_Init_FreeType in -lfreetype" >&5
     13042echo "configure:13043: checking for FT_Init_FreeType in -lfreetype" >&5
    1305813043ac_lib_var=`echo freetype'_'FT_Init_FreeType | sed 'y%./+-%__p_%'`
    1305913044
     
    1306113046LIBS="-lfreetype  $LIBS"
    1306213047cat > conftest.$ac_ext <<EOF
    13063 #line 13064 "configure"
     13048#line 13049 "configure"
    1306413049#include "confdefs.h"
    1306513050/* Override any gcc2 internal prototype to avoid an error.  */
     
    1307213057; return 0; }
    1307313058EOF
    13074 if { (eval echo configure:13075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     13059if { (eval echo configure:13060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1307513060  rm -rf conftest*
    1307613061  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1311313098
    1311413099echo $ac_n "checking whether to use NLS""... $ac_c" 1>&6
    13115 echo "configure:13116: checking whether to use NLS" >&5
     13100echo "configure:13101: checking whether to use NLS" >&5
    1311613101echo "$ac_t"""$with_nls"" 1>&6
    1311713102case "$with_nls" in
     
    1313313118
    1313413119echo $ac_n "checking for gettext""... $ac_c" 1>&6
    13135 echo "configure:13136: checking for gettext" >&5
    13136 
    13137 cat > conftest.$ac_ext <<EOF
    13138 #line 13139 "configure"
     13120echo "configure:13121: checking for gettext" >&5
     13121
     13122cat > conftest.$ac_ext <<EOF
     13123#line 13124 "configure"
    1313913124#include "confdefs.h"
    1314013125/* System header to define __stub macros and hopefully few prototypes,
     
    1315913144; return 0; }
    1316013145EOF
    13161 if { (eval echo configure:13162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     13146if { (eval echo configure:13147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1316213147  rm -rf conftest*
    1316313148  eval "ac_cv_func_gettext=yes"
     
    1317713162
    1317813163echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
    13179 echo "configure:13180: checking for gettext in -lintl" >&5
     13164echo "configure:13165: checking for gettext in -lintl" >&5
    1318013165ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
    1318113166
     
    1318313168LIBS="-lintl  $LIBS"
    1318413169cat > conftest.$ac_ext <<EOF
    13185 #line 13186 "configure"
     13170#line 13171 "configure"
    1318613171#include "confdefs.h"
    1318713172/* Override any gcc2 internal prototype to avoid an error.  */
     
    1319413179; return 0; }
    1319513180EOF
    13196 if { (eval echo configure:13197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     13181if { (eval echo configure:13182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1319713182  rm -rf conftest*
    1319813183  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1322913214
    1323013215echo $ac_n "checking whether to use C++""... $ac_c" 1>&6
    13231 echo "configure:13232: checking whether to use C++" >&5
     13216echo "configure:13217: checking whether to use C++" >&5
    1323213217echo "$ac_t"""$with_cxx"" 1>&6
    1323313218case "$with_cxx" in
     
    1324513230set dummy $ac_prog; ac_word=$2
    1324613231echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    13247 echo "configure:13248: checking for $ac_word" >&5
     13232echo "configure:13233: checking for $ac_word" >&5
    1324813233
    1324913234if test -n "$CXX"; then
     
    1327413259
    1327513260echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    13276 echo "configure:13277: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     13261echo "configure:13262: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    1327713262
    1327813263ac_ext=C
     
    1328513270cat > conftest.$ac_ext << EOF
    1328613271
    13287 #line 13288 "configure"
     13272#line 13273 "configure"
    1328813273#include "confdefs.h"
    1328913274
    1329013275int main(){return(0);}
    1329113276EOF
    13292 if { (eval echo configure:13293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     13277if { (eval echo configure:13278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1329313278  ac_cv_prog_cxx_works=yes
    1329413279  # If we can't run a trivial program, we are probably using a cross compiler.
     
    1331613301fi
    1331713302echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    13318 echo "configure:13319: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     13303echo "configure:13304: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    1331913304echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    1332013305cross_compiling=$ac_cv_prog_cxx_cross
    1332113306
    1332213307echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    13323 echo "configure:13324: checking whether we are using GNU C++" >&5
     13308echo "configure:13309: checking whether we are using GNU C++" >&5
    1332413309
    1332513310cat > conftest.C <<EOF
     
    1332813313#endif
    1332913314EOF
    13330 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:13331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     13315if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:13316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    1333113316  ac_cv_prog_gxx=yes
    1333213317else
     
    1334613331CXXFLAGS=
    1334713332echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    13348 echo "configure:13349: checking whether ${CXX-g++} accepts -g" >&5
     13333echo "configure:13334: checking whether ${CXX-g++} accepts -g" >&5
    1334913334
    1335013335echo 'void f(){}' > conftest.cc
     
    1338713372
    1338813373echo $ac_n "checking whether to use openDWG""... $ac_c" 1>&6
    13389 echo "configure:13390: checking whether to use openDWG" >&5
     13374echo "configure:13375: checking whether to use openDWG" >&5
    1339013375echo "$ac_t"""$with_opendwg"" 1>&6
    1339113376case "$with_opendwg" in
     
    1340713392
    1340813393echo $ac_n "checking for location of openDGW includes""... $ac_c" 1>&6
    13409 echo "configure:13410: checking for location of openDGW includes" >&5
     13394echo "configure:13395: checking for location of openDGW includes" >&5
    1341013395case "$with_opendwg_includes" in
    1341113396y | ye | yes | n | no)
     
    1343313418ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1343413419echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    13435 echo "configure:13436: checking for $ac_hdr" >&5
    13436 
    13437 cat > conftest.$ac_ext <<EOF
    13438 #line 13439 "configure"
     13420echo "configure:13421: checking for $ac_hdr" >&5
     13421
     13422cat > conftest.$ac_ext <<EOF
     13423#line 13424 "configure"
    1343913424#include "confdefs.h"
    1344013425#include <$ac_hdr>
    1344113426EOF
    1344213427ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    13443 { (eval echo configure:13444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     13428{ (eval echo configure:13429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1344413429ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1344513430if test -z "$ac_err"; then
     
    1347513460
    1347613461echo $ac_n "checking for location of openDWG library""... $ac_c" 1>&6
    13477 echo "configure:13478: checking for location of openDWG library" >&5
     13462echo "configure:13463: checking for location of openDWG library" >&5
    1347813463case "$with_opendwg_libs" in
    1347913464y | ye | yes | n | no)
     
    1351613501
    1351713502echo $ac_n "checking whether to use POSIX threads""... $ac_c" 1>&6
    13518 echo "configure:13519: checking whether to use POSIX threads" >&5
     13503echo "configure:13504: checking whether to use POSIX threads" >&5
    1351913504echo "$ac_t"""$with_pthread"" 1>&6
    1352013505case "$with_pthread" in
     
    1353613521
    1353713522echo $ac_n "checking for location of POSIX threads includes""... $ac_c" 1>&6
    13538 echo "configure:13539: checking for location of POSIX threads includes" >&5
     13523echo "configure:13524: checking for location of POSIX threads includes" >&5
    1353913524case "$with_pthread_includes" in
    1354013525y | ye | yes | n | no)
     
    1356213547ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1356313548echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    13564 echo "configure:13565: checking for $ac_hdr" >&5
    13565 
    13566 cat > conftest.$ac_ext <<EOF
    13567 #line 13568 "configure"
     13549echo "configure:13550: checking for $ac_hdr" >&5
     13550
     13551cat > conftest.$ac_ext <<EOF
     13552#line 13553 "configure"
    1356813553#include "confdefs.h"
    1356913554#include <$ac_hdr>
    1357013555EOF
    1357113556ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    13572 { (eval echo configure:13573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     13557{ (eval echo configure:13558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1357313558ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1357413559if test -z "$ac_err"; then
     
    1360413589
    1360513590echo $ac_n "checking for location of POSIX threads library""... $ac_c" 1>&6
    13606 echo "configure:13607: checking for location of POSIX threads library" >&5
     13591echo "configure:13592: checking for location of POSIX threads library" >&5
    1360713592case "$with_pthread_libs" in
    1360813593y | ye | yes | n | no)
     
    1362913614LDFLAGS=" $LDFLAGS"
    1363013615echo $ac_n "checking for pthread_create""... $ac_c" 1>&6
    13631 echo "configure:13632: checking for pthread_create" >&5
    13632 
    13633 cat > conftest.$ac_ext <<EOF
    13634 #line 13635 "configure"
     13616echo "configure:13617: checking for pthread_create" >&5
     13617
     13618cat > conftest.$ac_ext <<EOF
     13619#line 13620 "configure"
    1363513620#include "confdefs.h"
    1363613621/* System header to define __stub macros and hopefully few prototypes,
     
    1365513640; return 0; }
    1365613641EOF
    13657 if { (eval echo configure:13658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     13642if { (eval echo configure:13643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1365813643  rm -rf conftest*
    1365913644  eval "ac_cv_func_pthread_create=yes"
     
    1368213667
    1368313668echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
    13684 echo "configure:13685: checking for pthread_create in -lpthread" >&5
     13669echo "configure:13670: checking for pthread_create in -lpthread" >&5
    1368513670ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
    1368613671
     
    1368813673LIBS="-lpthread  $LIBS"
    1368913674cat > conftest.$ac_ext <<EOF
    13690 #line 13691 "configure"
     13675#line 13676 "configure"
    1369113676#include "confdefs.h"
    1369213677/* Override any gcc2 internal prototype to avoid an error.  */
     
    1369913684; return 0; }
    1370013685EOF
    13701 if { (eval echo configure:13702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     13686if { (eval echo configure:13687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1370213687  rm -rf conftest*
    1370313688  eval "ac_cv_lib_$ac_lib_var=yes"
     
    1375513740
    1375613741     echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6
    13757 echo "configure:13758: checking for special C compiler options needed for large files" >&5
     13742echo "configure:13743: checking for special C compiler options needed for large files" >&5
    1375813743
    1375913744ac_cv_sys_largefile_CC=no
     
    1376313748          # so use the C compiler's -n32 option if that helps.
    1376413749          cat > conftest.$ac_ext <<EOF
    13765 #line 13766 "configure"
     13750#line 13751 "configure"
    1376613751#include "confdefs.h"
    1376713752#include <sys/types.h>
     
    1377913764; return 0; }
    1378013765EOF
    13781 if { (eval echo configure:13782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     13766if { (eval echo configure:13767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1378213767  :
    1378313768else
     
    1378813773             CC="$CC -n32"
    1378913774             cat > conftest.$ac_ext <<EOF
    13790 #line 13791 "configure"
     13775#line 13776 "configure"
    1379113776#include "confdefs.h"
    1379213777#include <sys/types.h>
     
    1380413789; return 0; }
    1380513790EOF
    13806 if { (eval echo configure:13807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     13791if { (eval echo configure:13792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1380713792  rm -rf conftest*
    1380813793  ac_cv_sys_largefile_CC=' -n32'
     
    1382413809
    1382513810     echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
    13826 echo "configure:13827: checking for _FILE_OFFSET_BITS value needed for large files" >&5
     13811echo "configure:13812: checking for _FILE_OFFSET_BITS value needed for large files" >&5
    1382713812
    1382813813ac_cv_sys_file_offset_bits=no
    1382913814      cat > conftest.$ac_ext <<EOF
    13830 #line 13831 "configure"
     13815#line 13816 "configure"
    1383113816#include "confdefs.h"
    1383213817#include <sys/types.h>
     
    1384413829; return 0; }
    1384513830EOF
    13846 if { (eval echo configure:13847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     13831if { (eval echo configure:13832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1384713832  :
    1384813833else
     
    1385113836  rm -rf conftest*
    1385213837  cat > conftest.$ac_ext <<EOF
    13853 #line 13854 "configure"
     13838#line 13839 "configure"
    1385413839#include "confdefs.h"
    1385513840#define _FILE_OFFSET_BITS 64
     
    1386913854; return 0; }
    1387013855EOF
    13871 if { (eval echo configure:13872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     13856if { (eval echo configure:13857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1387213857  rm -rf conftest*
    1387313858  ac_cv_sys_file_offset_bits=64
     
    1388813873   fi
    1388913874     echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
    13890 echo "configure:13891: checking for _LARGE_FILES value needed for large files" >&5
     13875echo "configure:13876: checking for _LARGE_FILES value needed for large files" >&5
    1389113876
    1389213877ac_cv_sys_large_files=no
    1389313878      cat > conftest.$ac_ext <<EOF
    13894 #line 13895 "configure"
     13879#line 13880 "configure"
    1389513880#include "confdefs.h"
    1389613881#include <sys/types.h>
     
    1390813893; return 0; }
    1390913894EOF
    13910 if { (eval echo configure:13911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     13895if { (eval echo configure:13896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1391113896  :
    1391213897else
     
    1391513900  rm -rf conftest*
    1391613901  cat > conftest.$ac_ext <<EOF
    13917 #line 13918 "configure"
     13902#line 13903 "configure"
    1391813903#include "confdefs.h"
    1391913904#define _LARGE_FILES 1
     
    1393313918; return 0; }
    1393413919EOF
    13935 if { (eval echo configure:13936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     13920if { (eval echo configure:13921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1393613921  rm -rf conftest*
    1393713922  ac_cv_sys_large_files=1
     
    1395213937   fi
    1395313938     echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
    13954 echo "configure:13955: checking for _LARGEFILE_SOURCE value needed for large files" >&5
     13939echo "configure:13940: checking for _LARGEFILE_SOURCE value needed for large files" >&5
    1395513940
    1395613941ac_cv_sys_largefile_source=no
    1395713942      cat > conftest.$ac_ext <<EOF
    13958 #line 13959 "configure"
     13943#line 13944 "configure"
    1395913944#include "confdefs.h"
    1396013945#include <stdio.h>
     
    1396313948; return 0; }
    1396413949EOF
    13965 if { (eval echo configure:13966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     13950if { (eval echo configure:13951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1396613951  :
    1396713952else
     
    1397013955  rm -rf conftest*
    1397113956  cat > conftest.$ac_ext <<EOF
    13972 #line 13973 "configure"
     13957#line 13958 "configure"
    1397313958#include "confdefs.h"
    1397413959#define _LARGEFILE_SOURCE 1
     
    1397913964; return 0; }
    1398013965EOF
    13981 if { (eval echo configure:13982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     13966if { (eval echo configure:13967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1398213967  rm -rf conftest*
    1398313968  ac_cv_sys_largefile_source=1
     
    1400013985 
    1400113986echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6
    14002 echo "configure:14003: checking for _LARGEFILE_SOURCE value needed for large files" >&5
     13987echo "configure:13988: checking for _LARGEFILE_SOURCE value needed for large files" >&5
    1400313988
    1400413989ac_cv_sys_largefile_source=no
    1400513990      cat > conftest.$ac_ext <<EOF
    14006 #line 14007 "configure"
     13991#line 13992 "configure"
    1400713992#include "confdefs.h"
    1400813993#include <stdio.h>
     
    1401113996; return 0; }
    1401213997EOF
    14013 if { (eval echo configure:14014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     13998if { (eval echo configure:13999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1401413999  :
    1401514000else
     
    1401814003  rm -rf conftest*
    1401914004  cat > conftest.$ac_ext <<EOF
    14020 #line 14021 "configure"
     14005#line 14006 "configure"
    1402114006#include "confdefs.h"
    1402214007#define _LARGEFILE_SOURCE 1
     
    1402714012; return 0; }
    1402814013EOF
    14029 if { (eval echo configure:14030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     14014if { (eval echo configure:14015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1403014015  rm -rf conftest*
    1403114016  ac_cv_sys_largefile_source=1
     
    1405014035
    1405114036   echo $ac_n "checking for fseeko""... $ac_c" 1>&6
    14052 echo "configure:14053: checking for fseeko" >&5
     14037echo "configure:14038: checking for fseeko" >&5
    1405314038
    1405414039ac_cv_func_fseeko=no
    1405514040      cat > conftest.$ac_ext <<EOF
    14056 #line 14057 "configure"
     14041#line 14042 "configure"
    1405714042#include "confdefs.h"
    1405814043#include <stdio.h>
     
    1406114046; return 0; }
    1406214047EOF
    14063 if { (eval echo configure:14064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     14048if { (eval echo configure:14049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1406414049  rm -rf conftest*
    1406514050  ac_cv_func_fseeko=yes
     
    1407814063   fi
    1407914064echo $ac_n "checking if system supports Large Files at all""... $ac_c" 1>&6
    14080 echo "configure:14081: checking if system supports Large Files at all" >&5
    14081 
    14082 cat > conftest.$ac_ext <<EOF
    14083 #line 14084 "configure"
     14065echo "configure:14066: checking if system supports Large Files at all" >&5
     14066
     14067cat > conftest.$ac_ext <<EOF
     14068#line 14069 "configure"
    1408414069#include "confdefs.h"
    1408514070#include <stdio.h>
     
    1411314098; return 0; }
    1411414099EOF
    14115 if { (eval echo configure:14116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     14100if { (eval echo configure:14101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1411614101  rm -rf conftest*
    1411714102  ac_cv_largefiles=yes
     
    1413914124# Done large file support
    1414014125
    14141 # Python check
    14142 
    14143 echo $ac_n "checking whether to use Python""... $ac_c" 1>&6
    14144 echo "configure:14145: checking whether to use Python" >&5
    14145 
    14146 PYTHONINC=
    14147 PYTHONCFLAGS=
    14148 PYTHONLDFLAGS=
    14149 SWIG=
    14150 USE_PYTHON=
    14151 MACOSX_ARCHS_PYTHON=
    14152 
    14153 if test "$with_python" = "no" ; then
    14154   echo "$ac_t""no" 1>&6
    14155 else
    14156   echo "$ac_t""yes" 1>&6
    14157   USE_PYTHON="1"
    14158   if test "$with_python" != "yes" ; then
    14159     PY_CONFIG="$with_python"
    14160   fi
    14161 
    14162   # Extract the first word of "python-config", so it can be a program name with args.
    14163 set dummy python-config; ac_word=$2
    14164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    14165 echo "configure:14166: checking for $ac_word" >&5
    14166 
    14167 case "$PY_CONFIG" in
    14168   /*)
    14169   ac_cv_path_PY_CONFIG="$PY_CONFIG" # Let the user override the test with a path.
    14170   ;;
    14171   ?:/*)                 
    14172   ac_cv_path_PY_CONFIG="$PY_CONFIG" # Let the user override the test with a dos path.
    14173   ;;
    14174   *)
    14175   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    14176   ac_dummy="$PATH"
    14177   for ac_dir in $ac_dummy; do
    14178     test -z "$ac_dir" && ac_dir=.
    14179     if test -f $ac_dir/$ac_word; then
    14180       ac_cv_path_PY_CONFIG="$ac_dir/$ac_word"
    14181       break
    14182     fi
    14183   done
    14184   IFS="$ac_save_ifs"
    14185   test -z "$ac_cv_path_PY_CONFIG" && ac_cv_path_PY_CONFIG="no"
    14186   ;;
    14187 esac
    14188 PY_CONFIG="$ac_cv_path_PY_CONFIG"
    14189 if test -n "$PY_CONFIG"; then
    14190   echo "$ac_t""$PY_CONFIG" 1>&6
    14191 else
    14192   echo "$ac_t""no" 1>&6
    14193 fi
    14194 
    14195 
    14196   if test "$PY_CONFIG" != "no" ; then
    14197     # With Python includes directory
    14198 
    14199     PYTHONINC=`"$PY_CONFIG" --includes`
    14200    
    14201 ac_save_cppflags="$CPPFLAGS"
    14202 CPPFLAGS="$PYTHONINC $CPPFLAGS"
    14203 for ac_hdr in Python.h
    14204 do
    14205 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    14206 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    14207 echo "configure:14208: checking for $ac_hdr" >&5
    14208 
    14209 cat > conftest.$ac_ext <<EOF
    14210 #line 14211 "configure"
    14211 #include "confdefs.h"
    14212 #include <$ac_hdr>
    14213 EOF
    14214 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    14215 { (eval echo configure:14216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14216 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    14217 if test -z "$ac_err"; then
    14218   rm -rf conftest*
    14219   eval "ac_cv_header_$ac_safe=yes"
    14220 else
    14221   echo "$ac_err" >&5
    14222   echo "configure: failed program was:" >&5
    14223   cat conftest.$ac_ext >&5
    14224   rm -rf conftest*
    14225   eval "ac_cv_header_$ac_safe=no"
    14226 fi
    14227 rm -f conftest*
    14228 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    14229   echo "$ac_t""yes" 1>&6
    14230     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    14231   cat >> confdefs.h <<EOF
    14232 #define $ac_tr_hdr 1
    14233 EOF
    14234  
    14235 else
    14236   echo "$ac_t""no" 1>&6
    14237 { echo "configure: error: *** Unable to locate Python includes." 1>&2; exit 1; }
    14238 
    14239 fi
    14240 done
    14241 
    14242 CPPFLAGS=$ac_save_cppflags
    14243 
    14244 
    14245     PYTHONCFLAGS=`"$PY_CONFIG" --cflags`
    14246 
    14247     # With Python library directory
    14248 
    14249     PYTHONLDFLAGS=`"$PY_CONFIG" --ldflags`
    14250 
    14251     # shouldn't have arch flags in C/LD flags on OSX
    14252     for a in i386 ppc x86_64 ppc64
    14253     do
    14254       PYTHONCFLAGS=`echo "$PYTHONCFLAGS" | sed "s/-arch  *$a//g"`
    14255       PYTHONLDFLAGS=`echo "$PYTHONLDFLAGS" | sed "s/-arch  *$a//g"`
    14256     done
    14257   fi
    14258 
    14259   # look for the swig program
    14260   # Extract the first word of "swig", so it can be a program name with args.
    14261 set dummy swig; ac_word=$2
    14262 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    14263 echo "configure:14264: checking for $ac_word" >&5
    14264 
    14265 case "$SWIG" in
    14266   /*)
    14267   ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
    14268   ;;
    14269   ?:/*)                 
    14270   ac_cv_path_SWIG="$SWIG" # Let the user override the test with a dos path.
    14271   ;;
    14272   *)
    14273   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    14274   ac_dummy="$PATH"
    14275   for ac_dir in $ac_dummy; do
    14276     test -z "$ac_dir" && ac_dir=.
    14277     if test -f $ac_dir/$ac_word; then
    14278       ac_cv_path_SWIG="$ac_dir/$ac_word"
    14279       break
    14280     fi
    14281   done
    14282   IFS="$ac_save_ifs"
    14283   test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="no"
    14284   ;;
    14285 esac
    14286 SWIG="$ac_cv_path_SWIG"
    14287 if test -n "$SWIG"; then
    14288   echo "$ac_t""$SWIG" 1>&6
    14289 else
    14290   echo "$ac_t""no" 1>&6
    14291 fi
    14292 
    14293 
    14294   # if test "$SWIG" = "no" ; then
    14295   #   AC_MSG_ERROR([*** couldn't find swig])
    14296   # fi
    14297 
    14298   # check for available OSX archs in Python, assume framework
    14299   if test -n "$MACOSX_ARCHS" ; then
    14300     pylib=`"$PY_CONFIG" --prefix`/Python
    14301     pylibinfo=`file -L "$pylib"`
    14302     for a in i386 ppc x86_64 ppc64
    14303     do
    14304       # add only if in MACOSX_ARCHS
    14305       if test -n "`echo \"$pylibinfo\" | grep \"library $a\"`" ; then
    14306         if test -n "`echo "$MACOSX_ARCHS" | grep $a`" ; then
    14307           MACOSX_ARCHS_PYTHON="$MACOSX_ARCHS_PYTHON -arch $a"
    14308         fi
    14309       fi
    14310     done
    14311   fi
    14312 
    14313 fi # Done checking Python
    14314 
    14315 
    14316 
    14317 
    14318 
    14319 
    14320 
    14321 
    1432214126# Enable wxWidgets support (for wxGUI)
    1432314127
    1432414128echo $ac_n "checking whether to use wxWidgets""... $ac_c" 1>&6
    14325 echo "configure:14326: checking whether to use wxWidgets" >&5
     14129echo "configure:14130: checking whether to use wxWidgets" >&5
    1432614130
    1432714131WXVERSION=
     
    1434414148set dummy wx-config; ac_word=$2
    1434514149echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    14346 echo "configure:14347: checking for $ac_word" >&5
     14150echo "configure:14151: checking for $ac_word" >&5
    1434714151
    1434814152case "$WX_CONFIG" in
     
    1439214196
    1439314197 echo $ac_n "checking wxWidgets version""... $ac_c" 1>&6
    14394 echo "configure:14395: checking wxWidgets version" >&5
     14198echo "configure:14199: checking wxWidgets version" >&5
    1439514199 if WXVERSION=`"$WX_CONFIG" --version`; then
    1439614200   echo "$ac_t""$WXVERSION" 1>&6
     
    1441514219ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1441614220echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    14417 echo "configure:14418: checking for $ac_hdr" >&5
    14418 
    14419 cat > conftest.$ac_ext <<EOF
    14420 #line 14421 "configure"
     14221echo "configure:14222: checking for $ac_hdr" >&5
     14222
     14223cat > conftest.$ac_ext <<EOF
     14224#line 14225 "configure"
    1442114225#include "confdefs.h"
    1442214226#include <$ac_hdr>
    1442314227EOF
    1442414228ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    14425 { (eval echo configure:14426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     14229{ (eval echo configure:14230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1442614230ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1442714231if test -z "$ac_err"; then
     
    1475214556s%@USE_PTHREAD@%$USE_PTHREAD%g
    1475314557s%@USE_LARGEFILES@%$USE_LARGEFILES%g
    14754 s%@PY_CONFIG@%$PY_CONFIG%g
    14755 s%@SWIG@%$SWIG%g
    14756 s%@PYTHONINC@%$PYTHONINC%g
    14757 s%@PYTHONCFLAGS@%$PYTHONCFLAGS%g
    14758 s%@PYTHONLDFLAGS@%$PYTHONLDFLAGS%g
    14759 s%@USE_PYTHON@%$USE_PYTHON%g
    14760 s%@MACOSX_ARCHS_PYTHON@%$MACOSX_ARCHS_PYTHON%g
    1476114558s%@WX_CONFIG@%$WX_CONFIG%g
    1476214559s%@WXVERSION@%$WXVERSION%g
     
    1509614893echo "  PostgreSQL support:         `if test -n "${USE_POSTGRES}" ; then echo yes ; else echo no ; fi`"
    1509714894
    15098 echo "  Python support:             `if test -n "${USE_PYTHON}" ; then echo yes ; else echo no ; fi`"
    15099 
    1510014895echo "  Readline support:           `if test -n "${USE_READLINE}" ; then echo yes ; else echo no ; fi`"
    1510114896
  • grass/trunk/configure.in

    r44822 r45388  
    99#               are installed on the current system. It also defines certain
    1010#               configuration variables for compilation and installation.
    11 # COPYRIGHT:    (C) 2000-2009 by the GRASS Development Team
     11# COPYRIGHT:    (C) 2000-2009, 2011 by the GRASS Development Team
    1212#
    13 #               This program is free software under the GNU General Public
    14 #               License (>=v2). Read the file COPYING that comes with GRASS
    15 #               for details.
     13#               This program is free software under the GNU General
     14#               Public License (>=v2). Read the file COPYING that
     15#               comes with GRASS for details.
    1616#
    1717# MANUAL:       http://www.gnu.org/software/autoconf/manual/autoconf.html
     
    268268                          e.g. '--with-gdal=/usr/local/bin/gdal-config')])
    269269
    270 AC_ARG_WITH(python,
    271 [  --with-python[=path/python-config]
    272                           enable support for Python SWIG bindings and wxGUI
    273                           Python extensions (python-config with path, e.g.
    274                           '--with-python=/usr/bin/python2.5-config',
    275                           default: no)],, with_python="no")
    276 
    277270AC_ARG_WITH(wxwidgets,
    278271[  --with-wxwidgets[=path/wx-config]
     
    17401733AC_SUBST(USE_LARGEFILES)
    17411734# Done large file support
    1742 
    1743 # Python check
    1744 
    1745 AC_MSG_CHECKING(whether to use Python)
    1746 
    1747 PYTHONINC=
    1748 PYTHONCFLAGS=
    1749 PYTHONLDFLAGS=
    1750 SWIG=
    1751 USE_PYTHON=
    1752 MACOSX_ARCHS_PYTHON=
    1753 
    1754 if test "$with_python" = "no" ; then
    1755   AC_MSG_RESULT(no)
    1756 else
    1757   AC_MSG_RESULT(yes)
    1758   USE_PYTHON="1"
    1759   if test "$with_python" != "yes" ; then
    1760     PY_CONFIG="$with_python"
    1761   fi
    1762 
    1763   AC_PATH_PROG(PY_CONFIG, python-config, no)
    1764 
    1765   if test "$PY_CONFIG" != "no" ; then
    1766     # With Python includes directory
    1767 
    1768     PYTHONINC=`"$PY_CONFIG" --includes`
    1769     LOC_CHECK_INCLUDES(Python.h,Python,$PYTHONINC)
    1770 
    1771     PYTHONCFLAGS=`"$PY_CONFIG" --cflags`
    1772 
    1773     # With Python library directory
    1774 
    1775     PYTHONLDFLAGS=`"$PY_CONFIG" --ldflags`
    1776 
    1777     # shouldn't have arch flags in C/LD flags on OSX
    1778     for a in i386 ppc x86_64 ppc64
    1779     do
    1780       PYTHONCFLAGS=`echo "$PYTHONCFLAGS" | sed "s/-arch  *$a//g"`
    1781       PYTHONLDFLAGS=`echo "$PYTHONLDFLAGS" | sed "s/-arch  *$a//g"`
    1782     done
    1783   fi
    1784 
    1785   # look for the swig program
    1786   AC_PATH_PROG(SWIG, swig, no)
    1787 
    1788   # if test "$SWIG" = "no" ; then
    1789   #   AC_MSG_ERROR([*** couldn't find swig])
    1790   # fi
    1791 
    1792   # check for available OSX archs in Python, assume framework
    1793   if test -n "$MACOSX_ARCHS" ; then
    1794     pylib=`"$PY_CONFIG" --prefix`/Python
    1795     pylibinfo=`file -L "$pylib"`
    1796     for a in i386 ppc x86_64 ppc64
    1797     do
    1798       # add only if in MACOSX_ARCHS
    1799       if test -n "`echo \"$pylibinfo\" | grep \"library $a\"`" ; then
    1800         if test -n "`echo "$MACOSX_ARCHS" | grep $a`" ; then
    1801           MACOSX_ARCHS_PYTHON="$MACOSX_ARCHS_PYTHON -arch $a"
    1802         fi
    1803       fi
    1804     done
    1805   fi
    1806 
    1807 fi # Done checking Python
    1808 
    1809 AC_SUBST(PYTHONINC)
    1810 AC_SUBST(PYTHONCFLAGS)
    1811 AC_SUBST(PYTHONLDFLAGS)
    1812 AC_SUBST(SWIG)
    1813 AC_SUBST(USE_PYTHON)
    1814 AC_SUBST(MACOSX_ARCHS_PYTHON)
    18151735
    18161736# Enable wxWidgets support (for wxGUI)
     
    19681888LOC_MSG_USE(PNG support,USE_PNG)
    19691889LOC_MSG_USE(PostgreSQL support,USE_POSTGRES)
    1970 LOC_MSG_USE(Python support,USE_PYTHON)
    19711890LOC_MSG_USE(Readline support,USE_READLINE)
    19721891LOC_MSG_USE(SQLite support,USE_SQLITE)
  • grass/trunk/include/Make/Platform.make.in

    r42345 r45388  
    217217#Python
    218218PYTHON              = python
    219 PYTHONINC           = @PYTHONINC@
    220 PYTHONCFLAGS        = @PYTHONCFLAGS@
    221 PYTHONLDFLAGS       = @PYTHONLDFLAGS@
    222 SWIG                = @SWIG@
    223 USE_PYTHON          = @USE_PYTHON@
    224 MACOSX_ARCHS_PYTHON = @MACOSX_ARCHS_PYTHON@
    225219
    226220#wxWidgets
  • grass/trunk/include/Make/Python.make

    r43017 r45388  
    1 
    2 ifeq ($(findstring darwin,$(ARCH)),darwin)
    3 PYMOD_LD = $(CXX) -bundle -undefined dynamic_lookup
    4 PYMOD_LDFLAGS := $(SHLIB_LDFLAGS) -L$(ARCH_LIBDIR)
    5 else
    6 PYMOD_LD = $(CXX) -shared
    7 PYMOD_LDFLAGS := $(SHLIB_LDFLAGS) -L$(ARCH_LIBDIR) $(PYTHONLDFLAGS)
    8 endif
    9 PYMOD_CFLAGS = $(SHLIB_CFLAGS) $(PYTHONINC) $(PYTHON_CFLAGS)
    101
    112PY_SOURCES := $(wildcard *.py)
     
    134%.pyc: %.py
    145        $(PYTHON) -m py_compile $<
    15 
    16 %_wrap.c %.py: %.i $(EXTRA_SWIG)
    17         $(SWIG) $(INC) -python -module $* -shadow $<
    18 
    19 _%.so: $(OBJDIR)/%_wrap.o $(_%_so_FILES)
    20         $(PYMOD_LD) -o $@ $(LDFLAGS) $(EXTRA_LDFLAGS) $(PYMOD_LDFLAGS) $(filter %.o,$^) $($*_LIBS) $(LIBES) $(EXTRA_LIBS)
  • grass/trunk/include/gisdefs.h

    r45071 r45388  
    113113 *  with a different function becomes widely used
    114114 */
    115 #ifndef SWIG
    116115int G_vasprintf(char **, const char *, va_list);
    117 #endif
    118116int G_asprintf(char **, const char *, ...)
    119117    __attribute__ ((format(printf, 2, 3)));
  • grass/trunk/lib/init/variables.html

    r44870 r45388  
    237237
    238238  <dt>GRASS_PYTHON</dt>
    239   <dd>[wxGUI, Python SWIG]<br>
     239  <dd>[wxGUI, Python Ctypes]<br>
    240240    set to override Python executable.<br>
    241241    On Mac OS X this should be the pythonw executable for the wxGUI to work.</dd>
Note: See TracChangeset for help on using the changeset viewer.