~ubuntu-branches/ubuntu/trusty/keepalived/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt
  • Date: 2005-04-29 23:22:40 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050429232240-a8m3jtpi3cvuyyy2
Tags: 1.1.11-3
Added a warning about sarge kernels to README.Debian and 
the package description 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.57.
 
3
# Generated by GNU Autoconf 2.59.
4
4
#
5
 
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
 
# Free Software Foundation, Inc.
 
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
6
# This configure script is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy, distribute and modify it.
9
8
## --------------------- ##
20
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21
20
  set -o posix
22
21
fi
 
22
DUALCASE=1; export DUALCASE # for MKS sh
23
23
 
24
24
# Support unset when possible.
25
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
26
  as_unset=unset
27
27
else
28
28
  as_unset=false
41
41
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
42
  LC_TELEPHONE LC_TIME
43
43
do
44
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
45
    eval $as_var=C; export $as_var
46
46
  else
47
47
    $as_unset $as_var
218
218
if mkdir -p . 2>/dev/null; then
219
219
  as_mkdir_p=:
220
220
else
 
221
  test -d ./-p && rmdir ./-p
221
222
  as_mkdir_p=false
222
223
fi
223
224
 
224
225
as_executable_p="test -f"
225
226
 
226
227
# Sed expression to map a string onto a valid CPP name.
227
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228
229
 
229
230
# Sed expression to map a string onto a valid variable name.
230
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231
232
 
232
233
 
233
234
# IFS
308
309
# include <unistd.h>
309
310
#endif"
310
311
 
311
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP LINKWATCH_SUPPORT KERN IPVS_SYNCD DFLAGS VERSION VERSION_DATE IPVS_SUPPORT VRRP_SUPPORT LIBOBJS LTLIBOBJS'
 
312
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP CPP EGREP LINKWATCH_SUPPORT KERN IPVS_SYNCD DFLAGS VERSION VERSION_DATE IPVS_SUPPORT VRRP_SUPPORT LIBOBJS LTLIBOBJS'
312
313
ac_subst_files=''
313
314
 
314
315
# Initialize some variables set by options.
667
668
 
668
669
# Be sure to have absolute paths.
669
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
671
              localstatedir libdir includedir oldincludedir infodir mandir
671
672
do
672
673
  eval ac_val=$`echo $ac_var`
673
674
  case $ac_val in
707
708
  # Try the directory containing this script, then its parent.
708
709
  ac_confdir=`(dirname "$0") 2>/dev/null ||
709
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710
 
         X"$0" : 'X\(//\)[^/]' \| \
711
 
         X"$0" : 'X\(//\)$' \| \
712
 
         X"$0" : 'X\(/\)' \| \
713
 
         .     : '\(.\)' 2>/dev/null ||
 
711
         X"$0" : 'X\(//\)[^/]' \| \
 
712
         X"$0" : 'X\(//\)$' \| \
 
713
         X"$0" : 'X\(/\)' \| \
 
714
         .     : '\(.\)' 2>/dev/null ||
714
715
echo X"$0" |
715
716
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716
717
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
802
803
  cat <<_ACEOF
803
804
Installation directories:
804
805
  --prefix=PREFIX         install architecture-independent files in PREFIX
805
 
                          [$ac_default_prefix]
 
806
                          [$ac_default_prefix]
806
807
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
807
 
                          [PREFIX]
 
808
                          [PREFIX]
808
809
 
809
810
By default, \`make install' will install all the files in
810
811
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
895
896
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
896
897
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
897
898
esac
898
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
899
 
# absolute.
900
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
901
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
902
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
903
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
899
 
 
900
# Do not use `cd foo && pwd` to compute absolute paths, because
 
901
# the directories may not exist.
 
902
case `pwd` in
 
903
.) ac_abs_builddir="$ac_dir";;
 
904
*)
 
905
  case "$ac_dir" in
 
906
  .) ac_abs_builddir=`pwd`;;
 
907
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
908
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
909
  esac;;
 
910
esac
 
911
case $ac_abs_builddir in
 
912
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
913
*)
 
914
  case ${ac_top_builddir}. in
 
915
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
916
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
917
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
918
  esac;;
 
919
esac
 
920
case $ac_abs_builddir in
 
921
.) ac_abs_srcdir=$ac_srcdir;;
 
922
*)
 
923
  case $ac_srcdir in
 
924
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
925
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
926
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
927
  esac;;
 
928
esac
 
929
case $ac_abs_builddir in
 
930
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
931
*)
 
932
  case $ac_top_srcdir in
 
933
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
934
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
935
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
936
  esac;;
 
937
esac
904
938
 
905
939
    cd $ac_dir
906
940
    # Check for guested configure; otherwise get Cygnus style configure.
911
945
      echo
912
946
      $SHELL $ac_srcdir/configure  --help=recursive
913
947
    elif test -f $ac_srcdir/configure.ac ||
914
 
           test -f $ac_srcdir/configure.in; then
 
948
           test -f $ac_srcdir/configure.in; then
915
949
      echo
916
950
      $ac_configure --help
917
951
    else
925
959
if $ac_init_version; then
926
960
  cat <<\_ACEOF
927
961
 
928
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
929
 
Free Software Foundation, Inc.
 
962
Copyright (C) 2003 Free Software Foundation, Inc.
930
963
This configure script is free software; the Free Software Foundation
931
964
gives unlimited permission to copy, distribute and modify it.
932
965
_ACEOF
938
971
running configure, to aid debugging if configure makes a mistake.
939
972
 
940
973
It was created by $as_me, which was
941
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
974
generated by GNU Autoconf 2.59.  Invocation command line was
942
975
 
943
976
  $ $0 $@
944
977
 
1015
1048
    2)
1016
1049
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1017
1050
      if test $ac_must_keep_next = true; then
1018
 
        ac_must_keep_next=false # Got value, back to normal.
 
1051
        ac_must_keep_next=false # Got value, back to normal.
1019
1052
      else
1020
 
        case $ac_arg in
1021
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1022
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1023
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1024
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1025
 
            case "$ac_configure_args0 " in
1026
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1027
 
            esac
1028
 
            ;;
1029
 
          -* ) ac_must_keep_next=true ;;
1030
 
        esac
 
1053
        case $ac_arg in
 
1054
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1055
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1056
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1057
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1058
            case "$ac_configure_args0 " in
 
1059
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1060
            esac
 
1061
            ;;
 
1062
          -* ) ac_must_keep_next=true ;;
 
1063
        esac
1031
1064
      fi
1032
1065
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1033
1066
      # Get rid of the leading space.
1061
1094
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1062
1095
    *ac_space=\ *)
1063
1096
      sed -n \
1064
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1065
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1097
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1098
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1066
1099
      ;;
1067
1100
    *)
1068
1101
      sed -n \
1069
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1102
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1070
1103
      ;;
1071
1104
    esac;
1072
1105
}
1095
1128
      for ac_var in $ac_subst_files
1096
1129
      do
1097
1130
        eval ac_val=$`echo $ac_var`
1098
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1131
        echo "$ac_var='"'"'$ac_val'"'"'"
1099
1132
      done | sort
1100
1133
      echo
1101
1134
    fi
1114
1147
      echo "$as_me: caught signal $ac_signal"
1115
1148
    echo "$as_me: exit $exit_status"
1116
1149
  } >&5
1117
 
  rm -f core core.* *.core &&
 
1150
  rm -f core *.core &&
1118
1151
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1119
1152
    exit $exit_status
1120
1153
     ' 0
1194
1227
# value.
1195
1228
ac_cache_corrupted=false
1196
1229
for ac_var in `(set) 2>&1 |
1197
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1230
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1198
1231
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1199
1232
  eval ac_new_set=\$ac_env_${ac_var}_set
1200
1233
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1211
1244
    ,);;
1212
1245
    *)
1213
1246
      if test "x$ac_old_val" != "x$ac_new_val"; then
1214
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1247
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1215
1248
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1216
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1249
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1217
1250
echo "$as_me:   former value:  $ac_old_val" >&2;}
1218
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1251
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1219
1252
echo "$as_me:   current value: $ac_new_val" >&2;}
1220
 
        ac_cache_corrupted=:
 
1253
        ac_cache_corrupted=:
1221
1254
      fi;;
1222
1255
  esac
1223
1256
  # Pass precious variables to config.status.
1605
1638
  (exit $ac_status); }
1606
1639
 
1607
1640
cat >conftest.$ac_ext <<_ACEOF
1608
 
#line $LINENO "configure"
1609
1641
/* confdefs.h.  */
1610
1642
_ACEOF
1611
1643
cat confdefs.h >>conftest.$ac_ext
1625
1657
# Try to create an executable without -o first, disregard a.out.
1626
1658
# It will help us diagnose broken compilers, and finding out an intuition
1627
1659
# of exeext.
1628
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
1629
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
1660
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
1661
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1630
1662
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1631
1663
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1632
1664
  (eval $ac_link_default) 2>&5
1646
1678
  test -f "$ac_file" || continue
1647
1679
  case $ac_file in
1648
1680
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1649
 
        ;;
 
1681
        ;;
1650
1682
    conftest.$ac_ext )
1651
 
        # This is the source file.
1652
 
        ;;
 
1683
        # This is the source file.
 
1684
        ;;
1653
1685
    [ab].out )
1654
 
        # We found the default executable, but exeext='' is most
1655
 
        # certainly right.
1656
 
        break;;
 
1686
        # We found the default executable, but exeext='' is most
 
1687
        # certainly right.
 
1688
        break;;
1657
1689
    *.* )
1658
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1659
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
1660
 
        # but it would be cool to find out if it's true.  Does anybody
1661
 
        # maintain Libtool? --akim.
1662
 
        export ac_cv_exeext
1663
 
        break;;
 
1690
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
1691
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
1692
        # but it would be cool to find out if it's true.  Does anybody
 
1693
        # maintain Libtool? --akim.
 
1694
        export ac_cv_exeext
 
1695
        break;;
1664
1696
    * )
1665
 
        break;;
 
