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.17 by hiroo, Mon Sep 24 08:36:12 2001 UTC revision 1.18 by hiroo, Sun Mar 3 12:53:55 2002 UTC
# Line 236  program_suffix=NONE Line 236  program_suffix=NONE
236  program_transform_name=s,x,x,  program_transform_name=s,x,x,
237  silent=  silent=
238  site=  site=
239    sitefile=
240  srcdir=  srcdir=
241  target=NONE  target=NONE
242  verbose=  verbose=
# Line 350  Configuration: Line 351  Configuration:
351    --help                  print this message    --help                  print this message
352    --no-create             do not create output files    --no-create             do not create output files
353    --quiet, --silent       do not print \`checking...' messages    --quiet, --silent       do not print \`checking...' messages
354      --site-file=FILE        use FILE as the site file
355    --version               print the version of autoconf that created configure    --version               print the version of autoconf that created configure
356  Directory and file names:  Directory and file names:
357    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
# Line 520  EOF Line 522  EOF
522    -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
523      site="$ac_optarg" ;;      site="$ac_optarg" ;;
524    
525      -site-file | --site-file | --site-fil | --site-fi | --site-f)
526        ac_prev=sitefile ;;
527      -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
528        sitefile="$ac_optarg" ;;
529    
530    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
531      ac_prev=srcdir ;;      ac_prev=srcdir ;;
532    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
# Line 685  fi Line 692  fi
692  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
693    
694  # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
695  if test -z "$CONFIG_SITE"; then  if test -z "$sitefile"; then
696    if test "x$prefix" != xNONE; then    if test -z "$CONFIG_SITE"; then
697      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"      if test "x$prefix" != xNONE; then
698    else        CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
699      CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"      else
700          CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
701        fi
702    fi    fi
703    else
704      CONFIG_SITE="$sitefile"
705  fi  fi
706  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
707    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
# Line 759  else { echo "configure: error: can not r Line 770  else { echo "configure: error: can not r
770  fi  fi
771    
772  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
773  echo "configure:763: checking host system type" >&5  echo "configure:774: checking host system type" >&5
774    
775  host_alias=$host  host_alias=$host
776  case "$host_alias" in  case "$host_alias" in
# Line 1046  fi Line 1057  fi
1057  if test "${enable_unsafe_path+set}" = set; then  if test "${enable_unsafe_path+set}" = set; then
1058    enableval="$enable_unsafe_path"    enableval="$enable_unsafe_path"
1059    case "${enableval}" in    case "${enableval}" in
1060     yes) unsafe_path = true;;     yes) unsafe_path=true;;
1061     no)  unsafe_path = false;;     no)  unsafe_path=false;;
1062     *)   { echo "configure: error: bad value for --enable-unsafe-path" 1>&2; exit 1; } ;;     *)   { echo "configure: error: bad value for --enable-unsafe-path" 1>&2; exit 1; } ;;
1063  esac  esac
1064  else  else
# Line 1066  fi Line 1077  fi
1077  # 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.
1078  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1079  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1080  echo "configure:1070: checking for $ac_word" >&5  echo "configure:1081: checking for $ac_word" >&5
1081  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1082    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1083  else  else
# Line 1096  if test -z "$CC"; then Line 1107  if test -z "$CC"; then
1107    # 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.
1108  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1109  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1110  echo "configure:1100: checking for $ac_word" >&5  echo "configure:1111: checking for $ac_word" >&5
1111  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1112    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1113  else  else
# Line 1147  fi Line 1158  fi
1158        # 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.
1159  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
1160  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1161  echo "configure:1151: checking for $ac_word" >&5  echo "configure:1162: checking for $ac_word" >&5
1162  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1163    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1164  else  else
# Line 1179  fi Line 1190  fi
1190  fi  fi
1191    
1192  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
1193  echo "configure:1183: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:1194: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1194    
1195  ac_ext=c  ac_ext=c
1196  # 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 1190  cross_compiling=$ac_cv_prog_cc_cross Line 1201  cross_compiling=$ac_cv_prog_cc_cross
1201    
1202  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
1203    
1204  #line 1194 "configure"  #line 1205 "configure"
1205  #include "confdefs.h"  #include "confdefs.h"
1206    
1207  main(){return(0);}  main(){return(0);}
1208  EOF  EOF
1209  if { (eval echo configure:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1210    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
1211    # 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.
1212    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 1221  if test $ac_cv_prog_cc_works = no; then Line 1232  if test $ac_cv_prog_cc_works = no; then
1232    { 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; }
1233  fi  fi
1234  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
1235  echo "configure:1225: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:1236: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1236  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1237  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
1238    
1239  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
1240  echo "configure:1230: checking whether we are using GNU C" >&5  echo "configure:1241: checking whether we are using GNU C" >&5
1241  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1242    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1243  else  else
# Line 1235  else Line 1246  else
1246    yes;    yes;
1247  #endif  #endif
1248  EOF  EOF
1249  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  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1250    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
1251  else  else
1252    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 1254  ac_test_CFLAGS="${CFLAGS+set}" Line 1265  ac_test_CFLAGS="${CFLAGS+set}"
1265  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
1266  CFLAGS=  CFLAGS=
1267  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
1268  echo "configure:1258: checking whether ${CC-cc} accepts -g" >&5  echo "configure:1269: checking whether ${CC-cc} accepts -g" >&5
1269  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1270    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1271  else  else
# Line 1290  CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"} Line 1301  CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"}
1301  case $host in  case $host in
1302  *-*-linux*)  *-*-linux*)
1303      CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE"      CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE"
1304      if test $debug = true; then      CDEBUGFLAGS="-O2 -fno-strength-reduce"
       CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce"  
     else  
       CDEBUGFLAGS="-O2 -fno-strength-reduce"  
     fi  
1305      ;;      ;;
1306  *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)  *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
1307      CCOPTIONS="-DCSRG_BASED"      CCOPTIONS="-DCSRG_BASED"
1308      if test $debug = true; then      CDEBUGFLAGS="-O2 -fno-strength-reduce"
       CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce -fstack-check"  
     else  
       CDEBUGFLAGS="-O2 -fno-strength-reduce"  
     fi  
1309      ;;      ;;
1310  *-*-bsdi*)  *-*-bsdi*)
1311      CCOPTIONS="-DCSRG_BASED"      CCOPTIONS="-DCSRG_BASED"
1312      if test $debug = true; then      CDEBUGFLAGS="-O2 -fno-strength-reduce"
       CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce"  
     else  
       CDEBUGFLAGS="-O2 -fno-strength-reduce"  
     fi  
1313      ;;      ;;
1314  *-*-sunos*)  *-*-sunos*)
1315        if test `basename $CC` = gcc; then        if test $GCC = yes; then
1316          CCOPTIONS="-Dsun -Dsparc"          CCOPTIONS="-Dsun -Dsparc"
1317          if test $debug = true; then          CDEBUGFLAGS=-O2
           CDEBUGFLAGS="-g2 -O2"  
         else  
           CDEBUGFLAGS=-O2  
         fi  
1318        else        else
1319          CCOPTIONS=""          CCOPTIONS=""
1320          CDEBUGFLAGS=-O4          CDEBUGFLAGS=-O4
# Line 1327  case $host in Line 1322  case $host in
1322        ;;        ;;
1323  *-*-solaris2.*)  *-*-solaris2.*)
1324      # Will 'solaris*' be OK?      # Will 'solaris*' be OK?
1325        if test `basename $CC` = gcc; then        if test $GCC = yes; then
1326          CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV"          CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV"
1327          if test $debug = true; then          CDEBUGFLAGS=-O2
           CDEBUGFLAGS="-g2 -O2"  
         else  
           CDEBUGFLAGS=-O2  
         fi  
1328        else        else
1329          CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV"          CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV"
1330            CDEBUGFLAGS=-O4          CDEBUGFLAGS=-O4
1331        fi        fi
1332      ;;      ;;
1333  *-*-hpux*)  *-*-hpux*)
1334      if test `basename $CC` = gcc; then      if test $GCC = yes; then
1335          CCOPTIONS="-Dhpux -DSYSV"          CCOPTIONS="-Dhpux -DSYSV"
1336          if test $debug = true; then          CDEBUGFLAGS=-O2
           CDEBUGFLAGS="-g2 -O2"  
         else  
           CDEBUGFLAGS=-O2  
         fi  
1337      else      else
1338          CCOPTIONS="-Ae -Dhpux -DSYSV"          CCOPTIONS="-Ae -Dhpux -DSYSV"
1339      fi      fi
1340        ;;        ;;
1341  i[34567]86-pc-beos*)  i[34567]86-pc-beos*)
1342          CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"          CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
1343          if test $debug = true; then          CDEBUGFLAGS="-O2 -fno-strength-reduce"
           CDEBUGFLAGS="-g2 -O2 -fno-strength-reduce"  
         else  
           CDEBUGFLAGS="-O2 -fno-strength-reduce"  
         fi  
1344          ;;          ;;
1345  powerpc-*-beos*)  powerpc-*-beos*)
1346          CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"          CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
         if test $debug = true; then  
           CDEBUGFLAGS="-g2"  
         else  
           CDEBUGFLAGS=""  
         fi  
1347          ;;          ;;
1348  *-*-aix*)  *-*-aix*)
1349      if test `basename $CC` = gcc; then      if test $GCC = yes; then
1350        CDEBUGFLAGS=-O2        CDEBUGFLAGS=-O2
         if test $debug = true; then  
           CDEBUGFLAGS="-g2"  
         else  
           CDEBUGFLAGS=""  
         fi  
1351      else      else
1352        CDEBUGFLAGS=-O        CDEBUGFLAGS=-O
1353      fi      fi
# Line 1386  powerpc-*-beos*) Line 1359  powerpc-*-beos*)
1359      ;;      ;;
1360  esac  esac
1361    
1362    if test $debug = true; then
1363        if test $GCC = yes; then
1364          CDEBUGFLAGS="-g2 -Wall -fstack-check $CDEBUGFLAGS"
1365        fi
1366    fi
1367    
1368  if test ${debug} = true; then  if test ${debug} = true; then
1369       INSTPGMFLAGS=       INSTPGMFLAGS=
1370  else  else
# Line 1398  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"' Line 1377  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'
1377  echo '    CCOPTIONS="'"$CCOPTIONS"'"'  echo '    CCOPTIONS="'"$CCOPTIONS"'"'
1378    
1379  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
1380  echo "configure:1402: checking how to run the C preprocessor" >&5  echo "configure:1381: checking how to run the C preprocessor" >&5
1381  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1382  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1383    CPP=    CPP=
# Line 1413  else Line 1392  else
1392    # 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,
1393    # not just through cpp.    # not just through cpp.
1394    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1395  #line 1417 "configure"  #line 1396 "configure"
1396  #include "confdefs.h"  #include "confdefs.h"
1397  #include <assert.h>  #include <assert.h>
1398  Syntax Error  Syntax Error
1399  EOF  EOF
1400  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1401  { (eval echo configure:1423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1402  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1403  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1404    :    :
# Line 1430  else Line 1409  else
1409    rm -rf conftest*    rm -rf conftest*
1410    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1411    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1412  #line 1434 "configure"  #line 1413 "configure"
1413  #include "confdefs.h"  #include "confdefs.h"
1414  #include <assert.h>  #include <assert.h>
1415  Syntax Error  Syntax Error
1416  EOF  EOF
1417  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1418  { (eval echo configure:1440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1419  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1420  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1421    :    :
# Line 1447  else Line 1426  else
1426    rm -rf conftest*    rm -rf conftest*
1427    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1428    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1429  #line 1451 "configure"  #line 1430 "configure"
1430  #include "confdefs.h"  #include "confdefs.h"
1431  #include <assert.h>  #include <assert.h>
1432  Syntax Error  Syntax Error
1433  EOF  EOF
1434  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1435  { (eval echo configure:1457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1436  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1437  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1438    :    :
# Line 1490  echo "$ac_t""$CPP" 1>&6 Line 1469  echo "$ac_t""$CPP" 1>&6
1469  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1470  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1471  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
1472  echo "configure:1494: checking for a BSD compatible install" >&5  echo "configure:1473: checking for a BSD compatible install" >&5
1473  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
1474  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1475    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1543  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 1522  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
1522  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1523    
1524  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1525  echo "configure:1547: checking whether ln -s works" >&5  echo "configure:1526: checking whether ln -s works" >&5
1526  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1527    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1528  else  else
# Line 1564  else Line 1543  else
1543  fi  fi
1544    
1545  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
1546  echo "configure:1568: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "configure:1547: checking whether ${MAKE-make} sets \${MAKE}" >&5
1547  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1548  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
1549    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1591  else Line 1570  else
1570  fi  fi
1571    
1572  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
1573  echo "configure:1595: checking for Cygwin environment" >&5  echo "configure:1574: checking for Cygwin environment" >&5
1574  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
1575    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1576  else  else
1577    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1578  #line 1600 "configure"  #line 1579 "configure"
1579  #include "confdefs.h"  #include "confdefs.h"
1580    
1581  int main() {  int main() {
# Line 1607  int main() { Line 1586  int main() {
1586  return __CYGWIN__;  return __CYGWIN__;
1587  ; return 0; }  ; return 0; }
1588  EOF  EOF
1589  if { (eval echo configure:1611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1590    rm -rf conftest*    rm -rf conftest*
1591    ac_cv_cygwin=yes    ac_cv_cygwin=yes
1592  else  else
# Line 1624  echo "$ac_t""$ac_cv_cygwin" 1>&6 Line 1603  echo "$ac_t""$ac_cv_cygwin" 1>&6
1603  CYGWIN=  CYGWIN=
1604  test "$ac_cv_cygwin" = yes && CYGWIN=yes  test "$ac_cv_cygwin" = yes && CYGWIN=yes
1605  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1606  echo "configure:1628: checking for mingw32 environment" >&5  echo "configure:1607: checking for mingw32 environment" >&5
1607  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1608    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1609  else  else
1610    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1611  #line 1633 "configure"  #line 1612 "configure"
1612  #include "confdefs.h"  #include "confdefs.h"
1613    
1614  int main() {  int main() {
1615  return __MINGW32__;  return __MINGW32__;
1616  ; return 0; }  ; return 0; }
1617  EOF  EOF
1618  if { (eval echo configure:1640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1619    rm -rf conftest*    rm -rf conftest*
1620    ac_cv_mingw32=yes    ac_cv_mingw32=yes
1621  else  else
# Line 1722  else Line 1701  else
1701  fi  fi
1702    
1703  echo $ac_n "checking build system type""... $ac_c" 1>&6  echo $ac_n "checking build system type""... $ac_c" 1>&6
1704  echo "configure:1726: checking build system type" >&5  echo "configure:1705: checking build system type" >&5
1705    
1706  build_alias=$build  build_alias=$build
1707  case "$build_alias" in  case "$build_alias" in
# Line 1751  ac_prog=ld Line 1730  ac_prog=ld
1730  if test "$GCC" = yes; then  if test "$GCC" = yes; then
1731    # Check if gcc -print-prog-name=ld gives a path.    # Check if gcc -print-prog-name=ld gives a path.
1732    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
1733  echo "configure:1755: checking for ld used by GCC" >&5  echo "configure:1734: checking for ld used by GCC" >&5
1734    case $host in    case $host in
1735    *-*-mingw*)    *-*-mingw*)
1736      # gcc leaves a trailing carriage return which upsets mingw      # gcc leaves a trailing carriage return which upsets mingw
# Line 1781  echo "configure:1755: checking for ld us Line 1760  echo "configure:1755: checking for ld us
1760    esac    esac
1761  elif test "$with_gnu_ld" = yes; then  elif test "$with_gnu_ld" = yes; then
1762    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1763  echo "configure:1785: checking for GNU ld" >&5  echo "configure:1764: checking for GNU ld" >&5
1764  else  else
1765    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1766  echo "configure:1788: checking for non-GNU ld" >&5  echo "configure:1767: checking for non-GNU ld" >&5
1767  fi  fi
1768  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1769    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1819  else Line 1798  else
1798  fi  fi
1799  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; }
1800  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
1801  echo "configure:1823: checking if the linker ($LD) is GNU ld" >&5  echo "configure:1802: checking if the linker ($LD) is GNU ld" >&5
1802  if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1803    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1804  else  else
# Line 1836  with_gnu_ld=$lt_cv_prog_gnu_ld Line 1815  with_gnu_ld=$lt_cv_prog_gnu_ld
1815    
1816    
1817  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
1818  echo "configure:1840: checking for $LD option to reload object files" >&5  echo "configure:1819: checking for $LD option to reload object files" >&5
1819  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1820    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1821  else  else
# Line 1848  reload_flag=$lt_cv_ld_reload_flag Line 1827  reload_flag=$lt_cv_ld_reload_flag
1827  test -n "$reload_flag" && reload_flag=" $reload_flag"  test -n "$reload_flag" && reload_flag=" $reload_flag"
1828    
1829  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1830  echo "configure:1852: checking for BSD-compatible nm" >&5  echo "configure:1831: checking for BSD-compatible nm" >&5
1831  if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1832    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1833  else  else
# Line 1886  NM="$lt_cv_path_NM" Line 1865  NM="$lt_cv_path_NM"
1865  echo "$ac_t""$NM" 1>&6  echo "$ac_t""$NM" 1>&6
1866    
1867  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
1868  echo "configure:1890: checking how to recognise dependant libraries" >&5  echo "configure:1869: checking how to recognise dependant libraries" >&5
1869  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1870    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1871  else  else
# Line 2059  file_magic_cmd=$lt_cv_file_magic_cmd Line 2038  file_magic_cmd=$lt_cv_file_magic_cmd
2038  deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
2039    
2040  echo $ac_n "checking for object suffix""... $ac_c" 1>&6  echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2041  echo "configure:2063: checking for object suffix" >&5  echo "configure:2042: checking for object suffix" >&5
2042  if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2043    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2044  else  else
2045    rm -f conftest*    rm -f conftest*
2046  echo 'int i = 1;' > conftest.$ac_ext  echo 'int i = 1;' > conftest.$ac_ext
2047  if { (eval echo configure:2069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2048    for ac_file in conftest.*; do    for ac_file in conftest.*; do
2049      case $ac_file in      case $ac_file in
2050      *.c) ;;      *.c) ;;
# Line 2085  ac_objext=$ac_cv_objext Line 2064  ac_objext=$ac_cv_objext
2064    
2065    
2066  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
2067  echo "configure:2089: checking for executable suffix" >&5  echo "configure:2068: checking for executable suffix" >&5
2068  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
2069    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2070  else  else
# Line 2095  else Line 2074  else
2074    rm -f conftest*    rm -f conftest*
2075    echo 'int main () { return 0; }' > conftest.$ac_ext    echo 'int main () { return 0; }' > conftest.$ac_ext
2076    ac_cv_exeext=    ac_cv_exeext=
2077    if { (eval echo configure:2099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then    if { (eval echo configure:2078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
2078      for file in conftest.*; do      for file in conftest.*; do
2079        case $file in        case $file in
2080        *.c | *.o | *.obj) ;;        *.c | *.C | *.o | *.obj | *.ilk | *.pdb) ;;
2081        *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;        *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
2082        esac        esac
2083      done      done
# Line 2126  fi Line 2105  fi
2105    
2106  # 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.
2107  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
2108  echo "configure:2130: checking command to parse $NM output" >&5  echo "configure:2109: checking command to parse $NM output" >&5
2109  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
2110    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2111  else  else
# Line 2202  void nm_test_func(){} Line 2181  void nm_test_func(){}
2181  int main(){nm_test_var='a';nm_test_func();return(0);}  int main(){nm_test_var='a';nm_test_func();return(0);}
2182  EOF  EOF
2183    
2184    if { (eval echo configure:2206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo configure:2185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2185      # Now try to grab the symbols.      # Now try to grab the symbols.
2186      nlist=conftest.nm      nlist=conftest.nm
2187      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      if { (eval echo configure:2188: \"$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
2188        # Try sorting and uniquifying the output.        # Try sorting and uniquifying the output.
2189        if sort "$nlist" | uniq > "$nlist"T; then        if sort "$nlist" | uniq > "$nlist"T; then
2190          mv -f "$nlist"T "$nlist"          mv -f "$nlist"T "$nlist"
# Line 2256  EOF Line 2235  EOF
2235            save_CFLAGS="$CFLAGS"            save_CFLAGS="$CFLAGS"
2236            LIBS="conftstm.$ac_objext"            LIBS="conftstm.$ac_objext"
2237            CFLAGS="$CFLAGS$no_builtin_flag"            CFLAGS="$CFLAGS$no_builtin_flag"
2238            if { (eval echo configure:2260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then            if { (eval echo configure:2239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2239              pipe_works=yes              pipe_works=yes
2240            fi            fi
2241            LIBS="$save_LIBS"            LIBS="$save_LIBS"
# Line 2302  for ac_hdr in dlfcn.h Line 2281  for ac_hdr in dlfcn.h
2281  do  do
2282  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2283  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2284  echo "configure:2306: checking for $ac_hdr" >&5  echo "configure:2285: checking for $ac_hdr" >&5
2285  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2286    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2287  else  else
2288    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2289  #line 2311 "configure"  #line 2290 "configure"
2290  #include "confdefs.h"  #include "confdefs.h"
2291  #include <$ac_hdr>  #include <$ac_hdr>
2292  EOF  EOF
2293  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2294  { (eval echo configure:2316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2295  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2296  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2297    rm -rf conftest*    rm -rf conftest*
# Line 2347  case $deplibs_check_method in Line 2326  case $deplibs_check_method in
2326  file_magic*)  file_magic*)
2327    if test "$file_magic_cmd" = '$MAGIC_CMD'; then    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2328      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
2329  echo "configure:2351: checking for ${ac_tool_prefix}file" >&5  echo "configure:2330: checking for ${ac_tool_prefix}file" >&5
2330  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2331    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2332  else  else
# Line 2409  fi Line 2388  fi
2388  if test -z "$lt_cv_path_MAGIC_CMD"; then  if test -z "$lt_cv_path_MAGIC_CMD"; then
2389    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2390      echo $ac_n "checking for file""... $ac_c" 1>&6      echo $ac_n "checking for file""... $ac_c" 1>&6
2391  echo "configure:2413: checking for file" >&5  echo "configure:2392: checking for file" >&5
2392  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2393    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2394  else  else
# Line 2480  esac Line 2459  esac
2459  # 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.
2460  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2461  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2462  echo "configure:2484: checking for $ac_word" >&5  echo "configure:2463: checking for $ac_word" >&5
2463  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2464    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2465  else  else
# Line 2512  if test -n "$ac_tool_prefix"; then Line 2491  if test -n "$ac_tool_prefix"; then
2491    # 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.
2492  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
2493  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2494  echo "configure:2516: checking for $ac_word" >&5  echo "configure:2495: checking for $ac_word" >&5
2495  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2496    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2497  else  else
# Line 2547  fi Line 2526  fi
2526  # 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.
2527  set dummy ${ac_tool_prefix}strip; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
2528  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2529  echo "configure:2551: checking for $ac_word" >&5  echo "configure:2530: checking for $ac_word" >&5
2530  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2531    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2532  else  else
# Line 2579  if test -n "$ac_tool_prefix"; then Line 2558  if test -n "$ac_tool_prefix"; then
2558    # 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.
2559  set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
2560  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2561  echo "configure:2583: checking for $ac_word" >&5  echo "configure:2562: checking for $ac_word" >&5
2562  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2563    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2564  else  else
# Line 2628  test "x$enable_libtool_lock" != xno && e Line 2607  test "x$enable_libtool_lock" != xno && e
2607  case $host in  case $host in
2608  *-*-irix6*)  *-*-irix6*)
2609    # Find out which ABI we are using.    # Find out which ABI we are using.
2610    echo '#line 2632 "configure"' > conftest.$ac_ext    echo '#line 2611 "configure"' > conftest.$ac_ext
2611    if { (eval echo configure:2633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo configure:2612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2612      case `/usr/bin/file conftest.$ac_objext` in      case `/usr/bin/file conftest.$ac_objext` in
2613      *32-bit*)      *32-bit*)
2614        LD="${LD-ld} -32"        LD="${LD-ld} -32"
# Line 2650  case $host in Line 2629  case $host in
2629    SAVE_CFLAGS="$CFLAGS"    SAVE_CFLAGS="$CFLAGS"
2630    CFLAGS="$CFLAGS -belf"    CFLAGS="$CFLAGS -belf"
2631    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
2632  echo "configure:2654: checking whether the C compiler needs -belf" >&5  echo "configure:2633: checking whether the C compiler needs -belf" >&5
2633  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2634    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2635  else  else
# Line 2663  ac_link='${CC-cc} -o conftest${ac_exeext Line 2642  ac_link='${CC-cc} -o conftest${ac_exeext
2642  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
2643    
2644       cat > conftest.$ac_ext <<EOF       cat > conftest.$ac_ext <<EOF
2645  #line 2667 "configure"  #line 2646 "configure"
2646  #include "confdefs.h"  #include "confdefs.h"
2647    
2648  int main() {  int main() {
2649    
2650  ; return 0; }  ; return 0; }
2651  EOF  EOF
2652  if { (eval echo configure:2674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2653    rm -rf conftest*    rm -rf conftest*
2654    lt_cv_cc_needs_belf=yes    lt_cv_cc_needs_belf=yes
2655  else  else
# Line 2783  set dummy $CC Line 2762  set dummy $CC
2762  compiler="$2"  compiler="$2"
2763    
2764  echo $ac_n "checking for objdir""... $ac_c" 1>&6  echo $ac_n "checking for objdir""... $ac_c" 1>&6
2765  echo "configure:2787: checking for objdir" >&5  echo "configure:2766: checking for objdir" >&5
2766  rm -f .libs 2>/dev/null  rm -f .libs 2>/dev/null
2767  mkdir .libs 2>/dev/null  mkdir .libs 2>/dev/null
2768  if test -d .libs; then  if test -d .libs; then
# Line 2810  test -z "$pic_mode" && pic_mode=default Line 2789  test -z "$pic_mode" && pic_mode=default
2789  # in isolation, and that seeing it set (from the cache) indicates that  # in isolation, and that seeing it set (from the cache) indicates that
2790  # the associated values are set (in the cache) correctly too.  # the associated values are set (in the cache) correctly too.
2791  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
2792  echo "configure:2814: checking for $compiler option to produce PIC" >&5  echo "configure:2793: checking for $compiler option to produce PIC" >&5
2793  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
2794    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2795  else  else
# Line 2962  else Line 2941  else
2941    
2942    # Check to make sure the pic_flag actually works.    # Check to make sure the pic_flag actually works.
2943    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
2944  echo "configure:2966: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5  echo "configure:2945: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
2945    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
2946    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2947  else  else
2948        save_CFLAGS="$CFLAGS"        save_CFLAGS="$CFLAGS"
2949      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
2950      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
2951  #line 2973 "configure"  #line 2952 "configure"
2952  #include "confdefs.h"  #include "confdefs.h"
2953    
2954  int main() {  int main() {
2955    
2956  ; return 0; }  ; return 0; }
2957  EOF  EOF
2958  if { (eval echo configure:2980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2959    rm -rf conftest*    rm -rf conftest*
2960          case $host_os in          case $host_os in
2961        hpux9* | hpux10* | hpux11*)        hpux9* | hpux10* | hpux11*)
# Line 3028  if test -n "$lt_cv_prog_cc_shlib"; then Line 3007  if test -n "$lt_cv_prog_cc_shlib"; then
3007  fi  fi
3008    
3009  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
3010  echo "configure:3032: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5  echo "configure:3011: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
3011  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
3012    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3013  else  else
# Line 3036  else Line 3015  else
3015    save_LDFLAGS="$LDFLAGS"    save_LDFLAGS="$LDFLAGS"
3016    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
3017    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3018  #line 3040 "configure"  #line 3019 "configure"
3019  #include "confdefs.h"  #include "confdefs.h"
3020    
3021  int main() {  int main() {
3022    
3023  ; return 0; }  ; return 0; }
3024  EOF  EOF
3025  if { (eval echo configure:3047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3026    rm -rf conftest*    rm -rf conftest*
3027    lt_cv_prog_cc_static_works=yes    lt_cv_prog_cc_static_works=yes
3028  else  else
# Line 3070  can_build_shared="$lt_cv_prog_cc_can_bui Line 3049  can_build_shared="$lt_cv_prog_cc_can_bui
3049    
3050  # 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
3051  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
3052  echo "configure:3074: checking if $compiler supports -c -o file.$ac_objext" >&5  echo "configure:3053: checking if $compiler supports -c -o file.$ac_objext" >&5
3053  if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
3054    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3055  else  else
# Line 3089  chmod -w . Line 3068  chmod -w .
3068  save_CFLAGS="$CFLAGS"  save_CFLAGS="$CFLAGS"
3069  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
3070  compiler_c_o=no  compiler_c_o=no
3071  if { (eval echo configure:3093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then  if { (eval echo configure:3072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
3072    # The compiler can only warn and ignore the option if not recognized    # The compiler can only warn and ignore the option if not recognized
3073    # So say no if there are warnings    # So say no if there are warnings
3074    if test -s out/conftest.err; then    if test -s out/conftest.err; then
# Line 3118  echo "$ac_t""$compiler_c_o" 1>&6 Line 3097  echo "$ac_t""$compiler_c_o" 1>&6
3097  if test x"$compiler_c_o" = x"yes"; then  if test x"$compiler_c_o" = x"yes"; then
3098    # Check to see if we can write to a .lo    # Check to see if we can write to a .lo
3099    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
3100  echo "configure:3122: checking if $compiler supports -c -o file.lo" >&5  echo "configure:3101: checking if $compiler supports -c -o file.lo" >&5
3101    if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then    if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
3102    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3103  else  else
# Line 3127  else Line 3106  else
3106    save_CFLAGS="$CFLAGS"    save_CFLAGS="$CFLAGS"
3107    CFLAGS="$CFLAGS -c -o conftest.lo"    CFLAGS="$CFLAGS -c -o conftest.lo"
3108    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3109  #line 3131 "configure"  #line 3110 "configure"
3110  #include "confdefs.h"  #include "confdefs.h"
3111    
3112  int main() {  int main() {
3113  int some_variable = 0;  int some_variable = 0;
3114  ; return 0; }  ; return 0; }
3115  EOF  EOF
3116  if { (eval echo configure:3138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3117    rm -rf conftest*    rm -rf conftest*
3118        # The compiler can only warn and ignore the option if not recognized        # The compiler can only warn and ignore the option if not recognized
3119      # So say no if there are warnings      # So say no if there are warnings
# Line 3164  hard_links="nottested" Line 3143  hard_links="nottested"
3143  if test "$compiler_c_o" = no && test "$need_locks" != no; then  if test "$compiler_c_o" = no && test "$need_locks" != no; then
3144    # do not overwrite the value of need_locks provided by the user    # do not overwrite the value of need_locks provided by the user
3145    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
3146  echo "configure:3168: checking if we can lock with hard links" >&5  echo "configure:3147: checking if we can lock with hard links" >&5
3147    hard_links=yes    hard_links=yes
3148    $rm conftest*    $rm conftest*
3149    ln conftest.a conftest.b 2>/dev/null && hard_links=no    ln conftest.a conftest.b 2>/dev/null && hard_links=no
# Line 3183  fi Line 3162  fi
3162  if test "$GCC" = yes; then  if test "$GCC" = yes; then
3163    # 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
3164    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
3165  echo "configure:3187: checking if $compiler supports -fno-rtti -fno-exceptions" >&5  echo "configure:3166: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
3166    echo "int some_variable = 0;" > conftest.$ac_ext    echo "int some_variable = 0;" > conftest.$ac_ext
3167    save_CFLAGS="$CFLAGS"    save_CFLAGS="$CFLAGS"
3168    CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"    CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
3169    compiler_rtti_exceptions=no    compiler_rtti_exceptions=no
3170    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3171  #line 3193 "configure"  #line 3172 "configure"
3172  #include "confdefs.h"  #include "confdefs.h"
3173    
3174  int main() {  int main() {
3175  int some_variable = 0;  int some_variable = 0;
3176  ; return 0; }  ; return 0; }
3177  EOF  EOF
3178  if { (eval echo configure:3200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3179    rm -rf conftest*    rm -rf conftest*
3180        # The compiler can only warn and ignore the option if not recognized        # The compiler can only warn and ignore the option if not recognized
3181      # So say no if there are warnings      # So say no if there are warnings
# Line 3223  fi Line 3202  fi
3202    
3203  # See if the linker supports building shared libraries.  # See if the linker supports building shared libraries.
3204  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
3205  echo "configure:3227: checking whether the linker ($LD) supports shared libraries" >&5  echo "configure:3206: checking whether the linker ($LD) supports shared libraries" >&5
3206    
3207  allow_undefined_flag=  allow_undefined_flag=
3208  no_undefined_flag=  no_undefined_flag=
# Line 3839  test "$ld_shlibs" = no && can_build_shar Line 3818  test "$ld_shlibs" = no && can_build_shar
3818    
3819  # Check hardcoding attributes.  # Check hardcoding attributes.
3820  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
3821  echo "configure:3843: checking how to hardcode library paths into programs" >&5  echo "configure:3822: checking how to hardcode library paths into programs" >&5
3822  hardcode_action=  hardcode_action=
3823  if test -n "$hardcode_libdir_flag_spec" || \  if test -n "$hardcode_libdir_flag_spec" || \
3824     test -n "$runpath_var"; then     test -n "$runpath_var"; then
# Line 3867  echo "$ac_t""$hardcode_action" 1>&6 Line 3846  echo "$ac_t""$hardcode_action" 1>&6
3846  striplib=  striplib=
3847  old_striplib=  old_striplib=
3848  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
3849  echo "configure:3871: checking whether stripping libraries is possible" >&5  echo "configure:3850: checking whether stripping libraries is possible" >&5
3850  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
3851    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3852    test -z "$striplib" && striplib="$STRIP --strip-unneeded"    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
# Line 3881  test -z "$deplibs_check_method" && depli Line 3860  test -z "$deplibs_check_method" && depli
3860    
3861  # PORTME Fill in your ld.so characteristics  # PORTME Fill in your ld.so characteristics
3862  echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6  echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
3863  echo "configure:3885: checking dynamic linker characteristics" >&5  echo "configure:3864: checking dynamic linker characteristics" >&5
3864  library_names_spec=  library_names_spec=
3865  libname_spec='lib$name'  libname_spec='lib$name'
3866  soname_spec=  soname_spec=
# Line 4267  test "$dynamic_linker" = no && can_build Line 4246  test "$dynamic_linker" = no && can_build
4246    
4247  # Report the final consequences.  # Report the final consequences.
4248  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
4249  echo "configure:4271: checking if libtool supports shared libraries" >&5  echo "configure:4250: checking if libtool supports shared libraries" >&5
4250  echo "$ac_t""$can_build_shared" 1>&6  echo "$ac_t""$can_build_shared" 1>&6
4251    
4252  if test "$hardcode_action" = relink; then  if test "$hardcode_action" = relink; then
# Line 4306  else Line 4285  else
4285    
4286    *)    *)
4287      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
4288  echo "configure:4310: checking for dlopen in -ldl" >&5  echo "configure:4289: checking for dlopen in -ldl" >&5
4289  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
4290  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
4291    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4314  else Line 4293  else
4293    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4294  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
4295  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4296  #line 4318 "configure"  #line 4297 "configure"
4297  #include "confdefs.h"  #include "confdefs.h"
4298  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4299  /* 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 4325  int main() { Line 4304  int main() {
4304  dlopen()  dlopen()
4305  ; return 0; }  ; return 0; }
4306  EOF  EOF
4307  if { (eval echo configure:4329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4308    rm -rf conftest*    rm -rf conftest*
4309    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4310  else  else
# Line 4344  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 4323  if eval "test \"`echo '$ac_cv_lib_'$ac_l
4323  else  else
4324    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4325  echo $ac_n "checking for dlopen""... $ac_c" 1>&6  echo $ac_n "checking for dlopen""... $ac_c" 1>&6
4326  echo "configure:4348: checking for dlopen" >&5  echo "configure:4327: checking for dlopen" >&5
4327  if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
4328    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4329  else  else
4330    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4331  #line 4353 "configure"  #line 4332 "configure"
4332  #include "confdefs.h"  #include "confdefs.h"
4333  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4334      which can conflict with char dlopen(); below.  */      which can conflict with char dlopen(); below.  */
# Line 4372  dlopen(); Line 4351  dlopen();
4351    
4352  ; return 0; }  ; return 0; }
4353  EOF  EOF
4354  if { (eval echo configure:4376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4355    rm -rf conftest*    rm -rf conftest*
4356    eval "ac_cv_func_dlopen=yes"    eval "ac_cv_func_dlopen=yes"
4357  else  else
# Line 4390  if eval "test \"`echo '$ac_cv_func_'dlop Line 4369  if eval "test \"`echo '$ac_cv_func_'dlop
4369  else  else
4370    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4371  echo $ac_n "checking for shl_load""... $ac_c" 1>&6  echo $ac_n "checking for shl_load""... $ac_c" 1>&6
4372  echo "configure:4394: checking for shl_load" >&5  echo "configure:4373: checking for shl_load" >&5
4373  if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
4374    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4375  else  else
4376    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4377  #line 4399 "configure"  #line 4378 "configure"
4378  #include "confdefs.h"  #include "confdefs.h"
4379  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4380      which can conflict with char shl_load(); below.  */      which can conflict with char shl_load(); below.  */
# Line 4418  shl_load(); Line 4397  shl_load();
4397    
4398  ; return 0; }  ; return 0; }
4399  EOF  EOF
4400  if { (eval echo configure:4422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4401    rm -rf conftest*    rm -rf conftest*
4402    eval "ac_cv_func_shl_load=yes"    eval "ac_cv_func_shl_load=yes"
4403  else  else
# Line 4436  if eval "test \"`echo '$ac_cv_func_'shl_ Line 4415  if eval "test \"`echo '$ac_cv_func_'shl_
4415  else  else
4416    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4417  echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
4418  echo "configure:4440: checking for dlopen in -lsvld" >&5  echo "configure:4419: checking for dlopen in -lsvld" >&5
4419  ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
4420  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
4421    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4444  else Line 4423  else
4423    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4424  LIBS="-lsvld  $LIBS"  LIBS="-lsvld  $LIBS"
4425  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4426  #line 4448 "configure"  #line 4427 "configure"
4427  #include "confdefs.h"  #include "confdefs.h"
4428  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4429  /* 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 4455  int main() { Line 4434  int main() {
4434  dlopen()  dlopen()
4435  ; return 0; }  ; return 0; }
4436  EOF  EOF
4437  if { (eval echo configure:4459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4438    rm -rf conftest*    rm -rf conftest*
4439    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4440  else  else
# Line 4474  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 4453  if eval "test \"`echo '$ac_cv_lib_'$ac_l
4453  else  else
4454    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4455  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
4456  echo "configure:4478: checking for shl_load in -ldld" >&5  echo "configure:4457: checking for shl_load in -ldld" >&5
4457  ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
4458  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
4459    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4482  else Line 4461  else
4461    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4462  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
4463  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4464  #line 4486 "configure"  #line 4465 "configure"
4465  #include "confdefs.h"  #include "confdefs.h"
4466  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4467  /* 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 4493  int main() { Line 4472  int main() {
4472  shl_load()  shl_load()
4473  ; return 0; }  ; return 0; }
4474  EOF  EOF
4475  if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4476    rm -rf conftest*    rm -rf conftest*
4477    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4478  else  else
# Line 4546  fi Line 4525  fi
4525      LIBS="$lt_cv_dlopen_libs $LIBS"      LIBS="$lt_cv_dlopen_libs $LIBS"
4526    
4527      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
4528  echo "configure:4550: checking whether a program can dlopen itself" >&5  echo "configure:4529: checking whether a program can dlopen itself" >&5
4529  if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
4530    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4531  else  else
# Line 4556  else Line 4535  else
4535      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4536    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
4537    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4538  #line 4560 "configure"  #line 4539 "configure"
4539  #include "confdefs.h"  #include "confdefs.h"
4540    
4541  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 4617  int main () Line 4596  int main ()
4596      exit (status);      exit (status);
4597  }  }
4598  EOF  EOF
4599    if { (eval echo configure:4621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then    if { (eval echo configure:4600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
4600      (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) 2>/dev/null
4601      lt_status=$?      lt_status=$?
4602      case x$lt_status in      case x$lt_status in
# Line 4640  echo "$ac_t""$lt_cv_dlopen_self" 1>&6 Line 4619  echo "$ac_t""$lt_cv_dlopen_self" 1>&6
4619      if test "x$lt_cv_dlopen_self" = xyes; then      if test "x$lt_cv_dlopen_self" = xyes; then
4620        LDFLAGS="$LDFLAGS $link_static_flag"        LDFLAGS="$LDFLAGS $link_static_flag"
4621        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
4622  echo "configure:4644: checking whether a statically linked program can dlopen itself" >&5  echo "configure:4623: checking whether a statically linked program can dlopen itself" >&5
4623  if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
4624    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4625  else  else
# Line 4650  else Line 4629  else
4629      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4630    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
4631    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4632  #line 4654 "configure"  #line 4633 "configure"
4633  #include "confdefs.h"  #include "confdefs.h"
4634    
4635  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 4711  int main () Line 4690  int main ()
4690      exit (status);      exit (status);
4691  }  }
4692  EOF  EOF
4693    if { (eval echo configure:4715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then    if { (eval echo configure:4694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
4694      (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) 2>/dev/null
4695      lt_status=$?      lt_status=$?
4696      case x$lt_status in      case x$lt_status in
# Line 4760  if test "$enable_shared" = yes && test " Line 4739  if test "$enable_shared" = yes && test "
4739      # systems, -lgcc has to come before -lc. If gcc already passes -lc      # systems, -lgcc has to come before -lc. If gcc already passes -lc
4740      # to ld, don't add -lc before -lgcc.      # to ld, don't add -lc before -lgcc.
4741      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
4742  echo "configure:4764: checking whether -lc should be explicitly linked in" >&5  echo "configure:4743: checking whether -lc should be explicitly linked in" >&5
4743      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
4744    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4745  else  else
4746    $rm conftest*    $rm conftest*
4747      echo 'static int dummy;' > conftest.$ac_ext      echo 'static int dummy;' > conftest.$ac_ext
4748    
4749      if { (eval echo configure:4771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then      if { (eval echo configure:4750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4750        soname=conftest        soname=conftest
4751        lib=conftest        lib=conftest
4752        libobjs=conftest.$ac_objext        libobjs=conftest.$ac_objext
# Line 4780  else Line 4759  else
4759        libname=conftest        libname=conftest
4760        save_allow_undefined_flag=$allow_undefined_flag        save_allow_undefined_flag=$allow_undefined_flag
4761        allow_undefined_flag=        allow_undefined_flag=
4762        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; }        if { (eval echo configure:4763: \"$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; }
4763        then        then
4764          lt_cv_archive_cmds_need_lc=no          lt_cv_archive_cmds_need_lc=no
4765        else        else
# Line 5363  LIBTOOL='$(SHELL) $(top_builddir)/libtoo Line 5342  LIBTOOL='$(SHELL) $(top_builddir)/libtoo
5342    
5343    
5344  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
5345  echo "configure:5367: checking for crypt in -lcrypt" >&5  echo "configure:5346: checking for crypt in -lcrypt" >&5
5346  ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
5347  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
5348    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5371  else Line 5350  else
5350    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5351  LIBS="-lcrypt  $LIBS"  LIBS="-lcrypt  $LIBS"
5352  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5353  #line 5375 "configure"  #line 5354 "configure"
5354  #include "confdefs.h"  #include "confdefs.h"
5355  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5356  /* 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 5382  int main() { Line 5361  int main() {
5361  crypt()  crypt()
5362  ; return 0; }  ; return 0; }
5363  EOF  EOF
5364  if { (eval echo configure:5386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5365    rm -rf conftest*    rm -rf conftest*
5366    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5367  else  else
# Line 5410  else Line 5389  else
5389  fi  fi
5390    
5391  echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
5392  echo "configure:5414: checking for connect in -lsocket" >&5  echo "configure:5393: checking for connect in -lsocket" >&5
5393  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
5394  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
5395    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5418  else Line 5397  else
5397    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5398  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
5399  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5400  #line 5422 "configure"  #line 5401 "configure"
5401  #include "confdefs.h"  #include "confdefs.h"
5402  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5403  /* 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 5429  int main() { Line 5408  int main() {
5408  connect()  connect()
5409  ; return 0; }  ; return 0; }
5410  EOF  EOF
5411  if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5412    rm -rf conftest*    rm -rf conftest*
5413    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5414  else  else
# Line 5457  else Line 5436  else
5436  fi  fi
5437    
5438  echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
5439  echo "configure:5461: checking for gethostbyname in -lnsl" >&5  echo "configure:5440: checking for gethostbyname in -lnsl" >&5
5440  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
5441  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
5442    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5465  else Line 5444  else
5444    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5445  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
5446  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5447  #line 5469 "configure"  #line 5448 "configure"
5448  #include "confdefs.h"  #include "confdefs.h"
5449  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5450  /* 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 5476  int main() { Line 5455  int main() {
5455  gethostbyname()  gethostbyname()
5456  ; return 0; }  ; return 0; }
5457  EOF  EOF
5458  if { (eval echo configure:5480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5459    rm -rf conftest*    rm -rf conftest*
5460    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5461  else  else
# Line 5509  fi Line 5488  fi
5488  # 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.
5489  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
5490  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
5491  echo "configure:5513: checking for X" >&5  echo "configure:5492: checking for X" >&5
5492    
5493  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
5494  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 5571  if test "$ac_x_includes" = NO; then Line 5550  if test "$ac_x_includes" = NO; then
5550    
5551    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5552  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5553  #line 5575 "configure"  #line 5554 "configure"
5554  #include "confdefs.h"  #include "confdefs.h"
5555  #include <$x_direct_test_include>  #include <$x_direct_test_include>
5556  EOF  EOF
5557  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5558  { (eval echo configure:5580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5559  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5560  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5561    rm -rf conftest*    rm -rf conftest*
# Line 5645  if test "$ac_x_libraries" = NO; then Line 5624  if test "$ac_x_libraries" = NO; then
5624    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5625    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
5626  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5627  #line 5649 "configure"  #line 5628 "configure"
5628  #include "confdefs.h"  #include "confdefs.h"
5629    
5630  int main() {  int main() {
5631  ${x_direct_test_function}()  ${x_direct_test_function}()
5632  ; return 0; }  ; return 0; }
5633  EOF  EOF
5634  if { (eval echo configure:5656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5635    rm -rf conftest*    rm -rf conftest*
5636    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
5637  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5739  else Line 5718  else
5718  fi  fi
5719    
5720  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
5721  echo "configure:5743: checking for ANSI C header files" >&5  echo "configure:5722: checking for ANSI C header files" >&5
5722  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
5723    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5724  else  else
5725    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5726  #line 5748 "configure"  #line 5727 "configure"
5727  #include "confdefs.h"  #include "confdefs.h"
5728  #include <stdlib.h>  #include <stdlib.h>
5729  #include <stdarg.h>  #include <stdarg.h>
# Line 5752  else Line 5731  else
5731  #include <float.h>  #include <float.h>
5732  EOF  EOF
5733  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5734  { (eval echo configure:5756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5735  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5736  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5737    rm -rf conftest*    rm -rf conftest*
# Line 5769  rm -f conftest* Line 5748  rm -f conftest*
5748  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5749    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5750  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5751  #line 5773 "configure"  #line 5752 "configure"
5752  #include "confdefs.h"  #include "confdefs.h"
5753  #include <string.h>  #include <string.h>
5754  EOF  EOF
# Line 5787  fi Line 5766  fi
5766  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5767    # 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.
5768  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5769  #line 5791 "configure"  #line 5770 "configure"
5770  #include "confdefs.h"  #include "confdefs.h"
5771  #include <stdlib.h>  #include <stdlib.h>
5772  EOF  EOF
# Line 5808  if test "$cross_compiling" = yes; then Line 5787  if test "$cross_compiling" = yes; then
5787    :    :
5788  else  else
5789    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5790  #line 5812 "configure"  #line 5791 "configure"
5791  #include "confdefs.h"  #include "confdefs.h"
5792  #include <ctype.h>  #include <ctype.h>
5793  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 5819  if (XOR (islower (i), ISLOWER (i)) || to Line 5798  if (XOR (islower (i), ISLOWER (i)) || to
5798  exit (0); }  exit (0); }
5799    
5800  EOF  EOF
5801  if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5802  then  then
5803    :    :
5804  else  else
# Line 5843  EOF Line 5822  EOF
5822  fi  fi
5823    
5824  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
5825  echo "configure:5847: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "configure:5826: checking for sys/wait.h that is POSIX.1 compatible" >&5
5826  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
5827    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5828  else  else
5829    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5830  #line 5852 "configure"  #line 5831 "configure"
5831  #include "confdefs.h"  #include "confdefs.h"
5832  #include <sys/types.h>  #include <sys/types.h>
5833  #include <sys/wait.h>  #include <sys/wait.h>
# Line 5864  wait (&s); Line 5843  wait (&s);
5843  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5844  ; return 0; }  ; return 0; }
5845  EOF  EOF
5846  if { (eval echo configure:5868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5847    rm -rf conftest*    rm -rf conftest*
5848    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
5849  else  else
# Line 5888  for ac_hdr in fcntl.h limits.h malloc.h Line 5867  for ac_hdr in fcntl.h limits.h malloc.h
5867  do  do
5868  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5869  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5870  echo "configure:5892: checking for $ac_hdr" >&5  echo "configure:5871: checking for $ac_hdr" >&5
5871  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5872    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5873  else  else
5874    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5875  #line 5897 "configure"  #line 5876 "configure"
5876  #include "confdefs.h"  #include "confdefs.h"
5877  #include <$ac_hdr>  #include <$ac_hdr>
5878  EOF  EOF
5879  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5880  { (eval echo configure:5902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5881  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5882  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5883    rm -rf conftest*    rm -rf conftest*
# Line 5928  for ac_hdr in sys/file.h sys/ioctl.h sys Line 5907  for ac_hdr in sys/file.h sys/ioctl.h sys
5907  do  do
5908  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5909  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5910  echo "configure:5932: checking for $ac_hdr" >&5  echo "configure:5911: checking for $ac_hdr" >&5
5911  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5912    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5913  else  else
5914    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5915  #line 5937 "configure"  #line 5916 "configure"
5916  #include "confdefs.h"  #include "confdefs.h"
5917  #include <$ac_hdr>  #include <$ac_hdr>
5918  EOF  EOF
5919  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5920  { (eval echo configure:5942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5921  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5922  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5923    rm -rf conftest*    rm -rf conftest*
# Line 5966  done Line 5945  done
5945    
5946    
5947  echo $ac_n "checking for mode_t""... $ac_c" 1>&6  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
5948  echo "configure:5970: checking for mode_t" >&5  echo "configure:5949: checking for mode_t" >&5
5949  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
5950    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5951  else  else
5952    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5953  #line 5975 "configure"  #line 5954 "configure"
5954  #include "confdefs.h"  #include "confdefs.h"
5955  #include <sys/types.h>  #include <sys/types.h>
5956  #if STDC_HEADERS  #if STDC_HEADERS
# Line 5999  EOF Line 5978  EOF
5978  fi  fi
5979    
5980  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
5981  echo "configure:6003: checking whether time.h and sys/time.h may both be included" >&5  echo "configure:5982: checking whether time.h and sys/time.h may both be included" >&5
5982  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
5983    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5984  else  else
5985    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5986  #line 6008 "configure"  #line 5987 "configure"
5987  #include "confdefs.h"  #include "confdefs.h"
5988  #include <sys/types.h>  #include <sys/types.h>
5989  #include <sys/time.h>  #include <sys/time.h>
# Line 6013  int main() { Line 5992  int main() {
5992  struct tm *tp;  struct tm *tp;
5993  ; return 0; }  ; return 0; }
5994  EOF  EOF
5995  if { (eval echo configure:6017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5996    rm -rf conftest*    rm -rf conftest*
5997    ac_cv_header_time=yes    ac_cv_header_time=yes
5998  else  else
# Line 6034  EOF Line 6013  EOF
6013  fi  fi
6014    
6015  echo $ac_n "checking for time_t""... $ac_c" 1>&6  echo $ac_n "checking for time_t""... $ac_c" 1>&6
6016  echo "configure:6038: checking for time_t" >&5  echo "configure:6017: checking for time_t" >&5
6017  if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then
6018    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6019  else  else
6020    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6021  #line 6043 "configure"  #line 6022 "configure"
6022  #include "confdefs.h"  #include "confdefs.h"
6023  #include <sys/types.h>  #include <sys/types.h>
6024  #if STDC_HEADERS  #if STDC_HEADERS
# Line 6068  fi Line 6047  fi
6047    
6048    
6049  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
6050  echo "configure:6072: checking for socklen_t" >&5  echo "configure:6051: checking for socklen_t" >&5
6051  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6052  #line 6074 "configure"  #line 6053 "configure"
6053  #include "confdefs.h"  #include "confdefs.h"
6054  #include <sys/socket.h>  #include <sys/socket.h>
6055  EOF  EOF
# Line 6093  rm -f conftest* Line 6072  rm -f conftest*
6072    
6073    
6074  echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6  echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6
6075  echo "configure:6097: checking for RAND_MAX" >&5  echo "configure:6076: checking for RAND_MAX" >&5
6076  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6077  #line 6099 "configure"  #line 6078 "configure"
6078  #include "confdefs.h"  #include "confdefs.h"
6079  #include <stdlib.h>  #include <stdlib.h>
6080  #ifdef RAND_MAX  #ifdef RAND_MAX
# Line 6116  rm -f conftest* Line 6095  rm -f conftest*
6095    
6096  if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
6097      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
6098  echo "configure:6120: checking whether ${CC-cc} needs -traditional" >&5  echo "configure:6099: checking whether ${CC-cc} needs -traditional" >&5
6099  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6100    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6101  else  else
6102      ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
6103    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6104  #line 6126 "configure"  #line 6105 "configure"
6105  #include "confdefs.h"  #include "confdefs.h"
6106  #include <sgtty.h>  #include <sgtty.h>
6107  Autoconf TIOCGETP  Autoconf TIOCGETP
# Line 6140  rm -f conftest* Line 6119  rm -f conftest*
6119    
6120    if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
6121      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
6122  #line 6144 "configure"  #line 6123 "configure"
6123  #include "confdefs.h"  #include "confdefs.h"
6124  #include <termio.h>  #include <termio.h>
6125  Autoconf TCGETA  Autoconf TCGETA
# Line 6162  echo "$ac_t""$ac_cv_prog_gcc_traditional Line 6141  echo "$ac_t""$ac_cv_prog_gcc_traditional
6141  fi  fi
6142    
6143  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
6144  echo "configure:6166: checking for 8-bit clean memcmp" >&5  echo "configure:6145: checking for 8-bit clean memcmp" >&5
6145  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
6146    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6147  else  else
# Line 6170  else Line 6149  else
6149    ac_cv_func_memcmp_clean=no    ac_cv_func_memcmp_clean=no
6150  else  else
6151    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6152  #line 6174 "configure"  #line 6153 "configure"
6153  #include "confdefs.h"  #include "confdefs.h"
6154    
6155  main()  main()
# Line 6180  main() Line 6159  main()
6159  }  }
6160    
6161  EOF  EOF
6162  if { (eval echo configure:6184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6163  then  then
6164    ac_cv_func_memcmp_clean=yes    ac_cv_func_memcmp_clean=yes
6165  else  else
# Line 6198  echo "$ac_t""$ac_cv_func_memcmp_clean" 1 Line 6177  echo "$ac_t""$ac_cv_func_memcmp_clean" 1
6177  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
6178    
6179  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
6180  echo "configure:6202: checking return type of signal handlers" >&5  echo "configure:6181: checking return type of signal handlers" >&5
6181  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
6182    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6183  else  else
6184    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6185  #line 6207 "configure"  #line 6186 "configure"
6186  #include "confdefs.h"  #include "confdefs.h"
6187  #include <sys/types.h>  #include <sys/types.h>
6188  #include <signal.h>  #include <signal.h>
# Line 6220  int main() { Line 6199  int main() {
6199  int i;  int i;
6200  ; return 0; }  ; return 0; }
6201  EOF  EOF
6202  if { (eval echo configure:6224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6203    rm -rf conftest*    rm -rf conftest*
6204    ac_cv_type_signal=void    ac_cv_type_signal=void
6205  else  else
# Line 6239  EOF Line 6218  EOF
6218    
6219    
6220  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
6221  echo "configure:6243: checking for wait3 that fills in rusage" >&5  echo "configure:6222: checking for wait3 that fills in rusage" >&5
6222  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then
6223    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6224  else  else
# Line 6247  else Line 6226  else
6226    ac_cv_func_wait3_rusage=no    ac_cv_func_wait3_rusage=no
6227  else  else
6228    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6229  #line 6251 "configure"  #line 6230 "configure"
6230  #include "confdefs.h"  #include "confdefs.h"
6231  #include <sys/types.h>  #include <sys/types.h>
6232  #include <sys/time.h>  #include <sys/time.h>
# Line 6278  main() { Line 6257  main() {
6257    }    }
6258  }  }
6259  EOF  EOF
6260  if { (eval echo configure:6282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6261  then  then
6262    ac_cv_func_wait3_rusage=yes    ac_cv_func_wait3_rusage=yes
6263  else  else
# Line 6303  fi Line 6282  fi
6282  for ac_func in gethostname mkdir select socket strtol  for ac_func in gethostname mkdir select socket strtol
6283  do  do
6284  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6285  echo "configure:6307: checking for $ac_func" >&5  echo "configure:6286: checking for $ac_func" >&5
6286  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6287    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6288  else  else
6289    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6290  #line 6312 "configure"  #line 6291 "configure"
6291  #include "confdefs.h"  #include "confdefs.h"
6292  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6293      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6331  $ac_func(); Line 6310  $ac_func();
6310    
6311  ; return 0; }  ; return 0; }
6312  EOF  EOF
6313  if { (eval echo configure:6335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6314    rm -rf conftest*    rm -rf conftest*
6315    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6316  else  else
# Line 6358  done Line 6337  done
6337  for ac_func in drand48  for ac_func in drand48
6338  do  do
6339  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6340  echo "configure:6362: checking for $ac_func" >&5  echo "configure:6341: checking for $ac_func" >&5
6341  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6342    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6343  else  else
6344    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6345  #line 6367 "configure"  #line 6346 "configure"
6346  #include "confdefs.h"  #include "confdefs.h"
6347  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6348      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6386  $ac_func(); Line 6365  $ac_func();
6365    
6366  ; return 0; }  ; return 0; }
6367  EOF  EOF
6368  if { (eval echo configure:6390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6369    rm -rf conftest*    rm -rf conftest*
6370    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6371  else  else
# Line 6413  done Line 6392  done
6392  for ac_func in perror  for ac_func in perror
6393  do  do
6394  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6395  echo "configure:6417: checking for $ac_func" >&5  echo "configure:6396: checking for $ac_func" >&5
6396  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6397    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6398  else  else
6399    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6400  #line 6422 "configure"  #line 6401 "configure"
6401  #include "confdefs.h"  #include "confdefs.h"
6402  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6403      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6441  $ac_func(); Line 6420  $ac_func();
6420    
6421  ; return 0; }  ; return 0; }
6422  EOF  EOF
6423  if { (eval echo configure:6445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6424    rm -rf conftest*    rm -rf conftest*
6425    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6426  else  else
# Line 6468  done Line 6447  done
6447  for ac_func in closesocket setsockopt send recv  for ac_func in closesocket setsockopt send recv
6448  do  do
6449  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6450  echo "configure:6472: checking for $ac_func" >&5  echo "configure:6451: checking for $ac_func" >&5
6451  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6452    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6453  else  else
6454    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6455  #line 6477 "configure"  #line 6456 "configure"
6456  #include "confdefs.h"  #include "confdefs.h"
6457  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6458      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6496  $ac_func(); Line 6475  $ac_func();
6475    
6476  ; return 0; }  ; return 0; }
6477  EOF  EOF
6478  if { (eval echo configure:6500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6479    rm -rf conftest*    rm -rf conftest*
6480    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6481  else  else
# Line 6521  fi Line 6500  fi
6500  done  done
6501    
6502  echo $ac_n "checking for setpgrp""... $ac_c" 1>&6  echo $ac_n "checking for setpgrp""... $ac_c" 1>&6
6503  echo "configure:6525: checking for setpgrp" >&5  echo "configure:6504: checking for setpgrp" >&5
6504  if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then
6505    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6506  else  else
6507    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6508  #line 6530 "configure"  #line 6509 "configure"
6509  #include "confdefs.h"  #include "confdefs.h"
6510  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6511      which can conflict with char setpgrp(); below.  */      which can conflict with char setpgrp(); below.  */
# Line 6549  setpgrp(); Line 6528  setpgrp();
6528    
6529  ; return 0; }  ; return 0; }
6530  EOF  EOF
6531  if { (eval echo configure:6553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6532    rm -rf conftest*    rm -rf conftest*
6533    eval "ac_cv_func_setpgrp=yes"    eval "ac_cv_func_setpgrp=yes"
6534  else  else
# Line 6569  else Line 6548  else
6548  fi  fi
6549    
6550  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
6551  echo "configure:6573: checking whether setpgrp takes no argument" >&5  echo "configure:6552: checking whether setpgrp takes no argument" >&5
6552  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then
6553    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6554  else  else
# Line 6577  else Line 6556  else
6556    { 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; }
6557  else  else
6558    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6559  #line 6581 "configure"  #line 6560 "configure"
6560  #include "confdefs.h"  #include "confdefs.h"
6561    
6562  #ifdef HAVE_UNISTD_H  #ifdef HAVE_UNISTD_H
# Line 6597  main() Line 6576  main()
6576  }  }
6577    
6578  EOF  EOF
6579  if { (eval echo configure:6601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6580  then  then
6581    ac_cv_func_setpgrp_void=no    ac_cv_func_setpgrp_void=no
6582  else  else

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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