Changeset 2865
- Timestamp:
- 05/18/05 16:57:15 (4 years ago)
- Files:
-
- wire/trunk/Makefile.in (modified) (3 diffs)
- wire/trunk/config.h.in (modified) (1 diff)
- wire/trunk/configure (modified) (260 diffs)
- wire/trunk/configure.in (modified) (2 diffs)
- wire/trunk/wire/Makefile.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wire/trunk/Makefile.in
r2811 r2865 1 1 # Makefile.in 2 2 3 bindir = @bindir@ 4 datadir = @datadir@ 5 exec_prefix = @exec_prefix@ 6 includedir = @includedir@ 7 infodir = @infodir@ 8 libdir = @libdir@ 9 libexecdir = @libexecdir@ 10 localstatedir = @localstatedir@ 11 mandir = @mandir@ 12 prefix = @prefix@ 13 sbindir = @sbindir@ 14 srcdir = @srcdir@ 15 sysconfdir = @sysconfdir@ 16 top_srcdir = @top_srcdir@ 3 mandir = @mandir@ 4 prefix = @prefix@ 17 5 18 WR_ PACKAGE_VERSION = @WR_PACKAGE_VERSION@6 WR_VERSION = @WR_VERSION@ 19 7 20 SUBDIRS = libzanka wire 21 DISTFILES = INSTALL \ 22 LICENSE \ 23 NEWS \ 24 README \ 25 Makefile \ 26 Makefile.in \ 27 config.guess \ 28 config.h.in \ 29 config.sub \ 30 configure \ 31 configure.in \ 32 install-sh \ 33 libzanka \ 34 man \ 35 run \ 36 wire 37 INSTALL = @INSTALL@ 8 SUBDIRS = libzanka wire 9 DISTFILES = INSTALL LICENSE NEWS README Makefile Makefile.in config.guess \ 10 config.h.in config.sub configure configure.in install-sh \ 11 libzanka man run wire 12 13 INSTALL = @INSTALL@ 38 14 39 15 all: all-recursive … … 67 43 @echo "Making $@ in ." 68 44 69 rm -rf wire-$(WR_ PACKAGE_VERSION)70 rm -f wire-$(WR_ PACKAGE_VERSION).tar.gz71 mkdir wire-$(WR_ PACKAGE_VERSION)45 rm -rf wire-$(WR_VERSION) 46 rm -f wire-$(WR_VERSION).tar.gz 47 mkdir wire-$(WR_VERSION) 72 48 73 49 @for i in $(DISTFILES); do \ 74 50 if [ -e $$i ]; then \ 75 cp -LRp $$i wire-$(WR_ PACKAGE_VERSION)/$$i; \51 cp -LRp $$i wire-$(WR_VERSION)/$$i; \ 76 52 fi \ 77 53 done 78 54 79 sh -c "cd wire-$(WR_ PACKAGE_VERSION); $(MAKE) distclean"55 sh -c "cd wire-$(WR_VERSION); $(MAKE) distclean" 80 56 81 tar -czf wire-$(WR_ PACKAGE_VERSION).tar.gz wire-$(WR_PACKAGE_VERSION)82 rm -rf wire-$(WR_ PACKAGE_VERSION)57 tar -czf wire-$(WR_VERSION).tar.gz wire-$(WR_VERSION) 58 rm -rf wire-$(WR_VERSION) 83 59 84 60 clean: clean-recursive … … 91 67 92 68 rm -f Makefile config.h config.log config.status 93 rm -f wire-$(WR_ PACKAGE_VERSION).tar.gz69 rm -f wire-$(WR_VERSION).tar.gz 94 70 95 71 autoclean: wire/trunk/config.h.in
r1796 r2865 99 99 #undef WR_CPU 100 100 101 /* Application version */102 #undef WR_PACKAGE_VERSION103 104 101 /* Protocol version */ 105 102 #undef WR_PROTOCOL_VERSION 103 104 /* Application version */ 105 #undef WR_VERSION 106 106 107 107 /* Number of bits in a file offset, on hosts where this is settable. */ wire/trunk/configure
r1796 r2865 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.5 7for wire 1.1.3 # Generated by GNU Autoconf 2.59 for wire 1.1. 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 WR_ PACKAGE_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE 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 WR_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE 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 … … 898 899 ac_top_srcdir=$ac_top_builddir$srcdir ;; 899 900 esac 900 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 901 # absolute. 902 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 903 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 904 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 905 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 901 902 # Do not use `cd foo && pwd` to compute absolute paths, because 903 # the directories may not exist. 904 case `pwd` in 905 .) ac_abs_builddir="$ac_dir";; 906 *) 907 case "$ac_dir" in 908 .) ac_abs_builddir=`pwd`;; 909 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 910 *) ac_abs_builddir=`pwd`/"$ac_dir";; 911 esac;; 912 esac 913 case $ac_abs_builddir in 914 .) ac_abs_top_builddir=${ac_top_builddir}.;; 915 *) 916 case ${ac_top_builddir}. in 917 .) ac_abs_top_builddir=$ac_abs_builddir;; 918 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 919 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 920 esac;; 921 esac 922 case $ac_abs_builddir in 923 .) ac_abs_srcdir=$ac_srcdir;; 924 *) 925 case $ac_srcdir in 926 .) ac_abs_srcdir=$ac_abs_builddir;; 927 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 928 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 929 esac;; 930 esac 931 case $ac_abs_builddir in 932 .) ac_abs_top_srcdir=$ac_top_srcdir;; 933 *) 934 case $ac_top_srcdir in 935 .) ac_abs_top_srcdir=$ac_abs_builddir;; 936 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 937 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 938 esac;; 939 esac 906 940 907 941 cd $ac_dir … … 914 948 $SHELL $ac_srcdir/configure --help=recursive 915 949 elif test -f $ac_srcdir/configure.ac || 916 test -f $ac_srcdir/configure.in; then950 test -f $ac_srcdir/configure.in; then 917 951 echo 918 952 $ac_configure --help … … 928 962 cat <<\_ACEOF 929 963 wire configure 1.1 930 generated by GNU Autoconf 2.57 931 932 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 933 Free Software Foundation, Inc. 964 generated by GNU Autoconf 2.59 965 966 Copyright (C) 2003 Free Software Foundation, Inc. 934 967 This configure script is free software; the Free Software Foundation 935 968 gives unlimited permission to copy, distribute and modify it. … … 943 976 944 977 It was created by wire $as_me 1.1, which was 945 generated by GNU Autoconf 2.5 7. Invocation command line was978 generated by GNU Autoconf 2.59. Invocation command line was 946 979 947 980 $ $0 $@ … … 1020 1053 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1021 1054 if test $ac_must_keep_next = true; then 1022 ac_must_keep_next=false # Got value, back to normal.1055 ac_must_keep_next=false # Got value, back to normal. 1023 1056 else 1024 case $ac_arg in1025 *=* | --config-cache | -C | -disable-* | --disable-* \1026 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \1027 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \1028 | -with-* | --with-* | -without-* | --without-* | --x)1029 case "$ac_configure_args0 " in1030 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;1031 esac1032 ;;1033 -* ) ac_must_keep_next=true ;;1034 esac1057 case $ac_arg in 1058 *=* | --config-cache | -C | -disable-* | --disable-* \ 1059 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1060 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1061 | -with-* | --with-* | -without-* | --without-* | --x) 1062 case "$ac_configure_args0 " in 1063 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1064 esac 1065 ;; 1066 -* ) ac_must_keep_next=true ;; 1067 esac 1035 1068 fi 1036 1069 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" … … 1066 1099 *ac_space=\ *) 1067 1100 sed -n \ 1068 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;1069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"1101 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1102 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1070 1103 ;; 1071 1104 *) 1072 1105 sed -n \ 1073 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"1106 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1074 1107 ;; 1075 1108 esac; … … 1100 1133 do 1101 1134 eval ac_val=$`echo $ac_var` 1102 echo "$ac_var='"'"'$ac_val'"'"'"1135 echo "$ac_var='"'"'$ac_val'"'"'" 1103 1136 done | sort 1104 1137 echo … … 1119 1152 echo "$as_me: exit $exit_status" 1120 1153 } >&5 1121 rm -f core core.**.core &&1154 rm -f core *.core && 1122 1155 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1123 1156 exit $exit_status … … 1199 1232 ac_cache_corrupted=false 1200 1233 for ac_var in `(set) 2>&1 | 1201 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do1234 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1202 1235 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1203 1236 eval ac_new_set=\$ac_env_${ac_var}_set … … 1216 1249 *) 1217 1250 if test "x$ac_old_val" != "x$ac_new_val"; then 1218 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&51251 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1219 1252 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1220 { echo "$as_me:$LINENO: former value: $ac_old_val" >&51253 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1221 1254 echo "$as_me: former value: $ac_old_val" >&2;} 1222 { echo "$as_me:$LINENO: current value: $ac_new_val" >&51255 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1223 1256 echo "$as_me: current value: $ac_new_val" >&2;} 1224 ac_cache_corrupted=:1257 ac_cache_corrupted=: 1225 1258 fi;; 1226 1259 esac … … 1367 1400 1368 1401 cat >>confdefs.h <<\_ACEOF 1369 #define WR_ PACKAGE_VERSION "1.1"1402 #define WR_VERSION "1.1" 1370 1403 _ACEOF 1371 1404 … … 1387 1420 1388 1421 # These are used in the Makefile 1389 WR_ PACKAGE_VERSION=1.11422 WR_VERSION=1.1 1390 1423 1391 1424 … … 1735 1768 1736 1769 cat >conftest.$ac_ext <<_ACEOF 1737 #line $LINENO "configure"1738 1770 /* confdefs.h. */ 1739 1771 _ACEOF … … 1755 1787 # It will help us diagnose broken compilers, and finding out an intuition 1756 1788 # of exeext. 1757 echo "$as_me:$LINENO: checking for C compiler default output " >&51758 echo $ECHO_N "checking for C compiler default output ... $ECHO_C" >&61789 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1790 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1759 1791 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1760 1792 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 … … 1776 1808 case $ac_file in 1777 1809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1778 ;;1810 ;; 1779 1811 conftest.$ac_ext ) 1780 # This is the source file.1781 ;;1812 # This is the source file. 1813 ;; 1782 1814 [ab].out ) 1783 # We found the default executable, but exeext='' is most1784 # certainly right.1785 break;;1815 # We found the default executable, but exeext='' is most 1816 # certainly right. 1817 break;; 1786 1818 *.* ) 1787 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`1788 # FIXME: I believe we export ac_cv_exeext for Libtool,1789 # but it would be cool to find out if it's true. Does anybody1790 # maintain Libtool? --akim.1791 export ac_cv_exeext1792 break;;1819 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1820 # FIXME: I believe we export ac_cv_exeext for Libtool, 1821 # but it would be cool to find out if it's true. Does anybody 1822 # maintain Libtool? --akim. 1823 export ac_cv_exeext 1824 break;; 1793 1825 * ) 1794 break;;1826 break;; 1795 1827 esac 1796 1828 done … … 1866 1898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1867 1899 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1868 export ac_cv_exeext1869 break;;1900 export ac_cv_exeext 1901 break;; 1870 1902 * ) break;; 1871 1903 esac … … 1892 1924 else 1893 1925 cat >conftest.$ac_ext <<_ACEOF 1894 #line $LINENO "configure"1895 1926 /* confdefs.h. */ 1896 1927 _ACEOF … … 1943 1974 else 1944 1975 cat >conftest.$ac_ext <<_ACEOF 1945 #line $LINENO "configure"1946 1976 /* confdefs.h. */ 1947 1977 _ACEOF … … 1963 1993 rm -f conftest.$ac_objext 1964 1994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1965 (eval $ac_compile) 2>&5 1966 ac_status=$? 1995 (eval $ac_compile) 2>conftest.er1 1996 ac_status=$? 1997 grep -v '^ *+' conftest.er1 >conftest.err 1998 rm -f conftest.er1 1999 cat conftest.err >&5 1967 2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1968 2001 (exit $ac_status); } && 1969 { ac_try='test -s conftest.$ac_objext' 2002 { ac_try='test -z "$ac_c_werror_flag" 2003 || test ! -s conftest.err' 2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2005 (eval $ac_try) 2>&5 2006 ac_status=$? 2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2008 (exit $ac_status); }; } && 2009 { ac_try='test -s conftest.$ac_objext' 1970 2010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1971 2011 (eval $ac_try) 2>&5 … … 1980 2020 ac_compiler_gnu=no 1981 2021 fi 1982 rm -f conftest. $ac_objext conftest.$ac_ext2022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1983 2023 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1984 2024 … … 1996 2036 else 1997 2037 cat >conftest.$ac_ext <<_ACEOF 1998 #line $LINENO "configure"1999 2038 /* confdefs.h. */ 2000 2039 _ACEOF … … 2013 2052 rm -f conftest.$ac_objext 2014 2053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2015 (eval $ac_compile) 2>&5 2016 ac_status=$? 2054 (eval $ac_compile) 2>conftest.er1 2055 ac_status=$? 2056 grep -v '^ *+' conftest.er1 >conftest.err 2057 rm -f conftest.er1 2058 cat conftest.err >&5 2017 2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2018 2060 (exit $ac_status); } && 2019 { ac_try='test -s conftest.$ac_objext' 2061 { ac_try='test -z "$ac_c_werror_flag" 2062 || test ! -s conftest.err' 2063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2064 (eval $ac_try) 2>&5 2065 ac_status=$? 2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2067 (exit $ac_status); }; } && 2068 { ac_try='test -s conftest.$ac_objext' 2020 2069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2021 2070 (eval $ac_try) 2>&5 … … 2030 2079 ac_cv_prog_cc_g=no 2031 2080 fi 2032 rm -f conftest. $ac_objext conftest.$ac_ext2081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2033 2082 fi 2034 2083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 … … 2057 2106 ac_save_CC=$CC 2058 2107 cat >conftest.$ac_ext <<_ACEOF 2059 #line $LINENO "configure"2060 2108 /* confdefs.h. */ 2061 2109 _ACEOF … … 2085 2133 return s; 2086 2134 } 2135 2136 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2137 function prototypes and stuff, but not '\xHH' hex character constants. 2138 These don't provoke an error unfortunately, instead are silently treated 2139 as 'x'. The following induces an error, until -std1 is added to get 2140 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2141 array size at least. It's necessary to write '\x00'==0 to get something 2142 that's true only with -std1. */ 2143 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2144 2087 2145 int test (int i, double x); 2088 2146 struct s1 {int (*f) (int a);}; … … 2111 2169 rm -f conftest.$ac_objext 2112 2170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2113 (eval $ac_compile) 2>&5 2114 ac_status=$? 2171 (eval $ac_compile) 2>conftest.er1 2172 ac_status=$? 2173 grep -v '^ *+' conftest.er1 >conftest.err 2174 rm -f conftest.er1 2175 cat conftest.err >&5 2115 2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2116 2177 (exit $ac_status); } && 2117 { ac_try='test -s conftest.$ac_objext' 2178 { ac_try='test -z "$ac_c_werror_flag" 2179 || test ! -s conftest.err' 2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2181 (eval $ac_try) 2>&5 2182 ac_status=$? 2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2184 (exit $ac_status); }; } && 2185 { ac_try='test -s conftest.$ac_objext' 2118 2186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2119 2187 (eval $ac_try) 2>&5 … … 2128 2196 2129 2197 fi 2130 rm -f conftest. $ac_objext2198 rm -f conftest.err conftest.$ac_objext 2131 2199 done 2132 2200 rm -f conftest.$ac_ext conftest.$ac_objext … … 2156 2224 rm -f conftest.$ac_objext 2157 2225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2158 (eval $ac_compile) 2>&5 2159 ac_status=$? 2226 (eval $ac_compile) 2>conftest.er1 2227 ac_status=$? 2228 grep -v '^ *+' conftest.er1 >conftest.err 2229 rm -f conftest.er1 2230 cat conftest.err >&5 2160 2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2161 2232 (exit $ac_status); } && 2162 { ac_try='test -s conftest.$ac_objext' 2233 { ac_try='test -z "$ac_c_werror_flag" 2234 || test ! -s conftest.err' 2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2236 (eval $ac_try) 2>&5 2237 ac_status=$? 2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2239 (exit $ac_status); }; } && 2240 { ac_try='test -s conftest.$ac_objext' 2163 2241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2164 2242 (eval $ac_try) 2>&5 … … 2167 2245 (exit $ac_status); }; }; then 2168 2246 for ac_declaration in \ 2169 ''\ 2170 '#include <stdlib.h>' \ 2247 '' \ 2171 2248 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2172 2249 'extern "C" void std::exit (int); using std::exit;' \ … … 2176 2253 do 2177 2254 cat >conftest.$ac_ext <<_ACEOF 2178 #line $LINENO "configure"2179 2255 /* confdefs.h. */ 2180 2256 _ACEOF … … 2182 2258 cat >>conftest.$ac_ext <<_ACEOF 2183 2259 /* end confdefs.h. */ 2260 $ac_declaration 2184 2261 #include <stdlib.h> 2185 $ac_declaration2186 2262 int 2187 2263 main () … … 2194 2270 rm -f conftest.$ac_objext 2195 2271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2196 (eval $ac_compile) 2>&5 2197 ac_status=$? 2272 (eval $ac_compile) 2>conftest.er1 2273 ac_status=$? 2274 grep -v '^ *+' conftest.er1 >conftest.err 2275 rm -f conftest.er1 2276 cat conftest.err >&5 2198 2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2199 2278 (exit $ac_status); } && 2200 { ac_try='test -s conftest.$ac_objext' 2279 { ac_try='test -z "$ac_c_werror_flag" 2280 || test ! -s conftest.err' 2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2282 (eval $ac_try) 2>&5 2283 ac_status=$? 2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2285 (exit $ac_status); }; } && 2286 { ac_try='test -s conftest.$ac_objext' 2201 2287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2202 2288 (eval $ac_try) 2>&5 … … 2211 2297 continue 2212 2298 fi 2213 rm -f conftest. $ac_objext conftest.$ac_ext2299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2214 2300 cat >conftest.$ac_ext <<_ACEOF 2215 #line $LINENO "configure"2216 2301 /* confdefs.h. */ 2217 2302 _ACEOF … … 2230 2315 rm -f conftest.$ac_objext 2231 2316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2232 (eval $ac_compile) 2>&5 2233 ac_status=$? 2317 (eval $ac_compile) 2>conftest.er1 2318 ac_status=$? 2319 grep -v '^ *+' conftest.er1 >conftest.err 2320 rm -f conftest.er1 2321 cat conftest.err >&5 2234 2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2235 2323 (exit $ac_status); } && 2236 { ac_try='test -s conftest.$ac_objext' 2324 { ac_try='test -z "$ac_c_werror_flag" 2325 || test ! -s conftest.err' 2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2327 (eval $ac_try) 2>&5 2328 ac_status=$? 2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2330 (exit $ac_status); }; } && 2331 { ac_try='test -s conftest.$ac_objext' 2237 2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2238 2333 (eval $ac_try) 2>&5 … … 2246 2341 2247 2342 fi 2248 rm -f conftest. $ac_objext conftest.$ac_ext2343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2249 2344 done 2250 2345 rm -f conftest* … … 2260 2355 2261 2356 fi 2262 rm -f conftest. $ac_objext conftest.$ac_ext2357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2263 2358 ac_ext=c 2264 2359 ac_cpp='$CPP $CPPFLAGS' … … 2278 2373 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2279 2374 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2375 # OS/2's system install, which has a completely different semantic 2280 2376 # ./install, which can be erroneously created by make from ./install.sh. 2281 2377 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 2294 2390 ./ | .// | /cC/* | \ 2295 2391 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2392 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2296 2393 /usr/ucb/* ) ;; 2297 2394 *) … … 2301 2398 for ac_prog in ginstall scoinst install; do 2302 2399 for ac_exec_ext in '' $ac_executable_extensions; do 2303 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then2304 if test $ac_prog = install &&2305 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2306 # AIX install. It has an incompatible calling convention.2307 :2308 elif test $ac_prog = install &&2309 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then2310 # program-specific install script used by HP pwplus--don't use.2311 :2312 else2313 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"2314 break 32315 fi2316 fi2400 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2401 if test $ac_prog = install && 2402 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2403 # AIX install. It has an incompatible calling convention. 2404 : 2405 elif test $ac_prog = install && 2406 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2407 # program-specific install script used by HP pwplus--don't use. 2408 : 2409 else 2410 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2411 break 3 2412 fi 2413 fi 2317 2414 done 2318 2415 done … … 2346 2443 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2347 2444 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 2348 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y, ./+-,__p_,'`2445 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 2349 2446 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 2350 2447 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2466 2563 # not just through cpp. "Syntax error" is here to catch this case. 2467 2564 cat >conftest.$ac_ext <<_ACEOF 2468 #line $LINENO "configure"2469 2565 /* confdefs.h. */ 2470 2566 _ACEOF … … 2477 2573 # include <assert.h> 2478 2574 #endif 2479 Syntax error2575 Syntax error 2480 2576 _ACEOF 2481 2577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 2489 2585 if test -s conftest.err; then 2490 2586 ac_cpp_err=$ac_c_preproc_warn_flag 2587 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2491 2588 else 2492 2589 ac_cpp_err= … … 2509 2606 # can be detected and how. 2510 2607 cat >conftest.$ac_ext <<_ACEOF 2511 #line $LINENO "configure"2512 2608 /* confdefs.h. */ 2513 2609 _ACEOF … … 2527 2623 if test -s conftest.err; then 2528 2624 ac_cpp_err=$ac_c_preproc_warn_flag 2625 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2529 2626 else 2530 2627 ac_cpp_err= … … 2573 2670 # not just through cpp. "Syntax error" is here to catch this case. 2574 2671 cat >conftest.$ac_ext <<_ACEOF 2575 #line $LINENO "configure"2576 2672 /* confdefs.h. */ 2577 2673 _ACEOF … … 2584 2680 # include <assert.h> 2585 2681 #endif 2586 Syntax error2682 Syntax error 2587 2683 _ACEOF 2588 2684 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 2596 2692 if test -s conftest.err; then 2597 2693 ac_cpp_err=$ac_c_preproc_warn_flag 2694 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2598 2695 else 2599 2696 ac_cpp_err= … … 2616 2713 # can be detected and how. 2617 2714 cat >conftest.$ac_ext <<_ACEOF 2618 #line $LINENO "configure"2619 2715 /* confdefs.h. */ 2620 2716 _ACEOF … … 2634 2730 if test -s conftest.err; then 2635 2731 ac_cpp_err=$ac_c_preproc_warn_flag 2732 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2636 2733 else 2637 2734 ac_cpp_err= … … 2691 2788 if test -s conftest.err; then 2692 2789 ac_cpp_err=$ac_c_preproc_warn_flag 2790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2693 2791 else 2694 2792 ac_cpp_err= … … 2726 2824 else 2727 2825 cat >conftest.$ac_ext <<_ACEOF 2728 #line $LINENO "configure"2729 2826 /* confdefs.h. */ 2730 2827 _ACEOF … … 2732 2829 cat >>conftest.$ac_ext <<_ACEOF 2733 2830 /* end confdefs.h. */ 2831 /* Define pow to an innocuous variant, in case <limits.h> declares pow. 2832 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2833 #define pow innocuous_pow 2834 2734 2835 /* System header to define __stub macros and hopefully few prototypes, 2735 2836 which can conflict with char pow (); below. 2736 2837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2737 2838 <limits.h> exists even on freestanding compilers. */ 2839 2738 2840 #ifdef __STDC__ 2739 2841 # include <limits.h> … … 2741 2843 # include <assert.h> 2742 2844 #endif 2845 2846 #undef pow 2847 2743 2848 /* Override any gcc2 internal prototype to avoid an error. */ 2744 2849 #ifdef __cplusplus … … 2771 2876 rm -f conftest.$ac_objext conftest$ac_exeext 2772 2877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2773 (eval $ac_link) 2>&5 2774 ac_status=$? 2878 (eval $ac_link) 2>conftest.er1 2879 ac_status=$? 2880 grep -v '^ *+' conftest.er1 >conftest.err 2881 rm -f conftest.er1 2882 cat conftest.err >&5 2775 2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2776 2884 (exit $ac_status); } && 2777 { ac_try='test -s conftest$ac_exeext' 2885 { ac_try='test -z "$ac_c_werror_flag" 2886 || test ! -s conftest.err' 2887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2888 (eval $ac_try) 2>&5 2889 ac_status=$? 2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2891 (exit $ac_status); }; } && 2892 { ac_try='test -s conftest$ac_exeext' 2778 2893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2779 2894 (eval $ac_try) 2>&5 … … 2788 2903 ac_cv_func_pow=no 2789 2904 fi 2790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2905 rm -f conftest.err conftest.$ac_objext \ 2906 conftest$ac_exeext conftest.$ac_ext 2791 2907 fi 2792 2908 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 … … 2804 2920 LIBS="-lm $LIBS" 2805 2921 cat >conftest.$ac_ext <<_ACEOF 2806 #line $LINENO "configure"2807 2922 /* confdefs.h. */ 2808 2923 _ACEOF … … 2822 2937 rm -f conftest.$ac_objext conftest$ac_exeext 2823 2938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2824 (eval $ac_link) 2>&5 2825 ac_status=$? 2939 (eval $ac_link) 2>conftest.er1 2940 ac_status=$? 2941 grep -v '^ *+' conftest.er1 >conftest.err 2942 rm -f conftest.er1 2943 cat conftest.err >&5 2826 2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2827 2945 (exit $ac_status); } && 2828 { ac_try='test -s conftest$ac_exeext' 2946 { ac_try='test -z "$ac_c_werror_flag" 2947 || test ! -s conftest.err' 2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2949 (eval $ac_try) 2>&5 2950 ac_status=$? 2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2952 (exit $ac_status); }; } && 2953 { ac_try='test -s conftest$ac_exeext' 2829 2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2830 2955 (eval $ac_try) 2>&5 … … 2839 2964 ac_cv_lib_m_main=no 2840 2965 fi 2841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2966 rm -f conftest.err conftest.$ac_objext \ 2967 conftest$ac_exeext conftest.$ac_ext 2842 2968 LIBS=$ac_check_lib_save_LIBS 2843 2969 fi … … 2862 2988 else 2863 2989 cat >conftest.$ac_ext <<_ACEOF 2864 #line $LINENO "configure"2865 2990 /* confdefs.h. */ 2866 2991 _ACEOF … … 2868 2993 cat >>conftest.$ac_ext <<_ACEOF 2869 2994 /* end confdefs.h. */ 2995 /* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt. 2996 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2997 #define setsockopt innocuous_setsockopt 2998 2870 2999 /* System header to define __stub macros and hopefully few prototypes, 2871 3000 which can conflict with char setsockopt (); below. 2872 3001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2873 3002 <limits.h> exists even on freestanding compilers. */ 3003 2874 3004 #ifdef __STDC__ 2875 3005 # include <limits.h> … … 2877 3007 # include <assert.h> 2878 3008 #endif 3009 3010 #undef setsockopt 3011 2879 3012 /* Override any gcc2 internal prototype to avoid an error. */ 2880 3013 #ifdef __cplusplus … … 2907 3040 rm -f conftest.$ac_objext conftest$ac_exeext 2908 3041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2909 (eval $ac_link) 2>&5 2910 ac_status=$? 3042 (eval $ac_link) 2>conftest.er1 3043 ac_status=$? 3044 grep -v '^ *+' conftest.er1 >conftest.err 3045 rm -f conftest.er1 3046 cat conftest.err >&5 2911 3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2912 3048 (exit $ac_status); } && 2913 { ac_try='test -s conftest$ac_exeext' 3049 { ac_try='test -z "$ac_c_werror_flag" 3050 || test ! -s conftest.err' 3051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3052 (eval $ac_try) 2>&5 3053 ac_status=$? 3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3055 (exit $ac_status); }; } && 3056 { ac_try='test -s conftest$ac_exeext' 2914 3057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2915 3058 (eval $ac_try) 2>&5 … … 2924 3067 ac_cv_func_setsockopt=no 2925 3068 fi 2926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3069 rm -f conftest.err conftest.$ac_objext \ 3070 conftest$ac_exeext conftest.$ac_ext 2927 3071 fi 2928 3072 echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 … … 2940 3084 LIBS="-lsocket $LIBS" 2941 3085 cat >conftest.$ac_ext <<_ACEOF 2942 #line $LINENO "configure"2943 3086 /* confdefs.h. */ 2944 3087 _ACEOF … … 2964 3107 rm -f conftest.$ac_objext conftest$ac_exeext 2965 3108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2966 (eval $ac_link) 2>&5 2967 ac_status=$? 3109 (eval $ac_link) 2>conftest.er1 3110 ac_status=$? 3111 grep -v '^ *+' conftest.er1 >conftest.err 3112 rm -f conftest.er1 3113 cat conftest.err >&5 2968 3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2969 3115 (exit $ac_status); } && 2970 { ac_try='test -s conftest$ac_exeext' 3116 { ac_try='test -z "$ac_c_werror_flag" 3117 || test ! -s conftest.err' 3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3119 (eval $ac_try) 2>&5 3120 ac_status=$? 3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3122 (exit $ac_status); }; } && 3123 { ac_try='test -s conftest$ac_exeext' 2971 3124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2972 3125 (eval $ac_try) 2>&5 … … 2981 3134 ac_cv_lib_socket_setsockopt=no 2982 3135 fi 2983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3136 rm -f conftest.err conftest.$ac_objext \ 3137 conftest$ac_exeext conftest.$ac_ext 2984 3138 LIBS=$ac_check_lib_save_LIBS 2985 3139 fi … … 3004 3158 else 3005 3159 cat >conftest.$ac_ext <<_ACEOF 3006 #line $LINENO "configure"3007 3160 /* confdefs.h. */ 3008 3161 _ACEOF … … 3010 3163 cat >>conftest.$ac_ext <<_ACEOF 3011 3164 /* end confdefs.h. */ 3165 /* Define gethostent to an innocuous variant, in case <limits.h> declares gethostent. 3166 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3167 #define gethostent innocuous_gethostent