1697
        break;;
1666
1698
  esac
1667
1699
done
1668
1700
else
1736
1768
  case $ac_file in
1737
1769
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1738
1770
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1739
 
          export ac_cv_exeext
1740
 
          break;;
 
1771
          export ac_cv_exeext
 
1772
          break;;
1741
1773
    * ) break;;
1742
1774
  esac
1743
1775
done
1762
1794
  echo $ECHO_N "(cached) $ECHO_C" >&6
1763
1795
else
1764
1796
  cat >conftest.$ac_ext <<_ACEOF
1765
 
#line $LINENO "configure"
1766
1797
/* confdefs.h.  */
1767
1798
_ACEOF
1768
1799
cat confdefs.h >>conftest.$ac_ext
1813
1844
  echo $ECHO_N "(cached) $ECHO_C" >&6
1814
1845
else
1815
1846
  cat >conftest.$ac_ext <<_ACEOF
1816
 
#line $LINENO "configure"
1817
1847
/* confdefs.h.  */
1818
1848
_ACEOF
1819
1849
cat confdefs.h >>conftest.$ac_ext
1833
1863
_ACEOF
1834
1864
rm -f conftest.$ac_objext
1835
1865
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1836
 
  (eval $ac_compile) 2>&5
 
1866
  (eval $ac_compile) 2>conftest.er1
1837
1867
  ac_status=$?
 
1868
  grep -v '^ *+' conftest.er1 >conftest.err
 
1869
  rm -f conftest.er1
 
1870
  cat conftest.err >&5
1838
1871
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1839
1872
  (exit $ac_status); } &&
1840
 
         { ac_try='test -s conftest.$ac_objext'
 
1873
         { ac_try='test -z "$ac_c_werror_flag"
 
1874
                         || test ! -s conftest.err'
 
1875
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1876
  (eval $ac_try) 2>&5
 
1877
  ac_status=$?
 
1878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1879
  (exit $ac_status); }; } &&
 
1880
         { ac_try='test -s conftest.$ac_objext'
1841
1881
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1842
1882
  (eval $ac_try) 2>&5
1843
1883
  ac_status=$?
1850
1890
 
1851
1891
ac_compiler_gnu=no
1852
1892
fi
1853
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
1893
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1854
1894
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1855
1895
 
1856
1896
fi
1866
1906
  echo $ECHO_N "(cached) $ECHO_C" >&6
1867
1907
else
1868
1908
  cat >conftest.$ac_ext <<_ACEOF
1869
 
#line $LINENO "configure"
1870
1909
/* confdefs.h.  */
1871
1910
_ACEOF
1872
1911
cat confdefs.h >>conftest.$ac_ext
1883
1922
_ACEOF
1884
1923
rm -f conftest.$ac_objext
1885
1924
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1886
 
  (eval $ac_compile) 2>&5
 
1925
  (eval $ac_compile) 2>conftest.er1
1887
1926
  ac_status=$?
 
1927
  grep -v '^ *+' conftest.er1 >conftest.err
 
1928
  rm -f conftest.er1
 
1929
  cat conftest.err >&5
1888
1930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889
1931
  (exit $ac_status); } &&
1890
 
         { ac_try='test -s conftest.$ac_objext'
 
1932
         { ac_try='test -z "$ac_c_werror_flag"
 
1933
                         || test ! -s conftest.err'
 
1934
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
1935
  (eval $ac_try) 2>&5
 
1936
  ac_status=$?
 
1937
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
1938
  (exit $ac_status); }; } &&
 
1939
         { ac_try='test -s conftest.$ac_objext'
1891
1940
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1892
1941
  (eval $ac_try) 2>&5
1893
1942
  ac_status=$?
1900
1949
 
1901
1950
ac_cv_prog_cc_g=no
1902
1951
fi
1903
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
1952
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1904
1953
fi
1905
1954
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1906
1955
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1927
1976
  ac_cv_prog_cc_stdc=no
1928
1977
ac_save_CC=$CC
1929
1978
cat >conftest.$ac_ext <<_ACEOF
1930
 
#line $LINENO "configure"
1931
1979
/* confdefs.h.  */
1932
1980
_ACEOF
1933
1981
cat confdefs.h >>conftest.$ac_ext
1955
2003
  va_end (v);
1956
2004
  return s;
1957
2005
}
 
2006
 
 
2007
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2008
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2009
   These don't provoke an error unfortunately, instead are silently treated
 
2010
   as 'x'.  The following induces an error, until -std1 is added to get
 
2011
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2012
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2013
   that's true only with -std1.  */
 
2014
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2015
 
1958
2016
int test (int i, double x);
1959
2017
struct s1 {int (*f) (int a);};
1960
2018
struct s2 {int (*f) (double a);};
1981
2039
  CC="$ac_save_CC $ac_arg"
1982
2040
  rm -f conftest.$ac_objext
1983
2041
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1984
 
  (eval $ac_compile) 2>&5
 
2042
  (eval $ac_compile) 2>conftest.er1
1985
2043
  ac_status=$?
 
2044
  grep -v '^ *+' conftest.er1 >conftest.err
 
2045
  rm -f conftest.er1
 
2046
  cat conftest.err >&5
1986
2047
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1987
2048
  (exit $ac_status); } &&
1988
 
         { ac_try='test -s conftest.$ac_objext'
 
2049
         { ac_try='test -z "$ac_c_werror_flag"
 
2050
                         || test ! -s conftest.err'
 
2051
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2052
  (eval $ac_try) 2>&5
 
2053
  ac_status=$?
 
2054
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2055
  (exit $ac_status); }; } &&
 
2056
         { ac_try='test -s conftest.$ac_objext'
1989
2057
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1990
2058
  (eval $ac_try) 2>&5
1991
2059
  ac_status=$?
1998
2066
sed 's/^/| /' conftest.$ac_ext >&5
1999
2067
 
2000
2068
fi
2001
 
rm -f conftest.$ac_objext
 
2069
rm -f conftest.err conftest.$ac_objext
2002
2070
done
2003
2071
rm -f conftest.$ac_ext conftest.$ac_objext
2004
2072
CC=$ac_save_CC
2026
2094
_ACEOF
2027
2095
rm -f conftest.$ac_objext
2028
2096
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2029
 
  (eval $ac_compile) 2>&5
 
2097
  (eval $ac_compile) 2>conftest.er1
2030
2098
  ac_status=$?
 
2099
  grep -v '^ *+' conftest.er1 >conftest.err
 
2100
  rm -f conftest.er1
 
2101
  cat conftest.err >&5
2031
2102
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032
2103
  (exit $ac_status); } &&
2033
 
         { ac_try='test -s conftest.$ac_objext'
 
2104
         { ac_try='test -z "$ac_c_werror_flag"
 
2105
                         || test ! -s conftest.err'
 
2106
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2107
  (eval $ac_try) 2>&5
 
2108
  ac_status=$?
 
2109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2110
  (exit $ac_status); }; } &&
 
2111
         { ac_try='test -s conftest.$ac_objext'
2034
2112
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2035
2113
  (eval $ac_try) 2>&5
2036
2114
  ac_status=$?
2037
2115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038
2116
  (exit $ac_status); }; }; then
2039
2117
  for ac_declaration in \
2040
 
   ''\
2041
 
   '#include <stdlib.h>' \
 
2118
   '' \
2042
2119
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2043
2120
   'extern "C" void std::exit (int); using std::exit;' \
2044
2121
   'extern "C" void exit (int) throw ();' \
2046
2123
   'void exit (int);'
2047
2124
do
2048
2125
  cat >conftest.$ac_ext <<_ACEOF
2049
 
#line $LINENO "configure"
2050
2126
/* confdefs.h.  */
2051
2127
_ACEOF
2052
2128
cat confdefs.h >>conftest.$ac_ext
2053
2129
cat >>conftest.$ac_ext <<_ACEOF
2054
2130
/* end confdefs.h.  */
 
2131
$ac_declaration
2055
2132
#include <stdlib.h>
2056
 
$ac_declaration
2057
2133
int
2058
2134
main ()
2059
2135
{
2064
2140
_ACEOF
2065
2141
rm -f conftest.$ac_objext
2066
2142
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2067
 
  (eval $ac_compile) 2>&5
 
2143
  (eval $ac_compile) 2>conftest.er1
2068
2144
  ac_status=$?
 
2145
  grep -v '^ *+' conftest.er1 >conftest.err
 
2146
  rm -f conftest.er1
 
2147
  cat conftest.err >&5
2069
2148
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070
2149
  (exit $ac_status); } &&
2071
 
         { ac_try='test -s conftest.$ac_objext'
 
2150
         { ac_try='test -z "$ac_c_werror_flag"
 
2151
                         || test ! -s conftest.err'
 
2152
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2153
  (eval $ac_try) 2>&5
 
2154
  ac_status=$?
 
2155
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2156
  (exit $ac_status); }; } &&
 
2157
         { ac_try='test -s conftest.$ac_objext'
2072
2158
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2073
2159
  (eval $ac_try) 2>&5
2074
2160
  ac_status=$?
2081
2167
 
2082
2168
continue
2083
2169
fi
2084
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2170
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2085
2171
  cat >conftest.$ac_ext <<_ACEOF
2086
 
#line $LINENO "configure"
2087
2172
/* confdefs.h.  */
2088
2173
_ACEOF
2089
2174
cat confdefs.h >>conftest.$ac_ext
2100
2185
_ACEOF
2101
2186
rm -f conftest.$ac_objext
2102
2187
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2103
 
  (eval $ac_compile) 2>&5
 
2188
  (eval $ac_compile) 2>conftest.er1
2104
2189
  ac_status=$?
 
2190
  grep -v '^ *+' conftest.er1 >conftest.err
 
2191
  rm -f conftest.er1
 
2192
  cat conftest.err >&5
2105
2193
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106
2194
  (exit $ac_status); } &&
