|
|
b9abc1 |
diff -up ./configure.in.sql ./configure.in
|
|
|
b9abc1 |
--- ./configure.in.sql 2013-11-14 13:19:19.231000002 +0100
|
|
|
b9abc1 |
+++ ./configure.in 2013-11-14 14:10:44.728997789 +0100
|
|
|
b9abc1 |
@@ -729,7 +729,18 @@ LIB_MYSQL=""
|
|
|
b9abc1 |
|
|
|
b9abc1 |
case "$with_mysql" in
|
|
|
b9abc1 |
no) true;;
|
|
|
b9abc1 |
- notfound) AC_WARN([MySQL Library not found]); true;;
|
|
|
b9abc1 |
+ notfound)
|
|
|
b9abc1 |
+ save_LDFLAGS=$LDFLAGS
|
|
|
b9abc1 |
+ LIB_MYSQL=`mysql_config --libs`
|
|
|
b9abc1 |
+ LIB_MYSQL="-lmysqlclient"
|
|
|
b9abc1 |
+ LDFLAGS="$LDFLAGS $LIB_MYSQL"
|
|
|
b9abc1 |
+ # CPPFLAGS="${CPPFLAGS} `mysql_config --include`"
|
|
|
b9abc1 |
+ AC_CHECK_LIB(mysqlclient, mysql_select_db,
|
|
|
b9abc1 |
+ AC_DEFINE(HAVE_MYSQL, [], [Do we have mysql support?]),
|
|
|
b9abc1 |
+ [AC_WARN([MySQL library mysqlclient does not work])
|
|
|
b9abc1 |
+ with_mysql=no])
|
|
|
b9abc1 |
+ LDFLAGS=$save_LDFLAGS
|
|
|
b9abc1 |
+ ;;
|
|
|
b9abc1 |
*)
|
|
|
b9abc1 |
if test -d ${with_mysql}/lib/mysql; then
|
|
|
b9abc1 |
CMU_ADD_LIBPATH_TO(${with_mysql}/lib/mysql, LIB_MYSQL)
|
|
|
b9abc1 |
@@ -750,6 +761,8 @@ case "$with_mysql" in
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_mysql}/mysql/include"
|
|
|
b9abc1 |
elif test -d ${with_mysql}/include; then
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_mysql}/include"
|
|
|
b9abc1 |
+ elif test -d ${prefix}/include/mysql; then
|
|
|
b9abc1 |
+ CPPFLAGS="${CPPFLAGS} -I${prefix}/include/mysql"
|
|
|
b9abc1 |
else
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_mysql}"
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
@@ -793,7 +806,17 @@ LIB_PGSQL=""
|
|
|
b9abc1 |
|
|
|
b9abc1 |
case "$with_pgsql" in
|
|
|
b9abc1 |
no) true;;
|
|
|
b9abc1 |
- notfound) AC_WARN([PostgreSQL Library not found]); true;;
|
|
|
b9abc1 |
+ notfound)
|
|
|
b9abc1 |
+ LIB_PGSQL="-lpq"
|
|
|
b9abc1 |
+ # CPPFLAGS="${CPPFLAGS} -I`pg_config --includedir`"
|
|
|
b9abc1 |
+ save_LDFLAGS=$LDFLAGS
|
|
|
b9abc1 |
+ LDFLAGS="$LDFLAGS $LIB_PGSQL"
|
|
|
b9abc1 |
+ AC_CHECK_LIB(pq, PQsetdbLogin, AC_DEFINE(HAVE_PGSQL,[],
|
|
|
b9abc1 |
+ [Do we have Postgres support?]),
|
|
|
b9abc1 |
+ [AC_WARN([PostgreSQL Library pq does not work])
|
|
|
b9abc1 |
+ with_pgsql=no])
|
|
|
b9abc1 |
+ LDFLAGS=$save_LDFLAGS
|
|
|
b9abc1 |
+ ;;
|
|
|
b9abc1 |
*)
|
|
|
b9abc1 |
if test -d ${with_pgsql}/lib/pgsql; then
|
|
|
b9abc1 |
CMU_ADD_LIBPATH_TO(${with_pgsql}/lib/pgsql, LIB_PGSQL)
|
|
|
b9abc1 |
@@ -814,6 +837,8 @@ case "$with_pgsql" in
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/pgsql/include"
|
|
|
b9abc1 |
elif test -d ${with_pgsql}/include; then
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include"
|
|
|
b9abc1 |
+ elif test -d ${prefix}/include; then
|
|
|
b9abc1 |
+ CPPFLAGS="${CPPFLAGS} -I${prefix}/include"
|
|
|
b9abc1 |
else
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_pgsql}"
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
diff -up ./configure.sql ./configure
|
|
|
b9abc1 |
--- ./configure.sql 2013-11-14 13:19:19.177000002 +0100
|
|
|
b9abc1 |
+++ ./configure 2013-11-14 14:10:50.848000001 +0100
|
|
|
b9abc1 |
@@ -4340,116 +4340,8 @@ $as_echo "$ac_cv___attribute__" >&6; }
|
|
|
b9abc1 |
|
|
|
b9abc1 |
|
|
|
b9abc1 |
# CMU GUESS RUNPATH SWITCH
|
|
|
b9abc1 |
- { $as_echo "$as_me:$LINENO: checking for runpath switch" >&5
|
|
|
b9abc1 |
-$as_echo_n "checking for runpath switch... " >&6; }
|
|
|
b9abc1 |
-if test "${andrew_cv_runpath_switch+set}" = set; then
|
|
|
b9abc1 |
- $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
-else
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- # first, try -R
|
|
|
b9abc1 |
- SAVE_LDFLAGS="${LDFLAGS}"
|
|
|
b9abc1 |
- LDFLAGS="-R /usr/lib"
|
|
|
b9abc1 |
- cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
-/* confdefs.h. */
|
|
|
b9abc1 |
-_ACEOF
|
|
|
b9abc1 |
-cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
-cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
-/* end confdefs.h. */
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-int
|
|
|
b9abc1 |
-main ()
|
|
|
b9abc1 |
-{
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- ;
|
|
|
b9abc1 |
- return 0;
|
|
|
b9abc1 |
-}
|
|
|
b9abc1 |
-_ACEOF
|
|
|
b9abc1 |
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
b9abc1 |
-if { (ac_try="$ac_link"
|
|
|
b9abc1 |
-case "(($ac_try" in
|
|
|
b9abc1 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
- *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
-esac
|
|
|
b9abc1 |
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
-$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
- (eval "$ac_link") 2>conftest.er1
|
|
|
b9abc1 |
- ac_status=$?
|
|
|
b9abc1 |
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
- rm -f conftest.er1
|
|
|
b9abc1 |
- cat conftest.err >&5
|
|
|
b9abc1 |
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
- (exit $ac_status); } && {
|
|
|
b9abc1 |
- test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
- test ! -s conftest.err
|
|
|
b9abc1 |
- } && test -s conftest$ac_exeext && {
|
|
|
b9abc1 |
- test "$cross_compiling" = yes ||
|
|
|
b9abc1 |
- $as_test_x conftest$ac_exeext
|
|
|
b9abc1 |
- }; then
|
|
|
b9abc1 |
- andrew_cv_runpath_switch="-R"
|
|
|
b9abc1 |
-else
|
|
|
b9abc1 |
- $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- LDFLAGS="-Wl,-rpath,/usr/lib"
|
|
|
b9abc1 |
- cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
-/* confdefs.h. */
|
|
|
b9abc1 |
-_ACEOF
|
|
|
b9abc1 |
-cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
-cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
-/* end confdefs.h. */
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-int
|
|
|
b9abc1 |
-main ()
|
|
|
b9abc1 |
-{
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- ;
|
|
|
b9abc1 |
- return 0;
|
|
|
b9abc1 |
-}
|
|
|
b9abc1 |
-_ACEOF
|
|
|
b9abc1 |
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
b9abc1 |
-if { (ac_try="$ac_link"
|
|
|
b9abc1 |
-case "(($ac_try" in
|
|
|
b9abc1 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
- *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
-esac
|
|
|
b9abc1 |
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
-$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
- (eval "$ac_link") 2>conftest.er1
|
|
|
b9abc1 |
- ac_status=$?
|
|
|
b9abc1 |
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
- rm -f conftest.er1
|
|
|
b9abc1 |
- cat conftest.err >&5
|
|
|
b9abc1 |
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
- (exit $ac_status); } && {
|
|
|
b9abc1 |
- test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
- test ! -s conftest.err
|
|
|
b9abc1 |
- } && test -s conftest$ac_exeext && {
|
|
|
b9abc1 |
- test "$cross_compiling" = yes ||
|
|
|
b9abc1 |
- $as_test_x conftest$ac_exeext
|
|
|
b9abc1 |
- }; then
|
|
|
b9abc1 |
- andrew_cv_runpath_switch="-Wl,-rpath,"
|
|
|
b9abc1 |
-else
|
|
|
b9abc1 |
- $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- andrew_cv_runpath_switch="none"
|
|
|
b9abc1 |
-fi
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-rm -rf conftest.dSYM
|
|
|
b9abc1 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
b9abc1 |
- conftest$ac_exeext conftest.$ac_ext
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-fi
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-rm -rf conftest.dSYM
|
|
|
b9abc1 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
b9abc1 |
- conftest$ac_exeext conftest.$ac_ext
|
|
|
b9abc1 |
- LDFLAGS="${SAVE_LDFLAGS}"
|
|
|
b9abc1 |
+ andrew_runpath_switch="none"
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-fi
|
|
|
b9abc1 |
-{ $as_echo "$as_me:$LINENO: result: $andrew_cv_runpath_switch" >&5
|
|
|
b9abc1 |
-$as_echo "$andrew_cv_runpath_switch" >&6; }
|
|
|
b9abc1 |
|
|
|
b9abc1 |
|
|
|
b9abc1 |
# Check whether --with-staticsasl was given.
|
|
|
b9abc1 |
@@ -4784,7 +4676,7 @@ test x"$silent" = xyes && libtool_flags=
|
|
|
b9abc1 |
case "$lt_target" in
|
|
|
b9abc1 |
*-*-irix6*)
|
|
|
b9abc1 |
# Find out which ABI we are using.
|
|
|
b9abc1 |
- echo '#line 4787 "configure"' > conftest.$ac_ext
|
|
|
b9abc1 |
+ echo '#line 4679 "configure"' > conftest.$ac_ext
|
|
|
b9abc1 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
b9abc1 |
(eval $ac_compile) 2>&5
|
|
|
b9abc1 |
ac_status=$?
|
|
|
b9abc1 |
@@ -11239,7 +11131,6 @@ $as_echo "$cyrus_krbinclude" >&6; }
|
|
|
b9abc1 |
if test -n "${cyrus_krbinclude}"; then
|
|
|
b9abc1 |
CPPFLAGS="$CPPFLAGS -I${cyrus_krbinclude}"
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
- LDFLAGS="$LDFLAGS -L$krb4/lib"
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
|
|
|
b9abc1 |
if test "$with_des" != no; then
|
|
|
b9abc1 |
@@ -13467,69 +13358,43 @@ _ACEOF
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
done
|
|
|
b9abc1 |
|
|
|
b9abc1 |
+ if test "$ac_cv_func_gsskrb5_register_acceptor_identity" = no ; then
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-for ac_func in gss_decapsulate_token
|
|
|
b9abc1 |
+for ac_header in gssapi/gssapi_krb5.h
|
|
|
b9abc1 |
do
|
|
|
b9abc1 |
-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
b9abc1 |
-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
b9abc1 |
-$as_echo_n "checking for $ac_func... " >&6; }
|
|
|
b9abc1 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
b9abc1 |
+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
b9abc1 |
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for $ac_header... " >&6; }
|
|
|
b9abc1 |
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
b9abc1 |
$as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
|
b9abc1 |
+ $as_echo "$as_val"'`
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_res" >&6; }
|
|
|
b9abc1 |
else
|
|
|
b9abc1 |
- cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+ # Is the header compilable?
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking $ac_header usability... " >&6; }
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
/* confdefs.h. */
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
/* end confdefs.h. */
|
|
|
b9abc1 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
b9abc1 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
b9abc1 |
-#define $ac_func innocuous_$ac_func
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-/* System header to define __stub macros and hopefully few prototypes,
|
|
|
b9abc1 |
- which can conflict with char $ac_func (); below.
|
|
|
b9abc1 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
b9abc1 |
- <limits.h> exists even on freestanding compilers. */
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-#ifdef __STDC__
|
|
|
b9abc1 |
-# include <limits.h>
|
|
|
b9abc1 |
-#else
|
|
|
b9abc1 |
-# include <assert.h>
|
|
|
b9abc1 |
-#endif
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-#undef $ac_func
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-/* Override any GCC internal prototype to avoid an error.
|
|
|
b9abc1 |
- Use char because int might match the return type of a GCC
|
|
|
b9abc1 |
- builtin and then its argument prototype would still apply. */
|
|
|
b9abc1 |
-#ifdef __cplusplus
|
|
|
b9abc1 |
-extern "C"
|
|
|
b9abc1 |
-#endif
|
|
|
b9abc1 |
-char $ac_func ();
|
|
|
b9abc1 |
-/* The GNU C library defines this for functions which it implements
|
|
|
b9abc1 |
- to always fail with ENOSYS. Some functions are actually named
|
|
|
b9abc1 |
- something starting with __ and the normal name is an alias. */
|
|
|
b9abc1 |
-#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
|
b9abc1 |
-choke me
|
|
|
b9abc1 |
-#endif
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-int
|
|
|
b9abc1 |
-main ()
|
|
|
b9abc1 |
-{
|
|
|
b9abc1 |
-return $ac_func ();
|
|
|
b9abc1 |
- ;
|
|
|
b9abc1 |
- return 0;
|
|
|
b9abc1 |
-}
|
|
|
b9abc1 |
+$ac_includes_default
|
|
|
b9abc1 |
+#include <$ac_header>
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
b9abc1 |
-if { (ac_try="$ac_link"
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
case "(($ac_try" in
|
|
|
b9abc1 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
*) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
esac
|
|
|
b9abc1 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
- (eval "$ac_link") 2>conftest.er1
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
ac_status=$?
|
|
|
b9abc1 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
rm -f conftest.er1
|
|
|
b9abc1 |
@@ -13538,139 +13403,178 @@ $as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
(exit $ac_status); } && {
|
|
|
b9abc1 |
test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
test ! -s conftest.err
|
|
|
b9abc1 |
- } && test -s conftest$ac_exeext && {
|
|
|
b9abc1 |
- test "$cross_compiling" = yes ||
|
|
|
b9abc1 |
- $as_test_x conftest$ac_exeext
|
|
|
b9abc1 |
- }; then
|
|
|
b9abc1 |
- eval "$as_ac_var=yes"
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ ac_header_compiler=yes
|
|
|
b9abc1 |
else
|
|
|
b9abc1 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
|
|
|
b9abc1 |
- eval "$as_ac_var=no"
|
|
|
b9abc1 |
-fi
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-rm -rf conftest.dSYM
|
|
|
b9abc1 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
b9abc1 |
- conftest$ac_exeext conftest.$ac_ext
|
|
|
b9abc1 |
-fi
|
|
|
b9abc1 |
-ac_res=`eval 'as_val=${'$as_ac_var'}
|
|
|
b9abc1 |
- $as_echo "$as_val"'`
|
|
|
b9abc1 |
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
b9abc1 |
-$as_echo "$ac_res" >&6; }
|
|
|
b9abc1 |
-as_val=`eval 'as_val=${'$as_ac_var'}
|
|
|
b9abc1 |
- $as_echo "$as_val"'`
|
|
|
b9abc1 |
- if test "x$as_val" = x""yes; then
|
|
|
b9abc1 |
- cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
|
b9abc1 |
-_ACEOF
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
+ ac_header_compiler=no
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
-done
|
|
|
b9abc1 |
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_header_compiler" >&6; }
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-for ac_func in gss_encapsulate_token
|
|
|
b9abc1 |
-do
|
|
|
b9abc1 |
-as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
b9abc1 |
-{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
b9abc1 |
-$as_echo_n "checking for $ac_func... " >&6; }
|
|
|
b9abc1 |
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
b9abc1 |
- $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
-else
|
|
|
b9abc1 |
- cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+# Is the header present?
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking $ac_header presence... " >&6; }
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
/* confdefs.h. */
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
/* end confdefs.h. */
|
|
|
b9abc1 |
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
b9abc1 |
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
b9abc1 |
-#define $ac_func innocuous_$ac_func
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-/* System header to define __stub macros and hopefully few prototypes,
|
|
|
b9abc1 |
- which can conflict with char $ac_func (); below.
|
|
|
b9abc1 |
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
b9abc1 |
- <limits.h> exists even on freestanding compilers. */
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-#ifdef __STDC__
|
|
|
b9abc1 |
-# include <limits.h>
|
|
|
b9abc1 |
-#else
|
|
|
b9abc1 |
-# include <assert.h>
|
|
|
b9abc1 |
-#endif
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-#undef $ac_func
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-/* Override any GCC internal prototype to avoid an error.
|
|
|
b9abc1 |
- Use char because int might match the return type of a GCC
|
|
|
b9abc1 |
- builtin and then its argument prototype would still apply. */
|
|
|
b9abc1 |
-#ifdef __cplusplus
|
|
|
b9abc1 |
-extern "C"
|
|
|
b9abc1 |
-#endif
|
|
|
b9abc1 |
-char $ac_func ();
|
|
|
b9abc1 |
-/* The GNU C library defines this for functions which it implements
|
|
|
b9abc1 |
- to always fail with ENOSYS. Some functions are actually named
|
|
|
b9abc1 |
- something starting with __ and the normal name is an alias. */
|
|
|
b9abc1 |
-#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
|
b9abc1 |
-choke me
|
|
|
b9abc1 |
-#endif
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-int
|
|
|
b9abc1 |
-main ()
|
|
|
b9abc1 |
-{
|
|
|
b9abc1 |
-return $ac_func ();
|
|
|
b9abc1 |
- ;
|
|
|
b9abc1 |
- return 0;
|
|
|
b9abc1 |
-}
|
|
|
b9abc1 |
+#include <$ac_header>
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
b9abc1 |
-if { (ac_try="$ac_link"
|
|
|
b9abc1 |
+if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
|
b9abc1 |
case "(($ac_try" in
|
|
|
b9abc1 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
*) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
esac
|
|
|
b9abc1 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
- (eval "$ac_link") 2>conftest.er1
|
|
|
b9abc1 |
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
b9abc1 |
ac_status=$?
|
|
|
b9abc1 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
rm -f conftest.er1
|
|
|
b9abc1 |
cat conftest.err >&5
|
|
|
b9abc1 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
- (exit $ac_status); } && {
|
|
|
b9abc1 |
- test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ (exit $ac_status); } >/dev/null && {
|
|
|
b9abc1 |
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
b9abc1 |
test ! -s conftest.err
|
|
|
b9abc1 |
- } && test -s conftest$ac_exeext && {
|
|
|
b9abc1 |
- test "$cross_compiling" = yes ||
|
|
|
b9abc1 |
- $as_test_x conftest$ac_exeext
|
|
|
b9abc1 |
}; then
|
|
|
b9abc1 |
- eval "$as_ac_var=yes"
|
|
|
b9abc1 |
+ ac_header_preproc=yes
|
|
|
b9abc1 |
else
|
|
|
b9abc1 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
|
|
|
b9abc1 |
- eval "$as_ac_var=no"
|
|
|
b9abc1 |
+ ac_header_preproc=no
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-rm -rf conftest.dSYM
|
|
|
b9abc1 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
b9abc1 |
- conftest$ac_exeext conftest.$ac_ext
|
|
|
b9abc1 |
+rm -f conftest.err conftest.$ac_ext
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_header_preproc" >&6; }
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+# So? What about this header?
|
|
|
b9abc1 |
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
|
b9abc1 |
+ yes:no: )
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
|
b9abc1 |
+ ac_header_preproc=yes
|
|
|
b9abc1 |
+ ;;
|
|
|
b9abc1 |
+ no:yes:* )
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for $ac_header... " >&6; }
|
|
|
b9abc1 |
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ eval "$as_ac_Header=\$ac_header_preproc"
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
-ac_res=`eval 'as_val=${'$as_ac_var'}
|
|
|
b9abc1 |
+ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
|
b9abc1 |
$as_echo "$as_val"'`
|
|
|
b9abc1 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
b9abc1 |
$as_echo "$ac_res" >&6; }
|
|
|
b9abc1 |
-as_val=`eval 'as_val=${'$as_ac_var'}
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+as_val=`eval 'as_val=${'$as_ac_Header'}
|
|
|
b9abc1 |
$as_echo "$as_val"'`
|
|
|
b9abc1 |
if test "x$as_val" = x""yes; then
|
|
|
b9abc1 |
cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
|
b9abc1 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
done
|
|
|
b9abc1 |
|
|
|
b9abc1 |
+ if test "$ac_cv_header_gssapi_gssapi_krb5_h" = "yes"; then
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: checking whether gsskrb5_register_acceptor_identity is declared" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking whether gsskrb5_register_acceptor_identity is declared... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_have_decl_gsskrb5_register_acceptor_identity+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ $ac_includes_default
|
|
|
b9abc1 |
+ #include <gssapi/gssapi_krb5.h>
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-for ac_func in gss_oid_equal
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+#ifndef gsskrb5_register_acceptor_identity
|
|
|
b9abc1 |
+ (void) gsskrb5_register_acceptor_identity;
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ ac_cv_have_decl_gsskrb5_register_acceptor_identity=yes
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_have_decl_gsskrb5_register_acceptor_identity=no
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_gsskrb5_register_acceptor_identity" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_have_decl_gsskrb5_register_acceptor_identity" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_have_decl_gsskrb5_register_acceptor_identity" = x""yes; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+cat >>confdefs.h <<\_ACEOF
|
|
|
b9abc1 |
+#define HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY 1
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ fi
|
|
|
b9abc1 |
+ fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+for ac_func in gss_decapsulate_token
|
|
|
b9abc1 |
do
|
|
|
b9abc1 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
b9abc1 |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
b9abc1 |
@@ -13770,12 +13674,8 @@ _ACEOF
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
done
|
|
|
b9abc1 |
|
|
|
b9abc1 |
- LIBS="$cmu_save_LIBS"
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- cmu_save_LIBS="$LIBS"
|
|
|
b9abc1 |
- LIBS="$LIBS $GSSAPIBASE_LIBS"
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-for ac_func in gss_get_name_attribute
|
|
|
b9abc1 |
+for ac_func in gss_encapsulate_token
|
|
|
b9abc1 |
do
|
|
|
b9abc1 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
b9abc1 |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
b9abc1 |
@@ -13875,20 +13775,14 @@ _ACEOF
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
done
|
|
|
b9abc1 |
|
|
|
b9abc1 |
- LIBS="$cmu_save_LIBS"
|
|
|
b9abc1 |
|
|
|
b9abc1 |
- cmu_save_LIBS="$LIBS"
|
|
|
b9abc1 |
- LIBS="$LIBS $GSSAPIBASE_LIBS"
|
|
|
b9abc1 |
- { $as_echo "$as_me:$LINENO: checking for SPNEGO support in GSSAPI libraries" >&5
|
|
|
b9abc1 |
-$as_echo_n "checking for SPNEGO support in GSSAPI libraries... " >&6; }
|
|
|
b9abc1 |
- if test "$cross_compiling" = yes; then
|
|
|
b9abc1 |
- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
|
b9abc1 |
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
|
b9abc1 |
-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
|
|
b9abc1 |
-See \`config.log' for more details." >&5
|
|
|
b9abc1 |
-$as_echo "$as_me: error: cannot run test program while cross compiling
|
|
|
b9abc1 |
-See \`config.log' for more details." >&2;}
|
|
|
b9abc1 |
- { (exit 1); exit 1; }; }; }
|
|
|
b9abc1 |
+for ac_func in gss_oid_equal
|
|
|
b9abc1 |
+do
|
|
|
b9abc1 |
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for $ac_func... " >&6; }
|
|
|
b9abc1 |
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
else
|
|
|
b9abc1 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
/* confdefs.h. */
|
|
|
b9abc1 |
@@ -13896,30 +13790,46 @@ _ACEOF
|
|
|
b9abc1 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
/* end confdefs.h. */
|
|
|
b9abc1 |
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
b9abc1 |
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
b9abc1 |
+#define $ac_func innocuous_$ac_func
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-#ifdef HAVE_GSSAPI_H
|
|
|
b9abc1 |
-#include <gssapi.h>
|
|
|
b9abc1 |
+/* System header to define __stub macros and hopefully few prototypes,
|
|
|
b9abc1 |
+ which can conflict with char $ac_func (); below.
|
|
|
b9abc1 |
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
b9abc1 |
+ <limits.h> exists even on freestanding compilers. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef __STDC__
|
|
|
b9abc1 |
+# include <limits.h>
|
|
|
b9abc1 |
#else
|
|
|
b9abc1 |
-#include <gssapi/gssapi.h>
|
|
|
b9abc1 |
+# include <assert.h>
|
|
|
b9abc1 |
#endif
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-int main(void)
|
|
|
b9abc1 |
-{
|
|
|
b9abc1 |
- gss_OID_desc spnego_oid = { 6, (void *) "\x2b\x06\x01\x05\x05\x02" };
|
|
|
b9abc1 |
- gss_OID_set mech_set;
|
|
|
b9abc1 |
- OM_uint32 min_stat;
|
|
|
b9abc1 |
- int have_spnego = 0;
|
|
|
b9abc1 |
+#undef $ac_func
|
|
|
b9abc1 |
|
|
|
b9abc1 |
- if (gss_indicate_mechs(&min_stat, &mech_set) == GSS_S_COMPLETE) {
|
|
|
b9abc1 |
- gss_test_oid_set_member(&min_stat, &spnego_oid, mech_set, &have_spnego);
|
|
|
b9abc1 |
- gss_release_oid_set(&min_stat, &mech_set);
|
|
|
b9abc1 |
- }
|
|
|
b9abc1 |
+/* Override any GCC internal prototype to avoid an error.
|
|
|
b9abc1 |
+ Use char because int might match the return type of a GCC
|
|
|
b9abc1 |
+ builtin and then its argument prototype would still apply. */
|
|
|
b9abc1 |
+#ifdef __cplusplus
|
|
|
b9abc1 |
+extern "C"
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+char $ac_func ();
|
|
|
b9abc1 |
+/* The GNU C library defines this for functions which it implements
|
|
|
b9abc1 |
+ to always fail with ENOSYS. Some functions are actually named
|
|
|
b9abc1 |
+ something starting with __ and the normal name is an alias. */
|
|
|
b9abc1 |
+#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
|
b9abc1 |
+choke me
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
|
|
|
b9abc1 |
- return (!have_spnego); // 0 = success, 1 = failure
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+return $ac_func ();
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
}
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
-rm -f conftest$ac_exeext
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
b9abc1 |
if { (ac_try="$ac_link"
|
|
|
b9abc1 |
case "(($ac_try" in
|
|
|
b9abc1 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
@@ -13927,63 +13837,259 @@ case "(($ac_try" in
|
|
|
b9abc1 |
esac
|
|
|
b9abc1 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
- (eval "$ac_link") 2>&5
|
|
|
b9abc1 |
- ac_status=$?
|
|
|
b9abc1 |
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
|
b9abc1 |
- { (case "(($ac_try" in
|
|
|
b9abc1 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
- *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
-esac
|
|
|
b9abc1 |
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
-$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
- (eval "$ac_try") 2>&5
|
|
|
b9abc1 |
+ (eval "$ac_link") 2>conftest.er1
|
|
|
b9abc1 |
ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
- (exit $ac_status); }; }; then
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-cat >>confdefs.h <<\_ACEOF
|
|
|
b9abc1 |
-#define HAVE_GSS_SPNEGO /**/
|
|
|
b9abc1 |
-_ACEOF
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- { $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
|
b9abc1 |
-$as_echo "yes" >&6; }
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest$ac_exeext && {
|
|
|
b9abc1 |
+ test "$cross_compiling" = yes ||
|
|
|
b9abc1 |
+ $as_test_x conftest$ac_exeext
|
|
|
b9abc1 |
+ }; then
|
|
|
b9abc1 |
+ eval "$as_ac_var=yes"
|
|
|
b9abc1 |
else
|
|
|
b9abc1 |
- $as_echo "$as_me: program exited with status $ac_status" >&5
|
|
|
b9abc1 |
-$as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-( exit $ac_status )
|
|
|
b9abc1 |
-{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
|
b9abc1 |
-$as_echo "no" >&6; }
|
|
|
b9abc1 |
+ eval "$as_ac_var=no"
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
rm -rf conftest.dSYM
|
|
|
b9abc1 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
b9abc1 |
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
+ac_res=`eval 'as_val=${'$as_ac_var'}
|
|
|
b9abc1 |
+ $as_echo "$as_val"'`
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_res" >&6; }
|
|
|
b9abc1 |
+as_val=`eval 'as_val=${'$as_ac_var'}
|
|
|
b9abc1 |
+ $as_echo "$as_val"'`
|
|
|
b9abc1 |
+ if test "x$as_val" = x""yes; then
|
|
|
b9abc1 |
+ cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- LIBS="$cmu_save_LIBS"
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-else
|
|
|
b9abc1 |
- { $as_echo "$as_me:$LINENO: result: disabled" >&5
|
|
|
b9abc1 |
-$as_echo "disabled" >&6; }
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
+done
|
|
|
b9abc1 |
|
|
|
b9abc1 |
+ LIBS="$cmu_save_LIBS"
|
|
|
b9abc1 |
|
|
|
b9abc1 |
+ cmu_save_LIBS="$LIBS"
|
|
|
b9abc1 |
+ LIBS="$LIBS $GSSAPIBASE_LIBS"
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-if test "$gssapi" != "no"; then
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-cat >>confdefs.h <<\_ACEOF
|
|
|
b9abc1 |
-#define STATIC_GSSAPIV2 /**/
|
|
|
b9abc1 |
-_ACEOF
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- mutex_default="no"
|
|
|
b9abc1 |
- if test "$gss_impl" = "mit"; then
|
|
|
b9abc1 |
- mutex_default="yes"
|
|
|
b9abc1 |
- fi
|
|
|
b9abc1 |
- { $as_echo "$as_me:$LINENO: checking to use mutexes aroung GSS calls" >&5
|
|
|
b9abc1 |
-$as_echo_n "checking to use mutexes aroung GSS calls... " >&6; }
|
|
|
b9abc1 |
+for ac_func in gss_get_name_attribute
|
|
|
b9abc1 |
+do
|
|
|
b9abc1 |
+as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for $ac_func... " >&6; }
|
|
|
b9abc1 |
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
b9abc1 |
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
b9abc1 |
+#define $ac_func innocuous_$ac_func
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+/* System header to define __stub macros and hopefully few prototypes,
|
|
|
b9abc1 |
+ which can conflict with char $ac_func (); below.
|
|
|
b9abc1 |
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
b9abc1 |
+ <limits.h> exists even on freestanding compilers. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef __STDC__
|
|
|
b9abc1 |
+# include <limits.h>
|
|
|
b9abc1 |
+#else
|
|
|
b9abc1 |
+# include <assert.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#undef $ac_func
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+/* Override any GCC internal prototype to avoid an error.
|
|
|
b9abc1 |
+ Use char because int might match the return type of a GCC
|
|
|
b9abc1 |
+ builtin and then its argument prototype would still apply. */
|
|
|
b9abc1 |
+#ifdef __cplusplus
|
|
|
b9abc1 |
+extern "C"
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+char $ac_func ();
|
|
|
b9abc1 |
+/* The GNU C library defines this for functions which it implements
|
|
|
b9abc1 |
+ to always fail with ENOSYS. Some functions are actually named
|
|
|
b9abc1 |
+ something starting with __ and the normal name is an alias. */
|
|
|
b9abc1 |
+#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
|
b9abc1 |
+choke me
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+return $ac_func ();
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
b9abc1 |
+if { (ac_try="$ac_link"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_link") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest$ac_exeext && {
|
|
|
b9abc1 |
+ test "$cross_compiling" = yes ||
|
|
|
b9abc1 |
+ $as_test_x conftest$ac_exeext
|
|
|
b9abc1 |
+ }; then
|
|
|
b9abc1 |
+ eval "$as_ac_var=yes"
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ eval "$as_ac_var=no"
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -rf conftest.dSYM
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
b9abc1 |
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+ac_res=`eval 'as_val=${'$as_ac_var'}
|
|
|
b9abc1 |
+ $as_echo "$as_val"'`
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_res" >&6; }
|
|
|
b9abc1 |
+as_val=`eval 'as_val=${'$as_ac_var'}
|
|
|
b9abc1 |
+ $as_echo "$as_val"'`
|
|
|
b9abc1 |
+ if test "x$as_val" = x""yes; then
|
|
|
b9abc1 |
+ cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+done
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ LIBS="$cmu_save_LIBS"
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ cmu_save_LIBS="$LIBS"
|
|
|
b9abc1 |
+ LIBS="$LIBS $GSSAPIBASE_LIBS"
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: checking for SPNEGO support in GSSAPI libraries" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for SPNEGO support in GSSAPI libraries... " >&6; }
|
|
|
b9abc1 |
+ if test "$cross_compiling" = yes; then
|
|
|
b9abc1 |
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
|
b9abc1 |
+{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
|
|
b9abc1 |
+See \`config.log' for more details." >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: error: cannot run test program while cross compiling
|
|
|
b9abc1 |
+See \`config.log' for more details." >&2;}
|
|
|
b9abc1 |
+ { (exit 1); exit 1; }; }; }
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_GSSAPI_H
|
|
|
b9abc1 |
+#include <gssapi.h>
|
|
|
b9abc1 |
+#else
|
|
|
b9abc1 |
+#include <gssapi/gssapi.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int main(void)
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+ gss_OID_desc spnego_oid = { 6, (void *) "\x2b\x06\x01\x05\x05\x02" };
|
|
|
b9abc1 |
+ gss_OID_set mech_set;
|
|
|
b9abc1 |
+ OM_uint32 min_stat;
|
|
|
b9abc1 |
+ int have_spnego = 0;
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ if (gss_indicate_mechs(&min_stat, &mech_set) == GSS_S_COMPLETE) {
|
|
|
b9abc1 |
+ gss_test_oid_set_member(&min_stat, &spnego_oid, mech_set, &have_spnego);
|
|
|
b9abc1 |
+ gss_release_oid_set(&min_stat, &mech_set);
|
|
|
b9abc1 |
+ }
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ return (!have_spnego); // 0 = success, 1 = failure
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest$ac_exeext
|
|
|
b9abc1 |
+if { (ac_try="$ac_link"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_link") 2>&5
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
|
b9abc1 |
+ { (case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_try") 2>&5
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); }; }; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+cat >>confdefs.h <<\_ACEOF
|
|
|
b9abc1 |
+#define HAVE_GSS_SPNEGO /**/
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
|
b9abc1 |
+$as_echo "yes" >&6; }
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: program exited with status $ac_status" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+( exit $ac_status )
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
|
b9abc1 |
+$as_echo "no" >&6; }
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+rm -rf conftest.dSYM
|
|
|
b9abc1 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ LIBS="$cmu_save_LIBS"
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: result: disabled" >&5
|
|
|
b9abc1 |
+$as_echo "disabled" >&6; }
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+if test "$gssapi" != "no"; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+cat >>confdefs.h <<\_ACEOF
|
|
|
b9abc1 |
+#define STATIC_GSSAPIV2 /**/
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ mutex_default="no"
|
|
|
b9abc1 |
+ if test "$gss_impl" = "mit"; then
|
|
|
b9abc1 |
+ mutex_default="yes"
|
|
|
b9abc1 |
+ fi
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: checking to use mutexes aroung GSS calls" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking to use mutexes aroung GSS calls... " >&6; }
|
|
|
b9abc1 |
# Check whether --enable-gss_mutexes was given.
|
|
|
b9abc1 |
if test "${enable_gss_mutexes+set}" = set; then
|
|
|
b9abc1 |
enableval=$enable_gss_mutexes; use_gss_mutexes=$enableval
|
|
|
b9abc1 |
@@ -14246,44 +14352,127 @@ LIB_MYSQL=""
|
|
|
b9abc1 |
|
|
|
b9abc1 |
case "$with_mysql" in
|
|
|
b9abc1 |
no) true;;
|
|
|
b9abc1 |
- notfound) { $as_echo "$as_me:$LINENO: WARNING: MySQL Library not found" >&5
|
|
|
b9abc1 |
-$as_echo "$as_me: WARNING: MySQL Library not found" >&2;}; true;;
|
|
|
b9abc1 |
- *)
|
|
|
b9abc1 |
- if test -d ${with_mysql}/lib/mysql; then
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- # this is CMU ADD LIBPATH TO
|
|
|
b9abc1 |
- if test "$andrew_cv_runpath_switch" = "none" ; then
|
|
|
b9abc1 |
- LIB_MYSQL="-L${with_mysql}/lib/mysql ${LIB_MYSQL}"
|
|
|
b9abc1 |
- else
|
|
|
b9abc1 |
- LIB_MYSQL="-L${with_mysql}/lib/mysql ${LIB_MYSQL} $andrew_cv_runpath_switch${with_mysql}/lib/mysql"
|
|
|
b9abc1 |
- fi
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- elif test -d ${with_mysql}/mysql/lib; then
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- # this is CMU ADD LIBPATH TO
|
|
|
b9abc1 |
- if test "$andrew_cv_runpath_switch" = "none" ; then
|
|
|
b9abc1 |
- LIB_MYSQL="-L${with_mysql}/mysql/lib ${LIB_MYSQL}"
|
|
|
b9abc1 |
- else
|
|
|
b9abc1 |
- LIB_MYSQL="-L${with_mysql}/mysql/lib ${LIB_MYSQL} $andrew_cv_runpath_switch${with_mysql}/mysql/lib"
|
|
|
b9abc1 |
- fi
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- elif test -d ${with_mysql}/lib; then
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- # this is CMU ADD LIBPATH TO
|
|
|
b9abc1 |
- if test "$andrew_cv_runpath_switch" = "none" ; then
|
|
|
b9abc1 |
- LIB_MYSQL="-L${with_mysql}/lib ${LIB_MYSQL}"
|
|
|
b9abc1 |
- else
|
|
|
b9abc1 |
- LIB_MYSQL="-L${with_mysql}/lib ${LIB_MYSQL} $andrew_cv_runpath_switch${with_mysql}/lib"
|
|
|
b9abc1 |
- fi
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
- else
|
|
|
b9abc1 |
+ notfound)
|
|
|
b9abc1 |
+ save_LDFLAGS=$LDFLAGS
|
|
|
b9abc1 |
+ LIB_MYSQL=`mysql_config --libs`
|
|
|
b9abc1 |
+ LIB_MYSQL="-lmysqlclient"
|
|
|
b9abc1 |
+ LDFLAGS="$LDFLAGS $LIB_MYSQL"
|
|
|
b9abc1 |
+ # CPPFLAGS="${CPPFLAGS} `mysql_config --include`"
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: checking for mysql_select_db in -lmysqlclient" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for mysql_select_db in -lmysqlclient... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_lib_mysqlclient_mysql_select_db+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ ac_check_lib_save_LIBS=$LIBS
|
|
|
b9abc1 |
+LIBS="-lmysqlclient $LIBS"
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
|
|
|
b9abc1 |
- # this is CMU ADD LIBPATH TO
|
|
|
b9abc1 |
- if test "$andrew_cv_runpath_switch" = "none" ; then
|
|
|
b9abc1 |
- LIB_MYSQL="-L${with_mysql} ${LIB_MYSQL}"
|
|
|
b9abc1 |
- else
|
|
|
b9abc1 |
- LIB_MYSQL="-L${with_mysql} ${LIB_MYSQL} $andrew_cv_runpath_switch${with_mysql}"
|
|
|
b9abc1 |
- fi
|
|
|
b9abc1 |
+/* Override any GCC internal prototype to avoid an error.
|
|
|
b9abc1 |
+ Use char because int might match the return type of a GCC
|
|
|
b9abc1 |
+ builtin and then its argument prototype would still apply. */
|
|
|
b9abc1 |
+#ifdef __cplusplus
|
|
|
b9abc1 |
+extern "C"
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+char mysql_select_db ();
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+return mysql_select_db ();
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
b9abc1 |
+if { (ac_try="$ac_link"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_link") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest$ac_exeext && {
|
|
|
b9abc1 |
+ test "$cross_compiling" = yes ||
|
|
|
b9abc1 |
+ $as_test_x conftest$ac_exeext
|
|
|
b9abc1 |
+ }; then
|
|
|
b9abc1 |
+ ac_cv_lib_mysqlclient_mysql_select_db=yes
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_lib_mysqlclient_mysql_select_db=no
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -rf conftest.dSYM
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
b9abc1 |
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
b9abc1 |
+LIBS=$ac_check_lib_save_LIBS
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_mysql_select_db" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_lib_mysqlclient_mysql_select_db" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_lib_mysqlclient_mysql_select_db" = x""yes; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+cat >>confdefs.h <<\_ACEOF
|
|
|
b9abc1 |
+#define HAVE_MYSQL /**/
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: WARNING: MySQL library mysqlclient does not work" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: WARNING: MySQL library mysqlclient does not work" >&2;}
|
|
|
b9abc1 |
+ with_mysql=no
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ LDFLAGS=$save_LDFLAGS
|
|
|
b9abc1 |
+ ;;
|
|
|
b9abc1 |
+ *)
|
|
|
b9abc1 |
+ if test -d ${with_mysql}/lib/mysql; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ # this is CMU ADD LIBPATH TO
|
|
|
b9abc1 |
+ if test "$andrew_cv_runpath_switch" = "none" ; then
|
|
|
b9abc1 |
+ LIB_MYSQL="-L${with_mysql}/lib/mysql ${LIB_MYSQL}"
|
|
|
b9abc1 |
+ else
|
|
|
b9abc1 |
+ LIB_MYSQL="-L${with_mysql}/lib/mysql ${LIB_MYSQL} $andrew_cv_runpath_switch${with_mysql}/lib/mysql"
|
|
|
b9abc1 |
+ fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ elif test -d ${with_mysql}/mysql/lib; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ # this is CMU ADD LIBPATH TO
|
|
|
b9abc1 |
+ if test "$andrew_cv_runpath_switch" = "none" ; then
|
|
|
b9abc1 |
+ LIB_MYSQL="-L${with_mysql}/mysql/lib ${LIB_MYSQL}"
|
|
|
b9abc1 |
+ else
|
|
|
b9abc1 |
+ LIB_MYSQL="-L${with_mysql}/mysql/lib ${LIB_MYSQL} $andrew_cv_runpath_switch${with_mysql}/mysql/lib"
|
|
|
b9abc1 |
+ fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ elif test -d ${with_mysql}/lib; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ # this is CMU ADD LIBPATH TO
|
|
|
b9abc1 |
+ if test "$andrew_cv_runpath_switch" = "none" ; then
|
|
|
b9abc1 |
+ LIB_MYSQL="-L${with_mysql}/lib ${LIB_MYSQL}"
|
|
|
b9abc1 |
+ else
|
|
|
b9abc1 |
+ LIB_MYSQL="-L${with_mysql}/lib ${LIB_MYSQL} $andrew_cv_runpath_switch${with_mysql}/lib"
|
|
|
b9abc1 |
+ fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ else
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ # this is CMU ADD LIBPATH TO
|
|
|
b9abc1 |
+ if test "$andrew_cv_runpath_switch" = "none" ; then
|
|
|
b9abc1 |
+ LIB_MYSQL="-L${with_mysql} ${LIB_MYSQL}"
|
|
|
b9abc1 |
+ else
|
|
|
b9abc1 |
+ LIB_MYSQL="-L${with_mysql} ${LIB_MYSQL} $andrew_cv_runpath_switch${with_mysql}"
|
|
|
b9abc1 |
+ fi
|
|
|
b9abc1 |
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
|
|
|
b9abc1 |
@@ -14296,6 +14485,8 @@ $as_echo "$as_me: WARNING: MySQL Library
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_mysql}/mysql/include"
|
|
|
b9abc1 |
elif test -d ${with_mysql}/include; then
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_mysql}/include"
|
|
|
b9abc1 |
+ elif test -d ${prefix}/include/mysql; then
|
|
|
b9abc1 |
+ CPPFLAGS="${CPPFLAGS} -I${prefix}/include/mysql"
|
|
|
b9abc1 |
else
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_mysql}"
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
@@ -14416,8 +14607,90 @@ LIB_PGSQL=""
|
|
|
b9abc1 |
|
|
|
b9abc1 |
case "$with_pgsql" in
|
|
|
b9abc1 |
no) true;;
|
|
|
b9abc1 |
- notfound) { $as_echo "$as_me:$LINENO: WARNING: PostgreSQL Library not found" >&5
|
|
|
b9abc1 |
-$as_echo "$as_me: WARNING: PostgreSQL Library not found" >&2;}; true;;
|
|
|
b9abc1 |
+ notfound)
|
|
|
b9abc1 |
+ LIB_PGSQL="-lpq"
|
|
|
b9abc1 |
+ # CPPFLAGS="${CPPFLAGS} -I`pg_config --includedir`"
|
|
|
b9abc1 |
+ save_LDFLAGS=$LDFLAGS
|
|
|
b9abc1 |
+ LDFLAGS="$LDFLAGS $LIB_PGSQL"
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: checking for PQsetdbLogin in -lpq" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for PQsetdbLogin in -lpq... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_lib_pq_PQsetdbLogin+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ ac_check_lib_save_LIBS=$LIBS
|
|
|
b9abc1 |
+LIBS="-lpq $LIBS"
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+/* Override any GCC internal prototype to avoid an error.
|
|
|
b9abc1 |
+ Use char because int might match the return type of a GCC
|
|
|
b9abc1 |
+ builtin and then its argument prototype would still apply. */
|
|
|
b9abc1 |
+#ifdef __cplusplus
|
|
|
b9abc1 |
+extern "C"
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+char PQsetdbLogin ();
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+return PQsetdbLogin ();
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
b9abc1 |
+if { (ac_try="$ac_link"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_link") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest$ac_exeext && {
|
|
|
b9abc1 |
+ test "$cross_compiling" = yes ||
|
|
|
b9abc1 |
+ $as_test_x conftest$ac_exeext
|
|
|
b9abc1 |
+ }; then
|
|
|
b9abc1 |
+ ac_cv_lib_pq_PQsetdbLogin=yes
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_lib_pq_PQsetdbLogin=no
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -rf conftest.dSYM
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
b9abc1 |
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
b9abc1 |
+LIBS=$ac_check_lib_save_LIBS
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pq_PQsetdbLogin" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_lib_pq_PQsetdbLogin" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_lib_pq_PQsetdbLogin" = x""yes; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+cat >>confdefs.h <<\_ACEOF
|
|
|
b9abc1 |
+#define HAVE_PGSQL /**/
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ { $as_echo "$as_me:$LINENO: WARNING: PostgreSQL Library pq does not work" >&5
|
|
|
b9abc1 |
+$as_echo "$as_me: WARNING: PostgreSQL Library pq does not work" >&2;}
|
|
|
b9abc1 |
+ with_pgsql=no
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ LDFLAGS=$save_LDFLAGS
|
|
|
b9abc1 |
+ ;;
|
|
|
b9abc1 |
*)
|
|
|
b9abc1 |
if test -d ${with_pgsql}/lib/pgsql; then
|
|
|
b9abc1 |
|
|
|
b9abc1 |
@@ -14466,6 +14739,8 @@ $as_echo "$as_me: WARNING: PostgreSQL Li
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/pgsql/include"
|
|
|
b9abc1 |
elif test -d ${with_pgsql}/include; then
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_pgsql}/include"
|
|
|
b9abc1 |
+ elif test -d ${prefix}/include; then
|
|
|
b9abc1 |
+ CPPFLAGS="${CPPFLAGS} -I${prefix}/include"
|
|
|
b9abc1 |
else
|
|
|
b9abc1 |
CPPFLAGS="${CPPFLAGS} -I${with_pgsql}"
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
@@ -18166,116 +18441,989 @@ fi
|
|
|
b9abc1 |
|
|
|
b9abc1 |
done
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "
|
|
|
b9abc1 |
-#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
-#include <inttypes.h>
|
|
|
b9abc1 |
-#endif
|
|
|
b9abc1 |
-"
|
|
|
b9abc1 |
-if test "x$ac_cv_type_long_long" = xyes; then :
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
-#define HAVE_LONG_LONG 1
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for long long" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for long long... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_type_long_long+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ ac_cv_type_long_long=no
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-fi
|
|
|
b9abc1 |
-ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "
|
|
|
b9abc1 |
#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
#include <inttypes.h>
|
|
|
b9abc1 |
#endif
|
|
|
b9abc1 |
-"
|
|
|
b9abc1 |
-if test "x$ac_cv_type_int8_t" = xyes; then :
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
-#define HAVE_INT8_T 1
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof (long long))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-fi
|
|
|
b9abc1 |
-ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "
|
|
|
b9abc1 |
-#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
-#include <inttypes.h>
|
|
|
b9abc1 |
-#endif
|
|
|
b9abc1 |
-"
|
|
|
b9abc1 |
-if test "x$ac_cv_type_uint8_t" = xyes; then :
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
-#define HAVE_UINT8_T 1
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-fi
|
|
|
b9abc1 |
-ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "
|
|
|
b9abc1 |
#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
#include <inttypes.h>
|
|
|
b9abc1 |
#endif
|
|
|
b9abc1 |
-"
|
|
|
b9abc1 |
-if test "x$ac_cv_type_int16_t" = xyes; then :
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
-#define HAVE_INT16_T 1
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof ((long long)))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-fi
|
|
|
b9abc1 |
-ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "
|
|
|
b9abc1 |
-#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
-#include <inttypes.h>
|
|
|
b9abc1 |
-#endif
|
|
|
b9abc1 |
-"
|
|
|
b9abc1 |
-if test "x$ac_cv_type_uint16_t" = xyes; then :
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
-#define HAVE_UINT16_T 1
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ :
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_type_long_long=yes
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_type_long_long" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_type_long_long" = x""yes; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
+#define HAVE_LONG_LONG 1
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
|
|
|
b9abc1 |
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
-ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for int8_t" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for int8_t... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_type_int8_t+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ ac_cv_type_int8_t=no
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
#include <inttypes.h>
|
|
|
b9abc1 |
#endif
|
|
|
b9abc1 |
-"
|
|
|
b9abc1 |
-if test "x$ac_cv_type_int32_t" = xyes; then :
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
-#define HAVE_INT32_T 1
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof (int8_t))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
|
|
|
b9abc1 |
-
|
|
|
b9abc1 |
-fi
|
|
|
b9abc1 |
-ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "
|
|
|
b9abc1 |
#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
#include <inttypes.h>
|
|
|
b9abc1 |
#endif
|
|
|
b9abc1 |
-"
|
|
|
b9abc1 |
-if test "x$ac_cv_type_uint32_t" = xyes; then :
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof ((int8_t)))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ :
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_type_int8_t=yes
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_type_int8_t" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_type_int8_t" = x""yes; then
|
|
|
b9abc1 |
|
|
|
b9abc1 |
cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
-#define HAVE_UINT32_T 1
|
|
|
b9abc1 |
+#define HAVE_INT8_T 1
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
|
|
|
b9abc1 |
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
-ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for uint8_t... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_type_uint8_t+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ ac_cv_type_uint8_t=no
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
#include <inttypes.h>
|
|
|
b9abc1 |
#endif
|
|
|
b9abc1 |
-"
|
|
|
b9abc1 |
-if test "x$ac_cv_type_int64_t" = xyes; then :
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof (uint8_t))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof ((uint8_t)))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ :
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_type_uint8_t=yes
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_type_uint8_t" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_type_uint8_t" = x""yes; then
|
|
|
b9abc1 |
|
|
|
b9abc1 |
cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
-#define HAVE_INT64_T 1
|
|
|
b9abc1 |
+#define HAVE_UINT8_T 1
|
|
|
b9abc1 |
_ACEOF
|
|
|
b9abc1 |
|
|
|
b9abc1 |
|
|
|
b9abc1 |
fi
|
|
|
b9abc1 |
-ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for int16_t" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for int16_t... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_type_int16_t+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ ac_cv_type_int16_t=no
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
#include <inttypes.h>
|
|
|
b9abc1 |
#endif
|
|
|
b9abc1 |
-"
|
|
|
b9abc1 |
-if test "x$ac_cv_type_uint64_t" = xyes; then :
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof (int16_t))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof ((int16_t)))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ :
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_type_int16_t=yes
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_type_int16_t" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_type_int16_t" = x""yes; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
+#define HAVE_INT16_T 1
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for uint16_t... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_type_uint16_t+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ ac_cv_type_uint16_t=no
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof (uint16_t))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof ((uint16_t)))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ :
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_type_uint16_t=yes
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_type_uint16_t" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_type_uint16_t" = x""yes; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
+#define HAVE_UINT16_T 1
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for int32_t" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for int32_t... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_type_int32_t+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ ac_cv_type_int32_t=no
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof (int32_t))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof ((int32_t)))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ :
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_type_int32_t=yes
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_type_int32_t" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_type_int32_t" = x""yes; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
+#define HAVE_INT32_T 1
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for uint32_t... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_type_uint32_t+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ ac_cv_type_uint32_t=no
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof (uint32_t))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof ((uint32_t)))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ :
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_type_uint32_t=yes
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_type_uint32_t" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_type_uint32_t" = x""yes; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
+#define HAVE_UINT32_T 1
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for int64_t" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for int64_t... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_type_int64_t+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ ac_cv_type_int64_t=no
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof (int64_t))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof ((int64_t)))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ :
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_type_int64_t=yes
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_type_int64_t" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_type_int64_t" = x""yes; then
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
+#define HAVE_INT64_T 1
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
|
|
|
b9abc1 |
+$as_echo_n "checking for uint64_t... " >&6; }
|
|
|
b9abc1 |
+if test "${ac_cv_type_uint64_t+set}" = set; then
|
|
|
b9abc1 |
+ $as_echo_n "(cached) " >&6
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ ac_cv_type_uint64_t=no
|
|
|
b9abc1 |
+cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof (uint64_t))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ cat >conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* confdefs.h. */
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+cat confdefs.h >>conftest.$ac_ext
|
|
|
b9abc1 |
+cat >>conftest.$ac_ext <<_ACEOF
|
|
|
b9abc1 |
+/* end confdefs.h. */
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+#ifdef HAVE_INTTYPES_H
|
|
|
b9abc1 |
+#include <inttypes.h>
|
|
|
b9abc1 |
+#endif
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+int
|
|
|
b9abc1 |
+main ()
|
|
|
b9abc1 |
+{
|
|
|
b9abc1 |
+if (sizeof ((uint64_t)))
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+ ;
|
|
|
b9abc1 |
+ return 0;
|
|
|
b9abc1 |
+}
|
|
|
b9abc1 |
+_ACEOF
|
|
|
b9abc1 |
+rm -f conftest.$ac_objext
|
|
|
b9abc1 |
+if { (ac_try="$ac_compile"
|
|
|
b9abc1 |
+case "(($ac_try" in
|
|
|
b9abc1 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
b9abc1 |
+ *) ac_try_echo=$ac_try;;
|
|
|
b9abc1 |
+esac
|
|
|
b9abc1 |
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
b9abc1 |
+$as_echo "$ac_try_echo") >&5
|
|
|
b9abc1 |
+ (eval "$ac_compile") 2>conftest.er1
|
|
|
b9abc1 |
+ ac_status=$?
|
|
|
b9abc1 |
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
b9abc1 |
+ rm -f conftest.er1
|
|
|
b9abc1 |
+ cat conftest.err >&5
|
|
|
b9abc1 |
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
b9abc1 |
+ (exit $ac_status); } && {
|
|
|
b9abc1 |
+ test -z "$ac_c_werror_flag" ||
|
|
|
b9abc1 |
+ test ! -s conftest.err
|
|
|
b9abc1 |
+ } && test -s conftest.$ac_objext; then
|
|
|
b9abc1 |
+ :
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+ ac_cv_type_uint64_t=yes
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+else
|
|
|
b9abc1 |
+ $as_echo "$as_me: failed program was:" >&5
|
|
|
b9abc1 |
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+
|
|
|
b9abc1 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
b9abc1 |
+fi
|
|
|
b9abc1 |
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
|
|
|
b9abc1 |
+$as_echo "$ac_cv_type_uint64_t" >&6; }
|
|
|
b9abc1 |
+if test "x$ac_cv_type_uint64_t" = x""yes; then
|
|
|
b9abc1 |
|
|
|
b9abc1 |
cat >>confdefs.h <<_ACEOF
|
|
|
b9abc1 |
#define HAVE_UINT64_T 1
|