|
|
@@ -1,5 +1,5 @@
|
|
|
#! /bin/sh
|
|
|
-# From configure.ac Revision: 1.2 .
|
|
|
+# From configure.ac Revision: 1.3 .
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
# Generated by GNU Autoconf 2.59.
|
|
|
#
|
|
|
@@ -5263,155 +5263,6 @@ _ACEOF
|
|
|
|
|
|
fi
|
|
|
|
|
|
-
|
|
|
-for ac_header in sys/time.h
|
|
|
-do
|
|
|
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
- echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
|
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
- echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
-fi
|
|
|
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
|
-else
|
|
|
- # Is the header compilable?
|
|
|
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
|
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
|
-cat >conftest.$ac_ext <<_ACEOF
|
|
|
-/* confdefs.h. */
|
|
|
-_ACEOF
|
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
|
-/* end confdefs.h. */
|
|
|
-$ac_includes_default
|
|
|
-#include <$ac_header>
|
|
|
-_ACEOF
|
|
|
-rm -f conftest.$ac_objext
|
|
|
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>conftest.er1
|
|
|
- ac_status=$?
|
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
- rm -f conftest.er1
|
|
|
- cat conftest.err >&5
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
- (exit $ac_status); } &&
|
|
|
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
|
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
- (eval $ac_try) 2>&5
|
|
|
- ac_status=$?
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
- (exit $ac_status); }; } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
- (eval $ac_try) 2>&5
|
|
|
- ac_status=$?
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
- (exit $ac_status); }; }; then
|
|
|
- ac_header_compiler=yes
|
|
|
-else
|
|
|
- echo "$as_me: failed program was:" >&5
|
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
-
|
|
|
-ac_header_compiler=no
|
|
|
-fi
|
|
|
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
|
-echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
-
|
|
|
-# Is the header present?
|
|
|
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
|
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
|
-cat >conftest.$ac_ext <<_ACEOF
|
|
|
-/* confdefs.h. */
|
|
|
-_ACEOF
|
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <$ac_header>
|
|
|
-_ACEOF
|
|
|
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
|
- ac_status=$?
|
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
- rm -f conftest.er1
|
|
|
- cat conftest.err >&5
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
- (exit $ac_status); } >/dev/null; then
|
|
|
- if test -s conftest.err; then
|
|
|
- ac_cpp_err=$ac_c_preproc_warn_flag
|
|
|
- ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
|
- else
|
|
|
- ac_cpp_err=
|
|
|
- fi
|
|
|
-else
|
|
|
- ac_cpp_err=yes
|
|
|
-fi
|
|
|
-if test -z "$ac_cpp_err"; then
|
|
|
- ac_header_preproc=yes
|
|
|
-else
|
|
|
- echo "$as_me: failed program was:" >&5
|
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
-
|
|
|
- ac_header_preproc=no
|
|
|
-fi
|
|
|
-rm -f conftest.err conftest.$ac_ext
|
|
|
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
|
-echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
-
|
|
|
-# So? What about this header?
|
|
|
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
|
- yes:no: )
|
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
|
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
|
- ac_header_preproc=yes
|
|
|
- ;;
|
|
|
- no:yes:* )
|
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
|
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
|
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
|
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
|
-echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
|
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
|
- (
|
|
|
- cat <<\_ASBOX
|
|
|
-## ------------------------------------------ ##
|
|
|
-## Report this to the AC_PACKAGE_NAME lists. ##
|
|
|
-## ------------------------------------------ ##
|
|
|
-_ASBOX
|
|
|
- ) |
|
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
|
- ;;
|
|
|
-esac
|
|
|
-echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
|
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
- echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
-else
|
|
|
- eval "$as_ac_Header=\$ac_header_preproc"
|
|
|
-fi
|
|
|
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
|
-
|
|
|
-fi
|
|
|
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
|
- cat >>confdefs.h <<_ACEOF
|
|
|
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
|
-_ACEOF
|
|
|
-
|
|
|
-fi
|
|
|
-
|
|
|
-done
|
|
|
-
|
|
|
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
|
|
|
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
|
|
|
if test "${ac_cv_header_time+set}" = set; then
|
|
|
@@ -5474,10 +5325,128 @@ cat >>confdefs.h <<\_ACEOF
|
|
|
#define TIME_WITH_SYS_TIME 1
|
|
|
_ACEOF
|
|
|
|
|
|
-fi
|
|
|
+fi
|
|
|
+
|
|
|
+echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
|
|
|
+echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
|
|
|
+if test "${ac_cv_header_stat_broken+set}" = set; then
|
|
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
+else
|
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
+/* confdefs.h. */
|
|
|
+_ACEOF
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
+/* end confdefs.h. */
|
|
|
+#include <sys/types.h>
|
|
|
+#include <sys/stat.h>
|
|
|
+
|
|
|
+#if defined(S_ISBLK) && defined(S_IFDIR)
|
|
|
+# if S_ISBLK (S_IFDIR)
|
|
|
+You lose.
|
|
|
+# endif
|
|
|
+#endif
|
|
|
+
|
|
|
+#if defined(S_ISBLK) && defined(S_IFCHR)
|
|
|
+# if S_ISBLK (S_IFCHR)
|
|
|
+You lose.
|
|
|
+# endif
|
|
|
+#endif
|
|
|
+
|
|
|
+#if defined(S_ISLNK) && defined(S_IFREG)
|
|
|
+# if S_ISLNK (S_IFREG)
|
|
|
+You lose.
|
|
|
+# endif
|
|
|
+#endif
|
|
|
+
|
|
|
+#if defined(S_ISSOCK) && defined(S_IFREG)
|
|
|
+# if S_ISSOCK (S_IFREG)
|
|
|
+You lose.
|
|
|
+# endif
|
|
|
+#endif
|
|
|
+
|
|
|
+_ACEOF
|
|
|
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
+ $EGREP "You lose" >/dev/null 2>&1; then
|
|
|
+ ac_cv_header_stat_broken=yes
|
|
|
+else
|
|
|
+ ac_cv_header_stat_broken=no
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
|
|
|
+echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
|
|
|
+if test $ac_cv_header_stat_broken = yes; then
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
+#define STAT_MACROS_BROKEN 1
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+#checkpoint
|
|
|
+cat >confcache <<\_ACEOF
|
|
|
+# This file is a shell script that caches the results of configure
|
|
|
+# tests run on this system so they can be shared between configure
|
|
|
+# scripts and configure runs, see configure's option --config-cache.
|
|
|
+# It is not useful on other systems. If it contains results you don't
|
|
|
+# want to keep, you may remove or edit it.
|
|
|
+#
|
|
|
+# config.status only pays attention to the cache file if you give it
|
|
|
+# the --recheck option to rerun configure.
|
|
|
+#
|
|
|
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|
|
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|
|
+# following values.
|
|
|
+
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+# The following way of writing the cache mishandles newlines in values,
|
|
|
+# but we know of no workaround that is simple, portable, and efficient.
|
|
|
+# So, don't put newlines in cache variables' values.
|
|
|
+# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
|
+# and sets the high bit in the cache file unless we assign to the vars.
|
|
|
+{
|
|
|
+ (set) 2>&1 |
|
|
|
+ case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|
|
+ *ac_space=\ *)
|
|
|
+ # `set' does not quote correctly, so add quotes (double-quote
|
|
|
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
|
+ sed -n \
|
|
|
+ "s/'/'\\\\''/g;
|
|
|
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
|
+ ;;
|
|
|
+ *)
|
|
|
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
|
+ sed -n \
|
|
|
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
|
+ ;;
|
|
|
+ esac;
|
|
|
+} |
|
|
|
+ sed '
|
|
|
+ t clear
|
|
|
+ : clear
|
|
|
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
|
+ t end
|
|
|
+ /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
|
+ : end' >>confcache
|
|
|
+if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
|
|
+ if test -w $cache_file; then
|
|
|
+ test "x$cache_file" != "x/dev/null"
|
|
|
+ cat confcache >$cache_file
|
|
|
+ else
|
|
|
+ echo "not updating unwritable cache $cache_file"
|
|
|
+ fi
|
|
|
+fi
|
|
|
+rm -f confcache
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
-for ac_header in zlib.h
|
|
|
+
|
|
|
+
|
|
|
+for ac_header in arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h
|
|
|
do
|
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
@@ -5625,31 +5594,12 @@ fi
|
|
|
|
|
|
done
|
|
|
|
|
|
-if test "x${ZLIB}" = x; then
|
|
|
- cat >&2 <<EOF
|
|
|
-configure: error:
|
|
|
-
|
|
|
- Your system does not provide a working zlib compression library.
|
|
|
- It is required.
|
|
|
-
|
|
|
-EOF
|
|
|
- exit 1
|
|
|
-else
|
|
|
- if test "${ac_cv_header_zlib_h}" != yes; then
|
|
|
- cat >&2 <<EOF
|
|
|
-configure: error:
|
|
|
|
|
|
- Your system does not provide the necessary zlib header file.
|
|
|
- It is required.
|
|
|
|
|
|
-EOF
|
|
|
- exit 1
|
|
|
- fi
|
|
|
-fi
|
|
|
|
|
|
|
|
|
|
|
|
-for ac_header in openssl/ssl.h openssl/crypto.h
|
|
|
+for ac_header in sys/file.h sys/ioctl.h sys/param.h sys/socket.h wchar.h
|
|
|
do
|
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
@@ -5797,28 +5747,6 @@ fi
|
|
|
|
|
|
done
|
|
|
|
|
|
-if test "x${SSL}" = x; then
|
|
|
- cat >&2 <<EOF
|
|
|
-configure: error:
|
|
|
-
|
|
|
- Your system does not provide a working ssl library.
|
|
|
- It is required. Download openssl at www.openssl.org
|
|
|
-
|
|
|
-EOF
|
|
|
- exit 1
|
|
|
-else
|
|
|
- if test "${ac_cv_header_openssl_ssl_h}" != yes; then
|
|
|
- cat >&2 <<EOF
|
|
|
-configure: error:
|
|
|
-
|
|
|
- Your system does not provide the necessary ssl header file.
|
|
|
- It is required. Download openssl at www.openssl.org
|
|
|
-
|
|
|
-EOF
|
|
|
- exit 1
|
|
|
- fi
|
|
|
-fi
|
|
|
-
|
|
|
|
|
|
#checkpoint
|
|
|
cat >confcache <<\_ACEOF
|
|
|
@@ -5877,16 +5805,7 @@ fi
|
|
|
rm -f confcache
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-for ac_header in arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stddef.h stdlib.h string.h
|
|
|
+for ac_header in openssl/ssl.h openssl/crypto.h
|
|
|
do
|
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
@@ -6035,13 +5954,7 @@ fi
|
|
|
done
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-for ac_header in strings.h sys/file.h sys/ioctl.h sys/param.h sys/socket.h unistd.h wchar.h
|
|
|
+for ac_header in zlib.h
|
|
|
do
|
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
@@ -6189,65 +6102,54 @@ fi
|
|
|
|
|
|
done
|
|
|
|
|
|
+if test "x${ZLIB}" = x; then
|
|
|
+ cat >&2 <<EOF
|
|
|
+configure: error:
|
|
|
|
|
|
+ Your system does not provide a working zlib compression library.
|
|
|
+ It is required.
|
|
|
|
|
|
+EOF
|
|
|
+ exit 1
|
|
|
+else
|
|
|
+ if test "${ac_cv_header_zlib_h}" != yes; then
|
|
|
+ cat >&2 <<EOF
|
|
|
+configure: error:
|
|
|
|
|
|
+ Your system does not provide the necessary zlib header file.
|
|
|
+ It is required.
|
|
|
|
|
|
-#checkpoint
|
|
|
-cat >confcache <<\_ACEOF
|
|
|
-# This file is a shell script that caches the results of configure
|
|
|
-# tests run on this system so they can be shared between configure
|
|
|
-# scripts and configure runs, see configure's option --config-cache.
|
|
|
-# It is not useful on other systems. If it contains results you don't
|
|
|
-# want to keep, you may remove or edit it.
|
|
|
-#
|
|
|
-# config.status only pays attention to the cache file if you give it
|
|
|
-# the --recheck option to rerun configure.
|
|
|
-#
|
|
|
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|
|
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|
|
-# following values.
|
|
|
+EOF
|
|
|
+ exit 1
|
|
|
+ fi
|
|
|
+fi
|
|
|
|
|
|
-_ACEOF
|
|
|
+if test "x${SSL}" = x; then
|
|
|
+ cat >&2 <<EOF
|
|
|
+configure: error:
|
|
|
|
|
|
-# The following way of writing the cache mishandles newlines in values,
|
|
|
-# but we know of no workaround that is simple, portable, and efficient.
|
|
|
-# So, don't put newlines in cache variables' values.
|
|
|
-# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
|
-# and sets the high bit in the cache file unless we assign to the vars.
|
|
|
-{
|
|
|
- (set) 2>&1 |
|
|
|
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|
|
- *ac_space=\ *)
|
|
|
- # `set' does not quote correctly, so add quotes (double-quote
|
|
|
- # substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
|
- sed -n \
|
|
|
- "s/'/'\\\\''/g;
|
|
|
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
|
- ;;
|
|
|
- *)
|
|
|
- # `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
|
- sed -n \
|
|
|
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
|
- ;;
|
|
|
- esac;
|
|
|
-} |
|
|
|
- sed '
|
|
|
- t clear
|
|
|
- : clear
|
|
|
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|
|
- t end
|
|
|
- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
|
- : end' >>confcache
|
|
|
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
|
|
- if test -w $cache_file; then
|
|
|
- test "x$cache_file" != "x/dev/null"
|
|
|
- cat confcache >$cache_file
|
|
|
- else
|
|
|
- echo "not updating unwritable cache $cache_file"
|
|
|
+ Your system does not provide a working ssl library.
|
|
|
+ It is required. Download openssl at www.openssl.org
|
|
|
+
|
|
|
+EOF
|
|
|
+ exit 1
|
|
|
+else
|
|
|
+ if test "${ac_cv_header_openssl_ssl_h}" != yes; then
|
|
|
+ cat >&2 <<EOF
|
|
|
+configure: error:
|
|
|
+
|
|
|
+ Your system does not provide the necessary ssl header file.
|
|
|
+ It is required. Download openssl at www.openssl.org
|
|
|
+
|
|
|
+EOF
|
|
|
+ exit 1
|
|
|
fi
|
|
|
fi
|
|
|
-rm -f confcache
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics
|
|
|
echo "$as_me:$LINENO: checking for pid_t" >&5
|
|
|
@@ -6380,6 +6282,45 @@ _ACEOF
|
|
|
|
|
|
fi
|
|
|
|
|
|
+echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
|
|
|
+echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
|
|
|
+if test "${ac_cv_type_uid_t+set}" = set; then
|
|
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
+else
|
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
+/* confdefs.h. */
|
|
|
+_ACEOF
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
+/* end confdefs.h. */
|
|
|
+#include <sys/types.h>
|
|
|
+
|
|
|
+_ACEOF
|
|
|
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
+ $EGREP "uid_t" >/dev/null 2>&1; then
|
|
|
+ ac_cv_type_uid_t=yes
|
|
|
+else
|
|
|
+ ac_cv_type_uid_t=no
|
|
|
+fi
|
|
|
+rm -f conftest*
|
|
|
+
|
|
|
+fi
|
|
|
+echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
|
|
|
+echo "${ECHO_T}$ac_cv_type_uid_t" >&6
|
|
|
+if test $ac_cv_type_uid_t = no; then
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
+#define uid_t int
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+
|
|
|
+cat >>confdefs.h <<\_ACEOF
|
|
|
+#define gid_t int
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+fi
|
|
|
+
|
|
|
+
|
|
|
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
|
|
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
|
|
|
if test "${ac_cv_c_const+set}" = set; then
|
|
|
@@ -7694,81 +7635,23 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
- (exit $ac_status); }; }; then
|
|
|
- ac_cv_c_volatile=yes
|
|
|
-else
|
|
|
- echo "$as_me: failed program was:" >&5
|
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
-
|
|
|
-ac_cv_c_volatile=no
|
|
|
-fi
|
|
|
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
-fi
|
|
|
-echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
|
|
|
-echo "${ECHO_T}$ac_cv_c_volatile" >&6
|
|
|
-if test $ac_cv_c_volatile = no; then
|
|
|
-
|
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
|
-#define volatile
|
|
|
-_ACEOF
|
|
|
-
|
|
|
-fi
|
|
|
-
|
|
|
-echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
|
|
|
-echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
|
|
|
-if test "${ac_cv_header_stat_broken+set}" = set; then
|
|
|
- echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
-else
|
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
|
-/* confdefs.h. */
|
|
|
-_ACEOF
|
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <sys/types.h>
|
|
|
-#include <sys/stat.h>
|
|
|
-
|
|
|
-#if defined(S_ISBLK) && defined(S_IFDIR)
|
|
|
-# if S_ISBLK (S_IFDIR)
|
|
|
-You lose.
|
|
|
-# endif
|
|
|
-#endif
|
|
|
-
|
|
|
-#if defined(S_ISBLK) && defined(S_IFCHR)
|
|
|
-# if S_ISBLK (S_IFCHR)
|
|
|
-You lose.
|
|
|
-# endif
|
|
|
-#endif
|
|
|
-
|
|
|
-#if defined(S_ISLNK) && defined(S_IFREG)
|
|
|
-# if S_ISLNK (S_IFREG)
|
|
|
-You lose.
|
|
|
-# endif
|
|
|
-#endif
|
|
|
-
|
|
|
-#if defined(S_ISSOCK) && defined(S_IFREG)
|
|
|
-# if S_ISSOCK (S_IFREG)
|
|
|
-You lose.
|
|
|
-# endif
|
|
|
-#endif
|
|
|
-
|
|
|
-_ACEOF
|
|
|
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
- $EGREP "You lose" >/dev/null 2>&1; then
|
|
|
- ac_cv_header_stat_broken=yes
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; }; then
|
|
|
+ ac_cv_c_volatile=yes
|
|
|
else
|
|
|
- ac_cv_header_stat_broken=no
|
|
|
-fi
|
|
|
-rm -f conftest*
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
+ac_cv_c_volatile=no
|
|
|
fi
|
|
|
-echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
|
|
|
-echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
|
|
|
-if test $ac_cv_header_stat_broken = yes; then
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
+fi
|
|
|
+echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
|
|
|
+echo "${ECHO_T}$ac_cv_c_volatile" >&6
|
|
|
+if test $ac_cv_c_volatile = no; then
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
|
-#define STAT_MACROS_BROKEN 1
|
|
|
+#define volatile
|
|
|
_ACEOF
|
|
|
|
|
|
fi
|
|
|
@@ -8134,44 +8017,6 @@ _ACEOF
|
|
|
|
|
|
fi
|
|
|
|
|
|
-echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
|
|
|
-echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
|
|
|
-if test "${ac_cv_type_uid_t+set}" = set; then
|
|
|
- echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
-else
|
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
|
-/* confdefs.h. */
|
|
|
-_ACEOF
|
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
|
-/* end confdefs.h. */
|
|
|
-#include <sys/types.h>
|
|
|
-
|
|
|
-_ACEOF
|
|
|
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
- $EGREP "uid_t" >/dev/null 2>&1; then
|
|
|
- ac_cv_type_uid_t=yes
|
|
|
-else
|
|
|
- ac_cv_type_uid_t=no
|
|
|
-fi
|
|
|
-rm -f conftest*
|
|
|
-
|
|
|
-fi
|
|
|
-echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
|
|
|
-echo "${ECHO_T}$ac_cv_type_uid_t" >&6
|
|
|
-if test $ac_cv_type_uid_t = no; then
|
|
|
-
|
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
|
-#define uid_t int
|
|
|
-_ACEOF
|
|
|
-
|
|
|
-
|
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
|
-#define gid_t int
|
|
|
-_ACEOF
|
|
|
-
|
|
|
-fi
|
|
|
-
|
|
|
|
|
|
#checkpoint
|
|
|
cat >confcache <<\_ACEOF
|
|
|
@@ -10987,8 +10832,105 @@ rm -f confcache
|
|
|
|
|
|
|
|
|
|
|
|
+for ac_func in clock dlopen dprintf fsync getdtablesize getrusage inet_aton isascii gethostbyname2
|
|
|
+do
|
|
|
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
+echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
|
|
+if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
+else
|
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
+/* confdefs.h. */
|
|
|
+_ACEOF
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
+/* end confdefs.h. */
|
|
|
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
+#define $ac_func innocuous_$ac_func
|
|
|
+
|
|
|
+/* System header to define __stub macros and hopefully few prototypes,
|
|
|
+ which can conflict with char $ac_func (); below.
|
|
|
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
+ <limits.h> exists even on freestanding compilers. */
|
|
|
+
|
|
|
+#ifdef __STDC__
|
|
|
+# include <limits.h>
|
|
|
+#else
|
|
|
+# include <assert.h>
|
|
|
+#endif
|
|
|
+
|
|
|
+#undef $ac_func
|
|
|
+
|
|
|
+/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
+#ifdef __cplusplus
|
|
|
+extern "C"
|
|
|
+{
|
|
|
+#endif
|
|
|
+/* We use char because int might match the return type of a gcc2
|
|
|
+ builtin and then its argument prototype would still apply. */
|
|
|
+char $ac_func ();
|
|
|
+/* The GNU C library defines this for functions which it implements
|
|
|
+ to always fail with ENOSYS. Some functions are actually named
|
|
|
+ something starting with __ and the normal name is an alias. */
|
|
|
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
|
+choke me
|
|
|
+#else
|
|
|
+char (*f) () = $ac_func;
|
|
|
+#endif
|
|
|
+#ifdef __cplusplus
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
+int
|
|
|
+main ()
|
|
|
+{
|
|
|
+return f != $ac_func;
|
|
|
+ ;
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+_ACEOF
|
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
|
+ (eval $ac_link) 2>conftest.er1
|
|
|
+ ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); } &&
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest$ac_exeext'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; }; then
|
|
|
+ eval "$as_ac_var=yes"
|
|
|
+else
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
+eval "$as_ac_var=no"
|
|
|
+fi
|
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
+fi
|
|
|
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|
|
+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|
|
+if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
|
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
|
+_ACEOF
|
|
|
|
|
|
+fi
|
|
|
+done
|
|
|
|
|
|
|
|
|
|
|
|
@@ -11000,7 +10942,7 @@ rm -f confcache
|
|
|
|
|
|
|
|
|
|
|
|
-for ac_func in clock dlopen dprintf fsync getdtablesize getrusage inet_aton isascii gethostbyname2 getipnodebyname memcpy memset random rename setpgid sigaction sigemptyset snprintf srandom strcasecmp strncasecmp vsnprintf
|
|
|
+for ac_func in getipnodebyname memcpy memset random rename setpgid sigaction sigemptyset snprintf srandom
|
|
|
do
|
|
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
@@ -11155,6 +11097,110 @@ if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
|
|
fi
|
|
|
fi
|
|
|
rm -f confcache
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+for ac_func in strcasecmp strncasecmp vsnprintf
|
|
|
+do
|
|
|
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
+echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
|
|
+if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
+else
|
|
|
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
+/* confdefs.h. */
|
|
|
+_ACEOF
|
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
+/* end confdefs.h. */
|
|
|
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
+#define $ac_func innocuous_$ac_func
|
|
|
+
|
|
|
+/* System header to define __stub macros and hopefully few prototypes,
|
|
|
+ which can conflict with char $ac_func (); below.
|
|
|
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
+ <limits.h> exists even on freestanding compilers. */
|
|
|
+
|
|
|
+#ifdef __STDC__
|
|
|
+# include <limits.h>
|
|
|
+#else
|
|
|
+# include <assert.h>
|
|
|
+#endif
|
|
|
+
|
|
|
+#undef $ac_func
|
|
|
+
|
|
|
+/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
+#ifdef __cplusplus
|
|
|
+extern "C"
|
|
|
+{
|
|
|
+#endif
|
|
|
+/* We use char because int might match the return type of a gcc2
|
|
|
+ builtin and then its argument prototype would still apply. */
|
|
|
+char $ac_func ();
|
|
|
+/* The GNU C library defines this for functions which it implements
|
|
|
+ to always fail with ENOSYS. Some functions are actually named
|
|
|
+ something starting with __ and the normal name is an alias. */
|
|
|
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
|
+choke me
|
|
|
+#else
|
|
|
+char (*f) () = $ac_func;
|
|
|
+#endif
|
|
|
+#ifdef __cplusplus
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
+int
|
|
|
+main ()
|
|
|
+{
|
|
|
+return f != $ac_func;
|
|
|
+ ;
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+_ACEOF
|
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
|
+ (eval $ac_link) 2>conftest.er1
|
|
|
+ ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); } &&
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest$ac_exeext'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; }; then
|
|
|
+ eval "$as_ac_var=yes"
|
|
|
+else
|
|
|
+ echo "$as_me: failed program was:" >&5
|
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
+
|
|
|
+eval "$as_ac_var=no"
|
|
|
+fi
|
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
+fi
|
|
|
+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|
|
+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|
|
+if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
|
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+fi
|
|
|
+done
|
|
|
+
|
|
|
+
|
|
|
#autoscan suggested this....
|
|
|
#These are recommended by autoscan, but no code supports it currently
|
|
|
#AC_CHECK_FUNCS([alarm bzero dup2 getcwd gethostbyaddr gethostbyname gethostname getpass gettimeofday inet_ntoa mbrlen mkdir munmap realpath select setlocale socket strchr strerror strpbrk strrchr strstr strtol tzset])
|