2107
 
         { ac_try='test -s conftest.$ac_objext'
 
2195
         { ac_try='test -z "$ac_c_werror_flag"
 
2196
                         || test ! -s conftest.err'
 
2197
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2198
  (eval $ac_try) 2>&5
 
2199
  ac_status=$?
 
2200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2201
  (exit $ac_status); }; } &&
 
2202
         { ac_try='test -s conftest.$ac_objext'
2108
2203
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109
2204
  (eval $ac_try) 2>&5
2110
2205
  ac_status=$?
2116
2211
sed 's/^/| /' conftest.$ac_ext >&5
2117
2212
 
2118
2213
fi
2119
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2214
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2120
2215
done
2121
2216
rm -f conftest*
2122
2217
if test -n "$ac_declaration"; then
2130
2225
sed 's/^/| /' conftest.$ac_ext >&5
2131
2226
 
2132
2227
fi
2133
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2228
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2134
2229
ac_ext=c
2135
2230
ac_cpp='$CPP $CPPFLAGS'
2136
2231
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2173
2268
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2174
2269
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2175
2270
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2271
# OS/2's system install, which has a completely different semantic
2176
2272
# ./install, which can be erroneously created by make from ./install.sh.
2177
2273
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2178
2274
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2189
2285
case $as_dir/ in
2190
2286
  ./ | .// | /cC/* | \
2191
2287
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2288
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2192
2289
  /usr/ucb/* ) ;;
2193
2290
  *)
2194
2291
    # OSF1 and SCO ODT 3.0 have their own names for install.
2196
2293
    # by default.
2197
2294
    for ac_prog in ginstall scoinst install; do
2198
2295
      for ac_exec_ext in '' $ac_executable_extensions; do
2199
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2200
 
          if test $ac_prog = install &&
2201
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2202
 
            # AIX install.  It has an incompatible calling convention.
2203
 
            :
2204
 
          elif test $ac_prog = install &&
2205
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2206
 
            # program-specific install script used by HP pwplus--don't use.
2207
 
            :
2208
 
          else
2209
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2210
 
            break 3
2211
 
          fi
2212
 
        fi
 
2296
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2297
          if test $ac_prog = install &&
 
2298
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2299
            # AIX install.  It has an incompatible calling convention.
 
2300
            :
 
2301
          elif test $ac_prog = install &&
 
2302
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2303
            # program-specific install script used by HP pwplus--don't use.
 
2304
            :
 
2305
          else
 
2306
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2307
            break 3
 
2308
          fi
 
2309
        fi
2213
2310
      done
2214
2311
    done
2215
2312
    ;;
2239
2336
 
2240
2337
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2241
2338
 
 
2339
if test -n "$ac_tool_prefix"; then
 
2340
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2341
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2342
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2343
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2344
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2345
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2346
else
 
2347
  if test -n "$STRIP"; then
 
2348
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2349
else
 
2350
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2351
for as_dir in $PATH
 
2352
do
 
2353
  IFS=$as_save_IFS
 
2354
  test -z "$as_dir" && as_dir=.
 
2355
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2356
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2357
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2358
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2359
    break 2
 
2360
  fi
 
2361
done
 
2362
done
 
2363
 
 
2364
fi
 
2365
fi
 
2366
STRIP=$ac_cv_prog_STRIP
 
2367
if test -n "$STRIP"; then
 
2368
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
2369
echo "${ECHO_T}$STRIP" >&6
 
2370
else
 
2371
  echo "$as_me:$LINENO: result: no" >&5
 
2372
echo "${ECHO_T}no" >&6
 
2373
fi
 
2374
 
 
2375
fi
 
2376
if test -z "$ac_cv_prog_STRIP"; then
 
2377
  ac_ct_STRIP=$STRIP
 
2378
  # Extract the first word of "strip", so it can be a program name with args.
 
2379
set dummy strip; ac_word=$2
 
2380
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2381
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2382
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2383
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2384
else
 
2385
  if test -n "$ac_ct_STRIP"; then
 
2386
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2387
else
 
2388
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2389
for as_dir in $PATH
 
2390
do
 
2391
  IFS=$as_save_IFS
 
2392
  test -z "$as_dir" && as_dir=.
 
2393
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2394
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2395
    ac_cv_prog_ac_ct_STRIP="strip"
 
2396
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2397
    break 2
 
2398
  fi
 
2399
done
 
2400
done
 
2401
 
 
2402
fi
 
2403
fi
 
2404
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2405
if test -n "$ac_ct_STRIP"; then
 
2406
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2407
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2408
else
 
2409
  echo "$as_me:$LINENO: result: no" >&5
 
2410
echo "${ECHO_T}no" >&6
 
2411
fi
 
2412
 
 
2413
  STRIP=$ac_ct_STRIP
 
2414
else
 
2415
  STRIP="$ac_cv_prog_STRIP"
 
2416
fi
 
2417
 
2242
2418
 
2243
2419
# Check whether --enable-lvs-syncd or --disable-lvs-syncd was given.
2244
2420
if test "${enable_lvs_syncd+set}" = set; then
2259
2435
# Check whether --with-kernel-dir or --without-kernel-dir was given.
2260
2436
if test "${with_kernel_dir+set}" = set; then
2261
2437
  withval="$with_kernel_dir"
2262
 
  kernelinc="$withval/include"
 
2438
  kernelinc="$withval/include" kernelpath="$withval"
2263
2439
else
2264
 
  kernelinc="/usr/src/linux/include"
 
2440
  kernelinc="/usr/src/linux/include" kernelpath="/usr/src/linux"
2265
2441
fi;
2266
2442
# Check whether --enable-debug or --disable-debug was given.
2267
2443
if test "${enable_debug+set}" = set; then
2303
2479
  # On the NeXT, cc -E runs the code through the compiler's parser,
2304
2480
  # not just through cpp. "Syntax error" is here to catch this case.
2305
2481
  cat >conftest.$ac_ext <<_ACEOF
2306
 
#line $LINENO "configure"
2307
2482
/* confdefs.h.  */
2308
2483
_ACEOF
2309
2484
cat confdefs.h >>conftest.$ac_ext
2314
2489
#else
2315
2490
# include <assert.h>
2316
2491
#endif
2317
 
                     Syntax error
 
2492
                     Syntax error
2318
2493
_ACEOF
2319
2494
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2320
2495
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2326
2501
  (exit $ac_status); } >/dev/null; then
2327
2502
  if test -s conftest.err; then
2328
2503
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2504
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2329
2505
  else
2330
2506
    ac_cpp_err=
2331
2507
  fi
2346
2522
  # OK, works on sane cases.  Now check whether non-existent headers
2347
2523
  # can be detected and how.
2348
2524
  cat >conftest.$ac_ext <<_ACEOF
2349
 
#line $LINENO "configure"
2350
2525
/* confdefs.h.  */
2351
2526
_ACEOF
2352
2527
cat confdefs.h >>conftest.$ac_ext
2364
2539
  (exit $ac_status); } >/dev/null; then
2365
2540
  if test -s conftest.err; then
2366
2541
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2542
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2367
2543
  else
2368
2544
    ac_cpp_err=
2369
2545
  fi
2410
2586
  # On the NeXT, cc -E runs the code through the compiler's parser,
2411
2587
  # not just through cpp. "Syntax error" is here to catch this case.
2412
2588
  cat >conftest.$ac_ext <<_ACEOF
2413
 
#line $LINENO "configure"
2414
2589
/* confdefs.h.  */
2415
2590
_ACEOF
2416
2591
cat confdefs.h >>conftest.$ac_ext
2421
2596
#else
2422
2597
# include <assert.h>
2423
2598
#endif
2424
 
                     Syntax error
 
2599
                     Syntax error
2425
2600
_ACEOF
2426
2601
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2427
2602
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2433
2608
  (exit $ac_status); } >/dev/null; then
2434
2609
  if test -s conftest.err; then
2435
2610
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2611
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2436
2612
  else
2437
2613
    ac_cpp_err=
2438
2614
  fi
2453
2629
  # OK, works on sane cases.  Now check whether non-existent headers
2454
2630
  # can be detected and how.
2455
2631
  cat >conftest.$ac_ext <<_ACEOF
2456
 
#line $LINENO "configure"
2457
2632
/* confdefs.h.  */
2458
2633
_ACEOF
2459
2634
cat confdefs.h >>conftest.$ac_ext
2471
2646
  (exit $ac_status); } >/dev/null; then
2472
2647
  if test -s conftest.err; then
2473
2648
    ac_cpp_err=$ac_c_preproc_warn_flag
 
2649
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2474
2650
  else
2475
2651
    ac_cpp_err=
2476
2652
  fi
2531
2707
  echo $ECHO_N "(cached) $ECHO_C" >&6
2532
2708
else
2533
2709
  cat >conftest.$ac_ext <<_ACEOF
2534
 
#line $LINENO "configure"
2535
2710
/* confdefs.h.  */
2536
2711
_ACEOF
2537
2712
cat confdefs.h >>conftest.$ac_ext
2552
2727
_ACEOF
2553
2728
rm -f conftest.$ac_objext
2554
2729
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555
 
  (eval $ac_compile) 2>&5
 
2730
  (eval $ac_compile) 2>conftest.er1
2556
2731
  ac_status=$?
 
2732
  grep -v '^ *+' conftest.er1 >conftest.err
 
2733
  rm -f conftest.er1
 
2734
  cat conftest.err >&5
2557
2735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558
2736
  (exit $ac_status); } &&
2559
 
         { ac_try='test -s conftest.$ac_objext'
 
2737
         { ac_try='test -z "$ac_c_werror_flag"
 
2738
                         || test ! -s conftest.err'
 
2739
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2740
  (eval $ac_try) 2>&5
 
2741
  ac_status=$?
 
2742
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2743
  (exit $ac_status); }; } &&
 
