Changeset 2867
- Timestamp:
- 05/18/05 17:02:46 (4 years ago)
- Files:
-
- trackerd/trunk/Makefile.in (modified) (3 diffs)
- trackerd/trunk/config.h.in (modified) (2 diffs)
- trackerd/trunk/configure (modified) (223 diffs)
- trackerd/trunk/configure.in (modified) (2 diffs)
- trackerd/trunk/trackerd/main.c (modified) (3 diffs)
- trackerd/trunk/trackerd/version.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trackerd/trunk/Makefile.in
r2812 r2867 1 1 # Makefile.in 2 2 3 bindir = @bindir@ 4 datadir = @datadir@ 5 exec_prefix = @exec_prefix@ 6 fake_prefix = @fake_prefix@ 7 includedir = @includedir@ 8 infodir = @infodir@ 9 libdir = @libdir@ 10 libexecdir = @libexecdir@ 11 localstatedir = @localstatedir@ 12 mandir = @mandir@ 13 prefix = @prefix@ 14 sbindir = @sbindir@ 15 srcdir = @srcdir@ 16 sysconfdir = @sysconfdir@ 17 top_srcdir = @top_srcdir@ 18 trackerddir = @trackerddir@ 3 exec_prefix = @exec_prefix@ 4 fake_prefix = @fake_prefix@ 5 mandir = @mandir@ 6 prefix = @prefix@ 7 trackerddir = @trackerddir@ 19 8 20 WT_ PACKAGE_VERSION = @WT_PACKAGE_VERSION@21 WT_USER = @WT_USER@22 WT_GROUP = @WT_GROUP@9 WT_VERSION = @WT_VERSION@ 10 WT_USER = @WT_USER@ 11 WT_GROUP = @WT_GROUP@ 23 12 24 SUBDIRS = libzanka trackerd 25 DISTFILES = INSTALL \ 26 LICENSE \ 27 NEWS \ 28 README \ 29 Makefile \ 30 Makefile.in \ 31 config.guess \ 32 config.h.in \ 33 config.sub \ 34 configure \ 35 configure.in \ 36 install-sh \ 37 libzanka \ 38 man \ 39 run \ 40 trackerd 41 INSTALL = @INSTALL@ 13 SUBDIRS = libzanka trackerd 14 DISTFILES = INSTALL LICENSE NEWS README Makefile Makefile.in config.guess \ 15 config.h.in config.sub configure configure.in install-sh \ 16 libzanka man run trackerd 17 18 INSTALL = @INSTALL@ 42 19 43 20 all: all-recursive … … 115 92 @echo "Making $@ in ." 116 93 117 rm -rf wired-tracker-$(WT_ PACKAGE_VERSION)118 rm -f wired-tracker-$(WT_ PACKAGE_VERSION).tar.gz119 mkdir wired-tracker-$(WT_ PACKAGE_VERSION)94 rm -rf wired-tracker-$(WT_VERSION) 95 rm -f wired-tracker-$(WT_VERSION).tar.gz 96 mkdir wired-tracker-$(WT_VERSION) 120 97 121 98 @for i in $(DISTFILES); do \ 122 99 if [ -e $$i ]; then \ 123 cp -LRp $$i wired-tracker-$(WT_ PACKAGE_VERSION)/$$i; \100 cp -LRp $$i wired-tracker-$(WT_VERSION)/$$i; \ 124 101 fi \ 125 102 done 126 103 127 sh -c "cd wired-tracker-$(WT_ PACKAGE_VERSION); $(MAKE) distclean"104 sh -c "cd wired-tracker-$(WT_VERSION); $(MAKE) distclean" 128 105 129 tar -czf wired-tracker-$(WT_ PACKAGE_VERSION).tar.gz wired-tracker-$(WT_PACKAGE_VERSION)130 rm -rf wired-tracker-$(WT_ PACKAGE_VERSION)106 tar -czf wired-tracker-$(WT_VERSION).tar.gz wired-tracker-$(WT_VERSION) 107 rm -rf wired-tracker-$(WT_VERSION) 131 108 132 109 clean: clean-recursive … … 139 116 140 117 rm -f Makefile config.h config.log config.status 141 rm -f wired-tracker-$(WT_ PACKAGE_VERSION).tar.gz118 rm -f wired-tracker-$(WT_VERSION).tar.gz 142 119 143 120 autoclean: trackerd/trunk/config.h.in
r1793 r2867 89 89 #undef WT_GROUP 90 90 91 /* Application version */92 #undef WT_PACKAGE_VERSION93 94 91 /* Protocol version */ 95 92 #undef WT_PROTOCOL_VERSION … … 97 94 /* User name */ 98 95 #undef WT_USER 96 97 /* Application version */ 98 #undef WT_VERSION 99 99 100 100 /* Number of bits in a file offset, on hosts where this is settable. */ trackerd/trunk/configure
r1793 r2867 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.5 7for trackerd 1.0.3 # Generated by GNU Autoconf 2.59 for trackerd 1.0. 4 4 # 5 5 # Report bugs to <axel@zankasoftware.com>. 6 6 # 7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 8 # Free Software Foundation, Inc. 7 # Copyright (C) 2003 Free Software Foundation, Inc. 9 8 # This configure script is free software; the Free Software Foundation 10 9 # gives unlimited permission to copy, distribute and modify it. … … 23 22 set -o posix 24 23 fi 24 DUALCASE=1; export DUALCASE # for MKS sh 25 25 26 26 # Support unset when possible. 27 if ( FOO=FOO; unset FOO) >/dev/null 2>&1; then27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 28 28 as_unset=unset 29 29 else … … 44 44 LC_TELEPHONE LC_TIME 45 45 do 46 if (set +x; test - n"`(eval $as_var=C; export $as_var) 2>&1`"); then46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 47 eval $as_var=C; export $as_var 48 48 else … … 221 221 as_mkdir_p=: 222 222 else 223 test -d ./-p && rmdir ./-p 223 224 as_mkdir_p=false 224 225 fi … … 227 228 228 229 # Sed expression to map a string onto a valid CPP name. 229 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 230 231 231 232 # Sed expression to map a string onto a valid variable name. 232 as_tr_sh=" sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 233 234 234 235 … … 312 313 313 314 ac_subdirs_all="$ac_subdirs_all libzanka" 314 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os WT_ PACKAGE_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE WT_USER WT_GROUP fake_prefix trackerddir CPP EGREP subdirs LIBOBJS LTLIBOBJS'315 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os WT_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE WT_USER WT_GROUP fake_prefix trackerddir CPP EGREP subdirs LIBOBJS LTLIBOBJS' 315 316 ac_subst_files='' 316 317 … … 671 672 # Be sure to have absolute paths. 672 673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir674 localstatedir libdir includedir oldincludedir infodir mandir 674 675 do 675 676 eval ac_val=$`echo $ac_var` … … 711 712 ac_confdir=`(dirname "$0") 2>/dev/null || 712 713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 X"$0" : 'X\(//\)[^/]' \| \714 X"$0" : 'X\(//\)$' \| \715 X"$0" : 'X\(/\)' \| \716 . : '\(.\)' 2>/dev/null ||714 X"$0" : 'X\(//\)[^/]' \| \ 715 X"$0" : 'X\(//\)$' \| \ 716 X"$0" : 'X\(/\)' \| \ 717 . : '\(.\)' 2>/dev/null || 717 718 echo X"$0" | 718 719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 806 807 Installation directories: 807 808 --prefix=PREFIX install architecture-independent files in PREFIX 808 [$ac_default_prefix]809 [$ac_default_prefix] 809 810 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 810 [PREFIX]811 [PREFIX] 811 812 812 813 By default, \`make install' will install all the files in … … 907 908 ac_top_srcdir=$ac_top_builddir$srcdir ;; 908 909 esac 909 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 910 # absolute. 911 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 912 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 913 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 914 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 910 911 # Do not use `cd foo && pwd` to compute absolute paths, because 912 # the directories may not exist. 913 case `pwd` in 914 .) ac_abs_builddir="$ac_dir";; 915 *) 916 case "$ac_dir" in 917 .) ac_abs_builddir=`pwd`;; 918 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 919 *) ac_abs_builddir=`pwd`/"$ac_dir";; 920 esac;; 921 esac 922 case $ac_abs_builddir in 923 .) ac_abs_top_builddir=${ac_top_builddir}.;; 924 *) 925 case ${ac_top_builddir}. in 926 .) ac_abs_top_builddir=$ac_abs_builddir;; 927 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 928 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 929 esac;; 930 esac 931 case $ac_abs_builddir in 932 .) ac_abs_srcdir=$ac_srcdir;; 933 *) 934 case $ac_srcdir in 935 .) ac_abs_srcdir=$ac_abs_builddir;; 936 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 937 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 938 esac;; 939 esac 940 case $ac_abs_builddir in 941 .) ac_abs_top_srcdir=$ac_top_srcdir;; 942 *) 943 case $ac_top_srcdir in 944 .) ac_abs_top_srcdir=$ac_abs_builddir;; 945 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 946 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 947 esac;; 948 esac 915 949 916 950 cd $ac_dir … … 923 957 $SHELL $ac_srcdir/configure --help=recursive 924 958 elif test -f $ac_srcdir/configure.ac || 925 test -f $ac_srcdir/configure.in; then959 test -f $ac_srcdir/configure.in; then 926 960 echo 927 961 $ac_configure --help … … 937 971 cat <<\_ACEOF 938 972 trackerd configure 1.0 939 generated by GNU Autoconf 2.57 940 941 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 942 Free Software Foundation, Inc. 973 generated by GNU Autoconf 2.59 974 975 Copyright (C) 2003 Free Software Foundation, Inc. 943 976 This configure script is free software; the Free Software Foundation 944 977 gives unlimited permission to copy, distribute and modify it. … … 952 985 953 986 It was created by trackerd $as_me 1.0, which was 954 generated by GNU Autoconf 2.5 7. Invocation command line was987 generated by GNU Autoconf 2.59. Invocation command line was 955 988 956 989 $ $0 $@ … … 1029 1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1030 1063 if test $ac_must_keep_next = true; then 1031 ac_must_keep_next=false # Got value, back to normal.1064 ac_must_keep_next=false # Got value, back to normal. 1032 1065 else 1033 case $ac_arg in1034 *=* | --config-cache | -C | -disable-* | --disable-* \1035 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \1036 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \1037 | -with-* | --with-* | -without-* | --without-* | --x)1038 case "$ac_configure_args0 " in1039 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;1040 esac1041 ;;1042 -* ) ac_must_keep_next=true ;;1043 esac1066 case $ac_arg in 1067 *=* | --config-cache | -C | -disable-* | --disable-* \ 1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1070 | -with-* | --with-* | -without-* | --without-* | --x) 1071 case "$ac_configure_args0 " in 1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1073 esac 1074 ;; 1075 -* ) ac_must_keep_next=true ;; 1076 esac 1044 1077 fi 1045 1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" … … 1075 1108 *ac_space=\ *) 1076 1109 sed -n \ 1077 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;1078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1079 1112 ;; 1080 1113 *) 1081 1114 sed -n \ 1082 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1083 1116 ;; 1084 1117 esac; … … 1109 1142 do 1110 1143 eval ac_val=$`echo $ac_var` 1111 echo "$ac_var='"'"'$ac_val'"'"'"1144 echo "$ac_var='"'"'$ac_val'"'"'" 1112 1145 done | sort 1113 1146 echo … … 1128 1161 echo "$as_me: exit $exit_status" 1129 1162 } >&5 1130 rm -f core core.**.core &&1163 rm -f core *.core && 1131 1164 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1132 1165 exit $exit_status … … 1208 1241 ac_cache_corrupted=false 1209 1242 for ac_var in `(set) 2>&1 | 1210 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do1243 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1211 1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1212 1245 eval ac_new_set=\$ac_env_${ac_var}_set … … 1225 1258 *) 1226 1259 if test "x$ac_old_val" != "x$ac_new_val"; then 1227 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&51260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1228 1261 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1229 { echo "$as_me:$LINENO: former value: $ac_old_val" >&51262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1230 1263 echo "$as_me: former value: $ac_old_val" >&2;} 1231 { echo "$as_me:$LINENO: current value: $ac_new_val" >&51264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1232 1265 echo "$as_me: current value: $ac_new_val" >&2;} 1233 ac_cache_corrupted=:1266 ac_cache_corrupted=: 1234 1267 fi;; 1235 1268 esac … … 1376 1409 1377 1410 cat >>confdefs.h <<\_ACEOF 1378 #define WT_ PACKAGE_VERSION "1.0"1411 #define WT_VERSION "1.0" 1379 1412 _ACEOF 1380 1413 … … 1396 1429 1397 1430 # These are used in the Makefile 1398 WT_ PACKAGE_VERSION="1.0"1431 WT_VERSION="1.0" 1399 1432 1400 1433 … … 1744 1777 1745 1778 cat >conftest.$ac_ext <<_ACEOF 1746 #line $LINENO "configure"1747 1779 /* confdefs.h. */ 1748 1780 _ACEOF … … 1764 1796 # It will help us diagnose broken compilers, and finding out an intuition 1765 1797 # of exeext. 1766 echo "$as_me:$LINENO: checking for C compiler default output " >&51767 echo $ECHO_N "checking for C compiler default output ... $ECHO_C" >&61798 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1799 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1768 1800 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1769 1801 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 … … 1785 1817 case $ac_file in 1786 1818 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1787 ;;1819 ;; 1788 1820 conftest.$ac_ext ) 1789 # This is the source file.1790 ;;1821 # This is the source file. 1822 ;; 1791 1823 [ab].out ) 1792 # We found the default executable, but exeext='' is most1793 # certainly right.1794 break;;1824 # We found the default executable, but exeext='' is most 1825 # certainly right. 1826 break;; 1795 1827 *.* ) 1796 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`1797 # FIXME: I believe we export ac_cv_exeext for Libtool,1798 # but it would be cool to find out if it's true. Does anybody1799 # maintain Libtool? --akim.1800 export ac_cv_exeext1801 break;;1828 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1829 # FIXME: I believe we export ac_cv_exeext for Libtool, 1830 # but it would be cool to find out if it's true. Does anybody 1831 # maintain Libtool? --akim. 1832 export ac_cv_exeext 1833 break;; 1802 1834 * ) 1803 break;;1835 break;; 1804 1836 esac 1805 1837 done … … 1875 1907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1876 1908 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1877 export ac_cv_exeext1878 break;;1909 export ac_cv_exeext 1910 break;; 1879 1911 * ) break;; 1880 1912 esac … … 1901 1933 else 1902 1934 cat >conftest.$ac_ext <<_ACEOF 1903 #line $LINENO "configure"1904 1935 /* confdefs.h. */ 1905 1936 _ACEOF … … 1952 1983 else 1953 1984 cat >conftest.$ac_ext <<_ACEOF 1954 #line $LINENO "configure"1955 1985 /* confdefs.h. */ 1956 1986 _ACEOF … … 1972 2002 rm -f conftest.$ac_objext 1973 2003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1974 (eval $ac_compile) 2>&5 1975 ac_status=$? 2004 (eval $ac_compile) 2>conftest.er1 2005 ac_status=$? 2006 grep -v '^ *+' conftest.er1 >conftest.err 2007 rm -f conftest.er1 2008 cat conftest.err >&5 1976 2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1977 2010 (exit $ac_status); } && 1978 { ac_try='test -s conftest.$ac_objext' 2011 { ac_try='test -z "$ac_c_werror_flag" 2012 || test ! -s conftest.err' 2013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2014 (eval $ac_try) 2>&5 2015 ac_status=$? 2016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2017 (exit $ac_status); }; } && 2018 { ac_try='test -s conftest.$ac_objext' 1979 2019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1980 2020 (eval $ac_try) 2>&5 … … 1989 2029 ac_compiler_gnu=no 1990 2030 fi 1991 rm -f conftest. $ac_objext conftest.$ac_ext2031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1992 2032 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1993 2033 … … 2005 2045 else 2006 2046 cat >conftest.$ac_ext <<_ACEOF 2007 #line $LINENO "configure"2008 2047 /* confdefs.h. */ 2009 2048 _ACEOF … … 2022 2061 rm -f conftest.$ac_objext 2023 2062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2024 (eval $ac_compile) 2>&5 2025 ac_status=$? 2063 (eval $ac_compile) 2>conftest.er1 2064 ac_status=$? 2065 grep -v '^ *+' conftest.er1 >conftest.err 2066 rm -f conftest.er1 2067 cat conftest.err >&5 2026 2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2027 2069 (exit $ac_status); } && 2028 { ac_try='test -s conftest.$ac_objext' 2070 { ac_try='test -z "$ac_c_werror_flag" 2071 || test ! -s conftest.err' 2072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2073 (eval $ac_try) 2>&5 2074 ac_status=$? 2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2076 (exit $ac_status); }; } && 2077 { ac_try='test -s conftest.$ac_objext' 2029 2078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2030 2079 (eval $ac_try) 2>&5 … … 2039 2088 ac_cv_prog_cc_g=no 2040 2089 fi 2041 rm -f conftest. $ac_objext conftest.$ac_ext2090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2042 2091 fi 2043 2092 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 … … 2066 2115 ac_save_CC=$CC 2067 2116 cat >conftest.$ac_ext <<_ACEOF 2068 #line $LINENO "configure"2069 2117 /* confdefs.h. */ 2070 2118 _ACEOF … … 2094 2142 return s; 2095 2143 } 2144 2145 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2146 function prototypes and stuff, but not '\xHH' hex character constants. 2147 These don't provoke an error unfortunately, instead are silently treated 2148 as 'x'. The following induces an error, until -std1 is added to get 2149 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2150 array size at least. It's necessary to write '\x00'==0 to get something 2151 that's true only with -std1. */ 2152 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2153 2096 2154 int test (int i, double x); 2097 2155 struct s1 {int (*f) (int a);}; … … 2120 2178 rm -f conftest.$ac_objext 2121 2179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2122 (eval $ac_compile) 2>&5 2123 ac_status=$? 2180 (eval $ac_compile) 2>conftest.er1 2181 ac_status=$? 2182 grep -v '^ *+' conftest.er1 >conftest.err 2183 rm -f conftest.er1 2184 cat conftest.err >&5 2124 2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2125 2186 (exit $ac_status); } && 2126 { ac_try='test -s conftest.$ac_objext' 2187 { ac_try='test -z "$ac_c_werror_flag" 2188 || test ! -s conftest.err' 2189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2190 (eval $ac_try) 2>&5 2191 ac_status=$? 2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2193 (exit $ac_status); }; } && 2194 { ac_try='test -s conftest.$ac_objext' 2127 2195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2128 2196 (eval $ac_try) 2>&5 … … 2137 2205 2138 2206 fi 2139 rm -f conftest. $ac_objext2207 rm -f conftest.err conftest.$ac_objext 2140 2208 done 2141 2209 rm -f conftest.$ac_ext conftest.$ac_objext … … 2165 2233 rm -f conftest.$ac_objext 2166 2234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2167 (eval $ac_compile) 2>&5 2168 ac_status=$? 2235 (eval $ac_compile) 2>conftest.er1 2236 ac_status=$? 2237 grep -v '^ *+' conftest.er1 >conftest.err 2238 rm -f conftest.er1 2239 cat conftest.err >&5 2169 2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2170 2241 (exit $ac_status); } && 2171 { ac_try='test -s conftest.$ac_objext' 2242 { ac_try='test -z "$ac_c_werror_flag" 2243 || test ! -s conftest.err' 2244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2245 (eval $ac_try) 2>&5 2246 ac_status=$? 2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2248 (exit $ac_status); }; } && 2249 { ac_try='test -s conftest.$ac_objext' 2172 2250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2173 2251 (eval $ac_try) 2>&5 … … 2176 2254 (exit $ac_status); }; }; then 2177 2255 for ac_declaration in \ 2178 ''\ 2179 '#include <stdlib.h>' \ 2256 '' \ 2180 2257 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2181 2258 'extern "C" void std::exit (int); using std::exit;' \ … … 2185 2262 do 2186 2263 cat >conftest.$ac_ext <<_ACEOF 2187 #line $LINENO "configure"2188 2264 /* confdefs.h. */ 2189 2265 _ACEOF … … 2191 2267 cat >>conftest.$ac_ext <<_ACEOF 2192 2268 /* end confdefs.h. */ 2269 $ac_declaration 2193 2270 #include <stdlib.h> 2194 $ac_declaration2195 2271 int 2196 2272 main () … … 2203 2279 rm -f conftest.$ac_objext 2204 2280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2205 (eval $ac_compile) 2>&5 2206 ac_status=$? 2281 (eval $ac_compile) 2>conftest.er1 2282 ac_status=$? 2283 grep -v '^ *+' conftest.er1 >conftest.err 2284 rm -f conftest.er1 2285 cat conftest.err >&5 2207 2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2208 2287 (exit $ac_status); } && 2209 { ac_try='test -s conftest.$ac_objext' 2288 { ac_try='test -z "$ac_c_werror_flag" 2289 || test ! -s conftest.err' 2290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2291 (eval $ac_try) 2>&5 2292 ac_status=$? 2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2294 (exit $ac_status); }; } && 2295 { ac_try='test -s conftest.$ac_objext' 2210 2296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2211 2297 (eval $ac_try) 2>&5 … … 2220 2306 continue 2221 2307 fi 2222 rm -f conftest. $ac_objext conftest.$ac_ext2308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2223 2309 cat >conftest.$ac_ext <<_ACEOF 2224 #line $LINENO "configure"2225 2310 /* confdefs.h. */ 2226 2311 _ACEOF … … 2239 2324 rm -f conftest.$ac_objext 2240 2325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2241 (eval $ac_compile) 2>&5 2242 ac_status=$? 2326 (eval $ac_compile) 2>conftest.er1 2327 ac_status=$? 2328 grep -v '^ *+' conftest.er1 >conftest.err 2329 rm -f conftest.er1 2330 cat conftest.err >&5 2243 2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2244 2332 (exit $ac_status); } && 2245 { ac_try='test -s conftest.$ac_objext' 2333 { ac_try='test -z "$ac_c_werror_flag" 2334 || test ! -s conftest.err' 2335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2336 (eval $ac_try) 2>&5 2337 ac_status=$? 2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2339 (exit $ac_status); }; } && 2340 { ac_try='test -s conftest.$ac_objext' 2246 2341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2247 2342 (eval $ac_try) 2>&5 … … 2255 2350 2256 2351 fi 2257 rm -f conftest. $ac_objext conftest.$ac_ext2352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2258 2353 done 2259 2354 rm -f conftest* … … 2269 2364 2270 2365 fi 2271 rm -f conftest. $ac_objext conftest.$ac_ext2366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2272 2367 ac_ext=c 2273 2368 ac_cpp='$CPP $CPPFLAGS' … … 2287 2382 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2288 2383 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2384 # OS/2's system install, which has a completely different semantic 2289 2385 # ./install, which can be erroneously created by make from ./install.sh. 2290 2386 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 2303 2399 ./ | .// | /cC/* | \ 2304 2400 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2401 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2305 2402 /usr/ucb/* ) ;; 2306 2403 *) … … 2310 2407 for ac_prog in ginstall scoinst install; do 2311 2408 for ac_exec_ext in '' $ac_executable_extensions; do 2312 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then2313 if test $ac_prog = install &&2314 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2315 # AIX install. It has an incompatible calling convention.2316 :2317 elif test $ac_prog = install &&2318 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2319 # program-specific install script used by HP pwplus--don't use.2320 :2321 else2322 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2323 break 32324 fi2325 fi2409 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2410 if test $ac_prog = install && 2411 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2412 # AIX install. It has an incompatible calling convention. 2413 : 2414 elif test $ac_prog = install && 2415 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2416 # program-specific install script used by HP pwplus--don't use. 2417 : 2418 else 2419 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2420 break 3 2421 fi 2422 fi 2326 2423 done 2327 2424 done … … 2355 2452 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2356 2453 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 2357 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y, ./+-,__p_,'`2454 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 2358 2455 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 2359 2456 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2412 2509 else 2413 2510 cat >conftest.$ac_ext <<_ACEOF 2414 #line $LINENO "configure"2415 2511 /* confdefs.h. */ 2416 2512 _ACEOF … … 2457 2553 2458 2554 fi 2459 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext2555 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2460 2556 fi 2461 2557 … … 2495 2591 else 2496 2592 cat >conftest.$ac_ext <<_ACEOF 2497 #line $LINENO "configure"2498 2593 /* confdefs.h. */ 2499 2594 _ACEOF … … 2540 2635 2541 2636 fi 2542 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext2637 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2543 2638 fi 2544 2639 … … 2675 2770 # not just through cpp. "Syntax error" is here to catch this case. 2676 2771 cat >conftest.$ac_ext <<_ACEOF 2677 #line $LINENO "configure"2678 2772 /* confdefs.h. */ 2679 2773 _ACEOF … … 2686 2780 # include <assert.h> 2687 2781 #endif 2688 Syntax error2782 Syntax error 2689 2783 _ACEOF 2690 2784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 2698 2792 if test -s conftest.err; then 2699 2793 ac_cpp_err=$ac_c_preproc_warn_flag 2794 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2700 2795 else 2701 2796 ac_cpp_err= … … 2718 2813 # can be detected and how. 2719 2814 cat >conftest.$ac_ext <<_ACEOF 2720 #line $LINENO "configure"2721 2815 /* confdefs.h. */ 2722 2816 _ACEOF … … 2736 2830 if test -s conftest.err; then 2737 2831 ac_cpp_err=$ac_c_preproc_warn_flag 2832 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2738 2833 else 2739 2834 ac_cpp_err= … … 2782 2877 # not just through cpp. "Syntax error" is here to catch this case. 2783 2878 cat >conftest.$ac_ext <<_ACEOF 2784 #line $LINENO "configure"2785 2879 /* confdefs.h. */ 2786 2880 _ACEOF … … 2793 2887 # include <assert.h> 2794 2888 #endif 2795 Syntax error2889 Syntax error 2796 2890 _ACEOF 2797 2891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 2805 2899 if test -s conftest.err; then 2806 2900 ac_cpp_err=$ac_c_preproc_warn_flag 2901 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2807 2902 else 2808 2903 ac_cpp_err= … … 2825 2920 # can be detected and how. 2826 2921 cat >conftest.$ac_ext <<_ACEOF 2827 #line $LINENO "configure"2828 2922 /* confdefs.h. */ 2829 2923 _ACEOF … … 2843 2937 if test -s conftest.err; then 2844 2938 ac_cpp_err=$ac_c_preproc_warn_flag 2939 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2845 2940 else 2846 2941 ac_cpp_err= … … 2900 2995 if test -s conftest.err; then 2901 2996 ac_cpp_err=$ac_c_preproc_warn_flag 2997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2902 2998 else 2903 2999 ac_cpp_err= … … 2935 3031 else 2936 3032 cat >conftest.$ac_ext <<_ACEOF 2937 #line $LINENO "configure"2938 3033 /* confdefs.h. */ 2939 3034 _ACEOF … … 2941 3036 cat >>conftest.$ac_ext <<_ACEOF 2942 3037 /* end confdefs.h. */ 3038 /* Define pow to an innocuous variant, in case <limits.h> declares pow. 3039 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3040 #define pow innocuous_pow 3041 2943 3042 /* System header to define __stub macros and hopefully few prototypes, 2944 3043 which can conflict with char pow (); below. 2945 3044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2946 3045 <limits.h> exists even on freestanding compilers. */ 3046 2947 3047 #ifdef __STDC__ 2948 3048 # include <limits.h> … … 2950 3050 # include <assert.h> 2951 3051 #endif 3052 3053 #undef pow 3054 2952 3055 /* Override any gcc2 internal prototype to avoid an error. */ 2953 3056 #ifdef __cplusplus … … 2980 3083 rm -f conftest.$ac_objext conftest$ac_exeext 2981 3084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2982 (eval $ac_link) 2>&5 2983 ac_status=$? 3085 (eval $ac_link) 2>conftest.er1 3086 ac_status=$? 3087 grep -v '^ *+' conftest.er1 >conftest.err 3088 rm -f conftest.er1 3089 cat conftest.err >&5 2984 3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2985 3091 (exit $ac_status); } && 2986 { ac_try='test -s conftest$ac_exeext' 3092 { ac_try='test -z "$ac_c_werror_flag" 3093 || test ! -s conftest.err' 3094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3095 (eval $ac_try) 2>&5 3096 ac_status=$? 3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3098 (exit $ac_status); }; } && 3099 { ac_try='test -s conftest$ac_exeext' 2987 3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2988 3101 (eval $ac_try) 2>&5 … … 2997 3110 ac_cv_func_pow=no 2998 3111 fi 2999 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3112 rm -f conftest.err conftest.$ac_objext \ 3113 conftest$ac_exeext conftest.$ac_ext 3000 3114 fi 3001 3115 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 … … 3013 3127 LIBS="-lm $LIBS" 3014 3128 cat >conftest.$ac_ext <<_ACEOF 3015 #line $LINENO "configure"3016 3129 /* confdefs.h. */ 3017 3130 _ACEOF … … 3031 3144 rm -f conftest.$ac_objext conftest$ac_exeext 3032 3145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3033 (eval $ac_link) 2>&5 3034 ac_status=$? 3146 (eval $ac_link) 2>conftest.er1 3147 ac_status=$? 3148 grep -v '^ *+' conftest.er1 >conftest.err 3149 rm -f conftest.er1 3150 cat conftest.err >&5 3035 3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3036 3152 (exit $ac_status); } && 3037 { ac_try='test -s conftest$ac_exeext' 3153 { ac_try='test -z "$ac_c_werror_flag" 3154 || test ! -s conftest.err' 3155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3156 (eval $ac_try) 2>&5 3157 ac_status=$? 3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3159 (exit $ac_status); }; } && 3160 { ac_try='test -s conftest$ac_exeext' 3038 3161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3039 3162 (eval $ac_try) 2>&5 … … 3048 3171 ac_cv_lib_m_main=no 3049 3172 fi 3050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3173 rm -f conftest.err conftest.$ac_objext \ 3174 conftest$ac_exeext conftest.$ac_ext 3051 3175 LIBS=$ac_check_lib_save_LIBS 3052 3176 fi … … 3071 3195 else 3072 3196 cat >conftest.$ac_ext <<_ACEOF 3073 #line $LINENO "configure"3074 3197 /* confdefs.h. */ 3075 3198 _ACEOF … … 3077 3200 cat >>conftest.$ac_ext <<_ACEOF 3078 3201 /* end confdefs.h. */ 3202 /* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt. 3203 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3204 #define setsockopt innocuous_setsockopt 3205 3079 3206 /* System header to define __stub macros and hopefully few prototypes, 3080 3207 which can conflict with char setsockopt (); below. 3081 3208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3082 3209 <limits.h> exists even on freestanding compilers. */ 3210 3083 3211 #ifdef __STDC__ 3084 3212 # include <limits.h> … … 3086 3214 # include <assert.h> 3087 3215 #endif 3216 3217 #undef setsockopt 3218 3088 3219 /* Override any gcc2 internal prototype to avoid an error. */ 3089 3220 #ifdef __cplusplus … … 3116 3247 rm -f conftest.$ac_objext conftest$ac_exeext 3117 3248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3118 (eval $ac_link) 2>&5 3119 ac_status=$? 3249 (eval $ac_link) 2>conftest.er1 3250 ac_status=$? 3251 grep -v '^ *+' conftest.er1 >conftest.err 3252 rm -f conftest.er1 3253 cat conftest.err >&5 3120 3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3121 3255 (exit $ac_status); } && 3122 { ac_try='test -s conftest$ac_exeext' 3256 { ac_try='test -z "$ac_c_werror_flag" 3257 || test ! -s conftest.err' 3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3259 (eval $ac_try) 2>&5 3260 ac_status=$? 3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3262 (exit $ac_status); }; } && 3263 { ac_try='test -s conftest$ac_exeext' 3123 3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3124 3265 (eval $ac_try) 2>&5 … … 3133 3274 ac_cv_func_setsockopt=no 3134 3275 fi 3135 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3276 rm -f conftest.err conftest.$ac_objext \ 3277 conftest$ac_exeext conftest.$ac_ext 3136 3278 fi 3137 3279 echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 … … 3149 3291 LIBS="-lsocket $LIBS" 3150 3292 cat >conftest.$ac_ext <<_ACEOF 3151
