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.19 by aono, Sat Mar 9 16:50:31 2002 UTC revision 1.20 by hiroo, Thu Mar 21 04:32:23 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 732  fi Line 743  fi
743    
744    
745    
   
746  ac_aux_dir=  ac_aux_dir=
747  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
748    if test -f $ac_dir/install-sh; then    if test -f $ac_dir/install-sh; then
# Line 759  else { echo "configure: error: can not r Line 769  else { echo "configure: error: can not r
769  fi  fi
770    
771  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
772  echo "configure:763: checking host system type" >&5  echo "configure:773: checking host system type" >&5
773    
774  host_alias=$host  host_alias=$host
775  case "$host_alias" in  case "$host_alias" in
# Line 1028  fi Line 1038  fi
1038    
1039    
1040    
1041    
1042  # Check whether --enable-ipv6 or --disable-ipv6 was given.  # Check whether --enable-ipv6 or --disable-ipv6 was given.
1043  if test "${enable_ipv6+set}" = set; then  if test "${enable_ipv6+set}" = set; then
1044    enableval="$enable_ipv6"    enableval="$enable_ipv6"
# 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 1366  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:1370: 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 1381  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 1385 "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:1391: \"$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 1398  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 1402 "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:1408: \"$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 1415  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 1419 "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:1425: \"$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 1458  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:1462: 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 1511  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:1515: 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 1532  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:1536: 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 1559  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:1563: 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 1568 "configure"  #line 1579 "configure"
1579  #include "confdefs.h"  #include "confdefs.h"
1580    
1581  int main() {  int main() {
# Line 1575  int main() { Line 1586  int main() {
1586  return __CYGWIN__;  return __CYGWIN__;
1587  ; return 0; }  ; return 0; }
1588  EOF  EOF
1589  if { (eval echo configure:1579: \"$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 1592  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:1596: 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 1601 "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:1608: \"$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 1690  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:1694: 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 1719  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:1723: 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 1749  echo "configure:1723: checking for ld us Line 1760  echo "configure:1723: 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:1753: 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:1756: 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 1787  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:1791: 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 1804  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:1808: 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 1816  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:1820: 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 1854  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:1858: 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 2027  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:2031: 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:2037: \"$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 2053  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:2057: 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 2063  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:2067: \"$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 2094  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:2098: 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 2170  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:2174: \"$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:2177: \"$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 2224  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:2228: \"$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 2270  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:2274: 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 2279 "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:2284: \"$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 2315  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:2319: 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 2377  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:2381: 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 2448  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:2452: 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 2480  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:2484: 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 2515  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:2519: 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 2547  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:2551: 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 2596  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 2600 "configure"' > conftest.$ac_ext    echo '#line 2611 "configure"' > conftest.$ac_ext
2611    if { (eval echo configure:2601: \"$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 2618  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:2622: 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 2631  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 2635 "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:2642: \"$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 2751  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:2755: 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 2778  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:2782: 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 2930  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:2934: 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 2941 "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:2948: \"$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 2996  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:3000: 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 3004  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 3008 "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:3015: \"$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 3038  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:3042: 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 3057  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:3061: \"$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 3086  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:3090: 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 3095  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 3099 "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:3106: \"$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 3132  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:3136: 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 3151  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:3155: 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 3161 "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:3168: \"$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 3191  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:3195: 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 3807  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:3811: 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 3835  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:3839: 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 3849  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:3853: 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 4235  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:4239: 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 4274  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:4278: 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 4282  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 4286 "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 4293  int main() { Line 4304  int main() {
4304  dlopen()  dlopen()
4305  ; return 0; }  ; return 0; }
4306  EOF  EOF
4307  if { (eval echo configure:4297: \"$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 4312  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:4316: 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 4321 "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 4340  dlopen(); Line 4351  dlopen();
4351    
4352  ; return 0; }  ; return 0; }
4353  EOF  EOF
4354  if { (eval echo configure:4344: \"$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 4358  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:4362: 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 4367 "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 4386  shl_load(); Line 4397  shl_load();
4397    
4398  ; return 0; }  ; return 0; }
4399  EOF  EOF
4400  if { (eval echo configure:4390: \"$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 4404  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:4408: 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 4412  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 4416 "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 4423  int main() { Line 4434  int main() {
4434  dlopen()  dlopen()
4435  ; return 0; }  ; return 0; }
4436  EOF  EOF
4437  if { (eval echo configure:4427: \"$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 4442  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:4446: 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 4450  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 4454 "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 4461  int main() { Line 4472  int main() {
4472  shl_load()  shl_load()
4473  ; return 0; }  ; return 0; }
4474  EOF  EOF
4475  if { (eval echo configure:4465: \"$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 4514  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:4518: 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 4524  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 4528 "configure"  #line 4539 "configure"
4539  #include "confdefs.h"  #include "confdefs.h"
4540    
4541  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 4585  int main () Line 4596  int main ()
4596      exit (status);      exit (status);
4597  }  }
4598  EOF  EOF
4599    if { (eval echo configure:4589: \"$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 4608  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:4612: 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 4618  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 4622 "configure"  #line 4633 "configure"
4633  #include "confdefs.h"  #include "confdefs.h"
4634    
4635  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 4679  int main () Line 4690  int main ()
4690      exit (status);      exit (status);
4691  }  }
4692  EOF  EOF
4693    if { (eval echo configure:4683: \"$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 4728  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:4732: 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:4739: \"$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 4748  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:4752: \"$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 5331  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:5335: 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 5339  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 5343 "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 5350  int main() { Line 5361  int main() {
5361  crypt()  crypt()
5362  ; return 0; }  ; return 0; }
5363  EOF  EOF
5364  if { (eval echo configure:5354: \"$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 5378  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:5382: 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 5386  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 5390 "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 5397  int main() { Line 5408  int main() {
5408  connect()  connect()
5409  ; return 0; }  ; return 0; }
5410  EOF  EOF
5411  if { (eval echo configure:5401: \"$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 5425  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:5429: 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 5433  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 5437 "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 5444  int main() { Line 5455  int main() {
5455  gethostbyname()  gethostbyname()
5456  ; return 0; }  ; return 0; }
5457  EOF  EOF
5458  if { (eval echo configure:5448: \"$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 5477  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:5481: 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 5539  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 5543 "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:5548: \"$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 5613  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 5617 "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:5624: \"$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 5707  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:5711: 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 5716 "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 5720  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:5724: \"$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 5737  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 5741 "configure"  #line 5752 "configure"
5752  #include "confdefs.h"  #include "confdefs.h"
5753  #include <string.h>  #include <string.h>
5754  EOF  EOF
# Line 5755  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 5759 "configure"  #line 5770 "configure"
5770  #include "confdefs.h"  #include "confdefs.h"
5771  #include <stdlib.h>  #include <stdlib.h>
5772  EOF  EOF
# Line 5776  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 5780 "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 5787  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:5791: \"$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 5811  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:5815: 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 5820 "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 5832  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:5836: \"$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 5856  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:5860: 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 5865 "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:5870: \"$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 5896  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:5900: 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 5905 "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:5910: \"$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 5934  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:5938: 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 5943 "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 5967  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:5971: 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 5976 "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 5981  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:5985: \"$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 6002  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:6006: 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 6011 "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 6036  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:6040: 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 6042 "configure"  #line 6053 "configure"
6053  #include "confdefs.h"  #include "confdefs.h"
6054  #include <sys/socket.h>  #include <sys/socket.h>
6055  EOF  EOF
# Line 6061  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:6065: 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 6067 "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 6084  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:6088: 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 6094 "configure"  #line 6105 "configure"
6105  #include "confdefs.h"  #include "confdefs.h"
6106  #include <sgtty.h>  #include <sgtty.h>
6107  Autoconf TIOCGETP  Autoconf TIOCGETP
# Line 6108  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 6112 "configure"  #line 6123 "configure"
6123  #include "confdefs.h"  #include "confdefs.h"
6124  #include <termio.h>  #include <termio.h>
6125  Autoconf TCGETA  Autoconf TCGETA
# Line 6130  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:6134: 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 6138  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 6142 "configure"  #line 6153 "configure"
6153  #include "confdefs.h"  #include "confdefs.h"
6154    
6155  main()  main()
# Line 6148  main() Line 6159  main()
6159  }  }
6160    
6161  EOF  EOF
6162  if { (eval echo configure:6152: \"$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 6166  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:6170: 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 6175 "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 6188  int main() { Line 6199  int main() {
6199  int i;  int i;
6200  ; return 0; }  ; return 0; }
6201  EOF  EOF
6202  if { (eval echo configure:6192: \"$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 6207  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:6211: 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 6215  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 6219 "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 6246  main() { Line 6257  main() {
6257    }    }
6258  }  }
6259  EOF  EOF
6260  if { (eval echo configure:6250: \"$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 6268  EOF Line 6279  EOF
6279    
6280  fi  fi
6281    
6282  for ac_func in gethostname select socket strtol  for ac_func in perror
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:6275: 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 6280 "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 6299  $ac_func(); Line 6310  $ac_func();
6310    
6311  ; return 0; }  ; return 0; }
6312  EOF  EOF
6313  if { (eval echo configure:6303: \"$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 6323  else Line 6334  else
6334  fi  fi
6335  done  done
6336    
6337  for ac_func in drand48  for ac_func in drand48 strtol
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:6330: 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 6335 "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 6354  $ac_func(); Line 6365  $ac_func();
6365    
6366  ; return 0; }  ; return 0; }
6367  EOF  EOF
6368  if { (eval echo configure:6358: \"$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 6378  else Line 6389  else
6389  fi  fi
6390  done  done
6391    
6392  for ac_func in perror  for ac_func in fchmod
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:6385: 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 6390 "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 6409  $ac_func(); Line 6420  $ac_func();
6420    
6421  ; return 0; }  ; return 0; }
6422  EOF  EOF
6423  if { (eval echo configure:6413: \"$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 6433  else Line 6444  else
6444  fi  fi
6445  done  done
6446    
6447  for ac_func in closesocket setsockopt send recv  echo $ac_n "checking for setpgrp""... $ac_c" 1>&6
6448  do  echo "configure:6449: checking for setpgrp" >&5
6449  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then
 echo "configure:6440: checking for $ac_func" >&5  
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  
6450    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6451  else  else
6452    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6453  #line 6445 "configure"  #line 6454 "configure"
6454  #include "confdefs.h"  #include "confdefs.h"
6455  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6456      which can conflict with char $ac_func(); below.  */      which can conflict with char setpgrp(); below.  */
6457  #include <assert.h>  #include <assert.h>
6458  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6459  /* 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
6460      builtin and then its argument prototype would still apply.  */      builtin and then its argument prototype would still apply.  */
6461  char $ac_func();  char setpgrp();
6462    
6463  int main() {  int main() {
6464    
6465  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
6466      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
6467      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
6468  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)  #if defined (__stub_setpgrp) || defined (__stub___setpgrp)
6469  choke me  choke me
6470  #else  #else
6471  $ac_func();  setpgrp();
6472  #endif  #endif
6473    
6474  ; return 0; }  ; return 0; }
6475  EOF  EOF
6476  if { (eval echo configure:6468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6477    rm -rf conftest*    rm -rf conftest*
6478    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_setpgrp=yes"
6479  else  else
6480    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
6481    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
6482    rm -rf conftest*    rm -rf conftest*
6483    eval "ac_cv_func_$ac_func=no"    eval "ac_cv_func_setpgrp=no"
6484  fi  fi
6485  rm -f conftest*  rm -f conftest*
6486  fi  fi
6487    
6488  if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then  if eval "test \"`echo '$ac_cv_func_'setpgrp`\" = yes"; then
6489    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
6490      ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`    :
   cat >> confdefs.h <<EOF  
 #define $ac_tr_func 1  
 EOF  
   
6491  else  else
6492    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
6493  fi  fi
 done  
6494    
6495  echo $ac_n "checking for setpgrp""... $ac_c" 1>&6  echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6
6496  echo "configure:6493: checking for setpgrp" >&5  echo "configure:6497: checking whether setpgrp takes no argument" >&5
6497  if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then
6498      echo $ac_n "(cached) $ac_c" 1>&6
6499    else
6500      if test "$cross_compiling" = yes; then
6501      { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; }
6502    else
6503      cat > conftest.$ac_ext <<EOF
6504    #line 6505 "configure"
6505    #include "confdefs.h"
6506    
6507    #ifdef HAVE_UNISTD_H
6508    #include <unistd.h>
6509    #endif
6510    
6511    /*
6512     * If this system has a BSD-style setpgrp, which takes arguments, exit
6513     * successfully.
6514     */
6515    main()
6516    {
6517        if (setpgrp(1,1) == -1)
6518            exit(0);
6519        else
6520            exit(1);
6521    }
6522    
6523    EOF
6524    if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6525    then
6526      ac_cv_func_setpgrp_void=no
6527    else
6528      echo "configure: failed program was:" >&5
6529      cat conftest.$ac_ext >&5
6530      rm -fr conftest*
6531      ac_cv_func_setpgrp_void=yes
6532    fi
6533    rm -fr conftest*
6534    fi
6535    
6536    
6537    fi
6538    
6539    echo "$ac_t""$ac_cv_func_setpgrp_void" 1>&6
6540    if test $ac_cv_func_setpgrp_void = yes; then
6541      cat >> confdefs.h <<\EOF
6542    #define SETPGRP_VOID 1
6543    EOF
6544    
6545    fi
6546    
6547    for ac_func in gethostname select
6548    do
6549    echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6550    echo "configure:6551: checking for $ac_func" >&5
6551    if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6552    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6553  else  else
6554    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6555  #line 6498 "configure"  #line 6556 "configure"
6556  #include "confdefs.h"  #include "confdefs.h"
6557  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6558      which can conflict with char setpgrp(); below.  */      which can conflict with char $ac_func(); below.  */
6559  #include <assert.h>  #include <assert.h>
6560  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6561  /* 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
6562      builtin and then its argument prototype would still apply.  */      builtin and then its argument prototype would still apply.  */
6563  char setpgrp();  char $ac_func();
6564    
6565  int main() {  int main() {
6566    
6567  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
6568      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
6569      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
6570  #if defined (__stub_setpgrp) || defined (__stub___setpgrp)  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6571  choke me  choke me
6572  #else  #else
6573  setpgrp();  $ac_func();
6574  #endif  #endif
6575    
6576  ; return 0; }  ; return 0; }
6577  EOF  EOF
6578  if { (eval echo configure:6521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6579    rm -rf conftest*    rm -rf conftest*
6580    eval "ac_cv_func_setpgrp=yes"    eval "ac_cv_func_$ac_func=yes"
6581  else  else
6582    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
6583    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
6584    rm -rf conftest*    rm -rf conftest*
6585    eval "ac_cv_func_setpgrp=no"    eval "ac_cv_func_$ac_func=no"
6586  fi  fi
6587  rm -f conftest*  rm -f conftest*
6588  fi  fi
6589    
6590  if eval "test \"`echo '$ac_cv_func_'setpgrp`\" = yes"; then  if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6591    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
6592    :      ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6593      cat >> confdefs.h <<EOF
6594    #define $ac_tr_func 1
6595    EOF
6596    
6597  else  else
6598    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
6599  fi  fi
6600    done
6601    
6602  for ac_func in vsyslog  for ac_func in socket closesocket setsockopt send recv
6603  do  do
6604  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6605  echo "configure:6543: checking for $ac_func" >&5  echo "configure:6606: checking for $ac_func" >&5
6606  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6607    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6608  else  else
6609    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6610  #line 6548 "configure"  #line 6611 "configure"
6611  #include "confdefs.h"  #include "confdefs.h"
6612  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6613      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6567  $ac_func(); Line 6630  $ac_func();
6630    
6631  ; return 0; }  ; return 0; }
6632  EOF  EOF
6633  if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6634    rm -rf conftest*    rm -rf conftest*
6635    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6636  else  else
# Line 6591  else Line 6654  else
6654  fi  fi
6655  done  done
6656    
6657  echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6  for ac_func in vsyslog
6658  echo "configure:6596: checking whether setpgrp takes no argument" >&5  do
6659  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6660    echo "configure:6661: checking for $ac_func" >&5
6661    if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6662    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6663  else  else
   if test "$cross_compiling" = yes; then  
   { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; }  
 else  
6664    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6665  #line 6604 "configure"  #line 6666 "configure"
6666  #include "confdefs.h"  #include "confdefs.h"
6667    /* System header to define __stub macros and hopefully few prototypes,
6668        which can conflict with char $ac_func(); below.  */
6669    #include <assert.h>
6670    /* Override any gcc2 internal prototype to avoid an error.  */
6671    /* We use char because int might match the return type of a gcc2
6672        builtin and then its argument prototype would still apply.  */
6673    char $ac_func();
6674    
6675  #ifdef HAVE_UNISTD_H  int main() {
 #include <unistd.h>  
 #endif  
6676    
6677  /*  /* The GNU C library defines this for functions which it implements
6678   * If this system has a BSD-style setpgrp, which takes arguments, exit      to always fail with ENOSYS.  Some functions are actually named
6679   * successfully.      something starting with __ and the normal name is an alias.  */
6680   */  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6681  main()  choke me
6682  {  #else
6683      if (setpgrp(1,1) == -1)  $ac_func();
6684          exit(0);  #endif
     else  
         exit(1);  
 }  
6685    
6686    ; return 0; }
6687  EOF  EOF
6688  if { (eval echo configure:6624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6689  then    rm -rf conftest*
6690    ac_cv_func_setpgrp_void=no    eval "ac_cv_func_$ac_func=yes"
6691  else  else
6692    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
6693    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
6694    rm -fr conftest*    rm -rf conftest*
6695    ac_cv_func_setpgrp_void=yes    eval "ac_cv_func_$ac_func=no"
 fi  
 rm -fr conftest*  
6696  fi  fi
6697    rm -f conftest*
   
6698  fi  fi
6699    
6700  echo "$ac_t""$ac_cv_func_setpgrp_void" 1>&6  if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6701  if test $ac_cv_func_setpgrp_void = yes; then    echo "$ac_t""yes" 1>&6
6702    cat >> confdefs.h <<\EOF      ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6703  #define SETPGRP_VOID 1    cat >> confdefs.h <<EOF
6704    #define $ac_tr_func 1
6705  EOF  EOF
6706    
6707    else
6708      echo "$ac_t""no" 1>&6
6709  fi  fi
6710    done
6711    
6712    
6713  JS_SUPPORTOBJS=  JS_SUPPORTOBJS=
6714  for ac_func in mkdir vasprintf  for ac_func in mkdir vasprintf
6715  do  do
6716  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6717  echo "configure:6652: checking for $ac_func" >&5  echo "configure:6718: checking for $ac_func" >&5
6718  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6719    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6720  else  else
6721    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6722  #line 6657 "configure"  #line 6723 "configure"
6723  #include "confdefs.h"  #include "confdefs.h"
6724  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6725      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6676  $ac_func(); Line 6742  $ac_func();
6742    
6743  ; return 0; }  ; return 0; }
6744  EOF  EOF
6745  if { (eval echo configure:6680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6746    rm -rf conftest*    rm -rf conftest*
6747    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6748  else  else

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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