2744
         { ac_try='test -s conftest.$ac_objext'
2560
2745
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561
2746
  (eval $ac_try) 2>&5
2562
2747
  ac_status=$?
2569
2754
 
2570
2755
ac_cv_header_stdc=no
2571
2756
fi
2572
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2757
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2573
2758
 
2574
2759
if test $ac_cv_header_stdc = yes; then
2575
2760
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2576
2761
  cat >conftest.$ac_ext <<_ACEOF
2577
 
#line $LINENO "configure"
2578
2762
/* confdefs.h.  */
2579
2763
_ACEOF
2580
2764
cat confdefs.h >>conftest.$ac_ext
2596
2780
if test $ac_cv_header_stdc = yes; then
2597
2781
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2598
2782
  cat >conftest.$ac_ext <<_ACEOF
2599
 
#line $LINENO "configure"
2600
2783
/* confdefs.h.  */
2601
2784
_ACEOF
2602
2785
cat confdefs.h >>conftest.$ac_ext
2621
2804
  :
2622
2805
else
2623
2806
  cat >conftest.$ac_ext <<_ACEOF
2624
 
#line $LINENO "configure"
2625
2807
/* confdefs.h.  */
2626
2808
_ACEOF
2627
2809
cat confdefs.h >>conftest.$ac_ext
2633
2815
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2634
2816
#else
2635
2817
# define ISLOWER(c) \
2636
 
                   (('a' <= (c) && (c) <= 'i') \
2637
 
                     || ('j' <= (c) && (c) <= 'r') \
2638
 
                     || ('s' <= (c) && (c) <= 'z'))
 
2818
                   (('a' <= (c) && (c) <= 'i') \
 
2819
                     || ('j' <= (c) && (c) <= 'r') \
 
2820
                     || ('s' <= (c) && (c) <= 'z'))
2639
2821
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2640
2822
#endif
2641
2823
 
2646
2828
  int i;
2647
2829
  for (i = 0; i < 256; i++)
2648
2830
    if (XOR (islower (i), ISLOWER (i))
2649
 
        || toupper (i) != TOUPPER (i))
 
2831
        || toupper (i) != TOUPPER (i))
2650
2832
      exit(2);
2651
2833
  exit (0);
2652
2834
}
2671
2853
( exit $ac_status )
2672
2854
ac_cv_header_stdc=no
2673
2855
fi
2674
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
2856
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2675
2857
fi
2676
2858
fi
2677
2859
fi
2691
2873
  echo $ECHO_N "(cached) $ECHO_C" >&6
2692
2874
else
2693
2875
  cat >conftest.$ac_ext <<_ACEOF
2694
 
#line $LINENO "configure"
2695
2876
/* confdefs.h.  */
2696
2877
_ACEOF
2697
2878
cat confdefs.h >>conftest.$ac_ext
2718
2899
_ACEOF
2719
2900
rm -f conftest.$ac_objext
2720
2901
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2721
 
  (eval $ac_compile) 2>&5
 
2902
  (eval $ac_compile) 2>conftest.er1
2722
2903
  ac_status=$?
 
2904
  grep -v '^ *+' conftest.er1 >conftest.err
 
2905
  rm -f conftest.er1
 
2906
  cat conftest.err >&5
2723
2907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724
2908
  (exit $ac_status); } &&
2725
 
         { ac_try='test -s conftest.$ac_objext'
 
2909
         { ac_try='test -z "$ac_c_werror_flag"
 
2910
                         || test ! -s conftest.err'
 
2911
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2912
  (eval $ac_try) 2>&5
 
2913
  ac_status=$?
 
2914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2915
  (exit $ac_status); }; } &&
 
2916
         { ac_try='test -s conftest.$ac_objext'
2726
2917
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2727
2918
  (eval $ac_try) 2>&5
2728
2919
  ac_status=$?
2735
2926
 
2736
2927
ac_cv_header_sys_wait_h=no
2737
2928
fi
2738
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2929
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2739
2930
fi
2740
2931
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
2741
2932
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
2758
2949
 
2759
2950
 
2760
2951
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2761
 
                  inttypes.h stdint.h unistd.h
 
2952
                  inttypes.h stdint.h unistd.h
2762
2953
do
2763
2954
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2764
2955
echo "$as_me:$LINENO: checking for $ac_header" >&5
2767
2958
  echo $ECHO_N "(cached) $ECHO_C" >&6
2768
2959
else
2769
2960
  cat >conftest.$ac_ext <<_ACEOF
2770
 
#line $LINENO "configure"
2771
2961
/* confdefs.h.  */
2772
2962
_ACEOF
2773
2963
cat confdefs.h >>conftest.$ac_ext
2779
2969
_ACEOF
2780
2970
rm -f conftest.$ac_objext
2781
2971
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2782
 
  (eval $ac_compile) 2>&5
 
2972
  (eval $ac_compile) 2>conftest.er1
2783
2973
  ac_status=$?
 
2974
  grep -v '^ *+' conftest.er1 >conftest.err
 
2975
  rm -f conftest.er1
 
2976
  cat conftest.err >&5
2784
2977
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785
2978
  (exit $ac_status); } &&
2786
 
         { ac_try='test -s conftest.$ac_objext'
 
2979
         { ac_try='test -z "$ac_c_werror_flag"
 
2980
                         || test ! -s conftest.err'
 
2981
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2982
  (eval $ac_try) 2>&5
 
2983
  ac_status=$?
 
2984
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2985
  (exit $ac_status); }; } &&
 
2986
         { ac_try='test -s conftest.$ac_objext'
2787
2987
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788
2988
  (eval $ac_try) 2>&5
2789
2989
  ac_status=$?
2796
2996
 
2797
2997
eval "$as_ac_Header=no"
2798
2998
fi
2799
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2999
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2800
3000
fi
2801
3001
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2802
3002
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2831
3031
echo "$as_me:$LINENO: checking $ac_header usability" >&5
2832
3032
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2833
3033
cat >conftest.$ac_ext <<_ACEOF
2834
 
#line $LINENO "configure"
2835
3034
/* confdefs.h.  */
2836
3035
_ACEOF
2837
3036
cat confdefs.h >>conftest.$ac_ext
2842
3041
_ACEOF
2843
3042
rm -f conftest.$ac_objext
2844
3043
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2845
 
  (eval $ac_compile) 2>&5
 
3044
  (eval $ac_compile) 2>conftest.er1
2846
3045
  ac_status=$?
 
3046
  grep -v '^ *+' conftest.er1 >conftest.err
 
3047
  rm -f conftest.er1
 
3048
  cat conftest.err >&5
2847
3049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848
3050
  (exit $ac_status); } &&
2849
 
         { ac_try='test -s conftest.$ac_objext'
 
3051
         { ac_try='test -z "$ac_c_werror_flag"
 
3052
                         || test ! -s conftest.err'
 
3053
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3054
  (eval $ac_try) 2>&5
 
3055
  ac_status=$?
 
3056
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3057
  (exit $ac_status); }; } &&
 
3058
         { ac_try='test -s conftest.$ac_objext'
2850
3059
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851
3060
  (eval $ac_try) 2>&5
2852
3061
  ac_status=$?
2859
3068
 
2860
3069
ac_header_compiler=no
2861
3070
fi
2862
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3071
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2863
3072
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2864
3073
echo "${ECHO_T}$ac_header_compiler" >&6
2865
3074
 
2867
3076
echo "$as_me:$LINENO: checking $ac_header presence" >&5
2868
3077
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2869
3078
cat >conftest.$ac_ext <<_ACEOF
2870
 
#line $LINENO "configure"
2871
3079
/* confdefs.h.  */
2872
3080
_ACEOF
2873
3081
cat confdefs.h >>conftest.$ac_ext
2885
3093
  (exit $ac_status); } >/dev/null; then
2886
3094
  if test -s conftest.err; then
2887
3095
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3096
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2888
3097
  else
2889
3098
    ac_cpp_err=
2890
3099
  fi
2904
3113
echo "${ECHO_T}$ac_header_preproc" >&6
2905
3114
 
2906
3115
# So?  What about this header?
2907
 
case $ac_header_compiler:$ac_header_preproc in
2908
 
  yes:no )
 
3116
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3117
  yes:no: )
2909
3118
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2910
3119
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2911
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2912
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2913
 
    (
2914
 
      cat <<\_ASBOX
2915
 
## ------------------------------------ ##
2916
 
## Report this to bug-autoconf@gnu.org. ##
2917
 
## ------------------------------------ ##
2918
 
_ASBOX
2919
 
    ) |
2920
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3120
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3121
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3122
    ac_header_preproc=yes
2921
3123
    ;;
2922
 
  no:yes )
 
3124
  no:yes:* )
2923
3125
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2924
3126
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2925
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2926
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3127
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3128
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3129
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3130
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3131
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3132
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
2927
3133
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2928
3134
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3135
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
3136
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2929
3137
    (
2930
3138
      cat <<\_ASBOX
2931
 
## ------------------------------------ ##
2932
 
## Report this to bug-autoconf@gnu.org. ##
2933
 
## ------------------------------------ ##
 
3139
## ------------------------------------------ ##
 
3140
## Report this to the AC_PACKAGE_NAME lists.  ##
 
3141
## ------------------------------------------ ##
2934
3142
_ASBOX
2935
3143
    ) |
2936
3144
      sed "s/^/$as_me: WARNING:     /" >&2
2941
3149
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2942
3150
  echo $ECHO_N "(cached) $ECHO_C" >&6
2943
3151
else
2944
 
  eval "$as_ac_Header=$ac_header_preproc"
 
3152
  eval "$as_ac_Header=\$ac_header_preproc"
2945
3153
fi
2946
3154
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2947
3155
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2975
3183
echo "$as_me:$LINENO: checking $ac_header usability" >&5
2976
3184
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2977
3185
cat >conftest.$ac_ext <<_ACEOF
2978
 
#line $LINENO "configure"
2979
3186
/* confdefs.h.  */
2980
3187
_ACEOF
2981
3188
cat confdefs.h >>conftest.$ac_ext
2986
3193
_ACEOF
2987
3194
rm -f conftest.$ac_objext
2988
3195
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2989
 
  (eval $ac_compile) 2>&5
 
3196
  (eval $ac_compile) 2>conftest.er1
2990
3197
  ac_status=$?
 
