Develop and Download Open Source Software

Browse CVS Repository

Diff of /freewnn/FreeWnn/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.15 by hiroo, Tue Aug 14 13:43:20 2001 UTC revision 1.16 by hiroo, Sun Sep 16 11:35:57 2001 UTC
# Line 12  ac_help= Line 12  ac_help=
12  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
13  # Any additions from configure.in:  # Any additions from configure.in:
14  ac_help="$ac_help  ac_help="$ac_help
15    --enable-sharedlib      build shared library using GNU libtool"    --enable-debug             enable debug options [default=no]"
16  ac_help="$ac_help  ac_help="$ac_help
17    --enable-libraries         build and install libraries [default=yes]"    --enable-libraries      build and install libraries [default=yes]"
18  ac_help="$ac_help  ac_help="$ac_help
19    --enable-server         build and install server [default=yes]"    --enable-server         build and install server [default=yes]"
20  ac_help="$ac_help  ac_help="$ac_help
21    --enable-Wnn         build and install Wnn [default=true]"    --enable-client         build and install clients [default=no]"
22  ac_help="$ac_help  ac_help="$ac_help
23    --enable-cWnn         build and install cWnn [default=true]"    --enable-Wnn         build and install Wnn [default=yes]"
24  ac_help="$ac_help  ac_help="$ac_help
25    --enable-kWnn         build and install kWnn [default=true]"    --enable-cWnn         build and install cWnn [default=yes]"
26    ac_help="$ac_help
27      --enable-kWnn         build and install kWnn [default=yes]"
28  ac_help="$ac_help  ac_help="$ac_help
29    --with-libwnn               use installed Wnn library [default=no]"    --with-libwnn               use installed Wnn library [default=no]"
30  ac_help="$ac_help  ac_help="$ac_help
# Line 42  ac_help="$ac_help Line 44  ac_help="$ac_help
44  ac_help="$ac_help  ac_help="$ac_help
45    --with-kwnn-libraries=DIR Search for KWNN libraries in DIR[default=/usr/local/lib]"    --with-kwnn-libraries=DIR Search for KWNN libraries in DIR[default=/usr/local/lib]"
46  ac_help="$ac_help  ac_help="$ac_help
47    --enable-inet6          build and install inet6 [default=false]"    --enable-ipv6           build and install IPv6 [default=no]"
48    ac_help="$ac_help
49      --enable-unsafe-path    allow creating files in an arbitrary path [default=no]"
50  ac_help="$ac_help  ac_help="$ac_help
51    --enable-shared[=PKGS]  build shared libraries [default=yes]"    --enable-shared[=PKGS]  build shared libraries [default=yes]"
52  ac_help="$ac_help  ac_help="$ac_help
# Line 727  fi Line 731  fi
731    
732    
733    
 case "$top_srcdir" in  
   .)  abs_top_srcdir=`pwd` ;;  
   /*) abs_top_srcdir=top_srcdir;;  
   *) # Relative path.  
     abs_top_srcdir=`pwd`$ac_dots$ac_given_srcdir ;;  
 esac  
   
734    
735    
736  ac_aux_dir=  ac_aux_dir=
# Line 762  else { echo "configure: error: can not r Line 759  else { echo "configure: error: can not r
759  fi  fi
760    
761  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
762  echo "configure:766: checking host system type" >&5  echo "configure:763: checking host system type" >&5
763    
764  host_alias=$host  host_alias=$host
765  case "$host_alias" in  case "$host_alias" in
# Line 783  host_os=`echo $host | sed 's/^\([^-]*\)- Line 780  host_os=`echo $host | sed 's/^\([^-]*\)-
780  echo "$ac_t""$host" 1>&6  echo "$ac_t""$host" 1>&6
781    
782    
783  # Check whether --enable-sharedlib or --disable-sharedlib was given.  
784  if test "${enable_sharedlib+set}" = set; then  # Check whether --enable-debug or --disable-debug was given.
785    enableval="$enable_sharedlib"  if test "${enable_debug+set}" = set; then
786    if test "$enableval" = yes    enableval="$enable_debug"
787    then    case "${enableval}" in
788      use_sharedlib=yes     yes) debug=true ;;
789    else     no)  debug=false ;;
790      use_sharedlib=no     *)   { echo "configure: error: bad value for --enable-debug" 1>&2; exit 1; }
791    fi  esac
792  else  else
793    use_sharedlib=default    debug=false
794  fi  fi
795    
796    
   
   
797  # Check whether --enable-libraries or --disable-libraries was given.  # Check whether --enable-libraries or --disable-libraries was given.
798  if test "${enable_libraries+set}" = set; then  if test "${enable_libraries+set}" = set; then
799    enableval="$enable_libraries"    enableval="$enable_libraries"
# Line 825  else Line 820  else
820  fi  fi
821    
822    
823    # Check whether --enable-client or --disable-client was given.
824    if test "${enable_client+set}" = set; then
825      enableval="$enable_client"
826      case "${enableval}" in
827       yes) client=true ;;
828       no)  client=false ;;
829       *)   { echo "configure: error: bad value for --enable-client" 1>&2; exit 1; } ;;
830    esac
831    else
832      client=false
833    fi
834    
835    
836  if test $libraries = true; then  if test $libraries = true; then
837          SUBDIRS="\$(LIB_SUBDIRS)"          SUBDIRS="\$(LIB_SUBDIRS)"
# Line 834  if test $server = true; then Line 841  if test $server = true; then
841          SUBDIRS="$SUBDIRS \$(SERVER_SUBDIRS)"          SUBDIRS="$SUBDIRS \$(SERVER_SUBDIRS)"
842          WNNMANDIR="$WNNMANDIR \$(SERVER_WNNMANDIR)"          WNNMANDIR="$WNNMANDIR \$(SERVER_WNNMANDIR)"
843  fi  fi
844    if test $client = true; then
845            SUBDIRS="$SUBDIRS \$(CLIENT_SUBDIRS)"
846    fi
847    
848    
849    
# Line 1018  fi Line 1028  fi
1028    
1029    
1030    
1031  # Check whether --enable-inet6 or --disable-inet6 was given.  # Check whether --enable-ipv6 or --disable-ipv6 was given.
1032  if test "${enable_inet6+set}" = set; then  if test "${enable_ipv6+set}" = set; then
1033    enableval="$enable_inet6"    enableval="$enable_ipv6"
1034      case "${enableval}" in
1035       yes) ipv6="-DINET6";;
1036       no)  ipv6="" ;;
1037       *)   { echo "configure: error: bad value for --enable-ipv6" 1>&2; exit 1; } ;;
1038    esac
1039    else
1040      ipv6=""
1041    fi
1042    
1043    
1044    
1045    # Check whether --enable-unsafe-path or --disable-unsafe-path was given.
1046    if test "${enable_unsafe_path+set}" = set; then
1047      enableval="$enable_unsafe_path"
1048    case "${enableval}" in    case "${enableval}" in
1049     yes) inet6="-DINET6";;     yes) unsafe_path = true;;
1050     no)  inet6="" ;;     no)  unsafe_path = false;;
1051     *)   { echo "configure: error: bad value for --enable-inet6" 1>&2; exit 1; } ;;     *)   { echo "configure: error: bad value for --enable-unsafe-path" 1>&2; exit 1; } ;;
1052  esac  esac
1053  else  else
1054    inet6=""    unsafe_path=false
1055  fi  fi
1056    
1057    
1058    
1059    if test ${unsafe_path} = true; then
1060            cat >> confdefs.h <<\EOF
1061    #define WNN_ALLOW_UNSAFE_PATH 1
1062    EOF
1063    
1064    fi
1065    
1066  # Extract the first word of "gcc", so it can be a program name with args.  # Extract the first word of "gcc", so it can be a program name with args.
1067  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1068  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1069  echo "configure:1039: checking for $ac_word" >&5  echo "configure:1070: checking for $ac_word" >&5
1070  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1071    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1072  else  else
# Line 1065  if test -z "$CC"; then Line 1096  if test -z "$CC"; then
1096    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
1097  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1098  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1099  echo "configure:1069: checking for $ac_word" >&5  echo "configure:1100: checking for $ac_word" >&5
1100  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1101    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1102  else  else
# Line 1116  fi Line 1147  fi
1147        # Extract the first word of "cl", so it can be a program name with args.        # Extract the first word of "cl", so it can be a program name with args.
1148  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
1149  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1150  echo "configure:1120: checking for $ac_word" >&5  echo "configure:1151: checking for $ac_word" >&5
1151  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1152    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1153  else  else
# Line 1148  fi Line 1179  fi
1179  fi  fi
1180    
1181  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1182  echo "configure:1152: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:1183: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1183    
1184  ac_ext=c  ac_ext=c
1185  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 1159  cross_compiling=$ac_cv_prog_cc_cross Line 1190  cross_compiling=$ac_cv_prog_cc_cross
1190    
1191  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
1192    
1193  #line 1163 "configure"  #line 1194 "configure"
1194  #include "confdefs.h"  #include "confdefs.h"
1195    
1196  main(){return(0);}  main(){return(0);}
1197  EOF  EOF
1198  if { (eval echo configure:1168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1199    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
1200    # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
1201    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 1190  if test $ac_cv_prog_cc_works = no; then Line 1221  if test $ac_cv_prog_cc_works = no; then
1221    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1222  fi  fi
1223  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1224  echo "configure:1194: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:1225: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1225  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1226  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
1227    
1228  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1229  echo "configure:1199: checking whether we are using GNU C" >&5  echo "configure:1230: checking whether we are using GNU C" >&5
1230  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1231    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1232  else  else
# Line 1204  else Line 1235  else
1235    yes;    yes;
1236  #endif  #endif
1237  EOF  EOF
1238  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1239    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
1240  else  else
1241    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 1223  ac_test_CFLAGS="${CFLAGS+set}" Line 1254  ac_test_CFLAGS="${CFLAGS+set}"
1254  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
1255  CFLAGS=  CFLAGS=
1256  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1257  echo "configure:1227: checking whether ${CC-cc} accepts -g" >&5  echo "configure:1258: checking whether ${CC-cc} accepts -g" >&5
1258  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1259    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1260  else  else
# Line 1255  else Line 1286  else
1286  fi  fi
1287    
1288    
 # CCOPTIONS=""  
1289  CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"}  CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"}
1290  case $host in  case $host in
1291  *-*-linux*)  *-*-linux*)
1292      CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE"      CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE"
1293      CDEBUGFLAGS="-O2 -fno-strength-reduce"      if test $debug = true; then
1294          CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce"
1295        else
1296          CDEBUGFLAGS="-O2 -fno-strength-reduce"
1297        fi
1298      ;;      ;;
1299  *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)  *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
1300      CCOPTIONS="-DCSRG_BASED"      CCOPTIONS="-DCSRG_BASED"
1301      CDEBUGFLAGS="-O2 -fno-strength-reduce"      if test $debug = true; then
1302          CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce"
1303        else
1304          CDEBUGFLAGS="-O2 -fno-strength-reduce"
1305        fi
1306      ;;      ;;
1307  *-*-bsdi*)  *-*-bsdi*)
1308      CCOPTIONS="-DCSRG_BASED"      CCOPTIONS="-DCSRG_BASED"
1309      CDEBUGFLAGS="-O2 -fno-strength-reduce"      if test $debug = true; then
1310          CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce"
1311        else
1312          CDEBUGFLAGS="-O2 -fno-strength-reduce"
1313        fi
1314      ;;      ;;
1315  *-*-sunos*)  *-*-sunos*)
1316        if test $CC = gcc; then        if test `basename $CC` = gcc; then
         CDEBUGFLAGS=-O2  
1317          CCOPTIONS="-Dsun -Dsparc"          CCOPTIONS="-Dsun -Dsparc"
1318            if test $debug = true; then
1319              CDEBUGFLAGS="-g2 -O2"
1320            else
1321              CDEBUGFLAGS=-O2
1322            fi
1323        else        else
         CDEBUGFLAGS=-O4  
1324          CCOPTIONS=""          CCOPTIONS=""
1325            CDEBUGFLAGS=-O4
1326        fi        fi
1327        ;;        ;;
1328  *-*-solaris2.*)  *-*-solaris2.*)
1329      # Will 'solaris*' be OK?      # Will 'solaris*' be OK?
1330        if test $CC = gcc; then        if test `basename $CC` = gcc; then
1331            CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV"
1332            if test $debug = true; then
1333              CDEBUGFLAGS="-g2 -O2"
1334            else
1335            CDEBUGFLAGS=-O2            CDEBUGFLAGS=-O2
1336            CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV"          fi
1337        else        else
1338            CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV"          CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV"
1339              CDEBUGFLAGS=-O4
1340        fi        fi
1341      ;;      ;;
1342  *-*-hpux*)  *-*-hpux*)
1343      if test $CC = gcc; then      if test `basename $CC` = gcc; then
         CDEBUGFLAGS=-O2  
1344          CCOPTIONS="-Dhpux -DSYSV"          CCOPTIONS="-Dhpux -DSYSV"
1345            if test $debug = true; then
1346              CDEBUGFLAGS="-g2 -O2"
1347            else
1348              CDEBUGFLAGS=-O2
1349            fi
1350      else      else
1351          CCOPTIONS="-Ae -Dhpux -DSYSV"          CCOPTIONS="-Ae -Dhpux -DSYSV"
1352      fi      fi
1353        ;;        ;;
1354  i[34567]86-pc-beos*)  i[34567]86-pc-beos*)
1355            CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"          CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
1356            if test $debug = true; then
1357              CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce"
1358            else
1359            CDEBUGFLAGS="-O2 -fno-strength-reduce"            CDEBUGFLAGS="-O2 -fno-strength-reduce"
1360            fi
1361          ;;          ;;
1362  powerpc-*-beos*)  powerpc-*-beos*)
1363            CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"          CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
1364            if test $debug = true; then
1365              CDEBUGFLAGS="-g2"
1366            else
1367              CDEBUGFLAGS=""
1368            fi
1369          ;;          ;;
1370  *-*-aix*)  *-*-aix*)
1371      if test $CC = gcc; then      if test `basename $CC` = gcc; then
1372        CDEBUGFLAGS=-O2        CDEBUGFLAGS=-O2
1373            if test $debug = true; then
1374              CDEBUGFLAGS="-g2"
1375            else
1376              CDEBUGFLAGS=""
1377            fi
1378      else      else
1379        CDEBUGFLAGS=-O        CDEBUGFLAGS=-O
1380      fi      fi
# Line 1317  powerpc-*-beos*) Line 1386  powerpc-*-beos*)
1386      ;;      ;;
1387  esac  esac
1388    
1389    if test ${debug} = true; then
1390         INSTPGMFLAGS =
1391    else
1392         INSTPGMFLAGS = -s
1393    fi
1394    
1395    
1396  echo "Set CDEBUGFLAGS and CCOPTIONS to following:"  echo "Set CDEBUGFLAGS and CCOPTIONS to following:"
1397  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'
1398  echo '    CCOPTIONS="'"$CCOPTIONS"'"'  echo '    CCOPTIONS="'"$CCOPTIONS"'"'
1399    
1400  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1401  echo "configure:1326: checking how to run the C preprocessor" >&5  echo "configure:1402: checking how to run the C preprocessor" >&5
1402  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1403  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1404    CPP=    CPP=
# Line 1337  else Line 1413  else
1413    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
1414    # not just through cpp.    # not just through cpp.
1415    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1416  #line 1341 "configure"  #line 1417 "configure"
1417  #include "confdefs.h"  #include "confdefs.h"
1418  #include <assert.h>  #include <assert.h>
1419  Syntax Error  Syntax Error
1420  EOF  EOF
1421  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1422  { (eval echo configure:1347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1423  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1424  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1425    :    :
# Line 1354  else Line 1430  else
1430    rm -rf conftest*    rm -rf conftest*
1431    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1432    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1433  #line 1358 "configure"  #line 1434 "configure"
1434  #include "confdefs.h"  #include "confdefs.h"
1435  #include <assert.h>  #include <assert.h>
1436  Syntax Error  Syntax Error
1437  EOF  EOF
1438  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1439  { (eval echo configure:1364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1440  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1441  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1442    :    :
# Line 1371  else Line 1447  else
1447    rm -rf conftest*    rm -rf conftest*
1448    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1449    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1450  #line 1375 "configure"  #line 1451 "configure"
1451  #include "confdefs.h"  #include "confdefs.h"
1452  #include <assert.h>  #include <assert.h>
1453  Syntax Error  Syntax Error
1454  EOF  EOF
1455  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1456  { (eval echo configure:1381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1457  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1458  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1459    :    :
# Line 1414  echo "$ac_t""$CPP" 1>&6 Line 1490  echo "$ac_t""$CPP" 1>&6
1490  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1491  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1492  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1493  echo "configure:1418: checking for a BSD compatible install" >&5  echo "configure:1494: checking for a BSD compatible install" >&5
1494  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
1495  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1496    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1467  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 1543  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
1543  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1544    
1545  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1546  echo "configure:1471: checking whether ln -s works" >&5  echo "configure:1547: checking whether ln -s works" >&5
1547  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1548    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1549  else  else
# Line 1488  else Line 1564  else
1564  fi  fi
1565    
1566  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1567  echo "configure:1492: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "configure:1568: checking whether ${MAKE-make} sets \${MAKE}" >&5
1568  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1569  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1570    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1515  else Line 1591  else
1591  fi  fi
1592    
1593  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
1594  echo "configure:1519: checking for Cygwin environment" >&5  echo "configure:1595: checking for Cygwin environment" >&5
1595  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
1596    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1597  else  else
1598    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1599  #line 1524 "configure"  #line 1600 "configure"
1600  #include "confdefs.h"  #include "confdefs.h"
1601    
1602  int main() {  int main() {
# Line 1531  int main() { Line 1607  int main() {
1607  return __CYGWIN__;  return __CYGWIN__;
1608  ; return 0; }  ; return 0; }
1609  EOF  EOF
1610  if { (eval echo configure:1535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1611    rm -rf conftest*    rm -rf conftest*
1612    ac_cv_cygwin=yes    ac_cv_cygwin=yes
1613  else  else
# Line 1548  echo "$ac_t""$ac_cv_cygwin" 1>&6 Line 1624  echo "$ac_t""$ac_cv_cygwin" 1>&6
1624  CYGWIN=  CYGWIN=
1625  test "$ac_cv_cygwin" = yes && CYGWIN=yes  test "$ac_cv_cygwin" = yes && CYGWIN=yes
1626  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1627  echo "configure:1552: checking for mingw32 environment" >&5  echo "configure:1628: checking for mingw32 environment" >&5
1628  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1629    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1630  else  else
1631    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1632  #line 1557 "configure"  #line 1633 "configure"
1633  #include "confdefs.h"  #include "confdefs.h"
1634    
1635  int main() {  int main() {
1636  return __MINGW32__;  return __MINGW32__;
1637  ; return 0; }  ; return 0; }
1638  EOF  EOF
1639  if { (eval echo configure:1564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1640    rm -rf conftest*    rm -rf conftest*
1641    ac_cv_mingw32=yes    ac_cv_mingw32=yes
1642  else  else
# Line 1646  else Line 1722  else
1722  fi  fi
1723    
1724  echo $ac_n "checking build system type""... $ac_c" 1>&6  echo $ac_n "checking build system type""... $ac_c" 1>&6
1725  echo "configure:1650: checking build system type" >&5  echo "configure:1726: checking build system type" >&5
1726    
1727  build_alias=$build  build_alias=$build
1728  case "$build_alias" in  case "$build_alias" in
# Line 1675  ac_prog=ld Line 1751  ac_prog=ld
1751  if test "$GCC" = yes; then  if test "$GCC" = yes; then
1752    # Check if gcc -print-prog-name=ld gives a path.    # Check if gcc -print-prog-name=ld gives a path.
1753    echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6    echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1754  echo "configure:1679: checking for ld used by GCC" >&5  echo "configure:1755: checking for ld used by GCC" >&5
1755    case $host in    case $host in
1756    *-*-mingw*)    *-*-mingw*)
1757      # gcc leaves a trailing carriage return which upsets mingw      # gcc leaves a trailing carriage return which upsets mingw
# Line 1705  echo "configure:1679: checking for ld us Line 1781  echo "configure:1679: checking for ld us
1781    esac    esac
1782  elif test "$with_gnu_ld" = yes; then  elif test "$with_gnu_ld" = yes; then
1783    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1784  echo "configure:1709: checking for GNU ld" >&5  echo "configure:1785: checking for GNU ld" >&5
1785  else  else
1786    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1787  echo "configure:1712: checking for non-GNU ld" >&5  echo "configure:1788: checking for non-GNU ld" >&5
1788  fi  fi
1789  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1790    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1743  else Line 1819  else
1819  fi  fi
1820  test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }  test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1821  echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6  echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1822  echo "configure:1747: checking if the linker ($LD) is GNU ld" >&5  echo "configure:1823: checking if the linker ($LD) is GNU ld" >&5
1823  if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1824    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1825  else  else
# Line 1760  with_gnu_ld=$lt_cv_prog_gnu_ld Line 1836  with_gnu_ld=$lt_cv_prog_gnu_ld
1836    
1837    
1838  echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6  echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1839  echo "configure:1764: checking for $LD option to reload object files" >&5  echo "configure:1840: checking for $LD option to reload object files" >&5
1840  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1841    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1842  else  else
# Line 1772  reload_flag=$lt_cv_ld_reload_flag Line 1848  reload_flag=$lt_cv_ld_reload_flag
1848  test -n "$reload_flag" && reload_flag=" $reload_flag"  test -n "$reload_flag" && reload_flag=" $reload_flag"
1849    
1850  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1851  echo "configure:1776: checking for BSD-compatible nm" >&5  echo "configure:1852: checking for BSD-compatible nm" >&5
1852  if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1853    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1854  else  else
# Line 1810  NM="$lt_cv_path_NM" Line 1886  NM="$lt_cv_path_NM"
1886  echo "$ac_t""$NM" 1>&6  echo "$ac_t""$NM" 1>&6
1887    
1888  echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6  echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1889  echo "configure:1814: checking how to recognise dependant libraries" >&5  echo "configure:1890: checking how to recognise dependant libraries" >&5
1890  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1891    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1892  else  else
# Line 1983  file_magic_cmd=$lt_cv_file_magic_cmd Line 2059  file_magic_cmd=$lt_cv_file_magic_cmd
2059  deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
2060    
2061  echo $ac_n "checking for object suffix""... $ac_c" 1>&6  echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2062  echo "configure:1987: checking for object suffix" >&5  echo "configure:2063: checking for object suffix" >&5
2063  if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2064    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2065  else  else
2066    rm -f conftest*    rm -f conftest*
2067  echo 'int i = 1;' > conftest.$ac_ext  echo 'int i = 1;' > conftest.$ac_ext
2068  if { (eval echo configure:1993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2069    for ac_file in conftest.*; do    for ac_file in conftest.*; do
2070      case $ac_file in      case $ac_file in
2071      *.c) ;;      *.c) ;;
# Line 2009  ac_objext=$ac_cv_objext Line 2085  ac_objext=$ac_cv_objext
2085    
2086    
2087  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
2088  echo "configure:2013: checking for executable suffix" >&5  echo "configure:2089: checking for executable suffix" >&5
2089  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
2090    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2091  else  else
# Line 2019  else Line 2095  else
2095    rm -f conftest*    rm -f conftest*
2096    echo 'int main () { return 0; }' > conftest.$ac_ext    echo 'int main () { return 0; }' > conftest.$ac_ext
2097    ac_cv_exeext=    ac_cv_exeext=
2098    if { (eval echo configure:2023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then    if { (eval echo configure:2099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
2099      for file in conftest.*; do      for file in conftest.*; do
2100        case $file in        case $file in
2101        *.c | *.o | *.obj) ;;        *.c | *.o | *.obj) ;;
# Line 2050  fi Line 2126  fi
2126    
2127  # Check for command to grab the raw symbol name followed by C symbol from nm.  # Check for command to grab the raw symbol name followed by C symbol from nm.
2128  echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6  echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
2129  echo "configure:2054: checking command to parse $NM output" >&5  echo "configure:2130: checking command to parse $NM output" >&5
2130  if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
2131    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2132  else  else
# Line 2126  void nm_test_func(){} Line 2202  void nm_test_func(){}
2202  int main(){nm_test_var='a';nm_test_func();return(0);}  int main(){nm_test_var='a';nm_test_func();return(0);}
2203  EOF  EOF
2204    
2205    if { (eval echo configure:2130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo configure:2206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2206      # Now try to grab the symbols.      # Now try to grab the symbols.
2207      nlist=conftest.nm      nlist=conftest.nm
2208      if { (eval echo configure:2133: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then      if { (eval echo configure:2209: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
2209        # Try sorting and uniquifying the output.        # Try sorting and uniquifying the output.
2210        if sort "$nlist" | uniq > "$nlist"T; then        if sort "$nlist" | uniq > "$nlist"T; then
2211          mv -f "$nlist"T "$nlist"          mv -f "$nlist"T "$nlist"
# Line 2180  EOF Line 2256  EOF
2256            save_CFLAGS="$CFLAGS"            save_CFLAGS="$CFLAGS"
2257            LIBS="conftstm.$ac_objext"            LIBS="conftstm.$ac_objext"
2258            CFLAGS="$CFLAGS$no_builtin_flag"            CFLAGS="$CFLAGS$no_builtin_flag"
2259            if { (eval echo configure:2184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then            if { (eval echo configure:2260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2260              pipe_works=yes              pipe_works=yes
2261            fi            fi
2262            LIBS="$save_LIBS"            LIBS="$save_LIBS"
# Line 2226  for ac_hdr in dlfcn.h Line 2302  for ac_hdr in dlfcn.h
2302  do  do
2303  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2304  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2305  echo "configure:2230: checking for $ac_hdr" >&5  echo "configure:2306: checking for $ac_hdr" >&5
2306  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2307    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2308  else  else
2309    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2310  #line 2235 "configure"  #line 2311 "configure"
2311  #include "confdefs.h"  #include "confdefs.h"
2312  #include <$ac_hdr>  #include <$ac_hdr>
2313  EOF  EOF
2314  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2315  { (eval echo configure:2240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2316  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2317  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2318    rm -rf conftest*    rm -rf conftest*
# Line 2271  case $deplibs_check_method in Line 2347  case $deplibs_check_method in
2347  file_magic*)  file_magic*)
2348    if test "$file_magic_cmd" = '$MAGIC_CMD'; then    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2349      echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6      echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2350  echo "configure:2275: checking for ${ac_tool_prefix}file" >&5  echo "configure:2351: checking for ${ac_tool_prefix}file" >&5
2351  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2352    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2353  else  else
# Line 2333  fi Line 2409  fi
2409  if test -z "$lt_cv_path_MAGIC_CMD"; then  if test -z "$lt_cv_path_MAGIC_CMD"; then
2410    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2411      echo $ac_n "checking for file""... $ac_c" 1>&6      echo $ac_n "checking for file""... $ac_c" 1>&6
2412  echo "configure:2337: checking for file" >&5  echo "configure:2413: checking for file" >&5
2413  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2414    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2415  else  else
# Line 2404  esac Line 2480  esac
2480  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2481  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2482  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2483  echo "configure:2408: checking for $ac_word" >&5  echo "configure:2484: checking for $ac_word" >&5
2484  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2485    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2486  else  else
# Line 2436  if test -n "$ac_tool_prefix"; then Line 2512  if test -n "$ac_tool_prefix"; then
2512    # Extract the first word of "ranlib", so it can be a program name with args.    # Extract the first word of "ranlib", so it can be a program name with args.
2513  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
2514  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2515  echo "configure:2440: checking for $ac_word" >&5  echo "configure:2516: checking for $ac_word" >&5
2516  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2517    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2518  else  else
# Line 2471  fi Line 2547  fi
2547  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2548  set dummy ${ac_tool_prefix}strip; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
2549  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2550  echo "configure:2475: checking for $ac_word" >&5  echo "configure:2551: checking for $ac_word" >&5
2551  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2552    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2553  else  else
# Line 2503  if test -n "$ac_tool_prefix"; then Line 2579  if test -n "$ac_tool_prefix"; then
2579    # Extract the first word of "strip", so it can be a program name with args.    # Extract the first word of "strip", so it can be a program name with args.
2580  set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
2581  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2582  echo "configure:2507: checking for $ac_word" >&5  echo "configure:2583: checking for $ac_word" >&5
2583  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2584    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2585  else  else
# Line 2552  test "x$enable_libtool_lock" != xno && e Line 2628  test "x$enable_libtool_lock" != xno && e
2628  case $host in  case $host in
2629  *-*-irix6*)  *-*-irix6*)
2630    # Find out which ABI we are using.    # Find out which ABI we are using.
2631    echo '#line 2556 "configure"' > conftest.$ac_ext    echo '#line 2632 "configure"' > conftest.$ac_ext
2632    if { (eval echo configure:2557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo configure:2633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2633      case `/usr/bin/file conftest.$ac_objext` in      case `/usr/bin/file conftest.$ac_objext` in
2634      *32-bit*)      *32-bit*)
2635        LD="${LD-ld} -32"        LD="${LD-ld} -32"
# Line 2574  case $host in Line 2650  case $host in
2650    SAVE_CFLAGS="$CFLAGS"    SAVE_CFLAGS="$CFLAGS"
2651    CFLAGS="$CFLAGS -belf"    CFLAGS="$CFLAGS -belf"
2652    echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6    echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2653  echo "configure:2578: checking whether the C compiler needs -belf" >&5  echo "configure:2654: checking whether the C compiler needs -belf" >&5
2654  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2655    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2656  else  else
# Line 2587  ac_link='${CC-cc} -o conftest${ac_exeext Line 2663  ac_link='${CC-cc} -o conftest${ac_exeext
2663  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
2664    
2665       cat > conftest.$ac_ext <<EOF       cat > conftest.$ac_ext <<EOF
2666  #line 2591 "configure"  #line 2667 "configure"
2667  #include "confdefs.h"  #include "confdefs.h"
2668    
2669  int main() {  int main() {
2670    
2671  ; return 0; }  ; return 0; }
2672  EOF  EOF
2673  if { (eval echo configure:2598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2674    rm -rf conftest*    rm -rf conftest*
2675    lt_cv_cc_needs_belf=yes    lt_cv_cc_needs_belf=yes
2676  else  else
# Line 2707  set dummy $CC Line 2783  set dummy $CC
2783  compiler="$2"  compiler="$2"
2784    
2785  echo $ac_n "checking for objdir""... $ac_c" 1>&6  echo $ac_n "checking for objdir""... $ac_c" 1>&6
2786  echo "configure:2711: checking for objdir" >&5  echo "configure:2787: checking for objdir" >&5
2787  rm -f .libs 2>/dev/null  rm -f .libs 2>/dev/null
2788  mkdir .libs 2>/dev/null  mkdir .libs 2>/dev/null
2789  if test -d .libs; then  if test -d .libs; then
# Line 2734  test -z "$pic_mode" && pic_mode=default Line 2810  test -z "$pic_mode" && pic_mode=default
2810  # in isolation, and that seeing it set (from the cache) indicates that  # in isolation, and that seeing it set (from the cache) indicates that
2811  # the associated values are set (in the cache) correctly too.  # the associated values are set (in the cache) correctly too.
2812  echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6  echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
2813  echo "configure:2738: checking for $compiler option to produce PIC" >&5  echo "configure:2814: checking for $compiler option to produce PIC" >&5
2814  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
2815    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2816  else  else
# Line 2886  else Line 2962  else
2962    
2963    # Check to make sure the pic_flag actually works.    # Check to make sure the pic_flag actually works.
2964    echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6    echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
2965  echo "configure:2890: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5  echo "configure:2966: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
2966    if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then    if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
2967    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2968  else  else
2969        save_CFLAGS="$CFLAGS"        save_CFLAGS="$CFLAGS"
2970      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
2971      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
2972  #line 2897 "configure"  #line 2973 "configure"
2973  #include "confdefs.h"  #include "confdefs.h"
2974    
2975  int main() {  int main() {
2976    
2977  ; return 0; }  ; return 0; }
2978  EOF  EOF
2979  if { (eval echo configure:2904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2980    rm -rf conftest*    rm -rf conftest*
2981          case $host_os in          case $host_os in
2982        hpux9* | hpux10* | hpux11*)        hpux9* | hpux10* | hpux11*)
# Line 2952  if test -n "$lt_cv_prog_cc_shlib"; then Line 3028  if test -n "$lt_cv_prog_cc_shlib"; then
3028  fi  fi
3029    
3030  echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6  echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
3031  echo "configure:2956: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5  echo "configure:3032: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
3032  if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
3033    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3034  else  else
# Line 2960  else Line 3036  else
3036    save_LDFLAGS="$LDFLAGS"    save_LDFLAGS="$LDFLAGS"
3037    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
3038    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3039  #line 2964 "configure"  #line 3040 "configure"
3040  #include "confdefs.h"  #include "confdefs.h"
3041    
3042  int main() {  int main() {
3043    
3044  ; return 0; }  ; return 0; }
3045  EOF  EOF
3046  if { (eval echo configure:2971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3047    rm -rf conftest*    rm -rf conftest*
3048    lt_cv_prog_cc_static_works=yes    lt_cv_prog_cc_static_works=yes
3049  else  else
# Line 2994  can_build_shared="$lt_cv_prog_cc_can_bui Line 3070  can_build_shared="$lt_cv_prog_cc_can_bui
3070    
3071  # Check to see if options -o and -c are simultaneously supported by compiler  # Check to see if options -o and -c are simultaneously supported by compiler
3072  echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6  echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
3073  echo "configure:2998: checking if $compiler supports -c -o file.$ac_objext" >&5  echo "configure:3074: checking if $compiler supports -c -o file.$ac_objext" >&5
3074  if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
3075    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3076  else  else
# Line 3013  chmod -w . Line 3089  chmod -w .
3089  save_CFLAGS="$CFLAGS"  save_CFLAGS="$CFLAGS"
3090  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
3091  compiler_c_o=no  compiler_c_o=no
3092  if { (eval echo configure:3017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then  if { (eval echo configure:3093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
3093    # The compiler can only warn and ignore the option if not recognized    # The compiler can only warn and ignore the option if not recognized
3094    # So say no if there are warnings    # So say no if there are warnings
3095    if test -s out/conftest.err; then    if test -s out/conftest.err; then
# Line 3042  echo "$ac_t""$compiler_c_o" 1>&6 Line 3118  echo "$ac_t""$compiler_c_o" 1>&6
3118  if test x"$compiler_c_o" = x"yes"; then  if test x"$compiler_c_o" = x"yes"; then
3119    # Check to see if we can write to a .lo    # Check to see if we can write to a .lo
3120    echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6    echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6
3121  echo "configure:3046: checking if $compiler supports -c -o file.lo" >&5  echo "configure:3122: checking if $compiler supports -c -o file.lo" >&5
3122    if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then    if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
3123    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3124  else  else
# Line 3051  else Line 3127  else
3127    save_CFLAGS="$CFLAGS"    save_CFLAGS="$CFLAGS"
3128    CFLAGS="$CFLAGS -c -o conftest.lo"    CFLAGS="$CFLAGS -c -o conftest.lo"
3129    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3130  #line 3055 "configure"  #line 3131 "configure"
3131  #include "confdefs.h"  #include "confdefs.h"
3132    
3133  int main() {  int main() {
3134  int some_variable = 0;  int some_variable = 0;
3135  ; return 0; }  ; return 0; }
3136  EOF  EOF
3137  if { (eval echo configure:3062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3138    rm -rf conftest*    rm -rf conftest*
3139        # The compiler can only warn and ignore the option if not recognized        # The compiler can only warn and ignore the option if not recognized
3140      # So say no if there are warnings      # So say no if there are warnings
# Line 3088  hard_links="nottested" Line 3164  hard_links="nottested"
3164  if test "$compiler_c_o" = no && test "$need_locks" != no; then  if test "$compiler_c_o" = no && test "$need_locks" != no; then
3165    # do not overwrite the value of need_locks provided by the user    # do not overwrite the value of need_locks provided by the user
3166    echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6    echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
3167  echo "configure:3092: checking if we can lock with hard links" >&5  echo "configure:3168: checking if we can lock with hard links" >&5
3168    hard_links=yes    hard_links=yes
3169    $rm conftest*    $rm conftest*
3170    ln conftest.a conftest.b 2>/dev/null && hard_links=no    ln conftest.a conftest.b 2>/dev/null && hard_links=no
# Line 3107  fi Line 3183  fi
3183  if test "$GCC" = yes; then  if test "$GCC" = yes; then
3184    # Check to see if options -fno-rtti -fno-exceptions are supported by compiler    # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
3185    echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6    echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
3186  echo "configure:3111: checking if $compiler supports -fno-rtti -fno-exceptions" >&5  echo "configure:3187: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
3187    echo "int some_variable = 0;" > conftest.$ac_ext    echo "int some_variable = 0;" > conftest.$ac_ext
3188    save_CFLAGS="$CFLAGS"    save_CFLAGS="$CFLAGS"
3189    CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"    CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
3190    compiler_rtti_exceptions=no    compiler_rtti_exceptions=no
3191    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3192  #line 3117 "configure"  #line 3193 "configure"
3193  #include "confdefs.h"  #include "confdefs.h"
3194    
3195  int main() {  int main() {
3196  int some_variable = 0;  int some_variable = 0;
3197  ; return 0; }  ; return 0; }
3198  EOF  EOF
3199  if { (eval echo configure:3124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3200    rm -rf conftest*    rm -rf conftest*
3201        # The compiler can only warn and ignore the option if not recognized        # The compiler can only warn and ignore the option if not recognized
3202      # So say no if there are warnings      # So say no if there are warnings
# Line 3147  fi Line 3223  fi
3223    
3224  # See if the linker supports building shared libraries.  # See if the linker supports building shared libraries.
3225  echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6  echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
3226  echo "configure:3151: checking whether the linker ($LD) supports shared libraries" >&5  echo "configure:3227: checking whether the linker ($LD) supports shared libraries" >&5
3227    
3228  allow_undefined_flag=  allow_undefined_flag=
3229  no_undefined_flag=  no_undefined_flag=
# Line 3763  test "$ld_shlibs" = no && can_build_shar Line 3839  test "$ld_shlibs" = no && can_build_shar
3839    
3840  # Check hardcoding attributes.  # Check hardcoding attributes.
3841  echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6  echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
3842  echo "configure:3767: checking how to hardcode library paths into programs" >&5  echo "configure:3843: checking how to hardcode library paths into programs" >&5
3843  hardcode_action=  hardcode_action=
3844  if test -n "$hardcode_libdir_flag_spec" || \  if test -n "$hardcode_libdir_flag_spec" || \
3845     test -n "$runpath_var"; then     test -n "$runpath_var"; then
# Line 3791  echo "$ac_t""$hardcode_action" 1>&6 Line 3867  echo "$ac_t""$hardcode_action" 1>&6
3867  striplib=  striplib=
3868  old_striplib=  old_striplib=
3869  echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6  echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
3870  echo "configure:3795: checking whether stripping libraries is possible" >&5  echo "configure:3871: checking whether stripping libraries is possible" >&5
3871  if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then  if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
3872    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3873    test -z "$striplib" && striplib="$STRIP --strip-unneeded"    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
# Line 3805  test -z "$deplibs_check_method" && depli Line 3881  test -z "$deplibs_check_method" && depli
3881    
3882  # PORTME Fill in your ld.so characteristics  # PORTME Fill in your ld.so characteristics
3883  echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6  echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
3884  echo "configure:3809: checking dynamic linker characteristics" >&5  echo "configure:3885: checking dynamic linker characteristics" >&5
3885  library_names_spec=  library_names_spec=
3886  libname_spec='lib$name'  libname_spec='lib$name'
3887  soname_spec=  soname_spec=
# Line 4191  test "$dynamic_linker" = no && can_build Line 4267  test "$dynamic_linker" = no && can_build
4267    
4268  # Report the final consequences.  # Report the final consequences.
4269  echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6  echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
4270  echo "configure:4195: checking if libtool supports shared libraries" >&5  echo "configure:4271: checking if libtool supports shared libraries" >&5
4271  echo "$ac_t""$can_build_shared" 1>&6  echo "$ac_t""$can_build_shared" 1>&6
4272    
4273  if test "$hardcode_action" = relink; then  if test "$hardcode_action" = relink; then
# Line 4230  else Line 4306  else
4306    
4307    *)    *)
4308      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
4309  echo "configure:4234: checking for dlopen in -ldl" >&5  echo "configure:4310: checking for dlopen in -ldl" >&5
4310  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
4311  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4312    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4238  else Line 4314  else
4314    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4315  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
4316  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4317  #line 4242 "configure"  #line 4318 "configure"
4318  #include "confdefs.h"  #include "confdefs.h"
4319  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4320  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4249  int main() { Line 4325  int main() {
4325  dlopen()  dlopen()
4326  ; return 0; }  ; return 0; }
4327  EOF  EOF
4328  if { (eval echo configure:4253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4329    rm -rf conftest*    rm -rf conftest*
4330    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4331  else  else
# Line 4268  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 4344  if eval "test \"`echo '$ac_cv_lib_'$ac_l
4344  else  else
4345    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4346  echo $ac_n "checking for dlopen""... $ac_c" 1>&6  echo $ac_n "checking for dlopen""... $ac_c" 1>&6
4347  echo "configure:4272: checking for dlopen" >&5  echo "configure:4348: checking for dlopen" >&5
4348  if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
4349    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4350  else  else
4351    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4352  #line 4277 "configure"  #line 4353 "configure"
4353  #include "confdefs.h"  #include "confdefs.h"
4354  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4355      which can conflict with char dlopen(); below.  */      which can conflict with char dlopen(); below.  */
# Line 4296  dlopen(); Line 4372  dlopen();
4372    
4373  ; return 0; }  ; return 0; }
4374  EOF  EOF
4375  if { (eval echo configure:4300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4376    rm -rf conftest*    rm -rf conftest*
4377    eval "ac_cv_func_dlopen=yes"    eval "ac_cv_func_dlopen=yes"
4378  else  else
# Line 4314  if eval "test \"`echo '$ac_cv_func_'dlop Line 4390  if eval "test \"`echo '$ac_cv_func_'dlop
4390  else  else
4391    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4392  echo $ac_n "checking for shl_load""... $ac_c" 1>&6  echo $ac_n "checking for shl_load""... $ac_c" 1>&6
4393  echo "configure:4318: checking for shl_load" >&5  echo "configure:4394: checking for shl_load" >&5
4394  if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
4395    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4396  else  else
4397    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4398  #line 4323 "configure"  #line 4399 "configure"
4399  #include "confdefs.h"  #include "confdefs.h"
4400  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4401      which can conflict with char shl_load(); below.  */      which can conflict with char shl_load(); below.  */
# Line 4342  shl_load(); Line 4418  shl_load();
4418    
4419  ; return 0; }  ; return 0; }
4420  EOF  EOF
4421  if { (eval echo configure:4346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4422    rm -rf conftest*    rm -rf conftest*
4423    eval "ac_cv_func_shl_load=yes"    eval "ac_cv_func_shl_load=yes"
4424  else  else
# Line 4360  if eval "test \"`echo '$ac_cv_func_'shl_ Line 4436  if eval "test \"`echo '$ac_cv_func_'shl_
4436  else  else
4437    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4438  echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
4439  echo "configure:4364: checking for dlopen in -lsvld" >&5  echo "configure:4440: checking for dlopen in -lsvld" >&5
4440  ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
4441  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4442    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4368  else Line 4444  else
4444    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4445  LIBS="-lsvld  $LIBS"  LIBS="-lsvld  $LIBS"
4446  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4447  #line 4372 "configure"  #line 4448 "configure"
4448  #include "confdefs.h"  #include "confdefs.h"
4449  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4450  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4379  int main() { Line 4455  int main() {
4455  dlopen()  dlopen()
4456  ; return 0; }  ; return 0; }
4457  EOF  EOF
4458  if { (eval echo configure:4383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4459    rm -rf conftest*    rm -rf conftest*
4460    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4461  else  else
# Line 4398  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 4474  if eval "test \"`echo '$ac_cv_lib_'$ac_l
4474  else  else
4475    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4476  echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6  echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
4477  echo "configure:4402: checking for shl_load in -ldld" >&5  echo "configure:4478: checking for shl_load in -ldld" >&5
4478  ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
4479  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4480    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4406  else Line 4482  else
4482    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4483  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
4484  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4485  #line 4410 "configure"  #line 4486 "configure"
4486  #include "confdefs.h"  #include "confdefs.h"
4487  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4488  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4417  int main() { Line 4493  int main() {
4493  shl_load()  shl_load()
4494  ; return 0; }  ; return 0; }
4495  EOF  EOF
4496  if { (eval echo configure:4421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4497    rm -rf conftest*    rm -rf conftest*
4498    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4499  else  else
# Line 4470  fi Line 4546  fi
4546      LIBS="$lt_cv_dlopen_libs $LIBS"      LIBS="$lt_cv_dlopen_libs $LIBS"
4547    
4548      echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6      echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
4549  echo "configure:4474: checking whether a program can dlopen itself" >&5  echo "configure:4550: checking whether a program can dlopen itself" >&5
4550  if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
4551    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4552  else  else
# Line 4480  else Line 4556  else
4556      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4557    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
4558    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4559  #line 4484 "configure"  #line 4560 "configure"
4560  #include "confdefs.h"  #include "confdefs.h"
4561    
4562  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 4541  int main () Line 4617  int main ()
4617      exit (status);      exit (status);
4618  }  }
4619  EOF  EOF
4620    if { (eval echo configure:4545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then    if { (eval echo configure:4621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
4621      (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) 2>/dev/null
4622      lt_status=$?      lt_status=$?
4623      case x$lt_status in      case x$lt_status in
# Line 4564  echo "$ac_t""$lt_cv_dlopen_self" 1>&6 Line 4640  echo "$ac_t""$lt_cv_dlopen_self" 1>&6
4640      if test "x$lt_cv_dlopen_self" = xyes; then      if test "x$lt_cv_dlopen_self" = xyes; then
4641        LDFLAGS="$LDFLAGS $link_static_flag"        LDFLAGS="$LDFLAGS $link_static_flag"
4642        echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6        echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
4643  echo "configure:4568: checking whether a statically linked program can dlopen itself" >&5  echo "configure:4644: checking whether a statically linked program can dlopen itself" >&5
4644  if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
4645    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4646  else  else
# Line 4574  else Line 4650  else
4650      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4651    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
4652    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4653  #line 4578 "configure"  #line 4654 "configure"
4654  #include "confdefs.h"  #include "confdefs.h"
4655    
4656  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 4635  int main () Line 4711  int main ()
4711      exit (status);      exit (status);
4712  }  }
4713  EOF  EOF
4714    if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then    if { (eval echo configure:4715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
4715      (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) 2>/dev/null
4716      lt_status=$?      lt_status=$?
4717      case x$lt_status in      case x$lt_status in
# Line 4684  if test "$enable_shared" = yes && test " Line 4760  if test "$enable_shared" = yes && test "
4760      # systems, -lgcc has to come before -lc. If gcc already passes -lc      # systems, -lgcc has to come before -lc. If gcc already passes -lc
4761      # to ld, don't add -lc before -lgcc.      # to ld, don't add -lc before -lgcc.
4762      echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6      echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
4763  echo "configure:4688: checking whether -lc should be explicitly linked in" >&5  echo "configure:4764: checking whether -lc should be explicitly linked in" >&5
4764      if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then      if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
4765    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4766  else  else
4767    $rm conftest*    $rm conftest*
4768      echo 'static int dummy;' > conftest.$ac_ext      echo 'static int dummy;' > conftest.$ac_ext
4769    
4770      if { (eval echo configure:4695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then      if { (eval echo configure:4771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4771        soname=conftest        soname=conftest
4772        lib=conftest        lib=conftest
4773        libobjs=conftest.$ac_objext        libobjs=conftest.$ac_objext
# Line 4704  else Line 4780  else
4780        libname=conftest        libname=conftest
4781        save_allow_undefined_flag=$allow_undefined_flag        save_allow_undefined_flag=$allow_undefined_flag
4782        allow_undefined_flag=        allow_undefined_flag=
4783        if { (eval echo configure:4708: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }        if { (eval echo configure:4784: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
4784        then        then
4785          lt_cv_archive_cmds_need_lc=no          lt_cv_archive_cmds_need_lc=no
4786        else        else
# Line 5287  LIBTOOL='$(SHELL) $(top_builddir)/libtoo Line 5363  LIBTOOL='$(SHELL) $(top_builddir)/libtoo
5363    
5364    
5365  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
5366  echo "configure:5291: checking for crypt in -lcrypt" >&5  echo "configure:5367: checking for crypt in -lcrypt" >&5
5367  ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
5368  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5369    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5295  else Line 5371  else
5371    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5372  LIBS="-lcrypt  $LIBS"  LIBS="-lcrypt  $LIBS"
5373  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5374  #line 5299 "configure"  #line 5375 "configure"
5375  #include "confdefs.h"  #include "confdefs.h"
5376  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5377  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5306  int main() { Line 5382  int main() {
5382  crypt()  crypt()
5383  ; return 0; }  ; return 0; }
5384  EOF  EOF
5385  if { (eval echo configure:5310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5386    rm -rf conftest*    rm -rf conftest*
5387    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5388  else  else
# Line 5334  else Line 5410  else
5410  fi  fi
5411    
5412  echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
5413  echo "configure:5338: checking for connect in -lsocket" >&5  echo "configure:5414: checking for connect in -lsocket" >&5
5414  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
5415  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5416    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5342  else Line 5418  else
5418    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5419  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
5420  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5421  #line 5346 "configure"  #line 5422 "configure"
5422  #include "confdefs.h"  #include "confdefs.h"
5423  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5424  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5353  int main() { Line 5429  int main() {
5429  connect()  connect()
5430  ; return 0; }  ; return 0; }
5431  EOF  EOF
5432  if { (eval echo configure:5357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5433    rm -rf conftest*    rm -rf conftest*
5434    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5435  else  else
# Line 5381  else Line 5457  else
5457  fi  fi
5458    
5459  echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
5460  echo "configure:5385: checking for gethostbyname in -lnsl" >&5  echo "configure:5461: checking for gethostbyname in -lnsl" >&5
5461  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
5462  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5463    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5389  else Line 5465  else
5465    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5466  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
5467  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5468  #line 5393 "configure"  #line 5469 "configure"
5469  #include "confdefs.h"  #include "confdefs.h"
5470  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5471  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5400  int main() { Line 5476  int main() {
5476  gethostbyname()  gethostbyname()
5477  ; return 0; }  ; return 0; }
5478  EOF  EOF
5479  if { (eval echo configure:5404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5480    rm -rf conftest*    rm -rf conftest*
5481    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5482  else  else
# Line 5433  fi Line 5509  fi
5509  # Uses ac_ vars as temps to allow command line to override cache and checks.  # Uses ac_ vars as temps to allow command line to override cache and checks.
5510  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
5511  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
5512  echo "configure:5437: checking for X" >&5  echo "configure:5513: checking for X" >&5
5513    
5514  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
5515  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 5495  if test "$ac_x_includes" = NO; then Line 5571  if test "$ac_x_includes" = NO; then
5571    
5572    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5573  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5574  #line 5499 "configure"  #line 5575 "configure"
5575  #include "confdefs.h"  #include "confdefs.h"
5576  #include <$x_direct_test_include>  #include <$x_direct_test_include>
5577  EOF  EOF
5578  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5579  { (eval echo configure:5504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5580  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5581  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5582    rm -rf conftest*    rm -rf conftest*
# Line 5569  if test "$ac_x_libraries" = NO; then Line 5645  if test "$ac_x_libraries" = NO; then
5645    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5646    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
5647  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5648  #line 5573 "configure"  #line 5649 "configure"
5649  #include "confdefs.h"  #include "confdefs.h"
5650    
5651  int main() {  int main() {
5652  ${x_direct_test_function}()  ${x_direct_test_function}()
5653  ; return 0; }  ; return 0; }
5654  EOF  EOF
5655  if { (eval echo configure:5580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5656    rm -rf conftest*    rm -rf conftest*
5657    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
5658  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5663  else Line 5739  else
5739  fi  fi
5740    
5741  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
5742  echo "configure:5667: checking for ANSI C header files" >&5  echo "configure:5743: checking for ANSI C header files" >&5
5743  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
5744    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5745  else  else
5746    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5747  #line 5672 "configure"  #line 5748 "configure"
5748  #include "confdefs.h"  #include "confdefs.h"
5749  #include <stdlib.h>  #include <stdlib.h>
5750  #include <stdarg.h>  #include <stdarg.h>
# Line 5676  else Line 5752  else
5752  #include <float.h>  #include <float.h>
5753  EOF  EOF
5754  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5755  { (eval echo configure:5680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5756  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5757  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5758    rm -rf conftest*    rm -rf conftest*
# Line 5693  rm -f conftest* Line 5769  rm -f conftest*
5769  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5770    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5771  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5772  #line 5697 "configure"  #line 5773 "configure"
5773  #include "confdefs.h"  #include "confdefs.h"
5774  #include <string.h>  #include <string.h>
5775  EOF  EOF
# Line 5711  fi Line 5787  fi
5787  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5788    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5789  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5790  #line 5715 "configure"  #line 5791 "configure"
5791  #include "confdefs.h"  #include "confdefs.h"
5792  #include <stdlib.h>  #include <stdlib.h>
5793  EOF  EOF
# Line 5732  if test "$cross_compiling" = yes; then Line 5808  if test "$cross_compiling" = yes; then
5808    :    :
5809  else  else
5810    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5811  #line 5736 "configure"  #line 5812 "configure"
5812  #include "confdefs.h"  #include "confdefs.h"
5813  #include <ctype.h>  #include <ctype.h>
5814  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 5743  if (XOR (islower (i), ISLOWER (i)) || to Line 5819  if (XOR (islower (i), ISLOWER (i)) || to
5819  exit (0); }  exit (0); }
5820    
5821  EOF  EOF
5822  if { (eval echo configure:5747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5823  then  then
5824    :    :
5825  else  else
# Line 5767  EOF Line 5843  EOF
5843  fi  fi
5844    
5845  echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6  echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
5846  echo "configure:5771: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "configure:5847: checking for sys/wait.h that is POSIX.1 compatible" >&5
5847  if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
5848    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5849  else  else
5850    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5851  #line 5776 "configure"  #line 5852 "configure"
5852  #include "confdefs.h"  #include "confdefs.h"
5853  #include <sys/types.h>  #include <sys/types.h>
5854  #include <sys/wait.h>  #include <sys/wait.h>
# Line 5788  wait (&s); Line 5864  wait (&s);
5864  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5865  ; return 0; }  ; return 0; }
5866  EOF  EOF
5867  if { (eval echo configure:5792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5868    rm -rf conftest*    rm -rf conftest*
5869    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
5870  else  else
# Line 5812  for ac_hdr in fcntl.h limits.h malloc.h Line 5888  for ac_hdr in fcntl.h limits.h malloc.h
5888  do  do
5889  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5890  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5891  echo "configure:5816: checking for $ac_hdr" >&5  echo "configure:5892: checking for $ac_hdr" >&5
5892  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5893    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5894  else  else
5895    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5896  #line 5821 "configure"  #line 5897 "configure"
5897  #include "confdefs.h"  #include "confdefs.h"
5898  #include <$ac_hdr>  #include <$ac_hdr>
5899  EOF  EOF
5900  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5901  { (eval echo configure:5826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5902  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5903  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5904    rm -rf conftest*    rm -rf conftest*
# Line 5852  for ac_hdr in sys/file.h sys/ioctl.h sys Line 5928  for ac_hdr in sys/file.h sys/ioctl.h sys
5928  do  do
5929  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5930  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5931  echo "configure:5856: checking for $ac_hdr" >&5  echo "configure:5932: checking for $ac_hdr" >&5
5932  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5933    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5934  else  else
5935    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5936  #line 5861 "configure"  #line 5937 "configure"
5937  #include "confdefs.h"  #include "confdefs.h"
5938  #include <$ac_hdr>  #include <$ac_hdr>
5939  EOF  EOF
5940  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5941  { (eval echo configure:5866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5942  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5943  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5944    rm -rf conftest*    rm -rf conftest*
# Line 5890  done Line 5966  done
5966    
5967    
5968  echo $ac_n "checking for mode_t""... $ac_c" 1>&6  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
5969  echo "configure:5894: checking for mode_t" >&5  echo "configure:5970: checking for mode_t" >&5
5970  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
5971    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5972  else  else
5973    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5974  #line 5899 "configure"  #line 5975 "configure"
5975  #include "confdefs.h"  #include "confdefs.h"
5976  #include <sys/types.h>  #include <sys/types.h>
5977  #if STDC_HEADERS  #if STDC_HEADERS
# Line 5923  EOF Line 5999  EOF
5999  fi  fi
6000    
6001  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
6002  echo "configure:5927: checking whether time.h and sys/time.h may both be included" >&5  echo "configure:6003: checking whether time.h and sys/time.h may both be included" >&5
6003  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
6004    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6005  else  else
6006    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6007  #line 5932 "configure"  #line 6008 "configure"
6008  #include "confdefs.h"  #include "confdefs.h"
6009  #include <sys/types.h>  #include <sys/types.h>
6010  #include <sys/time.h>  #include <sys/time.h>
# Line 5937  int main() { Line 6013  int main() {
6013  struct tm *tp;  struct tm *tp;
6014  ; return 0; }  ; return 0; }
6015  EOF  EOF
6016  if { (eval echo configure:5941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6017    rm -rf conftest*    rm -rf conftest*
6018    ac_cv_header_time=yes    ac_cv_header_time=yes
6019  else  else
# Line 5958  EOF Line 6034  EOF
6034  fi  fi
6035    
6036  echo $ac_n "checking for time_t""... $ac_c" 1>&6  echo $ac_n "checking for time_t""... $ac_c" 1>&6
6037  echo "configure:5962: checking for time_t" >&5  echo "configure:6038: checking for time_t" >&5
6038  if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then
6039    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6040  else  else
6041    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6042  #line 5967 "configure"  #line 6043 "configure"
6043  #include "confdefs.h"  #include "confdefs.h"
6044  #include <sys/types.h>  #include <sys/types.h>
6045  #if STDC_HEADERS  #if STDC_HEADERS
# Line 5992  fi Line 6068  fi
6068    
6069    
6070  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
6071  echo "configure:5996: checking for socklen_t" >&5  echo "configure:6072: checking for socklen_t" >&5
6072  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6073  #line 5998 "configure"  #line 6074 "configure"
6074  #include "confdefs.h"  #include "confdefs.h"
6075  #include <sys/socket.h>  #include <sys/socket.h>
6076  EOF  EOF
# Line 6017  rm -f conftest* Line 6093  rm -f conftest*
6093    
6094    
6095  echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6  echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6
6096  echo "configure:6021: checking for RAND_MAX" >&5  echo "configure:6097: checking for RAND_MAX" >&5
6097  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6098  #line 6023 "configure"  #line 6099 "configure"
6099  #include "confdefs.h"  #include "confdefs.h"
6100  #include <stdlib.h>  #include <stdlib.h>
6101  #ifdef RAND_MAX  #ifdef RAND_MAX
# Line 6040  rm -f conftest* Line 6116  rm -f conftest*
6116    
6117  if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
6118      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6119  echo "configure:6044: checking whether ${CC-cc} needs -traditional" >&5  echo "configure:6120: checking whether ${CC-cc} needs -traditional" >&5
6120  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6121    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6122  else  else
6123      ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
6124    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6125  #line 6050 "configure"  #line 6126 "configure"
6126  #include "confdefs.h"  #include "confdefs.h"
6127  #include <sgtty.h>  #include <sgtty.h>
6128  Autoconf TIOCGETP  Autoconf TIOCGETP
# Line 6064  rm -f conftest* Line 6140  rm -f conftest*
6140    
6141    if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
6142      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
6143  #line 6068 "configure"  #line 6144 "configure"
6144  #include "confdefs.h"  #include "confdefs.h"
6145  #include <termio.h>  #include <termio.h>
6146  Autoconf TCGETA  Autoconf TCGETA
# Line 6086  echo "$ac_t""$ac_cv_prog_gcc_traditional Line 6162  echo "$ac_t""$ac_cv_prog_gcc_traditional
6162  fi  fi
6163    
6164  echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6  echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
6165  echo "configure:6090: checking for 8-bit clean memcmp" >&5  echo "configure:6166: checking for 8-bit clean memcmp" >&5
6166  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
6167    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6168  else  else
# Line 6094  else Line 6170  else
6170    ac_cv_func_memcmp_clean=no    ac_cv_func_memcmp_clean=no
6171  else  else
6172    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6173  #line 6098 "configure"  #line 6174 "configure"
6174  #include "confdefs.h"  #include "confdefs.h"
6175    
6176  main()  main()
# Line 6104  main() Line 6180  main()
6180  }  }
6181    
6182  EOF  EOF
6183  if { (eval echo configure:6108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6184  then  then
6185    ac_cv_func_memcmp_clean=yes    ac_cv_func_memcmp_clean=yes
6186  else  else
# Line 6122  echo "$ac_t""$ac_cv_func_memcmp_clean" 1 Line 6198  echo "$ac_t""$ac_cv_func_memcmp_clean" 1
6198  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
6199    
6200  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
6201  echo "configure:6126: checking return type of signal handlers" >&5  echo "configure:6202: checking return type of signal handlers" >&5
6202  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
6203    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6204  else  else
6205    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6206  #line 6131 "configure"  #line 6207 "configure"
6207  #include "confdefs.h"  #include "confdefs.h"
6208  #include <sys/types.h>  #include <sys/types.h>
6209  #include <signal.h>  #include <signal.h>
# Line 6144  int main() { Line 6220  int main() {
6220  int i;  int i;
6221  ; return 0; }  ; return 0; }
6222  EOF  EOF
6223  if { (eval echo configure:6148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6224    rm -rf conftest*    rm -rf conftest*
6225    ac_cv_type_signal=void    ac_cv_type_signal=void
6226  else  else
# Line 6163  EOF Line 6239  EOF
6239    
6240    
6241  echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6  echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6
6242  echo "configure:6167: checking for wait3 that fills in rusage" >&5  echo "configure:6243: checking for wait3 that fills in rusage" >&5
6243  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then
6244    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6245  else  else
# Line 6171  else Line 6247  else
6247    ac_cv_func_wait3_rusage=no    ac_cv_func_wait3_rusage=no
6248  else  else
6249    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6250  #line 6175 "configure"  #line 6251 "configure"
6251  #include "confdefs.h"  #include "confdefs.h"
6252  #include <sys/types.h>  #include <sys/types.h>
6253  #include <sys/time.h>  #include <sys/time.h>
# Line 6202  main() { Line 6278  main() {
6278    }    }
6279  }  }
6280  EOF  EOF
6281  if { (eval echo configure:6206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6282  then  then
6283    ac_cv_func_wait3_rusage=yes    ac_cv_func_wait3_rusage=yes
6284  else  else
# Line 6227  fi Line 6303  fi
6303  for ac_func in gethostname mkdir select socket strtol  for ac_func in gethostname mkdir select socket strtol
6304  do  do
6305  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6306  echo "configure:6231: checking for $ac_func" >&5  echo "configure:6307: checking for $ac_func" >&5
6307  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6308    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6309  else  else
6310    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6311  #line 6236 "configure"  #line 6312 "configure"
6312  #include "confdefs.h"  #include "confdefs.h"
6313  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6314      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6255  $ac_func(); Line 6331  $ac_func();
6331    
6332  ; return 0; }  ; return 0; }
6333  EOF  EOF
6334  if { (eval echo configure:6259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6335    rm -rf conftest*    rm -rf conftest*
6336    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6337  else  else
# Line 6282  done Line 6358  done
6358  for ac_func in drand48  for ac_func in drand48
6359  do  do
6360  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6361  echo "configure:6286: checking for $ac_func" >&5  echo "configure:6362: checking for $ac_func" >&5
6362  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6363    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6364  else  else
6365    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6366  #line 6291 "configure"  #line 6367 "configure"
6367  #include "confdefs.h"  #include "confdefs.h"
6368  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6369      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6310  $ac_func(); Line 6386  $ac_func();
6386    
6387  ; return 0; }  ; return 0; }
6388  EOF  EOF
6389  if { (eval echo configure:6314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6390    rm -rf conftest*    rm -rf conftest*
6391    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6392  else  else
# Line 6337  done Line 6413  done
6413  for ac_func in perror  for ac_func in perror
6414  do  do
6415  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6416  echo "configure:6341: checking for $ac_func" >&5  echo "configure:6417: checking for $ac_func" >&5
6417  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6418    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6419  else  else
6420    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6421  #line 6346 "configure"  #line 6422 "configure"
6422  #include "confdefs.h"  #include "confdefs.h"
6423  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6424      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6365  $ac_func(); Line 6441  $ac_func();
6441    
6442  ; return 0; }  ; return 0; }
6443  EOF  EOF
6444  if { (eval echo configure:6369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6445    rm -rf conftest*    rm -rf conftest*
6446    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6447  else  else
# Line 6392  done Line 6468  done
6468  for ac_func in closesocket setsockopt send recv  for ac_func in closesocket setsockopt send recv
6469  do  do
6470  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6471  echo "configure:6396: checking for $ac_func" >&5  echo "configure:6472: checking for $ac_func" >&5
6472  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6473    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6474  else  else
6475    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6476  #line 6401 "configure"  #line 6477 "configure"
6477  #include "confdefs.h"  #include "confdefs.h"
6478  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6479      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6420  $ac_func(); Line 6496  $ac_func();
6496    
6497  ; return 0; }  ; return 0; }
6498  EOF  EOF
6499  if { (eval echo configure:6424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6500    rm -rf conftest*    rm -rf conftest*
6501    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6502  else  else
# Line 6445  fi Line 6521  fi
6521  done  done
6522    
6523  echo $ac_n "checking for setpgrp""... $ac_c" 1>&6  echo $ac_n "checking for setpgrp""... $ac_c" 1>&6
6524  echo "configure:6449: checking for setpgrp" >&5  echo "configure:6525: checking for setpgrp" >&5
6525  if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then
6526    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6527  else  else
6528    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6529  #line 6454 "configure"  #line 6530 "configure"
6530  #include "confdefs.h"  #include "confdefs.h"
6531  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6532      which can conflict with char setpgrp(); below.  */      which can conflict with char setpgrp(); below.  */
# Line 6473  setpgrp(); Line 6549  setpgrp();
6549    
6550  ; return 0; }  ; return 0; }
6551  EOF  EOF
6552  if { (eval echo configure:6477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6553    rm -rf conftest*    rm -rf conftest*
6554    eval "ac_cv_func_setpgrp=yes"    eval "ac_cv_func_setpgrp=yes"
6555  else  else
# Line 6493  else Line 6569  else
6569  fi  fi
6570    
6571  echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6  echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6
6572  echo "configure:6497: checking whether setpgrp takes no argument" >&5  echo "configure:6573: checking whether setpgrp takes no argument" >&5
6573  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then
6574    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6575  else  else
# Line 6501  else Line 6577  else
6577    { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; }    { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; }
6578  else  else
6579    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6580  #line 6505 "configure"  #line 6581 "configure"
6581  #include "confdefs.h"  #include "confdefs.h"
6582    
6583  #ifdef HAVE_UNISTD_H  #ifdef HAVE_UNISTD_H
# Line 6521  main() Line 6597  main()
6597  }  }
6598    
6599  EOF  EOF
6600  if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6601  then  then
6602    ac_cv_func_setpgrp_void=no    ac_cv_func_setpgrp_void=no
6603  else  else
# Line 6679  s%@includedir@%$includedir%g Line 6755  s%@includedir@%$includedir%g
6755  s%@oldincludedir@%$oldincludedir%g  s%@oldincludedir@%$oldincludedir%g
6756  s%@infodir@%$infodir%g  s%@infodir@%$infodir%g
6757  s%@mandir@%$mandir%g  s%@mandir@%$mandir%g
 s%@abs_top_srcdir@%$abs_top_srcdir%g  
6758  s%@host@%$host%g  s%@host@%$host%g
6759  s%@host_alias@%$host_alias%g  s%@host_alias@%$host_alias%g
6760  s%@host_cpu@%$host_cpu%g  s%@host_cpu@%$host_cpu%g
# Line 6701  s%@THINSI_DATA@%$THINSI_DATA%g Line 6776  s%@THINSI_DATA@%$THINSI_DATA%g
6776  s%@KWNNJLIB@%$KWNNJLIB%g  s%@KWNNJLIB@%$KWNNJLIB%g
6777  s%@DEPKWNNJLIB@%$DEPKWNNJLIB%g  s%@DEPKWNNJLIB@%$DEPKWNNJLIB%g
6778  s%@KHINSI_DATA@%$KHINSI_DATA%g  s%@KHINSI_DATA@%$KHINSI_DATA%g
6779  s%@inet6@%$inet6%g  s%@ipv6@%$ipv6%g
6780    s%@unsafe_path@%$unsafe_path%g
6781  s%@CC@%$CC%g  s%@CC@%$CC%g
6782    s%@INSTPGMFLAGS@%$INSTPGMFLAGS%g
6783  s%@CPP@%$CPP%g  s%@CPP@%$CPP%g
6784  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
6785  s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g  s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26