3198
  grep -v '^ *+' conftest.er1 >conftest.err
 
3199
  rm -f conftest.er1
 
3200
  cat conftest.err >&5
2991
3201
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992
3202
  (exit $ac_status); } &&
2993
 
         { ac_try='test -s conftest.$ac_objext'
 
3203
         { ac_try='test -z "$ac_c_werror_flag"
 
3204
                         || test ! -s conftest.err'
 
3205
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3206
  (eval $ac_try) 2>&5
 
3207
  ac_status=$?
 
3208
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3209
  (exit $ac_status); }; } &&
 
3210
         { ac_try='test -s conftest.$ac_objext'
2994
3211
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2995
3212
  (eval $ac_try) 2>&5
2996
3213
  ac_status=$?
3003
3220
 
3004
3221
ac_header_compiler=no
3005
3222
fi
3006
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3223
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3007
3224
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3008
3225
echo "${ECHO_T}$ac_header_compiler" >&6
3009
3226
 
3011
3228
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3012
3229
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3013
3230
cat >conftest.$ac_ext <<_ACEOF
3014
 
#line $LINENO "configure"
3015
3231
/* confdefs.h.  */
3016
3232
_ACEOF
3017
3233
cat confdefs.h >>conftest.$ac_ext
3029
3245
  (exit $ac_status); } >/dev/null; then
3030
3246
  if test -s conftest.err; then
3031
3247
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3248
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3032
3249
  else
3033
3250
    ac_cpp_err=
3034
3251
  fi
3048
3265
echo "${ECHO_T}$ac_header_preproc" >&6
3049
3266
 
3050
3267
# So?  What about this header?
3051
 
case $ac_header_compiler:$ac_header_preproc in
3052
 
  yes:no )
 
3268
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3269
  yes:no: )
3053
3270
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3054
3271
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3055
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3056
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3057
 
    (
3058
 
      cat <<\_ASBOX
3059
 
## ------------------------------------ ##
3060
 
## Report this to bug-autoconf@gnu.org. ##
3061
 
## ------------------------------------ ##
3062
 
_ASBOX
3063
 
    ) |
3064
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3272
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
3273
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
3274
    ac_header_preproc=yes
3065
3275
    ;;
3066
 
  no:yes )
 
3276
  no:yes:* )
3067
3277
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3068
3278
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3069
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3070
 
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
 
3279
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
3280
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
3281
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
3282
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
3283
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
3284
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3071
3285
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3072
3286
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
3287
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
3288
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3073
3289
    (
3074
3290
      cat <<\_ASBOX
3075
 
## ------------------------------------ ##
3076
 
## Report this to bug-autoconf@gnu.org. ##
3077
 
## ------------------------------------ ##
 
3291
## ------------------------------------------ ##
 
3292
## Report this to the AC_PACKAGE_NAME lists.  ##
 
3293
## ------------------------------------------ ##
3078
3294
_ASBOX
3079
3295
    ) |
3080
3296
      sed "s/^/$as_me: WARNING:     /" >&2
3085
3301
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3086
3302
  echo $ECHO_N "(cached) $ECHO_C" >&6
3087
3303
else
3088
 
  eval "$as_ac_Header=$ac_header_preproc"
 
3304
  eval "$as_ac_Header=\$ac_header_preproc"
3089
3305
fi
3090
3306
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3091
3307
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3118
3334
  ac_check_lib_save_LIBS=$LIBS
3119
3335
LIBS="-lcrypto  $LIBS"
3120
3336
cat >conftest.$ac_ext <<_ACEOF
3121
 
#line $LINENO "configure"
3122
3337
/* confdefs.h.  */
3123
3338
_ACEOF
3124
3339
cat confdefs.h >>conftest.$ac_ext
3142
3357
_ACEOF
3143
3358
rm -f conftest.$ac_objext conftest$ac_exeext
3144
3359
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3145
 
  (eval $ac_link) 2>&5
 
3360
  (eval $ac_link) 2>conftest.er1
3146
3361
  ac_status=$?
 
3362
  grep -v '^ *+' conftest.er1 >conftest.err
 
3363
  rm -f conftest.er1
 
3364
  cat conftest.err >&5
3147
3365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148
3366
  (exit $ac_status); } &&
3149
 
         { ac_try='test -s conftest$ac_exeext'
 
3367
         { ac_try='test -z "$ac_c_werror_flag"
 
3368
                         || test ! -s conftest.err'
 
3369
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3370
  (eval $ac_try) 2>&5
 
3371
  ac_status=$?
 
3372
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3373
  (exit $ac_status); }; } &&
 
3374
         { ac_try='test -s conftest$ac_exeext'
3150
3375
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3151
3376
  (eval $ac_try) 2>&5
3152
3377
  ac_status=$?
3159
3384
 
3160
3385
ac_cv_lib_crypto_MD5_Init=no
3161
3386
fi
3162
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3387
rm -f conftest.err conftest.$ac_objext \
 
3388
      conftest$ac_exeext conftest.$ac_ext
3163
3389
LIBS=$ac_check_lib_save_LIBS
3164
3390
fi
3165
3391
echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5_Init" >&5
3186
3412
  ac_check_lib_save_LIBS=$LIBS
3187
3413
LIBS="-lssl  $LIBS"
3188
3414
cat >conftest.$ac_ext <<_ACEOF
3189
 
#line $LINENO "configure"
3190
3415
/* confdefs.h.  */
3191
3416
_ACEOF
3192
3417
cat confdefs.h >>conftest.$ac_ext
3210
3435
_ACEOF
3211
3436
rm -f conftest.$ac_objext conftest$ac_exeext
3212
3437
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3213
 
  (eval $ac_link) 2>&5
 
3438
  (eval $ac_link) 2>conftest.er1
3214
3439
  ac_status=$?
 
3440
  grep -v '^ *+' conftest.er1 >conftest.err
 
3441
  rm -f conftest.er1
 
3442
  cat conftest.err >&5
3215
3443
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216
3444
  (exit $ac_status); } &&
3217
 
         { ac_try='test -s conftest$ac_exeext'
 
3445
         { ac_try='test -z "$ac_c_werror_flag"
 
3446
                         || test ! -s conftest.err'
 
3447
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3448
  (eval $ac_try) 2>&5
 
3449
  ac_status=$?
 
3450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3451
  (exit $ac_status); }; } &&
 
3452
         { ac_try='test -s conftest$ac_exeext'
3218
3453
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3219
3454
  (eval $ac_try) 2>&5
3220
3455
  ac_status=$?
3227
3462
 
3228
3463
ac_cv_lib_ssl_SSL_CTX_new=no
3229
3464
fi
3230
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3465
rm -f conftest.err conftest.$ac_objext \
 
3466
      conftest$ac_exeext conftest.$ac_ext
3231
3467
LIBS=$ac_check_lib_save_LIBS
3232
3468
fi
3233
3469
echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_CTX_new" >&5
3254
3490
  ac_check_lib_save_LIBS=$LIBS
3255
3491
LIBS="-lpopt  $LIBS"
3256
3492
cat >conftest.$ac_ext <<_ACEOF
3257
 
#line $LINENO "configure"
3258
3493
/* confdefs.h.  */
3259
3494
_ACEOF
3260
3495
cat confdefs.h >>conftest.$ac_ext
3278
3513
_ACEOF
3279
3514
rm -f conftest.$ac_objext conftest$ac_exeext
3280
3515
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3281
 
  (eval $ac_link) 2>&5
 
3516
  (eval $ac_link) 2>conftest.er1
3282
3517
  ac_status=$?
 
3518
  grep -v '^ *+' conftest.er1 >conftest.err
 
3519
  rm -f conftest.er1
 
3520
  cat conftest.err >&5
3283
3521
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284
3522
  (exit $ac_status); } &&
3285
 
         { ac_try='test -s conftest$ac_exeext'
 
3523
         { ac_try='test -z "$ac_c_werror_flag"
 
3524
                         || test ! -s conftest.err'
 
3525
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3526
  (eval $ac_try) 2>&5
 
3527
  ac_status=$?
 
3528
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3529
  (exit $ac_status); }; } &&
 
3530
         { ac_try='test -s conftest$ac_exeext'
3286
3531
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287
3532
  (eval $ac_try) 2>&5
3288
3533
  ac_status=$?
3295
3540
 
3296
3541
ac_cv_lib_popt_poptGetContext=no
3297
3542
fi
3298
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3543
rm -f conftest.err conftest.$ac_objext \
 
3544
      conftest$ac_exeext conftest.$ac_ext
3299
3545
LIBS=$ac_check_lib_save_LIBS
3300
3546
fi
3301
3547
echo "$as_me:$LINENO: result: $ac_cv_lib_popt_poptGetContext" >&5
3325
3571
 
3326
3572
else
3327
3573
  cat >conftest.$ac_ext <<_ACEOF
3328
 
#line $LINENO "configure"
3329
3574
/* confdefs.h.  */
3330
3575
_ACEOF
3331
3576
cat confdefs.h >>conftest.$ac_ext
3372
3617
    LINUX_PATCH="0"
3373
3618
 
3374
3619
fi
3375
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3620
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3376
3621
fi
3377
3622
  rm -f linuxinfo
3378
3623
  echo "$as_me:$LINENO: result: $LINUX_MAJOR.$LINUX_MINOR.$LINUX_PATCH" >&5
3389
3634
echo "$as_me: WARNING: Cannot determine Linux Kernel version." >&2;}
3390
3635
  fi
3391
3636
 
3392
 
echo "$as_me:$LINENO: checking for /usr/src/linux/net/core/link_watch.c" >&5
3393
 
echo $ECHO_N "checking for /usr/src/linux/net/core/link_watch.c... $ECHO_C" >&6
3394
 
if test "${ac_cv_file__usr_src_linux_net_core_link_watch_c+set}" = set; then
 
3637
as_ac_File=`echo "ac_cv_file_$kernelpath/net/core/link_watch.c" | $as_tr_sh`
 
3638
echo "$as_me:$LINENO: checking for $kernelpath/net/core/link_watch.c" >&5
 
3639
echo $ECHO_N "checking for $kernelpath/net/core/link_watch.c... $ECHO_C" >&6
 
3640
if eval "test \"\${$as_ac_File+set}\" = set"; then
3395
3641
  echo $ECHO_N "(cached) $ECHO_C" >&6
3396
3642
else
3397
3643
  test "$cross_compiling" = yes &&
3398
3644
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3399
3645
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3400
3646
   { (exit 1); exit 1; }; }
3401
 
if test -r "/usr/src/linux/net/core/link_watch.c"; then
3402
 
  ac_cv_file__usr_src_linux_net_core_link_watch_c=yes
 
3647
if test -r "$kernelpath/net/core/link_watch.c"; then
 
3648
  eval "$as_ac_File=yes"
3403
3649
else
3404
 
  ac_cv_file__usr_src_linux_net_core_link_watch_c=no
3405
 
fi
3406
 
fi
3407
 
echo "$as_me:$LINENO: result: $ac_cv_file__usr_src_linux_net_core_link_watch_c" >&5
3408
 
echo "${ECHO_T}$ac_cv_file__usr_src_linux_net_core_link_watch_c" >&6
3409
 
if test $ac_cv_file__usr_src_linux_net_core_link_watch_c = yes; then
 
3650
  eval "$as_ac_File=no"
 
3651
fi
 
3652
fi
 
3653
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
 
3654
echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
 
3655
if test `eval echo '${'$as_ac_File'}'` = yes; then
3410
3656
 
3411
3657
                LINKWATCH_SUPPORT="_WITH_LINKWATCH_"
3412
3658
 
3435
3681
echo "$as_me:$LINENO: checking net/ip_vs.h usability" >&5
3436
3682
echo $ECHO_N "checking net/ip_vs.h usability... $ECHO_C" >&6
3437
3683
cat >conftest.$ac_ext <<_ACEOF
3438
 
#line $LINENO "configure"
3439
3684
/* confdefs.h.  */
3440
3685
_ACEOF
3441
3686
cat confdefs.h >>conftest.$ac_ext
3446
3691
_ACEOF
3447
3692
rm -f conftest.$ac_objext
3448
3693
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3449
 
  (eval $ac_compile) 2>&5
 
3694
  (eval $ac_compile) 2>conftest.er1
3450
3695
  ac_status=$?
 
3696
  grep -v '^ *+' conftest.er1 >conftest.err
 
3697
  rm -f conftest.er1
 
3698
  cat conftest.err >&5
3451
3699
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452
3700
  (exit $ac_status); } &&
3453
 
         { ac_try='test -s conftest.$ac_objext'
 
3701
         { ac_try='test -z "$ac_c_werror_flag"
 
3702
                         || test ! -s conftest.err'
 
3703
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3704
  (eval $ac_try) 2>&5
 
3705
  ac_status=$?
 
3706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3707
  (exit $ac_status); }; } &&
 
3708
         { ac_try='test -s conftest.$ac_objext'
3454
3709
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3455
3710
  (eval $ac_try) 2>&5
3456
3711
  ac_status=$?
3463
3718
 
3464
3719
ac_header_compiler=no
3465
3720
fi
3466
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3721
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3467
3722
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3468
3723
echo "${ECHO_T}$ac_header_compiler" >&6
3469
3724
 
3471
3726
echo "$as_me:$LINENO: checking net/ip_vs.h presence" >&5
3472
3727
echo $ECHO_N "checking net/ip_vs.h presence... $ECHO_C" >&6
3473
3728
cat >conftest.$ac_ext <<_ACEOF
3474
 
#line $LINENO "configure"
3475
3729
/* confdefs.h.  */
3476
3730
_ACEOF
3477
3731
cat confdefs.h >>conftest.$ac_ext
3489
3743
  (exit $ac_status); } >/dev/null; then
3490
3744
  if test -s conftest.err; then
3491
3745
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3746
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3492
3747
  else
3493
3748
    ac_cpp_err=
3494
3749
  fi
3508
3763
echo "${ECHO_T}$ac_header_preproc" >&6
3509
3764
 
3510
3765
# So?  What about this header?
3511
 
case $ac_header_compiler:$ac_header_preproc in
3512
 
  yes:no )
 
3766
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
3767
  yes:no: )
3513
3768
    { echo "$as_me:$LINENO: WARNING: net/ip_vs.h: accepted by the compiler, rejected by the preprocessor!" >&5
3514
3769
echo "$as_me: WARNING: net/ip_vs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3515
 
    { echo "$as_me:$LINENO: WARNING: net/ip_vs.h: proceeding with the preprocessor's result" >&5
3516
 
echo "$as_me: WARNING: net/ip_vs.h: proceeding with the preprocessor's result" >&2;}
3517
 
    (
3518
 
      cat <<\_ASBOX
3519
 
## ------------------------------------ ##
3520
 
## Report this to bug-autoconf@gnu.org. ##
3521
 
## ------------------------------------ ##
3522
 
_ASBOX
3523
 
    ) |
3524
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3770
    { echo "$as_me:$LINENO: WARNING: net/ip_vs.h: proceeding with the compiler's result" >&5
 
3771
echo "$as_me: WARNING: net/ip_vs.h: proceeding with the compiler's result" >&2;}
 
3772
    ac_header_preproc=yes
3525
3773
    ;;
3526
 
  no:yes )
 
3774
  no:yes:* )
3527
3775
    { echo "$as_me:$LINENO: WARNING: net/ip_vs.h: present but cannot be compiled" >&5
3528
3776
echo "$as_me: WARNING: net/ip_vs.h: present but cannot be compiled" >&2;}
3529
 
    { echo "$as_me:$LINENO: WARNING: net/ip_vs.h: check for missing prerequisite headers?" >&5
3530
 
echo "$as_me: WARNING: net/ip_vs.h: check for missing prerequisite headers?" >&2;}
 
3777
    { echo "$as_me:$LINENO: WARNING: net/ip_vs.h:     check for missing prerequisite headers?" >&5
 
3778
echo "$as_me: WARNING: net/ip_vs.h:     check for missing prerequisite headers?" >&2;}
 
3779
    { echo "$as_me:$LINENO: WARNING: net/ip_vs.h: see the Autoconf documentation" >&5
 
3780
echo "$as_me: WARNING: net/ip_vs.h: see the Autoconf documentation" >&2;}
 
3781
    { echo "$as_me:$LINENO: WARNING: net/ip_vs.h:     section \"Present But Cannot Be Compiled\"" >&5
 
3782
echo "$as_me: WARNING: net/ip_vs.h:     section \"Present But Cannot Be Compiled\"" >&2;}
3531
3783
    { echo "$as_me:$LINENO: WARNING: net/ip_vs.h: proceeding with the preprocessor's result" >&5
3532
3784
echo "$as_me: WARNING: net/ip_vs.h: proceeding with the preprocessor's result" >&2;}
 
3785
    { echo "$as_me:$LINENO: WARNING: net/ip_vs.h: in the future, the compiler will take precedence" >&5
 
3786
echo "$as_me: WARNING: net/ip_vs.h: in the future, the compiler will take precedence" >&2;}
3533
3787
    (
3534
3788
      cat <<\_ASBOX
3535
 
## ------------------------------------ ##
3536
 
## Report this to bug-autoconf@gnu.org. ##
3537
 
## ------------------------------------ ##
 
3789
## ------------------------------------------ ##
 
3790
## Report this to the AC_PACKAGE_NAME lists.  ##
 
3791
## ------------------------------------------ ##
3538
3792
_ASBOX
3539
3793
    ) |
3540
3794
      sed "s/^/$as_me: WARNING:     /" >&2
3578
3832
 
3579
3833
else
3580
3834
  cat >conftest.$ac_ext <<_ACEOF
3581
 
#line $LINENO "configure"
3582
3835
/* confdefs.h.  */
3583
3836
_ACEOF
3584
3837
cat confdefs.h >>conftest.$ac_ext
3625
3878
    IPVS_PATCH="0"
3626
3879
 
3627
3880
fi
3628
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3881
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3629
3882
fi
3630
3883
  rm -f ipvsinfo
3631
3884
  echo "$as_me:$LINENO: result: $IPVS_MAJOR.$IPVS_MINOR.$IPVS_PATCH" >&5
3683
3936
 
3684
3937
else
3685
3938
  cat >conftest.$ac_ext <<_ACEOF
3686
 
#line $LINENO "configure"
3687
3939
/* confdefs.h.  */
3688
3940
_ACEOF
3689
3941
cat confdefs.h >>conftest.$ac_ext
3728
3980
echo "${ECHO_T}no" >&6
3729
3981
 
3730
3982
fi
3731
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3983
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3732
3984
fi
3733
3985
fi
3734
3986
 
3752
4004
  echo $ECHO_N "(cached) $ECHO_C" >&6
3753
4005
else
3754
4006
  cat >conftest.$ac_ext <<_ACEOF
3755
 
#line $LINENO "configure"
3756
4007
/* confdefs.h.  */
3757
4008
_ACEOF
3758
4009
cat confdefs.h >>conftest.$ac_ext
3815
4066
_ACEOF
3816
4067
rm -f conftest.$ac_objext
3817
4068
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3818
 
  (eval $ac_compile) 2>&5
 
4069
  (eval $ac_compile) 2>conftest.er1
3819
4070
  ac_status=$?
 
4071
  grep -v '^ *+' conftest.er1 >conftest.err
 
4072
  rm -f conftest.er1
 
4073
  cat conftest.err >&5
3820
4074
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821
4075
  (exit $ac_status); } &&
3822
 
         { ac_try='test -s conftest.$ac_objext'
 
4076
         { ac_try='test -z "$ac_c_werror_flag"
 
4077
                         || test ! -s conftest.err'
 
4078
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4079
  (eval $ac_try) 2>&5
 
4080
  ac_status=$?
 
4081
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4082
  (exit $ac_status); }; } &&
 
4083
         { ac_try='test -s conftest.$ac_objext'
3823
4084
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824
4085
  (eval $ac_try) 2>&5
3825
4086
  ac_status=$?
3832
4093
 
3833
4094
ac_cv_c_const=no
3834
4095
fi
3835
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4096
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3836
4097
fi
3837
4098
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3838
4099
echo "${ECHO_T}$ac_cv_c_const" >&6
3850
4111
  echo $ECHO_N "(cached) $ECHO_C" >&6
3851
4112
else
3852
4113
  cat >conftest.$ac_ext <<_ACEOF
3853
 
#line $LINENO "configure"
3854
4114
/* confdefs.h.  */
3855
4115
_ACEOF
3856
4116
cat confdefs.h >>conftest.$ac_ext
3870
4130
_ACEOF
3871
4131
rm -f conftest.$ac_objext
3872
4132
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3873
 
  (eval $ac_compile) 2>&5
 
4133
  (eval $ac_compile) 2>conftest.er1
3874
4134
  ac_status=$?
 
4135
  grep -v '^ *+' conftest.er1 >conftest.err
 
4136
  rm -f conftest.er1
 
4137
  cat conftest.err >&5
3875
4138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876
4139
  (exit $ac_status); } &&
3877
 
         { ac_try='test -s conftest.$ac_objext'
 
4140
         { ac_try='test -z "$ac_c_werror_flag"
 
4141
                         || test ! -s conftest.err'
 
4142
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4143
  (eval $ac_try) 2>&5
 
4144
  ac_status=$?
 
4145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4146
  (exit $ac_status); }; } &&
 
4147
         { ac_try='test -s conftest.$ac_objext'
3878
4148
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879
4149
  (eval $ac_try) 2>&5
3880
4150
  ac_status=$?
3887
4157
 
3888
4158
ac_cv_type_pid_t=no
3889
4159
fi
3890
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4160
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3891
4161
fi
3892
4162
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
3893
4163
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
3907
4177
  echo $ECHO_N "(cached) $ECHO_C" >&6
3908
4178
else
3909
4179
  cat >conftest.$ac_ext <<_ACEOF
3910
 
#line $LINENO "configure"
3911
4180
/* confdefs.h.  */
3912
4181
_ACEOF
3913
4182
cat confdefs.h >>conftest.$ac_ext
3928
4197
_ACEOF
3929
4198
rm -f conftest.$ac_objext
3930
4199
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3931
 
  (eval $ac_compile) 2>&5
 
4200
  (eval $ac_compile) 2>conftest.er1
3932
4201
  ac_status=$?
 
4202
  grep -v '^ *+' conftest.er1 >conftest.err
 
4203
  rm -f conftest.er1
 
4204
  cat conftest.err >&5
3933
4205
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934
4206
  (exit $ac_status); } &&
3935
 
         { ac_try='test -s conftest.$ac_objext'
 
4207
         { ac_try='test -z "$ac_c_werror_flag"
 
4208
                         || test ! -s conftest.err'
 
4209
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4210
  (eval $ac_try) 2>&5
 
4211
  ac_status=$?
 
4212
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4213
  (exit $ac_status); }; } &&
 
4214
         { ac_try='test -s conftest.$ac_objext'
3936
4215
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937
4216
  (eval $ac_try) 2>&5
3938
4217
  ac_status=$?
3945
4224
 
3946
4225
ac_cv_header_time=no
3947
4226
fi
3948
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4227
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3949
4228
fi
3950
4229
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3951
4230
echo "${ECHO_T}$ac_cv_header_time" >&6
3966
4245
else
3967
4246
    ac_pattern="Autoconf.*'x'"
3968
4247
  cat >conftest.$ac_ext <<_ACEOF
3969
 
#line $LINENO "configure"
3970
4248
/* confdefs.h.  */
3971
4249
_ACEOF
3972
4250
cat confdefs.h >>conftest.$ac_ext
3986
4264
 
3987
4265
  if test $ac_cv_prog_gcc_traditional = no; then
3988
4266
    cat >conftest.$ac_ext <<_ACEOF
3989
 
#line $LINENO "configure"
3990
4267
/* confdefs.h.  */
3991
4268
_ACEOF
3992
4269
cat confdefs.h >>conftest.$ac_ext
4019
4296
  ac_cv_func_memcmp_working=no
4020
4297
else
4021
4298
  cat >conftest.$ac_ext <<_ACEOF
4022
 
#line $LINENO "configure"
4023
4299
/* confdefs.h.  */
4024
4300
_ACEOF
4025
4301
cat confdefs.h >>conftest.$ac_ext
4026
4302
cat >>conftest.$ac_ext <<_ACEOF
4027
4303
/* end confdefs.h.  */
4028
 
 
 
4304
$ac_includes_default
4029
4305
int
4030
4306
main ()
4031
4307
{
4044
4320
    int i;
4045
4321
    for (i = 0; i < 4; i++)
4046
4322
      {
4047
 
        char *a = foo + i;
4048
 
        char *b = bar + i;
4049
 
        strcpy (a, "--------01111111");
4050
 
        strcpy (b, "--------10000000");
4051
 
        if (memcmp (a, b, 16) >= 0)
4052
 
          exit (1);
 
4323
        char *a = foo + i;
 
4324
        char *b = bar + i;
 
4325
        strcpy (a, "--------01111111");
 
4326
        strcpy (b, "--------10000000");
 
4327
        if (memcmp (a, b, 16) >= 0)
 
4328
          exit (1);
4053
4329
      }
4054
4330
    exit (0);
4055
4331
  }
4078
4354
( exit $ac_status )
4079
4355
ac_cv_func_memcmp_working=no
4080
4356
fi
4081
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4357
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4082
4358
fi
4083
4359
fi
4084
4360
echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4085
4361
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4086
 
test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
 
4362
test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
 
4363
    "memcmp.$ac_objext"   | \
 
4364
  *" memcmp.$ac_objext"   | \
 
4365
    "memcmp.$ac_objext "* | \
 
4366
  *" memcmp.$ac_objext "* ) ;;
 
4367
  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
 
4368
esac
 
4369
 
4087
4370
 
4088
4371
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4089
4372
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4091
4374
  echo $ECHO_N "(cached) $ECHO_C" >&6
4092
4375
else
4093
4376
  cat >conftest.$ac_ext <<_ACEOF
4094
 
#line $LINENO "configure"
4095
4377
/* confdefs.h.  */
4096
4378
_ACEOF
4097
4379
cat confdefs.h >>conftest.$ac_ext
4118
4400
_ACEOF
4119
4401
rm -f conftest.$ac_objext
4120
4402
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4121
 
  (eval $ac_compile) 2>&5
 
4403
  (eval $ac_compile) 2>conftest.er1
4122
4404
  ac_status=$?
 
4405
  grep -v '^ *+' conftest.er1 >conftest.err
 
4406
  rm -f conftest.er1
 
4407
  cat conftest.err >&5
4123
4408
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124
4409
  (exit $ac_status); } &&
4125
 
         { ac_try='test -s conftest.$ac_objext'
 
4410
         { ac_try='test -z "$ac_c_werror_flag"
 
4411
                         || test ! -s conftest.err'
 
4412
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4413
  (eval $ac_try) 2>&5
 
4414
  ac_status=$?
 
4415
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4416
  (exit $ac_status); }; } &&
 
4417
         { ac_try='test -s conftest.$ac_objext'
4126
4418
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4127
4419
  (eval $ac_try) 2>&5
4128
4420
  ac_status=$?
4135
4427
 
4136
4428
ac_cv_type_signal=int
4137
4429
fi
4138
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
4430
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4139
4431
fi
4140
4432
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4141
4433
echo "${ECHO_T}$ac_cv_type_signal" >&6
4160
4452
  echo $ECHO_N "(cached) $ECHO_C" >&6
4161
4453
else
4162
4454
  cat >conftest.$ac_ext <<_ACEOF
4163
 
#line $LINENO "configure"
4164
4455
/* confdefs.h.  */
4165
4456
_ACEOF
4166
4457
cat confdefs.h >>conftest.$ac_ext
4167
4458
cat >>conftest.$ac_ext <<_ACEOF
4168
4459
/* end confdefs.h.  */
 
4460
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
4461
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
4462
#define $ac_func innocuous_$ac_func
 
4463
 
4169
4464
/* System header to define __stub macros and hopefully few prototypes,
4170
4465
    which can conflict with char $ac_func (); below.
4171
4466
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4172
4467
    <limits.h> exists even on freestanding compilers.  */
 
4468
 
4173
4469
#ifdef __STDC__
4174
4470
# include <limits.h>
4175
4471
#else
4176
4472
# include <assert.h>
4177
4473
#endif
 
4474
 
 
4475
#undef $ac_func
 
4476
 
4178
4477
/* Override any gcc2 internal prototype to avoid an error.  */
4179
4478
#ifdef __cplusplus
4180
4479
extern "C"
4205
4504
_ACEOF
4206
4505
rm -f conftest.$ac_objext conftest$ac_exeext
4207
4506
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4208
 
  (eval $ac_link) 2>&5
 
4507
  (eval $ac_link) 2>conftest.er1
4209
4508
  ac_status=$?
 
4509
  grep -v '^ *+' conftest.er1 >conftest.err
 
4510
  rm -f conftest.er1
 
4511
  cat conftest.err >&5
4210
4512
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211
4513
  (exit $ac_status); } &&
4212
 
         { ac_try='test -s conftest$ac_exeext'
 
4514
         { ac_try='test -z "$ac_c_werror_flag"
 
4515
                         || test ! -s conftest.err'
 
4516
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
4517
  (eval $ac_try) 2>&5
 
4518
  ac_status=$?
 
4519
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4520
  (exit $ac_status); }; } &&
 
4521
         { ac_try='test -s conftest$ac_exeext'
4213
4522
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4214
4523
  (eval $ac_try) 2>&5
4215
4524
  ac_status=$?
4222
4531
 
4223
4532
eval "$as_ac_var=no"
4224
4533
fi
4225
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
4534
rm -f conftest.err conftest.$ac_objext \
 
4535
      conftest$ac_exeext conftest.$ac_ext
4226
4536
fi
4227
4537
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4228
4538
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4278
4588
      # `set' does not quote correctly, so add quotes (double-quote
4279
4589
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4280
4590
      sed -n \
4281
 
        "s/'/'\\\\''/g;
4282
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
4591
        "s/'/'\\\\''/g;
 
4592
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4283
4593
      ;;
4284
4594
    *)
4285
4595
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4286
4596
      sed -n \
4287
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
4597
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4288
4598
      ;;
4289
4599
    esac;
4290
4600
} |
4314
4624
# trailing colons and then remove the whole line if VPATH becomes empty
4315
4625
# (actually we leave an empty line to preserve line numbers).
4316
4626
if test "x$srcdir" = x.; then
4317
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
4627
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4318
4628
s/:*\$(srcdir):*/:/;
4319
4629
s/:*\${srcdir}:*/:/;
4320
4630
s/:*@srcdir@:*/:/;
4321
 
s/^\([^=]*=[    ]*\):*/\1/;
 
4631
s/^\([^=]*=[     ]*\):*/\1/;
4322
4632
s/:*$//;
4323
 
s/^[^=]*=[      ]*$//;
 
4633
s/^[^=]*=[       ]*$//;
4324
4634
}'
4325
4635
fi
4326
4636
 
4334
4644
cat >confdef2opt.sed <<\_ACEOF
4335
4645
t clear
4336
4646
: clear
4337
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
4647
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
4338
4648
t quote
4339
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
4649
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
4340
4650
t quote
4341
4651
d
4342
4652
: quote
4343
 
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
 
4653
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
4344
4654
s,\[,\\&,g
4345
4655
s,\],\\&,g
4346
4656
s,\$,$$,g
4362
4672
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4363
4673
  # 1. Remove the extension, and $U if already installed.
4364
4674
  ac_i=`echo "$ac_i" |
4365
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
4675
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4366
4676
  # 2. Add them.
4367
4677
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4368
4678
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4406
4716
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4407
4717
  set -o posix
4408
4718
fi
 
4719
DUALCASE=1; export DUALCASE # for MKS sh
4409
4720
 
4410
4721
# Support unset when possible.
4411
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
4722
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4412
4723
  as_unset=unset
4413
4724
else
4414
4725
  as_unset=false
4427
4738
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4428
4739
  LC_TELEPHONE LC_TIME
4429
4740
do
4430
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
4741
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4431
4742
    eval $as_var=C; export $as_var
4432
4743
  else
4433
4744
    $as_unset $as_var
4606
4917
if mkdir -p . 2>/dev/null; then
4607
4918
  as_mkdir_p=:
4608
4919
else
 
4920
  test -d ./-p && rmdir ./-p
4609
4921
  as_mkdir_p=false
4610
4922
fi
4611
4923
 
4612
4924
as_executable_p="test -f"
4613
4925
 
4614
4926
# Sed expression to map a string onto a valid CPP name.
4615
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
4927
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4616
4928
 
4617
4929
# Sed expression to map a string onto a valid variable name.
4618
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
4930
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4619
4931
 
4620
4932
 
4621
4933
# IFS
4642
4954
cat >&5 <<_CSEOF
4643
4955
 
4644
4956
This file was extended by $as_me, which was
4645
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
4957
generated by GNU Autoconf 2.59.  Invocation command line was
4646
4958
 
4647
4959
  CONFIG_FILES    = $CONFIG_FILES
4648
4960
  CONFIG_HEADERS  = $CONFIG_HEADERS
4686
4998
  -d, --debug      don't remove temporary files
4687
4999
      --recheck    update $as_me by reconfiguring in the same conditions
4688
5000
  --file=FILE[:TEMPLATE]
4689
 
                   instantiate the configuration file FILE
 
5001
                   instantiate the configuration file FILE
4690
5002
 
4691
5003
Configuration files:
4692
5004
$config_files
4697
5009
cat >>$CONFIG_STATUS <<_ACEOF
4698
5010
ac_cs_version="\\
4699
5011
config.status
4700
 
configured by $0, generated by GNU Autoconf 2.57,
 
5012
configured by $0, generated by GNU Autoconf 2.59,
4701
5013
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4702
5014
 
4703
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4704
 
Free Software Foundation, Inc.
 
5015
Copyright (C) 2003 Free Software Foundation, Inc.
4705
5016
This config.status script is free software; the Free Software Foundation
4706
5017
gives unlimited permission to copy, distribute and modify it."
4707
5018
srcdir=$srcdir
4894
5205
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4895
5206
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4896
5207
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
5208
s,@STRIP@,$STRIP,;t t
 
5209
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4897
5210
s,@CPP@,$CPP,;t t
4898
5211
s,@EGREP@,$EGREP,;t t
4899
5212
s,@LINKWATCH_SUPPORT@,$LINKWATCH_SUPPORT,;t t
4935
5248
      (echo ':t
4936
5249
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4937
5250
      if test -z "$ac_sed_cmds"; then
4938
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
5251
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4939
5252
      else
4940
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
5253
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4941
5254
      fi
4942
5255
      ac_sed_frag=`expr $ac_sed_frag + 1`
4943
5256
      ac_beg=$ac_end
4955
5268
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4956
5269
  case $ac_file in
4957
5270
  - | *:- | *:-:* ) # input from stdin
4958
 
        cat >$tmp/stdin
4959
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4960
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5271
        cat >$tmp/stdin
 
5272
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
5273
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4961
5274
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4962
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
5275
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4963
5276
  * )   ac_file_in=$ac_file.in ;;
4964
5277
  esac
4965
5278
 
4966
5279
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4967
5280
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4968
5281
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4969
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4970
 
         X"$ac_file" : 'X\(//\)$' \| \
4971
 
         X"$ac_file" : 'X\(/\)' \| \
4972
 
         .     : '\(.\)' 2>/dev/null ||
 
5282
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
5283
         X"$ac_file" : 'X\(//\)$' \| \
 
5284
         X"$ac_file" : 'X\(/\)' \| \
 
5285
         .     : '\(.\)' 2>/dev/null ||
4973
5286
echo X"$ac_file" |
4974
5287
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4975
5288
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4985
5298
      as_dirs="$as_dir $as_dirs"
4986
5299
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4987
5300
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4988
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4989
 
         X"$as_dir" : 'X\(//\)$' \| \
4990
 
         X"$as_dir" : 'X\(/\)' \| \
4991
 
         .     : '\(.\)' 2>/dev/null ||
 
5301
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5302
         X"$as_dir" : 'X\(//\)$' \| \
 
5303
         X"$as_dir" : 'X\(/\)' \| \
 
5304
         .     : '\(.\)' 2>/dev/null ||
4992
5305
echo X"$as_dir" |
4993
5306
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4994
5307
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5026
5339
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5027
5340
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5028
5341
esac
5029
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5030
 
# absolute.
5031
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5032
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5033
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5034
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
5342
 
 
5343
# Do not use `cd foo && pwd` to compute absolute paths, because
 
5344
# the directories may not exist.
 
5345
case `pwd` in
 
5346
.) ac_abs_builddir="$ac_dir";;
 
5347
*)
 
5348
  case "$ac_dir" in
 
5349
  .) ac_abs_builddir=`pwd`;;
 
5350
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
5351
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
5352
  esac;;
 
5353
esac
 
5354
case $ac_abs_builddir in
 
5355
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5356
*)
 
5357
  case ${ac_top_builddir}. in
 
5358
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
5359
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5360
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
5361
  esac;;
 
5362
esac
 
5363
case $ac_abs_builddir in
 
5364
.) ac_abs_srcdir=$ac_srcdir;;
 
5365
*)
 
5366
  case $ac_srcdir in
 
5367
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
5368
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
5369
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
5370
  esac;;
 
5371
esac
 
5372
case $ac_abs_builddir in
 
5373
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5374
*)
 
5375
  case $ac_top_srcdir in
 
5376
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
5377
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5378
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
5379
  esac;;
 
5380
esac
5035
5381
 
5036
5382
 
5037
5383
  case $INSTALL in
5053
5399
    configure_input="$ac_file.  "
5054
5400
  fi
5055
5401
  configure_input=$configure_input"Generated from `echo $ac_file_in |
5056
 
                                     sed 's,.*/,,'` by configure."
 
5402
                                     sed 's,.*/,,'` by configure."
5057
5403
 
5058
5404
  # First look for the input files in the build tree, otherwise in the
5059
5405
  # src tree.
5062
5408
      case $f in
5063
5409
      -) echo $tmp/stdin ;;
5064
5410
      [\\/$]*)
5065
 
         # Absolute (can't be DOS-style, as IFS=:)
5066
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5411
         # Absolute (can't be DOS-style, as IFS=:)
 
5412
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5067
5413
echo "$as_me: error: cannot find input file: $f" >&2;}
5068
5414
   { (exit 1); exit 1; }; }
5069
 
         echo $f;;
 
5415
         echo "$f";;
5070
5416
      *) # Relative
5071
 
         if test -f "$f"; then
5072
 
           # Build tree
5073
 
           echo $f
5074
 
         elif test -f "$srcdir/$f"; then
5075
 
           # Source tree
5076
 
           echo $srcdir/$f
5077
 
         else
5078
 
           # /dev/null tree
5079
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
5417
         if test -f "$f"; then
 
5418
           # Build tree
 
5419
           echo "$f"
 
5420
         elif test -f "$srcdir/$f"; then
 
5421
           # Source tree
 
5422
           echo "$srcdir/$f"
 
5423
         else
 
5424
           # /dev/null tree
 
5425
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5080
5426
echo "$as_me: error: cannot find input file: $f" >&2;}
5081
5427
   { (exit 1); exit 1; }; }
5082
 
         fi;;
 
5428
         fi;;
5083
5429
      esac
5084
5430
    done` || { (exit 1); exit 1; }
5085
5431
_ACEOF