diff -rcN a/libmemcached-0.32/aclocal.m4 b/libmemcached-0.32/aclocal.m4 *** a/libmemcached-0.32/aclocal.m4 2009-09-15 15:49:59.000000000 -0700 --- b/libmemcached-0.32/aclocal.m4 2010-03-07 13:32:49.807322479 -0800 *************** *** 13,24 **** m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl ! m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, ! [m4_warning([this file was generated for autoconf 2.63. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation --- 13,845 ---- m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl ! m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],, ! [m4_warning([this file was generated for autoconf 2.64. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) + # lib-ld.m4 serial 3 (gettext-0.13) + dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + dnl Subroutines of libtool.m4, + dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision + dnl with libtool.m4. + + dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. + AC_DEFUN([AC_LIB_PROG_LD_GNU], + [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, + [# I'd rather use --version here, but apparently some GNU ld's only accept -v. + case `$LD -v 2>&1 conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh + fi + ac_prog=ld + if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by GCC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]* | [A-Za-z]:[\\/]*)] + [re_direlt='/[^/][^/]*/\.\./'] + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac + elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) + else + AC_MSG_CHECKING([for non-GNU ld]) + fi + AC_CACHE_VAL(acl_cv_path_LD, + [if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac + fi + done + IFS="$ac_save_ifs" + else + acl_cv_path_LD="$LD" # Let the user override the test with a path. + fi]) + LD="$acl_cv_path_LD" + if test -n "$LD"; then + AC_MSG_RESULT($LD) + else + AC_MSG_RESULT(no) + fi + test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) + AC_LIB_PROG_LD_GNU + ]) + + # lib-link.m4 serial 13 (gettext-0.17) + dnl Copyright (C) 2001-2007 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + dnl From Bruno Haible. + + AC_PREREQ(2.54) + + dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and + dnl the libraries corresponding to explicit and implicit dependencies. + dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and + dnl augments the CPPFLAGS variable. + dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname + dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. + AC_DEFUN([AC_LIB_LINKFLAGS], + [ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + ac_cv_lib[]Name[]_libs="$LIB[]NAME" + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" + ac_cv_lib[]Name[]_cppflags="$INC[]NAME" + ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" + ]) + LIB[]NAME="$ac_cv_lib[]Name[]_libs" + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" + INC[]NAME="$ac_cv_lib[]Name[]_cppflags" + LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + AC_SUBST([LIB]NAME[_PREFIX]) + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the + dnl results of this search when this library appears as a dependency. + HAVE_LIB[]NAME=yes + undefine([Name]) + undefine([NAME]) + ]) + + dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) + dnl searches for libname and the libraries corresponding to explicit and + dnl implicit dependencies, together with the specified include files and + dnl the ability to compile and link the specified testcode. If found, it + dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and + dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and + dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs + dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. + dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname + dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. + AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], + [ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME + dnl accordingly. + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, + dnl because if the user has installed lib[]Name and not disabled its use + dnl via --without-lib[]Name-prefix, he wants to use it. + ac_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ + ac_save_LIBS="$LIBS" + LIBS="$LIBS $LIB[]NAME" + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) + LIBS="$ac_save_LIBS" + ]) + if test "$ac_cv_lib[]Name" = yes; then + HAVE_LIB[]NAME=yes + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) + AC_MSG_CHECKING([how to link with lib[]$1]) + AC_MSG_RESULT([$LIB[]NAME]) + else + HAVE_LIB[]NAME=no + dnl If $LIB[]NAME didn't lead to a usable library, we don't need + dnl $INC[]NAME either. + CPPFLAGS="$ac_save_CPPFLAGS" + LIB[]NAME= + LTLIB[]NAME= + LIB[]NAME[]_PREFIX= + fi + AC_SUBST([HAVE_LIB]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + AC_SUBST([LIB]NAME[_PREFIX]) + undefine([Name]) + undefine([NAME]) + ]) + + dnl Determine the platform dependent parameters needed to use rpath: + dnl acl_libext, + dnl acl_shlibext, + dnl acl_hardcode_libdir_flag_spec, + dnl acl_hardcode_libdir_separator, + dnl acl_hardcode_direct, + dnl acl_hardcode_minus_L. + AC_DEFUN([AC_LIB_RPATH], + [ + dnl Tell automake >= 1.10 to complain if config.rpath is missing. + m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + ]) + wl="$acl_cv_wl" + acl_libext="$acl_cv_libext" + acl_shlibext="$acl_cv_shlibext" + acl_libname_spec="$acl_cv_libname_spec" + acl_library_names_spec="$acl_cv_library_names_spec" + acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + acl_hardcode_direct="$acl_cv_hardcode_direct" + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" + dnl Determine whether the user wants rpath handling at all. + AC_ARG_ENABLE(rpath, + [ --disable-rpath do not hardcode runtime library paths], + :, enable_rpath=yes) + ]) + + dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and + dnl the libraries corresponding to explicit and implicit dependencies. + dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. + dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found + dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. + AC_DEFUN([AC_LIB_LINKFLAGS_BODY], + [ + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + dnl Autoconf >= 2.61 supports dots in --with options. + define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix], + [ --with-lib]N_A_M_E[-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib + --without-lib]N_A_M_E[-prefix don't search for lib$1 in includedir and libdir], + [ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + fi + fi + ]) + dnl Search the library and its dependencies in $additional_libdir and + dnl $LDFLAGS. Using breadth-first-seach. + LIB[]NAME= + LTLIB[]NAME= + INC[]NAME= + LIB[]NAME[]_PREFIX= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='$1 $2' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS + dnl or AC_LIB_HAVE_LINKFLAGS call. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" + else + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined + dnl that this library doesn't exist. So just drop it. + : + fi + else + dnl Search the library lib$name in $additional_libdir and $LDFLAGS + dnl and the already constructed $LIBNAME/$LTLIBNAME. + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + dnl The same code as in the loop below: + dnl First look for a shared library. + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + dnl Then look for a static library. + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + dnl First look for a shared library. + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + dnl Then look for a static library. + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + dnl Found the library. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + dnl Linking with a shared library. We attempt to hardcode its + dnl directory into the executable's runpath, unless it's the + dnl standard /usr/lib. + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then + dnl No hardcoding is needed. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + dnl The hardcoding into $LIBNAME is system dependent. + if test "$acl_hardcode_direct" = yes; then + dnl Using DIR/libNAME.so during linking hardcodes DIR into the + dnl resulting binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + dnl Rely on "-L$found_dir". + dnl But don't add it if it's already contained in the LDFLAGS + dnl or the already constructed $LIBNAME + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH + dnl here, because this doesn't fit in flags passed to the + dnl compiler. So give up. No hardcoding. This affects only + dnl very old systems. + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + dnl Linking with a static library. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" + else + dnl We shouldn't come here, but anyway it's good to have a + dnl fallback. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" + fi + fi + dnl Assume the include files are nearby. + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + LIB[]NAME[]_PREFIX="$basedir" + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + dnl Potentially add $additional_includedir to $INCNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's /usr/local/include and we are using GCC on Linux, + dnl 3. if it's already present in $CPPFLAGS or the already + dnl constructed $INCNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INC[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $INCNAME. + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + dnl Look for dependencies. + if test -n "$found_la"; then + dnl Read the .la file. It defines the variables + dnl dlname, library_names, old_library, dependency_libs, current, + dnl age, revision, installed, dlopen, dlpreopen, libdir. + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + dnl We use only dependency_libs. + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's /usr/local/lib and we are using GCC on Linux, + dnl 3. if it's already present in $LDFLAGS or the already + dnl constructed $LIBNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LIBNAME. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LTLIBNAME. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + dnl Handle this in the next round. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + dnl Handle this in the next round. Throw away the .la's + dnl directory; it is already contained in a preceding -L + dnl option. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + dnl Most likely an immediate library name. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" + ;; + esac + done + fi + else + dnl Didn't find the library; assume it is in the system directories + dnl known to the linker and runtime loader. (All the system + dnl directories known to the linker should also be known to the + dnl runtime loader, otherwise the system is severely misconfigured.) + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + dnl Weird platform: only the last -rpath option counts, the user must + dnl pass all path elements in one option. We can arrange that for a + dnl single library, but not when more than one $LIBNAMEs are used. + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + else + dnl The -rpath options are cumulative. + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + dnl When using libtool, the option that works for both libraries and + dnl executables is -R. The -R options are cumulative. + for found_dir in $ltrpathdirs; do + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" + done + fi + ]) + + dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, + dnl unless already present in VAR. + dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes + dnl contains two or three consecutive elements that belong together. + AC_DEFUN([AC_LIB_APPENDTOVAR], + [ + for element in [$2]; do + haveit= + for x in $[$1]; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + [$1]="${[$1]}${[$1]:+ }$element" + fi + done + ]) + + dnl For those cases where a variable contains several -L and -l options + dnl referring to unknown libraries and directories, this macro determines the + dnl necessary additional linker options for the runtime path. + dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) + dnl sets LDADDVAR to linker options needed together with LIBSVALUE. + dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, + dnl otherwise linking without libtool is assumed. + AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], + [ + AC_REQUIRE([AC_LIB_RPATH]) + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) + $1= + if test "$enable_rpath" != no; then + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + dnl Use an explicit option to hardcode directories into the resulting + dnl binary. + rpathdirs= + next= + for opt in $2; do + if test -n "$next"; then + dir="$next" + dnl No need to hardcode the standard /usr/lib. + if test "X$dir" != "X/usr/$acl_libdirstem"; then + rpathdirs="$rpathdirs $dir" + fi + next= + else + case $opt in + -L) next=yes ;; + -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` + dnl No need to hardcode the standard /usr/lib. + if test "X$dir" != "X/usr/$acl_libdirstem"; then + rpathdirs="$rpathdirs $dir" + fi + next= ;; + *) next= ;; + esac + fi + done + if test "X$rpathdirs" != "X"; then + if test -n ""$3""; then + dnl libtool is used for linking. Use -R options. + for dir in $rpathdirs; do + $1="${$1}${$1:+ }-R$dir" + done + else + dnl The linker is used for linking directly. + if test -n "$acl_hardcode_libdir_separator"; then + dnl Weird platform: only the last -rpath option counts, the user + dnl must pass all path elements in one option. + alldirs= + for dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + $1="$flag" + else + dnl The -rpath options are cumulative. + for dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + $1="${$1}${$1:+ }$flag" + done + fi + fi + fi + fi + fi + AC_SUBST([$1]) + ]) + # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation *************** *** 1018,1023 **** --- 1839,1845 ---- m4_include([m4/pandora_enable_dtrace.m4]) m4_include([m4/pandora_ensure_gcc_version.m4]) m4_include([m4/pandora_have_better_malloc.m4]) + m4_include([m4/pandora_have_sasl.m4]) m4_include([m4/pandora_header_assert.m4]) m4_include([m4/pandora_libtool.m4]) m4_include([m4/pandora_optimize.m4]) diff -rcN a/libmemcached-0.32/clients/client_options.h b/libmemcached-0.32/clients/client_options.h *** a/libmemcached-0.32/clients/client_options.h 2009-05-20 11:08:20.000000000 -0700 --- b/libmemcached-0.32/clients/client_options.h 2010-03-07 13:32:50.000089786 -0800 *************** *** 24,30 **** OPT_FLUSH, OPT_HASH, OPT_BINARY, ! OPT_UDP } memcached_options; #endif /* CLIENT_OPTIONS */ --- 24,32 ---- OPT_FLUSH, OPT_HASH, OPT_BINARY, ! OPT_UDP, ! OPT_USERNAME, ! OPT_PASSWD } memcached_options; #endif /* CLIENT_OPTIONS */ diff -rcN a/libmemcached-0.32/clients/Makefile.am b/libmemcached-0.32/clients/Makefile.am *** a/libmemcached-0.32/clients/Makefile.am 2009-09-15 13:20:16.000000000 -0700 --- b/libmemcached-0.32/clients/Makefile.am 2010-03-07 13:32:50.003916530 -0800 *************** *** 1,11 **** LDADDS = libutilities.la $(top_builddir)/libmemcached/libmemcached.la bin_PROGRAMS = memcat memdump memcp memstat memrm memflush memslap memerror noinst_HEADERS = client_options.h \ utilities.h \ generator.h \ ! execute.h noinst_LTLIBRARIES= libutilities.la libgenexec.la --- 1,15 ---- LDADDS = libutilities.la $(top_builddir)/libmemcached/libmemcached.la + if HAVE_SASL + LDADDS+= $(LIBSASL) + endif + bin_PROGRAMS = memcat memdump memcp memstat memrm memflush memslap memerror noinst_HEADERS = client_options.h \ utilities.h \ generator.h \ ! execute.h noinst_LTLIBRARIES= libutilities.la libgenexec.la *************** *** 42,48 **** memslap_SOURCES = memslap.c memslap_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) ! memslap_LDADD = $(PTHREAD_LIBS) libgenexec.la $(LDADDS) memslap_LDFLAGS = $(AM_LDFLAGS) -rpath $(pkglibdir) test-start-server: --- 46,52 ---- memslap_SOURCES = memslap.c memslap_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) ! memslap_LDADD = $(PTHREAD_LIBS) libgenexec.la $(LDADDS) memslap_LDFLAGS = $(AM_LDFLAGS) -rpath $(pkglibdir) test-start-server: diff -rcN a/libmemcached-0.32/clients/Makefile.in b/libmemcached-0.32/clients/Makefile.in *** a/libmemcached-0.32/clients/Makefile.in 2009-09-15 15:50:01.000000000 -0700 --- b/libmemcached-0.32/clients/Makefile.in 2010-03-07 13:32:50.003916530 -0800 *************** *** 37,42 **** --- 37,43 ---- build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ + @HAVE_SASL_TRUE@am__append_1 = $(LIBSASL) bin_PROGRAMS = memcat$(EXEEXT) memdump$(EXEEXT) memcp$(EXEEXT) \ memstat$(EXEEXT) memrm$(EXEEXT) memflush$(EXEEXT) \ memslap$(EXEEXT) memerror$(EXEEXT) *************** *** 61,66 **** --- 62,68 ---- $(top_srcdir)/m4/pandora_enable_dtrace.m4 \ $(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \ $(top_srcdir)/m4/pandora_have_better_malloc.m4 \ + $(top_srcdir)/m4/pandora_have_sasl.m4 \ $(top_srcdir)/m4/pandora_header_assert.m4 \ $(top_srcdir)/m4/pandora_libtool.m4 \ $(top_srcdir)/m4/pandora_optimize.m4 \ *************** *** 88,137 **** PROGRAMS = $(bin_PROGRAMS) am_memcat_OBJECTS = memcat.$(OBJEXT) memcat_OBJECTS = $(am_memcat_OBJECTS) ! memcat_DEPENDENCIES = $(LDADDS) memcat_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memcat_LDFLAGS) \ $(LDFLAGS) -o $@ am_memcp_OBJECTS = memcp.$(OBJEXT) memcp_OBJECTS = $(am_memcp_OBJECTS) ! memcp_DEPENDENCIES = $(LDADDS) memcp_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memcp_LDFLAGS) \ $(LDFLAGS) -o $@ am_memdump_OBJECTS = memdump.$(OBJEXT) memdump_OBJECTS = $(am_memdump_OBJECTS) ! memdump_DEPENDENCIES = $(LDADDS) memdump_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memdump_LDFLAGS) \ $(LDFLAGS) -o $@ am_memerror_OBJECTS = memerror.$(OBJEXT) memerror_OBJECTS = $(am_memerror_OBJECTS) ! memerror_DEPENDENCIES = $(LDADDS) memerror_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memerror_LDFLAGS) \ $(LDFLAGS) -o $@ am_memflush_OBJECTS = memflush.$(OBJEXT) memflush_OBJECTS = $(am_memflush_OBJECTS) ! memflush_DEPENDENCIES = $(LDADDS) memflush_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memflush_LDFLAGS) \ $(LDFLAGS) -o $@ am_memrm_OBJECTS = memrm.$(OBJEXT) memrm_OBJECTS = $(am_memrm_OBJECTS) ! memrm_DEPENDENCIES = $(LDADDS) memrm_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memrm_LDFLAGS) \ $(LDFLAGS) -o $@ am_memslap_OBJECTS = memslap-memslap.$(OBJEXT) memslap_OBJECTS = $(am_memslap_OBJECTS) ! am__DEPENDENCIES_1 = ! memslap_DEPENDENCIES = $(am__DEPENDENCIES_1) libgenexec.la $(LDADDS) memslap_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(memslap_CFLAGS) $(CFLAGS) \ $(memslap_LDFLAGS) $(LDFLAGS) -o $@ am_memstat_OBJECTS = memstat.$(OBJEXT) memstat_OBJECTS = $(am_memstat_OBJECTS) ! memstat_DEPENDENCIES = $(LDADDS) memstat_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memstat_LDFLAGS) \ $(LDFLAGS) -o $@ --- 90,144 ---- PROGRAMS = $(bin_PROGRAMS) am_memcat_OBJECTS = memcat.$(OBJEXT) memcat_OBJECTS = $(am_memcat_OBJECTS) ! am__DEPENDENCIES_1 = ! @HAVE_SASL_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) ! am__DEPENDENCIES_3 = libutilities.la \ ! $(top_builddir)/libmemcached/libmemcached.la \ ! $(am__DEPENDENCIES_2) ! memcat_DEPENDENCIES = $(am__DEPENDENCIES_3) memcat_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memcat_LDFLAGS) \ $(LDFLAGS) -o $@ am_memcp_OBJECTS = memcp.$(OBJEXT) memcp_OBJECTS = $(am_memcp_OBJECTS) ! memcp_DEPENDENCIES = $(am__DEPENDENCIES_3) memcp_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memcp_LDFLAGS) \ $(LDFLAGS) -o $@ am_memdump_OBJECTS = memdump.$(OBJEXT) memdump_OBJECTS = $(am_memdump_OBJECTS) ! memdump_DEPENDENCIES = $(am__DEPENDENCIES_3) memdump_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memdump_LDFLAGS) \ $(LDFLAGS) -o $@ am_memerror_OBJECTS = memerror.$(OBJEXT) memerror_OBJECTS = $(am_memerror_OBJECTS) ! memerror_DEPENDENCIES = $(am__DEPENDENCIES_3) memerror_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memerror_LDFLAGS) \ $(LDFLAGS) -o $@ am_memflush_OBJECTS = memflush.$(OBJEXT) memflush_OBJECTS = $(am_memflush_OBJECTS) ! memflush_DEPENDENCIES = $(am__DEPENDENCIES_3) memflush_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memflush_LDFLAGS) \ $(LDFLAGS) -o $@ am_memrm_OBJECTS = memrm.$(OBJEXT) memrm_OBJECTS = $(am_memrm_OBJECTS) ! memrm_DEPENDENCIES = $(am__DEPENDENCIES_3) memrm_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memrm_LDFLAGS) \ $(LDFLAGS) -o $@ am_memslap_OBJECTS = memslap-memslap.$(OBJEXT) memslap_OBJECTS = $(am_memslap_OBJECTS) ! memslap_DEPENDENCIES = $(am__DEPENDENCIES_1) libgenexec.la \ ! $(am__DEPENDENCIES_3) memslap_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(memslap_CFLAGS) $(CFLAGS) \ $(memslap_LDFLAGS) $(LDFLAGS) -o $@ am_memstat_OBJECTS = memstat.$(OBJEXT) memstat_OBJECTS = $(am_memstat_OBJECTS) ! memstat_DEPENDENCIES = $(am__DEPENDENCIES_3) memstat_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(memstat_LDFLAGS) \ $(LDFLAGS) -o $@ *************** *** 199,204 **** --- 206,213 ---- EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ + HAVE_LIBSASL = @HAVE_LIBSASL@ + HAVE_LIBSASL2 = @HAVE_LIBSASL2@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ *************** *** 212,223 **** --- 221,239 ---- LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@ LIBC_P = @LIBC_P@ LIBM = @LIBM@ + LIBMEMCACHED_WITH_SASL_SUPPORT = @LIBMEMCACHED_WITH_SASL_SUPPORT@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ + LIBSASL = @LIBSASL@ + LIBSASL2 = @LIBSASL2@ + LIBSASL2_PREFIX = @LIBSASL2_PREFIX@ + LIBSASL_PREFIX = @LIBSASL_PREFIX@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ + LTLIBSASL = @LTLIBSASL@ + LTLIBSASL2 = @LTLIBSASL2@ MAKEINFO = @MAKEINFO@ MEMCACHEDUTIL_LIBRARY_VERSION = @MEMCACHEDUTIL_LIBRARY_VERSION@ MEMCACHED_LIBRARY_VERSION = @MEMCACHED_LIBRARY_VERSION@ *************** *** 239,244 **** --- 255,261 ---- PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ + PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ *************** *** 311,321 **** top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ! LDADDS = libutilities.la $(top_builddir)/libmemcached/libmemcached.la noinst_HEADERS = client_options.h \ utilities.h \ generator.h \ ! execute.h noinst_LTLIBRARIES = libutilities.la libgenexec.la libutilities_la_SOURCES = utilities.c --- 328,339 ---- top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ! LDADDS = libutilities.la $(top_builddir)/libmemcached/libmemcached.la \ ! $(am__append_1) noinst_HEADERS = client_options.h \ utilities.h \ generator.h \ ! execute.h noinst_LTLIBRARIES = libutilities.la libgenexec.la libutilities_la_SOURCES = utilities.c *************** *** 343,349 **** memerror_LDFLAGS = -rpath $(pkglibdir) memslap_SOURCES = memslap.c memslap_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) ! memslap_LDADD = $(PTHREAD_LIBS) libgenexec.la $(LDADDS) memslap_LDFLAGS = $(AM_LDFLAGS) -rpath $(pkglibdir) all: all-am --- 361,367 ---- memerror_LDFLAGS = -rpath $(pkglibdir) memslap_SOURCES = memslap.c memslap_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) ! memslap_LDADD = $(PTHREAD_LIBS) libgenexec.la $(LDADDS) memslap_LDFLAGS = $(AM_LDFLAGS) -rpath $(pkglibdir) all: all-am diff -rcN a/libmemcached-0.32/clients/memcat.c b/libmemcached-0.32/clients/memcat.c *** a/libmemcached-0.32/clients/memcat.c 2009-08-11 15:44:44.000000000 -0700 --- b/libmemcached-0.32/clients/memcat.c 2010-03-07 13:32:50.003916530 -0800 *************** *** 20,25 **** --- 20,27 ---- static int opt_displayflag= 0; static char *opt_servers= NULL; static char *opt_hash= NULL; + static char *opt_username; + static char *opt_passwd; int main(int argc, char *argv[]) { *************** *** 55,60 **** --- 57,68 ---- memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, (uint64_t)opt_binary); + if (!initialize_sasl(memc, opt_username, opt_passwd)) + { + memcached_free(memc); + return 1; + } + while (optind < argc) { string= memcached_get(memc, argv[optind], strlen(argv[optind]), *************** *** 94,99 **** --- 102,109 ---- if (opt_hash) free(opt_hash); + shutdown_sasl(); + return 0; } *************** *** 118,123 **** --- 128,135 ---- {(OPTIONSTRING)"flag", no_argument, &opt_displayflag, OPT_FLAG}, {(OPTIONSTRING)"hash", required_argument, NULL, OPT_HASH}, {(OPTIONSTRING)"binary", no_argument, NULL, OPT_BINARY}, + {(OPTIONSTRING)"username", required_argument, NULL, OPT_USERNAME}, + {(OPTIONSTRING)"password", required_argument, NULL, OPT_PASSWD}, {0, 0, 0, 0}, }; *************** *** 150,155 **** --- 162,173 ---- case OPT_HASH: opt_hash= strdup(optarg); break; + case OPT_USERNAME: + opt_username= optarg; + break; + case OPT_PASSWD: + opt_passwd= optarg; + break; case '?': /* getopt_long already printed an error message. */ exit(1); diff -rcN a/libmemcached-0.32/clients/memcp.c b/libmemcached-0.32/clients/memcp.c *** a/libmemcached-0.32/clients/memcp.c 2009-08-11 15:44:44.000000000 -0700 --- b/libmemcached-0.32/clients/memcp.c 2010-03-07 13:32:50.003916530 -0800 *************** *** 30,35 **** --- 30,37 ---- static int opt_method= OPT_SET; static uint32_t opt_flags= 0; static time_t opt_expires= 0; + static char *opt_username; + static char *opt_passwd; int main(int argc, char *argv[]) { *************** *** 64,69 **** --- 66,76 ---- memcached_server_list_free(servers); memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, (uint64_t)opt_binary); + if (!initialize_sasl(memc, opt_username, opt_passwd)) + { + memcached_free(memc); + return 1; + } while (optind < argc) { *************** *** 149,154 **** --- 156,162 ---- free(opt_servers); if (opt_hash) free(opt_hash); + shutdown_sasl(); return 0; } *************** *** 177,182 **** --- 185,192 ---- {(OPTIONSTRING)"replace", no_argument, NULL, OPT_REPLACE}, {(OPTIONSTRING)"hash", required_argument, NULL, OPT_HASH}, {(OPTIONSTRING)"binary", no_argument, NULL, OPT_BINARY}, + {(OPTIONSTRING)"username", required_argument, NULL, OPT_USERNAME}, + {(OPTIONSTRING)"password", required_argument, NULL, OPT_PASSWD}, {0, 0, 0, 0}, }; *************** *** 225,230 **** --- 235,246 ---- case OPT_HASH: opt_hash= strdup(optarg); break; + case OPT_USERNAME: + opt_username= optarg; + break; + case OPT_PASSWD: + opt_passwd= optarg; + break; case '?': /* getopt_long already printed an error message. */ exit(1); diff -rcN a/libmemcached-0.32/clients/memdump.c b/libmemcached-0.32/clients/memdump.c *** a/libmemcached-0.32/clients/memdump.c 2009-08-11 15:44:44.000000000 -0700 --- b/libmemcached-0.32/clients/memdump.c 2010-03-07 13:32:50.003916530 -0800 *************** *** 27,32 **** --- 27,34 ---- static int opt_verbose= 0; static char *opt_servers= NULL; static char *opt_hash= NULL; + static char *opt_username; + static char *opt_passwd; /* Print the keys and counter how many were found */ static memcached_return key_printer(memcached_st *ptr __attribute__((unused)), *************** *** 74,79 **** --- 76,86 ---- memcached_server_list_free(servers); memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, (uint64_t)opt_binary); + if (!initialize_sasl(memc, opt_username, opt_passwd)) + { + memcached_free(memc); + return 1; + } rc= memcached_dump(memc, callbacks, NULL, 1); *************** *** 92,97 **** --- 99,106 ---- if (opt_hash) free(opt_hash); + shutdown_sasl(); + return 0; } *************** *** 109,114 **** --- 118,125 ---- {(OPTIONSTRING)"servers", required_argument, NULL, OPT_SERVERS}, {(OPTIONSTRING)"hash", required_argument, NULL, OPT_HASH}, {(OPTIONSTRING)"binary", no_argument, NULL, OPT_BINARY}, + {(OPTIONSTRING)"username", required_argument, NULL, OPT_USERNAME}, + {(OPTIONSTRING)"password", required_argument, NULL, OPT_PASSWD}, {0, 0, 0, 0} }; *************** *** 143,148 **** --- 154,165 ---- case OPT_HASH: opt_hash= strdup(optarg); break; + case OPT_USERNAME: + opt_username= optarg; + break; + case OPT_PASSWD: + opt_passwd= optarg; + break; case '?': /* getopt_long already printed an error message. */ exit(1); diff -rcN a/libmemcached-0.32/clients/memflush.c b/libmemcached-0.32/clients/memflush.c *** a/libmemcached-0.32/clients/memflush.c 2009-08-11 15:44:44.000000000 -0700 --- b/libmemcached-0.32/clients/memflush.c 2010-03-07 13:32:50.007383173 -0800 *************** *** 11,16 **** --- 11,18 ---- static int opt_verbose= 0; static time_t opt_expire= 0; static char *opt_servers= NULL; + static char *opt_username; + static char *opt_passwd; #define PROGRAM_NAME "memflush" #define PROGRAM_DESCRIPTION "Erase all data in a server of memcached servers." *************** *** 47,52 **** --- 49,60 ---- memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, (uint64_t) opt_binary); + if (!initialize_sasl(memc, opt_username, opt_passwd)) + { + memcached_free(memc); + return 1; + } + rc = memcached_flush(memc, opt_expire); if (rc != MEMCACHED_SUCCESS) { *************** *** 61,66 **** --- 69,76 ---- free(opt_servers); + shutdown_sasl(); + return 0; } *************** *** 81,86 **** --- 91,98 ---- {(OPTIONSTRING)"servers", required_argument, NULL, OPT_SERVERS}, {(OPTIONSTRING)"expire", required_argument, NULL, OPT_EXPIRE}, {(OPTIONSTRING)"binary", no_argument, NULL, OPT_BINARY}, + {(OPTIONSTRING)"username", required_argument, NULL, OPT_USERNAME}, + {(OPTIONSTRING)"password", required_argument, NULL, OPT_PASSWD}, {0, 0, 0, 0}, }; int option_index= 0; *************** *** 115,120 **** --- 127,138 ---- case OPT_EXPIRE: /* --expire */ opt_expire= (time_t)strtoll(optarg, (char **)NULL, 10); break; + case OPT_USERNAME: + opt_username= optarg; + break; + case OPT_PASSWD: + opt_passwd= optarg; + break; case '?': /* getopt_long already printed an error message. */ exit(1); diff -rcN a/libmemcached-0.32/clients/memrm.c b/libmemcached-0.32/clients/memrm.c *** a/libmemcached-0.32/clients/memrm.c 2009-08-11 15:44:44.000000000 -0700 --- b/libmemcached-0.32/clients/memrm.c 2010-03-07 13:32:50.007383173 -0800 *************** *** 12,17 **** --- 12,19 ---- static time_t opt_expire= 0; static char *opt_servers= NULL; static char *opt_hash= NULL; + static char *opt_username; + static char *opt_passwd; #define PROGRAM_NAME "memrm" #define PROGRAM_DESCRIPTION "Erase a key or set of keys from a memcached cluster." *************** *** 49,54 **** --- 51,62 ---- memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, (uint64_t) opt_binary); + if (!initialize_sasl(memc, opt_username, opt_passwd)) + { + memcached_free(memc); + return 1; + } + while (optind < argc) { if (opt_verbose) *************** *** 74,79 **** --- 82,89 ---- if (opt_hash) free(opt_hash); + shutdown_sasl(); + return 0; } *************** *** 95,100 **** --- 105,112 ---- {(OPTIONSTRING)"expire", required_argument, NULL, OPT_EXPIRE}, {(OPTIONSTRING)"hash", required_argument, NULL, OPT_HASH}, {(OPTIONSTRING)"binary", no_argument, NULL, OPT_BINARY}, + {(OPTIONSTRING)"username", required_argument, NULL, OPT_USERNAME}, + {(OPTIONSTRING)"password", required_argument, NULL, OPT_PASSWD}, {0, 0, 0, 0}, }; int option_index= 0; *************** *** 132,137 **** --- 144,155 ---- case OPT_HASH: opt_hash= strdup(optarg); break; + case OPT_USERNAME: + opt_username= optarg; + break; + case OPT_PASSWD: + opt_passwd= optarg; + break; case '?': /* getopt_long already printed an error message. */ exit(1); diff -rcN a/libmemcached-0.32/clients/memslap.c b/libmemcached-0.32/clients/memslap.c *** a/libmemcached-0.32/clients/memslap.c 2009-08-11 15:44:44.000000000 -0700 --- b/libmemcached-0.32/clients/memslap.c 2010-03-07 13:32:50.007383173 -0800 *************** *** 65,71 **** void options_parse(int argc, char *argv[]); void conclusions_print(conclusions_st *conclusion); void scheduler(memcached_server_st *servers, conclusions_st *conclusion); ! pairs_st *load_create_data(memcached_st *memc, unsigned int number_of, unsigned int *actual_loaded); void flush_all(memcached_st *memc); --- 65,71 ---- void options_parse(int argc, char *argv[]); void conclusions_print(conclusions_st *conclusion); void scheduler(memcached_server_st *servers, conclusions_st *conclusion); ! pairs_st *load_create_data(memcached_st *memc, unsigned int number_of, unsigned int *actual_loaded); void flush_all(memcached_st *memc); *************** *** 80,85 **** --- 80,88 ---- static int opt_displayflag= 0; static char *opt_servers= NULL; static int opt_udp_io= 0; + static char *opt_username; + static char *opt_passwd; + test_type opt_test= SET_TEST; int main(int argc, char *argv[]) *************** *** 155,161 **** memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, (uint64_t)opt_binary); ! if (opt_flush) flush_all(memc); if (opt_createial_load) --- 158,169 ---- memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, (uint64_t)opt_binary); ! if (!initialize_sasl(memc, opt_username, opt_passwd)) ! { ! memcached_free(memc); ! exit(1); ! } ! if (opt_flush) flush_all(memc); if (opt_createial_load) *************** *** 227,234 **** --- 235,244 ---- conclusion->read_time= timedif(end_time, start_time); pairs_free(pairs); memcached_free(memc); + shutdown_sasl(); } + void options_parse(int argc, char *argv[]) { memcached_programs_help_st help_options[]= *************** *** 253,265 **** {(OPTIONSTRING)"version", no_argument, NULL, OPT_VERSION}, {(OPTIONSTRING)"binary", no_argument, NULL, OPT_BINARY}, {(OPTIONSTRING)"udp", no_argument, NULL, OPT_UDP}, {0, 0, 0, 0}, }; int option_index= 0; int option_rv; ! while (1) { option_rv= getopt_long(argc, argv, "Vhvds:", long_options, &option_index); if (option_rv == -1) break; --- 263,277 ---- {(OPTIONSTRING)"version", no_argument, NULL, OPT_VERSION}, {(OPTIONSTRING)"binary", no_argument, NULL, OPT_BINARY}, {(OPTIONSTRING)"udp", no_argument, NULL, OPT_UDP}, + {(OPTIONSTRING)"username", required_argument, NULL, OPT_USERNAME}, + {(OPTIONSTRING)"password", required_argument, NULL, OPT_PASSWD}, {0, 0, 0, 0}, }; int option_index= 0; int option_rv; ! while (1) { option_rv= getopt_long(argc, argv, "Vhvds:", long_options, &option_index); if (option_rv == -1) break; *************** *** 307,313 **** } else if (!strcmp(optarg, "set")) opt_test= SET_TEST; ! else { fprintf(stderr, "Your test, %s, is not a known test\n", optarg); exit(1); --- 319,325 ---- } else if (!strcmp(optarg, "set")) opt_test= SET_TEST; ! else { fprintf(stderr, "Your test, %s, is not a known test\n", optarg); exit(1); *************** *** 322,327 **** --- 334,345 ---- case OPT_SLAP_INITIAL_LOAD: opt_createial_load= (unsigned int)strtoul(optarg, (char **)NULL, 10); break; + case OPT_USERNAME: + opt_username= optarg; + break; + case OPT_PASSWD: + opt_passwd= optarg; + break; case '?': /* getopt_long already printed an error message. */ exit(1); *************** *** 348,357 **** printf("\tRead %u rows\n", conclusion->rows_read); #endif if (opt_test == SET_TEST) ! printf("\tTook %ld.%03ld seconds to load data\n", conclusion->load_time / 1000, conclusion->load_time % 1000); else ! printf("\tTook %ld.%03ld seconds to read data\n", conclusion->read_time / 1000, conclusion->read_time % 1000); } --- 366,375 ---- printf("\tRead %u rows\n", conclusion->rows_read); #endif if (opt_test == SET_TEST) ! printf("\tTook %ld.%03ld seconds to load data\n", conclusion->load_time / 1000, conclusion->load_time % 1000); else ! printf("\tTook %ld.%03ld seconds to read data\n", conclusion->read_time / 1000, conclusion->read_time % 1000); } *************** *** 366,372 **** while (master_wakeup) { pthread_cond_wait(&sleep_threshhold, &sleeper_mutex); ! } pthread_mutex_unlock(&sleeper_mutex); /* Do Stuff */ --- 384,390 ---- while (master_wakeup) { pthread_cond_wait(&sleep_threshhold, &sleeper_mutex); ! } pthread_mutex_unlock(&sleeper_mutex); /* Do Stuff */ *************** *** 404,410 **** memcached_flush(memc, 0); } ! pairs_st *load_create_data(memcached_st *memc, unsigned int number_of, unsigned int *actual_loaded) { memcached_st *memc_clone; --- 422,428 ---- memcached_flush(memc, 0); } ! pairs_st *load_create_data(memcached_st *memc, unsigned int number_of, unsigned int *actual_loaded) { memcached_st *memc_clone; diff -rcN a/libmemcached-0.32/clients/utilities.c b/libmemcached-0.32/clients/utilities.c *** a/libmemcached-0.32/clients/utilities.c 2009-07-15 03:34:17.000000000 -0700 --- b/libmemcached-0.32/clients/utilities.c 2010-03-07 13:32:50.007383173 -0800 *************** *** 47,52 **** --- 47,54 ---- case OPT_BINARY: return("Switch to binary protocol."); case OPT_ANALYZE: return("Analyze the provided servers."); case OPT_UDP: return("Use UDP protocol when communicating with server."); + case OPT_USERNAME: return "Username to use for SASL authentication"; + case OPT_PASSWD: return "Password to use for SASL authentication"; default: WATCHPOINT_ASSERT(0); }; *************** *** 111,113 **** --- 113,205 ---- } } + static char *username; + static char *passwd; + + #ifdef LIBMEMCACHED_WITH_SASL_SUPPORT + static int get_username(void *context, int id, const char **result, + unsigned int *len) + { + (void)context; + if (!result || (id != SASL_CB_USER && id != SASL_CB_AUTHNAME)) + return SASL_BADPARAM; + + *result= username; + if (len) + *len= (username == NULL) ? 0 : (unsigned int)strlen(username); + + return SASL_OK; + } + + static int get_password(sasl_conn_t *conn, void *context, int id, + sasl_secret_t **psecret) + { + (void)context; + static sasl_secret_t* x; + + if (!conn || ! psecret || id != SASL_CB_PASS) + return SASL_BADPARAM; + + if (passwd == NULL) + { + *psecret= NULL; + return SASL_OK; + } + + size_t len= strlen(passwd); + x = realloc(x, sizeof(sasl_secret_t) + len); + if (!x) + return SASL_NOMEM; + + x->len = len; + strcpy((void *)x->data, passwd); + + *psecret = x; + return SASL_OK; + } + + /* callbacks we support */ + static sasl_callback_t sasl_callbacks[] = { + { + SASL_CB_USER, &get_username, NULL + }, { + SASL_CB_AUTHNAME, &get_username, NULL + }, { + SASL_CB_PASS, &get_password, NULL + }, { + SASL_CB_LIST_END, NULL, NULL + } + }; + #endif + + bool initialize_sasl(memcached_st *memc, char *user, char *password) + { + #ifdef LIBMEMCACHED_WITH_SASL_SUPPORT + if (user != NULL && password != NULL) + { + username= user; + passwd= password; + + if (sasl_client_init(NULL) != SASL_OK) + { + fprintf(stderr, "Failed to initialize sasl library!\n"); + return false; + } + memcached_set_sasl_callbacks(memc, sasl_callbacks); + } + #else + (void)memc; + (void)user; + (void)passwd; + #endif + + return true; + } + + void shutdown_sasl(void) + { + #if LIBMEMCACHED_WITH_SASL_SUPPORT + if (username != NULL || passwd != NULL) + sasl_done(); + #endif + } diff -rcN a/libmemcached-0.32/clients/utilities.h b/libmemcached-0.32/clients/utilities.h *** a/libmemcached-0.32/clients/utilities.h 2009-08-11 15:44:44.000000000 -0700 --- b/libmemcached-0.32/clients/utilities.h 2010-03-07 13:32:50.007383173 -0800 *************** *** 37,39 **** --- 37,41 ---- const struct option *long_options, memcached_programs_help_st *options); void process_hash_option(memcached_st *memc, char *opt_hash); + bool initialize_sasl(memcached_st *memc, char *user, char *password); + void shutdown_sasl(void); diff -rcN a/libmemcached-0.32/config/config.rpath b/libmemcached-0.32/config/config.rpath *** a/libmemcached-0.32/config/config.rpath 1969-12-31 16:00:00.000000000 -0800 --- b/libmemcached-0.32/config/config.rpath 2010-03-07 13:32:50.007383173 -0800 *************** *** 0 **** --- 1,666 ---- + #! /bin/sh + # Output a system dependent set of variables, describing how to set the + # run time search path of shared libraries in an executable. + # + # Copyright 1996-2007 Free Software Foundation, Inc. + # Taken from GNU libtool, 2001 + # Originally by Gordon Matzigkeit , 1996 + # + # This file is free software; the Free Software Foundation gives + # unlimited permission to copy and/or distribute it, with or without + # modifications, as long as this notice is preserved. + # + # The first argument passed to this file is the canonical host specification, + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM + # or + # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM + # The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld + # should be set by the caller. + # + # The set of defined variables is at the end of this script. + + # Known limitations: + # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer + # than 256 bytes, otherwise the compiler driver will dump core. The only + # known workaround is to choose shorter directory names for the build + # directory and/or the installation directory. + + # All known linkers require a `.a' archive for static linking (except MSVC, + # which needs '.lib'). + libext=a + shrext=.so + + host="$1" + host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` + host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` + host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + + # Code taken from libtool.m4's _LT_CC_BASENAME. + + for cc_temp in $CC""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac + done + cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` + + # Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. + + wl= + if test "$GCC" = yes; then + wl='-Wl,' + else + case "$host_os" in + aix*) + wl='-Wl,' + ;; + darwin*) + case $cc_basename in + xlc*) + wl='-Wl,' + ;; + esac + ;; + mingw* | cygwin* | pw32* | os2*) + ;; + hpux9* | hpux10* | hpux11*) + wl='-Wl,' + ;; + irix5* | irix6* | nonstopux*) + wl='-Wl,' + ;; + newsos6) + ;; + linux* | k*bsd*-gnu) + case $cc_basename in + icc* | ecc*) + wl='-Wl,' + ;; + pgcc | pgf77 | pgf90) + wl='-Wl,' + ;; + ccc*) + wl='-Wl,' + ;; + como) + wl='-lopt=' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + wl='-Wl,' + ;; + esac + ;; + esac + ;; + osf3* | osf4* | osf5*) + wl='-Wl,' + ;; + rdos*) + ;; + solaris*) + wl='-Wl,' + ;; + sunos4*) + wl='-Qoption ld ' + ;; + sysv4 | sysv4.2uw2* | sysv4.3*) + wl='-Wl,' + ;; + sysv4*MP*) + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + wl='-Wl,' + ;; + unicos*) + wl='-Wl,' + ;; + uts4*) + ;; + esac + fi + + # Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. + + hardcode_libdir_flag_spec= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + + case "$host_os" in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + # Unlike libtool, we use -rpath here, not --rpath, since the documented + # option of GNU ld is called -rpath, not --rpath. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + case "$host_os" in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + fi + ;; + amigaos*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we cannot use + # them. + ld_shlibs=no + ;; + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + cygwin* | mingw* | pw32*) + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + interix[3-9]*) + hardcode_direct=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + gnu* | linux* | k*bsd*-gnu) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + netbsd*) + ;; + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + else + ld_shlibs=no + fi + ;; + esac + ;; + sunos4*) + hardcode_direct=yes + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + esac + if test "$ld_shlibs" = no; then + hardcode_libdir_flag_spec= + fi + else + case "$host_os" in + aix3*) + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + else + aix_use_runtimelinking=no + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + fi + hardcode_direct=yes + hardcode_libdir_separator=':' + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct=unsupported + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + fi + # Begin _LT_AC_SYS_LIBPATH_AIX. + echo 'int main () { return 0; }' > conftest.c + ${CC} ${LDFLAGS} conftest.c -o conftest + aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } + }'` + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } + }'` + fi + if test -z "$aix_libpath"; then + aix_libpath="/usr/lib:/lib" + fi + rm -f conftest.c conftest + # End _LT_AC_SYS_LIBPATH_AIX. + if test "$aix_use_runtimelinking" = yes; then + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + else + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + fi + fi + ;; + amigaos*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + bsdi[45]*) + ;; + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + libext=lib + ;; + darwin* | rhapsody*) + hardcode_direct=no + if test "$GCC" = yes ; then + : + else + case $cc_basename in + xlc*) + ;; + *) + ld_shlibs=no + ;; + esac + fi + ;; + dgux*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + freebsd1*) + ld_shlibs=no + ;; + freebsd2.2*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + freebsd2*) + hardcode_direct=yes + hardcode_minus_L=yes + ;; + freebsd* | dragonfly*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + hpux9*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + hpux10*) + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + hpux11*) + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct=no + ;; + *) + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + irix5* | irix6* | nonstopux*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + netbsd*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + newsos6) + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct=yes + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + else + case "$host_os" in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs=no + fi + ;; + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + osf3*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + osf4* | osf5*) + if test "$GCC" = yes; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + # Both cc and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + solaris*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + sunos4*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + ;; + sysv4) + case $host_vendor in + sni) + hardcode_direct=yes # is this really true??? + ;; + siemens) + hardcode_direct=no + ;; + motorola) + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + ;; + sysv4.3*) + ;; + sysv4*MP*) + if test -d /usr/nec; then + ld_shlibs=yes + fi + ;; + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + ;; + sysv5* | sco3.2v5* | sco5v6*) + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator=':' + ;; + uts4*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + *) + ld_shlibs=no + ;; + esac + fi + + # Check dynamic linker characteristics + # Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. + # Unlike libtool.m4, here we don't care about _all_ names of the library, but + # only about the one the linker finds when passed -lNAME. This is the last + # element of library_names_spec in libtool.m4, or possibly two of them if the + # linker has special search rules. + library_names_spec= # the last element of library_names_spec in libtool.m4 + libname_spec='lib$name' + case "$host_os" in + aix3*) + library_names_spec='$libname.a' + ;; + aix4* | aix5*) + library_names_spec='$libname$shrext' + ;; + amigaos*) + library_names_spec='$libname.a' + ;; + beos*) + library_names_spec='$libname$shrext' + ;; + bsdi[45]*) + library_names_spec='$libname$shrext' + ;; + cygwin* | mingw* | pw32*) + shrext=.dll + library_names_spec='$libname.dll.a $libname.lib' + ;; + darwin* | rhapsody*) + shrext=.dylib + library_names_spec='$libname$shrext' + ;; + dgux*) + library_names_spec='$libname$shrext' + ;; + freebsd1*) + ;; + freebsd* | dragonfly*) + case "$host_os" in + freebsd[123]*) + library_names_spec='$libname$shrext$versuffix' ;; + *) + library_names_spec='$libname$shrext' ;; + esac + ;; + gnu*) + library_names_spec='$libname$shrext' + ;; + hpux9* | hpux10* | hpux11*) + case $host_cpu in + ia64*) + shrext=.so + ;; + hppa*64*) + shrext=.sl + ;; + *) + shrext=.sl + ;; + esac + library_names_spec='$libname$shrext' + ;; + interix[3-9]*) + library_names_spec='$libname$shrext' + ;; + irix5* | irix6* | nonstopux*) + library_names_spec='$libname$shrext' + case "$host_os" in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; + *) libsuff= shlibsuff= ;; + esac + ;; + esac + ;; + linux*oldld* | linux*aout* | linux*coff*) + ;; + linux* | k*bsd*-gnu) + library_names_spec='$libname$shrext' + ;; + knetbsd*-gnu) + library_names_spec='$libname$shrext' + ;; + netbsd*) + library_names_spec='$libname$shrext' + ;; + newsos6) + library_names_spec='$libname$shrext' + ;; + nto-qnx*) + library_names_spec='$libname$shrext' + ;; + openbsd*) + library_names_spec='$libname$shrext$versuffix' + ;; + os2*) + libname_spec='$name' + shrext=.dll + library_names_spec='$libname.a' + ;; + osf3* | osf4* | osf5*) + library_names_spec='$libname$shrext' + ;; + rdos*) + ;; + solaris*) + library_names_spec='$libname$shrext' + ;; + sunos4*) + library_names_spec='$libname$shrext$versuffix' + ;; + sysv4 | sysv4.3*) + library_names_spec='$libname$shrext' + ;; + sysv4*MP*) + library_names_spec='$libname$shrext' + ;; + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + library_names_spec='$libname$shrext' + ;; + uts4*) + library_names_spec='$libname$shrext' + ;; + esac + + sed_quote_subst='s/\(["`$\\]\)/\\\1/g' + escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` + shlibext=`echo "$shrext" | sed -e 's,^\.,,'` + escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + + LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' < does not define. */ --- 234,247 ---- nothing if this is not supported. Do not define if restrict is supported directly. */ #undef restrict ! /* Work around a bug in Sun C++: it does not support _Restrict or ! __restrict__, even though the corresponding Sun C compiler ends up with ! "#define restrict _Restrict" or "#define restrict __restrict__" in the ! previous line. Perhaps some future version of Sun C++ will work with ! restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ #if defined __SUNPRO_CC && !defined __RESTRICT # define _Restrict + # define __restrict__ #endif /* Define to `unsigned int' if does not define. */ diff -rcN a/libmemcached-0.32/configure b/libmemcached-0.32/configure *** a/libmemcached-0.32/configure 2009-09-15 15:50:03.000000000 -0700 --- b/libmemcached-0.32/configure 2010-03-07 13:32:50.091328503 -0800 *************** *** 1,20 **** #! /bin/sh # Guess values for system-dependent variables and create Makefiles. ! # Generated by GNU Autoconf 2.63 for libmemcached 0.32. # # Report bugs to . # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, ! # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ! ## --------------------- ## ! ## M4sh Initialization. ## ! ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh ! if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which --- 1,22 ---- #! /bin/sh # Guess values for system-dependent variables and create Makefiles. ! # Generated by GNU Autoconf 2.64 for libmemcached 0.32. # # Report bugs to . # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, ! # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software ! # Foundation, Inc. ! # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ! ## -------------------- ## ! ## M4sh Initialization. ## ! ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh ! if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which *************** *** 22,44 **** alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else ! case `(set -o) 2>/dev/null` in ! *posix*) set -o posix ;; esac - fi - - - # PATH needs CR - # Avoid depending upon Character Ranges. - as_cr_letters='abcdefghijklmnopqrstuvwxyz' - as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' - as_cr_Letters=$as_cr_letters$as_cr_LETTERS - as_cr_digits='0123456789' - as_cr_alnum=$as_cr_Letters$as_cr_digits - as_nl=' ' export as_nl --- 24,38 ---- alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else ! case `(set -o) 2>/dev/null` in #( ! *posix*) : ! set -o posix ;; #( ! *) : ! ;; esac fi as_nl=' ' export as_nl *************** *** 46,52 **** as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ! if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else --- 40,52 ---- as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ! # Prefer a ksh shell builtin over an external printf program on Solaris, ! # but without wasting forks for bash or zsh. ! if test -z "$BASH_VERSION$ZSH_VERSION" \ ! && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ! as_echo='print -r --' ! as_echo_n='print -rn --' ! elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else *************** *** 57,63 **** as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; ! case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; --- 57,63 ---- as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; ! case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; *************** *** 80,92 **** } fi - # Support unset when possible. - if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset - else - as_unset=false - fi - # IFS # We need space, tab and new line, in precisely that order. Quoting is --- 80,85 ---- *************** *** 96,110 **** IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. ! case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ! done IFS=$as_save_IFS ;; --- 89,103 ---- IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. ! case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ! done IFS=$as_save_IFS ;; *************** *** 116,127 **** fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ! { (exit 1); exit 1; } fi ! # Work around bugs in pre-3.0 UWIN ksh. ! for as_var in ENV MAIL MAILPATH ! do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' --- 109,124 ---- fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ! exit 1 fi ! # Unset variables that we do not need and which cause bugs (e.g. in ! # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ! # suppresses any "Segmentation fault" message there. '((' could ! # trigger a bug in pdksh 5.2.14. ! for as_var in BASH_ENV ENV MAIL MAILPATH ! do eval test x\${$as_var+set} = xset \ ! && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' *************** *** 133,462 **** LANGUAGE=C export LANGUAGE - # Required to use basename. - if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr - else - as_expr=false - fi - - if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename - else - as_basename=false - fi - - - # Name of the executable. - as_me=`$as_basename -- "$0" || - $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || - $as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - # CDPATH. ! $as_unset CDPATH ! if test "x$CONFIG_SHELL" = x; then ! if (eval ":") 2>/dev/null; then ! as_have_required=yes else ! as_have_required=no fi ! ! if test $as_have_required = yes && (eval ": ! (as_func_return () { ! (exit \$1) ! } ! as_func_success () { ! as_func_return 0 ! } ! as_func_failure () { ! as_func_return 1 ! } ! as_func_ret_success () { ! return 0 ! } ! as_func_ret_failure () { ! return 1 ! } exitcode=0 ! if as_func_success; then ! : ! else ! exitcode=1 ! echo as_func_success failed. ! fi ! ! if as_func_failure; then ! exitcode=1 ! echo as_func_failure succeeded. ! fi ! ! if as_func_ret_success; then ! : ! else ! exitcode=1 ! echo as_func_ret_success failed. ! fi ! ! if as_func_ret_failure; then ! exitcode=1 ! echo as_func_ret_failure succeeded. ! fi ! ! if ( set x; as_func_ret_success y && test x = \"\$1\" ); then ! : else ! exitcode=1 ! echo positional parameters were not saved. fi - test \$exitcode = 0) || { (exit 1); exit 1; } - - ( - as_lineno_1=\$LINENO - as_lineno_2=\$LINENO - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } - ") 2> /dev/null; then - : else ! as_candidate_shells= ! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! case $as_dir in /*) for as_base in sh bash ksh sh5; do ! as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS ! for as_shell in $as_candidate_shells $SHELL; do ! # Try only shells that exist, to save several forks. ! if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ! { ("$as_shell") 2> /dev/null <<\_ASEOF ! if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then ! emulate sh ! NULLCMD=: ! # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ! # is contrary to our usage. Disable this feature. ! alias -g '${1+"$@"}'='"$@"' ! setopt NO_GLOB_SUBST ! else ! case `(set -o) 2>/dev/null` in ! *posix*) set -o posix ;; ! esac ! ! fi ! ! ! : ! _ASEOF ! }; then ! CONFIG_SHELL=$as_shell ! as_have_required=yes ! if { "$as_shell" 2> /dev/null <<\_ASEOF ! if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then ! emulate sh ! NULLCMD=: ! # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ! # is contrary to our usage. Disable this feature. ! alias -g '${1+"$@"}'='"$@"' ! setopt NO_GLOB_SUBST ! else ! case `(set -o) 2>/dev/null` in ! *posix*) set -o posix ;; ! esac ! ! fi ! ! ! : ! (as_func_return () { ! (exit $1) ! } ! as_func_success () { ! as_func_return 0 ! } ! as_func_failure () { ! as_func_return 1 ! } ! as_func_ret_success () { ! return 0 ! } ! as_func_ret_failure () { ! return 1 ! } ! ! exitcode=0 ! if as_func_success; then ! : ! else ! exitcode=1 ! echo as_func_success failed. ! fi ! ! if as_func_failure; then ! exitcode=1 ! echo as_func_failure succeeded. ! fi ! ! if as_func_ret_success; then ! : ! else ! exitcode=1 ! echo as_func_ret_success failed. ! fi ! ! if as_func_ret_failure; then ! exitcode=1 ! echo as_func_ret_failure succeeded. ! fi ! ! if ( set x; as_func_ret_success y && test x = "$1" ); then ! : ! else ! exitcode=1 ! echo positional parameters were not saved. ! fi ! ! test $exitcode = 0) || { (exit 1); exit 1; } ! ! ( ! as_lineno_1=$LINENO ! as_lineno_2=$LINENO ! test "x$as_lineno_1" != "x$as_lineno_2" && ! test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } ! ! _ASEOF ! }; then ! break ! fi ! ! fi ! ! done ! ! if test "x$CONFIG_SHELL" != x; then ! for as_var in BASH_ENV ENV ! do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var ! done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi ! ! if test $as_have_required = no; then ! echo This script requires a shell more modern than all the ! echo shells that I found on your system. Please install a ! echo modern shell, or manually run the script under such a ! echo shell if you do have one. ! { (exit 1); exit 1; } fi - - fi - fi ! (eval "as_func_return () { ! (exit \$1) ! } ! as_func_success () { ! as_func_return 0 ! } ! as_func_failure () { ! as_func_return 1 ! } ! as_func_ret_success () { ! return 0 ! } ! as_func_ret_failure () { ! return 1 ! } ! exitcode=0 ! if as_func_success; then ! : else ! exitcode=1 ! echo as_func_success failed. ! fi - if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. - fi ! if as_func_ret_success; then ! : else ! exitcode=1 ! echo as_func_ret_success failed. fi ! if as_func_ret_failure; then ! exitcode=1 ! echo as_func_ret_failure succeeded. fi ! if ( set x; as_func_ret_success y && test x = \"\$1\" ); then ! : else ! exitcode=1 ! echo positional parameters were not saved. fi ! test \$exitcode = 0") || { ! echo No shell found that supports shell functions. ! echo Please tell bug-autoconf@gnu.org about your system, ! echo including any error possibly output before this message. ! echo This can help us improve future autoconf versions. ! echo Configuration will now proceed without shell functions. ! } ! as_lineno_1=$LINENO ! as_lineno_2=$LINENO ! test "x$as_lineno_1" != "x$as_lineno_2" && ! test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { ! ! # Create $as_me.lineno as a copy of $as_myself, but with $LINENO ! # uniformly replaced by the line number. The first 'sed' inserts a ! # line-number line after each line using $LINENO; the second 'sed' ! # does the real work. The second script uses 'N' to pair each ! # line-number line with the line containing $LINENO, and appends ! # trailing '-' during substitution so that $LINENO is not a special ! # case at line end. ! # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the ! # scripts with optimization help from Paolo Bonzini. Blame Lee ! # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= --- 130,429 ---- LANGUAGE=C export LANGUAGE # CDPATH. ! (unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test "x$CONFIG_SHELL" = x; then ! as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : ! emulate sh ! NULLCMD=: ! # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which ! # is contrary to our usage. Disable this feature. ! alias -g '\${1+\"\$@\"}'='\"\$@\"' ! setopt NO_GLOB_SUBST else ! case \`(set -o) 2>/dev/null\` in #( ! *posix*) : ! set -o posix ;; #( ! *) : ! ;; ! esac fi ! " ! as_required="as_fn_return () { (exit \$1); } ! as_fn_success () { as_fn_return 0; } ! as_fn_failure () { as_fn_return 1; } ! as_fn_ret_success () { return 0; } ! as_fn_ret_failure () { return 1; } exitcode=0 ! as_fn_success || { exitcode=1; echo as_fn_success failed.; } ! as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } ! as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } ! as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } ! if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : ! ! else ! exitcode=1; echo positional parameters were not saved. ! fi ! test x\$exitcode = x0 || exit 1" ! as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO ! as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO ! eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && ! test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 ! test \$(( 1 + 1 )) = 2 || exit 1" ! if (eval "$as_required") 2>/dev/null; then : ! as_have_required=yes else ! as_have_required=no fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else ! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! as_found=: ! case $as_dir in #( /*) for as_base in sh bash ksh sh5; do ! # Try only shells that exist, to save several forks. ! as_shell=$as_dir/$as_base ! if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ! { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : ! CONFIG_SHELL=$as_shell as_have_required=yes ! if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : ! break 2 ! fi ! fi done;; esac + as_found=false done + $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes + fi; } IFS=$as_save_IFS ! if test "x$CONFIG_SHELL" != x; then : ! # We cannot yet assume a decent shell, so we have to provide a ! # neutralization value for shells without unset; and this also ! # works around shells that cannot unset nonexistent variables. ! BASH_ENV=/dev/null ! ENV=/dev/null ! (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi ! if test x$as_have_required = xno; then : ! $as_echo "$0: This script requires a shell more modern than all" ! $as_echo "$0: the shells that I found on your system." ! if test x${ZSH_VERSION+set} = xset ; then ! $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" ! $as_echo "$0: be upgraded to zsh 4.3.4 or later." ! else ! $as_echo "$0: Please tell bug-autoconf@gnu.org and ! $0: http://tangent.org/552/libmemcached.html about your ! $0: system, including any error possibly output before this ! $0: message. Then install a modern shell, or manually run ! $0: the script under such a shell if you do have one." ! fi ! exit 1 fi fi fi + SHELL=${CONFIG_SHELL-/bin/sh} + export SHELL + # Unset more variables known to interfere with behavior of common tools. + CLICOLOR_FORCE= GREP_OPTIONS= + unset CLICOLOR_FORCE GREP_OPTIONS + + ## --------------------- ## + ## M4sh Shell Functions. ## + ## --------------------- ## + # as_fn_unset VAR + # --------------- + # Portably unset VAR. + as_fn_unset () + { + { eval $1=; unset $1;} + } + as_unset=as_fn_unset + + # as_fn_set_status STATUS + # ----------------------- + # Set $? to STATUS, without forking. + as_fn_set_status () + { + return $1 + } # as_fn_set_status + + # as_fn_exit STATUS + # ----------------- + # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. + as_fn_exit () + { + set +e + as_fn_set_status $1 + exit $1 + } # as_fn_exit + + # as_fn_mkdir_p + # ------------- + # Create "$as_dir" as a directory, including parents if necessary. + as_fn_mkdir_p () + { + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || + $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || + $as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" ! } # as_fn_mkdir_p ! # as_fn_append VAR VALUE ! # ---------------------- ! # Append the text in VALUE to the end of the definition contained in VAR. Take ! # advantage of any shell optimizations that allow amortized linear growth over ! # repeated appends, instead of the typical quadratic growth present in naive ! # implementations. ! if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ! eval 'as_fn_append () ! { ! eval $1+=\$2 ! }' ! else ! as_fn_append () ! { ! eval $1=\$$1\$2 ! } ! fi # as_fn_append ! # as_fn_arith ARG... ! # ------------------ ! # Perform arithmetic evaluation on the ARGs, and store the result in the ! # global $as_val. Take advantage of shells that can avoid forks. The arguments ! # must be portable across $(()) and expr. ! if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ! eval 'as_fn_arith () ! { ! as_val=$(( $* )) ! }' else ! as_fn_arith () ! { ! as_val=`expr "$@" || test $? -eq 1` ! } ! fi # as_fn_arith ! # as_fn_error ERROR [LINENO LOG_FD] ! # --------------------------------- ! # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are ! # provided, also output the error to LOG_FD, referencing LINENO. Then exit the ! # script with status $?, using 1 if that was 0. ! as_fn_error () ! { ! as_status=$?; test $as_status -eq 0 && as_status=1 ! if test "$3"; then ! as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 ! fi ! $as_echo "$as_me: error: $1" >&2 ! as_fn_exit $as_status ! } # as_fn_error ! ! if expr a : '\(a\)' >/dev/null 2>&1 && ! test "X`expr 00001 : '.*\(...\)'`" = X001; then ! as_expr=expr else ! as_expr=false fi ! if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ! as_basename=basename ! else ! as_basename=false fi ! if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ! as_dirname=dirname else ! as_dirname=false fi ! as_me=`$as_basename -- "$0" || ! $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ! X"$0" : 'X\(//\)$' \| \ ! X"$0" : 'X\(/\)' \| . 2>/dev/null || ! $as_echo X/"$0" | ! sed '/^.*\/\([^/][^/]*\)\/*$/{ ! s//\1/ ! q ! } ! /^X\/\(\/\/\)$/{ ! s//\1/ ! q ! } ! /^X\/\(\/\).*/{ ! s//\1/ ! q ! } ! s/.*/./; q'` + # Avoid depending upon Character Ranges. + as_cr_letters='abcdefghijklmnopqrstuvwxyz' + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' + as_cr_Letters=$as_cr_letters$as_cr_LETTERS + as_cr_digits='0123456789' + as_cr_alnum=$as_cr_Letters$as_cr_digits ! as_lineno_1=$LINENO as_lineno_1a=$LINENO ! as_lineno_2=$LINENO as_lineno_2a=$LINENO ! eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && ! test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { ! # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= *************** *** 473,480 **** s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || ! { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 ! { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the --- 440,446 ---- s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || ! { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the *************** *** 484,512 **** exit } - - if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname - else - as_dirname=false - fi - ECHO_C= ECHO_N= ECHO_T= ! case `echo -n x` in -n*) ! case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. ! *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac - if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr - else - as_expr=false - fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then --- 450,467 ---- exit } ECHO_C= ECHO_N= ECHO_T= ! case `echo -n x` in #((((( -n*) ! case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. ! xy) ECHO_C='\c';; ! *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ! ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then *************** *** 536,542 **** rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then ! as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false --- 491,497 ---- rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then ! as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false *************** *** 555,564 **** if test -d "$1"; then test -d "$1/."; else ! case $1 in -*)set "./$1";; esac; ! case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' --- 510,519 ---- if test -d "$1"; then test -d "$1/."; else ! case $1 in #( -*)set "./$1";; esac; ! case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' *************** *** 573,579 **** - # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} --- 528,533 ---- *************** *** 740,746 **** subdirs= MFLAGS= MAKEFLAGS= - SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='libmemcached' --- 694,699 ---- *************** *** 748,753 **** --- 701,707 ---- PACKAGE_VERSION='0.32' PACKAGE_STRING='libmemcached 0.32' PACKAGE_BUGREPORT='http://tangent.org/552/libmemcached.html' + PACKAGE_URL='' ac_unique_file="libmemcached/memcached.c" # Factoring default headers for most tests. *************** *** 789,794 **** --- 743,763 ---- ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS + LIBMEMCACHED_WITH_SASL_SUPPORT + HAVE_SASL_FALSE + HAVE_SASL_TRUE + HAVE_LIBSASL2_FALSE + HAVE_LIBSASL2_TRUE + HAVE_LIBSASL_FALSE + HAVE_LIBSASL_TRUE + LIBSASL2_PREFIX + LTLIBSASL2 + LIBSASL2 + HAVE_LIBSASL2 + LIBSASL_PREFIX + LTLIBSASL + LIBSASL + HAVE_LIBSASL DEPRECATED MEMC_BINARY POD2MAN *************** *** 940,945 **** --- 909,915 ---- program_transform_name prefix exec_prefix + PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION *************** *** 972,977 **** --- 942,951 ---- enable_hsieh_hash with_memcached enable_deprecated + enable_sasl + enable_rpath + with_libsasl_prefix + with_libsasl2_prefix ' ac_precious_vars='build_alias host_alias *************** *** 1094,1101 **** ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 ! { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in --- 1068,1074 ---- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! as_fn_error "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *************** *** 1121,1128 **** ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 ! { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in --- 1094,1100 ---- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! as_fn_error "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *************** *** 1326,1333 **** ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 ! { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in --- 1298,1304 ---- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! as_fn_error "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *************** *** 1343,1350 **** ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 ! { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in --- 1314,1320 ---- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! as_fn_error "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *************** *** 1374,1390 **** | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; ! -*) { $as_echo "$as_me: error: unrecognized option: $ac_option ! Try \`$0 --help' for more information." >&2 ! { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. ! expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && ! { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 ! { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; --- 1344,1360 ---- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; ! -*) as_fn_error "unrecognized option: \`$ac_option' ! Try \`$0 --help' for more information." ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. ! case $ac_envvar in #( ! '' | [0-9]* | *[!_$as_cr_alnum]* ) ! as_fn_error "invalid variable name: \`$ac_envvar'" ;; ! esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *************** *** 1401,1415 **** if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` ! { $as_echo "$as_me: error: missing argument to $ac_option" >&2 ! { (exit 1); exit 1; }; } fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; ! fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 ! { (exit 1); exit 1; }; } ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi --- 1371,1383 ---- if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` ! as_fn_error "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; ! fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi *************** *** 1432,1439 **** [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac ! { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 ! { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' --- 1400,1406 ---- [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac ! as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' *************** *** 1463,1473 **** ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || ! { $as_echo "$as_me: error: working directory cannot be determined" >&2 ! { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || ! { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 ! { (exit 1); exit 1; }; } # Find the source files, if location was not specified. --- 1430,1438 ---- ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || ! as_fn_error "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || ! as_fn_error "pwd does not report name of working directory" # Find the source files, if location was not specified. *************** *** 1506,1518 **** fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." ! { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 ! { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( ! cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 ! { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then --- 1471,1481 ---- fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." ! as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( ! cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then *************** *** 1638,1643 **** --- 1601,1608 ---- --enable-hsieh_hash build with support for hsieh hashing. @<:default=off] --enable-deprecated Enable deprecated interface [default=off] + --disable-sasl Build with sasl support [default=on] + --disable-rpath do not hardcode runtime library paths Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] *************** *** 1650,1655 **** --- 1615,1625 ---- --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir --with-memcached Memcached binary to use for make test + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libsasl-prefix[=DIR] search for libsasl in DIR/include and DIR/lib + --without-libsasl-prefix don't search for libsasl in includedir and libdir + --with-libsasl2-prefix[=DIR] search for libsasl2 in DIR/include and DIR/lib + --without-libsasl2-prefix don't search for libsasl2 in includedir and libdir Some influential environment variables: CC C compiler command *************** *** 1731,1922 **** if $ac_init_version; then cat <<\_ACEOF libmemcached configure 0.32 ! generated by GNU Autoconf 2.63 ! Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, ! 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi - cat >config.log <<_ACEOF - This file contains any messages produced by compilers while - running configure, to aid debugging if configure makes a mistake. - - It was created by libmemcached $as_me 0.32, which was - generated by GNU Autoconf 2.63. Invocation command line was - - $ $0 $@ ! _ACEOF ! exec 5>>config.log { ! cat <<_ASUNAME ! ## --------- ## ! ## Platform. ## ! ## --------- ## ! hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ! uname -m = `(uname -m) 2>/dev/null || echo unknown` ! uname -r = `(uname -r) 2>/dev/null || echo unknown` ! uname -s = `(uname -s) 2>/dev/null || echo unknown` ! uname -v = `(uname -v) 2>/dev/null || echo unknown` ! /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ! /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ! /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ! /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ! /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ! /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` ! /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ! /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ! /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ! _ASUNAME ! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! for as_dir in $PATH ! do ! IFS=$as_save_IFS ! test -z "$as_dir" && as_dir=. ! $as_echo "PATH: $as_dir" ! done ! IFS=$as_save_IFS ! } >&5 ! cat >&5 <<_ACEOF ! ## ----------- ## ! ## Core tests. ## ! ## ----------- ## _ACEOF ! # Keep a trace of the command line. ! # Strip out --no-create and --no-recursion so they do not pile up. ! # Strip out --silent because we don't want to record it for future runs. ! # Also quote any args containing shell meta-characters. ! # Make two passes to allow for proper duplicate-argument suppression. ! ac_configure_args= ! ac_configure_args0= ! ac_configure_args1= ! ac_must_keep_next=false ! for ac_pass in 1 2 ! do ! for ac_arg ! do ! case $ac_arg in ! -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ! -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ! | -silent | --silent | --silen | --sile | --sil) ! continue ;; ! *\'*) ! ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ! esac ! case $ac_pass in ! 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; ! 2) ! ac_configure_args1="$ac_configure_args1 '$ac_arg'" ! if test $ac_must_keep_next = true; then ! ac_must_keep_next=false # Got value, back to normal. ! else ! case $ac_arg in ! *=* | --config-cache | -C | -disable-* | --disable-* \ ! | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ! | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ! | -with-* | --with-* | -without-* | --without-* | --x) ! case "$ac_configure_args0 " in ! "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ! esac ! ;; ! -* ) ac_must_keep_next=true ;; ! esac ! fi ! ac_configure_args="$ac_configure_args '$ac_arg'" ! ;; ! esac ! done ! done ! $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } ! $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } ! # When interrupted or exit'd, cleanup temporary files, and complete ! # config.log. We remove comments because anyway the quotes in there ! # would cause problems or look ugly. ! # WARNING: Use '\'' to represent an apostrophe within the trap. ! # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. ! trap 'exit_status=$? ! # Save into config.log some information that might help in debugging. ! { ! echo ! cat <<\_ASBOX ! ## ---------------- ## ! ## Cache variables. ## ! ## ---------------- ## ! _ASBOX ! echo ! # The following way of writing the cache mishandles newlines in values, ! ( ! for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do ! eval ac_val=\$$ac_var ! case $ac_val in #( ! *${as_nl}*) ! case $ac_var in #( ! *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 ! $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ! esac ! case $ac_var in #( ! _ | IFS | as_nl) ;; #( ! BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ! *) $as_unset $ac_var ;; ! esac ;; ! esac ! done ! (set) 2>&1 | ! case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( ! *${as_nl}ac_space=\ *) ! sed -n \ ! "s/'\''/'\''\\\\'\'''\''/g; ! s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ! ;; #( ! *) ! sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ! ;; ! esac | ! sort ! ) ! echo ! cat <<\_ASBOX ! ## ----------------- ## ! ## Output variables. ## ! ## ----------------- ## ! _ASBOX ! echo ! for ac_var in $ac_subst_vars ! do ! eval ac_val=\$$ac_var ! case $ac_val in ! *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ! esac ! $as_echo "$ac_var='\''$ac_val'\''" ! done | sort ! echo ! if test -n "$ac_subst_files"; then ! cat <<\_ASBOX ! ## ------------------- ## ! ## File substitutions. ## ! ## ------------------- ## ! _ASBOX ! echo ! for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in --- 1701,2556 ---- if $ac_init_version; then cat <<\_ACEOF libmemcached configure 0.32 ! generated by GNU Autoconf 2.64 ! Copyright (C) 2009 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ! ## ------------------------ ## ! ## Autoconf initialization. ## ! ## ------------------------ ## ! ! # ac_fn_c_try_compile LINENO ! # -------------------------- ! # Try to compile conftest.$ac_ext, and return whether this succeeded. ! ac_fn_c_try_compile () { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! rm -f conftest.$ac_objext ! if { { ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_compile") 2>conftest.err ! ac_status=$? ! if test -s conftest.err; then ! grep -v '^ *+' conftest.err >conftest.er1 ! cat conftest.er1 >&5 ! mv -f conftest.er1 conftest.err ! fi ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then : ! ac_retval=0 ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ac_retval=1 ! fi ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! return $ac_retval ! } # ac_fn_c_try_compile ! # ac_fn_cxx_try_compile LINENO ! # ---------------------------- ! # Try to compile conftest.$ac_ext, and return whether this succeeded. ! ac_fn_cxx_try_compile () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! rm -f conftest.$ac_objext ! if { { ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_compile") 2>conftest.err ! ac_status=$? ! if test -s conftest.err; then ! grep -v '^ *+' conftest.err >conftest.er1 ! cat conftest.er1 >&5 ! mv -f conftest.er1 conftest.err ! fi ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then : ! ac_retval=0 ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ac_retval=1 ! fi ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! return $ac_retval ! } # ac_fn_cxx_try_compile ! # ac_fn_c_try_cpp LINENO ! # ---------------------- ! # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ! ac_fn_c_try_cpp () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! if { { ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ! ac_status=$? ! if test -s conftest.err; then ! grep -v '^ *+' conftest.err >conftest.er1 ! cat conftest.er1 >&5 ! mv -f conftest.er1 conftest.err ! fi ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } >/dev/null && { ! test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ! test ! -s conftest.err ! }; then : ! ac_retval=0 ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ac_retval=1 ! fi ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! return $ac_retval + } # ac_fn_c_try_cpp ! # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES ! # ------------------------------------------------------- ! # Tests whether HEADER exists, giving a warning if it cannot be compiled using ! # the include files in INCLUDES and setting the cache variable VAR ! # accordingly. ! ac_fn_c_check_header_mongrel () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ! $as_echo_n "checking for $2... " >&6; } ! if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ! $as_echo_n "(cached) " >&6 ! fi ! eval ac_res=\$$3 ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! else ! # Is the header compilable? ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 ! $as_echo_n "checking $2 usability... " >&6; } ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! $4 ! #include <$2> ! _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! ac_header_compiler=yes ! else ! ac_header_compiler=no ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 ! $as_echo "$ac_header_compiler" >&6; } + # Is the header present? + { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 + $as_echo_n "checking $2 presence... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include <$2> _ACEOF + if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes + else + ac_header_preproc=no + fi + rm -f conftest.err conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 + $as_echo "$ac_header_preproc" >&6; } + # So? What about this header? + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 + $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 + $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 + $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 + $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 + $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 + $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 + $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ( cat <<\_ASBOX + ## ------------------------------------------------------- ## + ## Report this to http://tangent.org/552/libmemcached.html ## + ## ------------------------------------------------------- ## + _ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 + $as_echo_n "checking for $2... " >&6; } + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 + else + eval "$3=\$ac_header_compiler" + fi + eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } + fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! } # ac_fn_c_check_header_mongrel ! # ac_fn_c_try_run LINENO ! # ---------------------- ! # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes ! # that executables *can* be run. ! ac_fn_c_try_run () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! if { { ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_link") 2>&5 ! ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' ! { { case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_try") 2>&5 ! ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; }; then : ! ac_retval=0 ! else ! $as_echo "$as_me: program exited with status $ac_status" >&5 ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ac_retval=$ac_status ! fi ! rm -rf conftest.dSYM conftest_ipa8_conftest.oo ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! return $ac_retval ! } # ac_fn_c_try_run ! # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES ! # ------------------------------------------------------- ! # Tests whether HEADER exists and can be compiled using the include files in ! # INCLUDES, setting the cache variable VAR accordingly. ! ac_fn_c_check_header_compile () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ! $as_echo_n "checking for $2... " >&6; } ! if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ! $as_echo_n "(cached) " >&6 ! else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! $4 ! #include <$2> ! _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! eval "$3=yes" ! else ! eval "$3=no" ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! eval ac_res=\$$3 ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! ! } # ac_fn_c_check_header_compile ! ! # ac_fn_c_check_decl LINENO SYMBOL VAR ! # ------------------------------------ ! # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. ! ac_fn_c_check_decl () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 ! $as_echo_n "checking whether $2 is declared... " >&6; } ! if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ! $as_echo_n "(cached) " >&6 ! else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! $4 ! int ! main () ! { ! #ifndef $2 ! (void) $2; ! #endif ! ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! eval "$3=yes" ! else ! eval "$3=no" ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! eval ac_res=\$$3 ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! ! } # ac_fn_c_check_decl ! ! # ac_fn_c_try_link LINENO ! # ----------------------- ! # Try to link conftest.$ac_ext, and return whether this succeeded. ! ac_fn_c_try_link () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { { ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_link") 2>conftest.err ! ac_status=$? ! if test -s conftest.err; then ! grep -v '^ *+' conftest.err >conftest.er1 ! cat conftest.er1 >&5 ! mv -f conftest.er1 conftest.err ! fi ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then : ! ac_retval=0 ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_retval=1 ! fi ! # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information ! # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would ! # interfere with the next link command; also delete a directory that is ! # left behind by Apple's compiler. We do this before executing the actions. ! rm -rf conftest.dSYM conftest_ipa8_conftest.oo ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! return $ac_retval ! ! } # ac_fn_c_try_link ! ! # ac_fn_c_check_func LINENO FUNC VAR ! # ---------------------------------- ! # Tests whether FUNC exists, setting the cache variable VAR accordingly ! ac_fn_c_check_func () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ! $as_echo_n "checking for $2... " >&6; } ! if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ! $as_echo_n "(cached) " >&6 ! else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! /* Define $2 to an innocuous variant, in case declares $2. ! For example, HP-UX 11i declares gettimeofday. */ ! #define $2 innocuous_$2 ! ! /* System header to define __stub macros and hopefully few prototypes, ! which can conflict with char $2 (); below. ! Prefer to if __STDC__ is defined, since ! exists even on freestanding compilers. */ ! ! #ifdef __STDC__ ! # include ! #else ! # include ! #endif ! ! #undef $2 ! ! /* Override any GCC internal prototype to avoid an error. ! Use char because int might match the return type of a GCC ! builtin and then its argument prototype would still apply. */ ! #ifdef __cplusplus ! extern "C" ! #endif ! char $2 (); ! /* The GNU C library defines this for functions which it implements ! to always fail with ENOSYS. Some functions are actually named ! something starting with __ and the normal name is an alias. */ ! #if defined __stub_$2 || defined __stub___$2 ! choke me ! #endif ! ! int ! main () ! { ! return $2 (); ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ! eval "$3=yes" ! else ! eval "$3=no" ! fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext ! fi ! eval ac_res=\$$3 ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! ! } # ac_fn_c_check_func ! ! # ac_fn_cxx_try_cpp LINENO ! # ------------------------ ! # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ! ac_fn_cxx_try_cpp () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! if { { ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ! ac_status=$? ! if test -s conftest.err; then ! grep -v '^ *+' conftest.err >conftest.er1 ! cat conftest.er1 >&5 ! mv -f conftest.er1 conftest.err ! fi ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } >/dev/null && { ! test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ! test ! -s conftest.err ! }; then : ! ac_retval=0 ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_retval=1 ! fi ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! return $ac_retval ! ! } # ac_fn_cxx_try_cpp ! ! # ac_fn_cxx_try_link LINENO ! # ------------------------- ! # Try to link conftest.$ac_ext, and return whether this succeeded. ! ac_fn_cxx_try_link () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { { ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_link") 2>conftest.err ! ac_status=$? ! if test -s conftest.err; then ! grep -v '^ *+' conftest.err >conftest.er1 ! cat conftest.er1 >&5 ! mv -f conftest.er1 conftest.err ! fi ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then : ! ac_retval=0 ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_retval=1 ! fi ! # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information ! # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would ! # interfere with the next link command; also delete a directory that is ! # left behind by Apple's compiler. We do this before executing the actions. ! rm -rf conftest.dSYM conftest_ipa8_conftest.oo ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! return $ac_retval ! ! } # ac_fn_cxx_try_link ! ! # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES ! # --------------------------------------------------------- ! # Tests whether HEADER exists, giving a warning if it cannot be compiled using ! # the include files in INCLUDES and setting the cache variable VAR ! # accordingly. ! ac_fn_cxx_check_header_mongrel () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ! $as_echo_n "checking for $2... " >&6; } ! if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ! $as_echo_n "(cached) " >&6 ! fi ! eval ac_res=\$$3 ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! else ! # Is the header compilable? ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 ! $as_echo_n "checking $2 usability... " >&6; } ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! $4 ! #include <$2> ! _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ! ac_header_compiler=yes ! else ! ac_header_compiler=no ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 ! $as_echo "$ac_header_compiler" >&6; } ! ! # Is the header present? ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 ! $as_echo_n "checking $2 presence... " >&6; } ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! #include <$2> ! _ACEOF ! if ac_fn_cxx_try_cpp "$LINENO"; then : ! ac_header_preproc=yes ! else ! ac_header_preproc=no ! fi ! rm -f conftest.err conftest.$ac_ext ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 ! $as_echo "$ac_header_preproc" >&6; } ! ! # So? What about this header? ! case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( ! yes:no: ) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 ! $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ! $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ! ;; ! no:yes:* ) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 ! $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 ! $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 ! $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 ! $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ! $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ! ( cat <<\_ASBOX ! ## ------------------------------------------------------- ## ! ## Report this to http://tangent.org/552/libmemcached.html ## ! ## ------------------------------------------------------- ## ! _ASBOX ! ) | sed "s/^/$as_me: WARNING: /" >&2 ! ;; ! esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ! $as_echo_n "checking for $2... " >&6; } ! if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ! $as_echo_n "(cached) " >&6 ! else ! eval "$3=\$ac_header_compiler" ! fi ! eval ac_res=\$$3 ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! fi ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! ! } # ac_fn_cxx_check_header_mongrel ! ! # ac_fn_c_check_type LINENO TYPE VAR INCLUDES ! # ------------------------------------------- ! # Tests whether TYPE exists after having included INCLUDES, setting cache ! # variable VAR accordingly. ! ac_fn_c_check_type () ! { ! as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ! $as_echo_n "checking for $2... " >&6; } ! if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : ! $as_echo_n "(cached) " >&6 ! else ! eval "$3=no" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! $4 ! int ! main () ! { ! if (sizeof ($2)) ! return 0; ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! $4 ! int ! main () ! { ! if (sizeof (($2))) ! return 0; ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! ! else ! eval "$3=yes" ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! eval ac_res=\$$3 ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} ! ! } # ac_fn_c_check_type ! cat >config.log <<_ACEOF ! This file contains any messages produced by compilers while ! running configure, to aid debugging if configure makes a mistake. ! ! It was created by libmemcached $as_me 0.32, which was ! generated by GNU Autoconf 2.64. Invocation command line was ! ! $ $0 $@ ! ! _ACEOF ! exec 5>>config.log ! { ! cat <<_ASUNAME ! ## --------- ## ! ## Platform. ## ! ## --------- ## ! ! hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ! uname -m = `(uname -m) 2>/dev/null || echo unknown` ! uname -r = `(uname -r) 2>/dev/null || echo unknown` ! uname -s = `(uname -s) 2>/dev/null || echo unknown` ! uname -v = `(uname -v) 2>/dev/null || echo unknown` ! ! /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ! /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ! ! /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ! /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ! /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ! /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` ! /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ! /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ! /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ! ! _ASUNAME ! ! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! for as_dir in $PATH ! do ! IFS=$as_save_IFS ! test -z "$as_dir" && as_dir=. ! $as_echo "PATH: $as_dir" ! done ! IFS=$as_save_IFS ! ! } >&5 ! ! cat >&5 <<_ACEOF ! ! ! ## ----------- ## ! ## Core tests. ## ! ## ----------- ## ! ! _ACEOF ! ! ! # Keep a trace of the command line. ! # Strip out --no-create and --no-recursion so they do not pile up. ! # Strip out --silent because we don't want to record it for future runs. ! # Also quote any args containing shell meta-characters. ! # Make two passes to allow for proper duplicate-argument suppression. ! ac_configure_args= ! ac_configure_args0= ! ac_configure_args1= ! ac_must_keep_next=false ! for ac_pass in 1 2 ! do ! for ac_arg ! do ! case $ac_arg in ! -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ! -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ! | -silent | --silent | --silen | --sile | --sil) ! continue ;; ! *\'*) ! ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ! esac ! case $ac_pass in ! 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ! 2) ! as_fn_append ac_configure_args1 " '$ac_arg'" ! if test $ac_must_keep_next = true; then ! ac_must_keep_next=false # Got value, back to normal. ! else ! case $ac_arg in ! *=* | --config-cache | -C | -disable-* | --disable-* \ ! | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ! | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ! | -with-* | --with-* | -without-* | --without-* | --x) ! case "$ac_configure_args0 " in ! "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ! esac ! ;; ! -* ) ac_must_keep_next=true ;; ! esac ! fi ! as_fn_append ac_configure_args " '$ac_arg'" ! ;; ! esac ! done ! done ! { ac_configure_args0=; unset ac_configure_args0;} ! { ac_configure_args1=; unset ac_configure_args1;} ! ! # When interrupted or exit'd, cleanup temporary files, and complete ! # config.log. We remove comments because anyway the quotes in there ! # would cause problems or look ugly. ! # WARNING: Use '\'' to represent an apostrophe within the trap. ! # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. ! trap 'exit_status=$? ! # Save into config.log some information that might help in debugging. ! { ! echo ! ! cat <<\_ASBOX ! ## ---------------- ## ! ## Cache variables. ## ! ## ---------------- ## ! _ASBOX ! echo ! # The following way of writing the cache mishandles newlines in values, ! ( ! for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do ! eval ac_val=\$$ac_var ! case $ac_val in #( ! *${as_nl}*) ! case $ac_var in #( ! *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ! $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ! esac ! case $ac_var in #( ! _ | IFS | as_nl) ;; #( ! BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ! *) { eval $ac_var=; unset $ac_var;} ;; ! esac ;; ! esac ! done ! (set) 2>&1 | ! case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( ! *${as_nl}ac_space=\ *) ! sed -n \ ! "s/'\''/'\''\\\\'\'''\''/g; ! s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ! ;; #( ! *) ! sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ! ;; ! esac | ! sort ! ) ! echo ! ! cat <<\_ASBOX ! ## ----------------- ## ! ## Output variables. ## ! ## ----------------- ## ! _ASBOX ! echo ! for ac_var in $ac_subst_vars ! do ! eval ac_val=\$$ac_var ! case $ac_val in ! *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ! esac ! $as_echo "$ac_var='\''$ac_val'\''" ! done | sort ! echo ! ! if test -n "$ac_subst_files"; then ! cat <<\_ASBOX ! ## ------------------- ## ! ## File substitutions. ## ! ## ------------------- ## ! _ASBOX ! echo ! for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *************** *** 1946,1984 **** exit $exit_status ' 0 for ac_signal in 1 2 13 15; do ! trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. --- 2580,2620 ---- exit $exit_status ' 0 for ac_signal in 1 2 13 15; do ! trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h + $as_echo "/* confdefs.h */" > confdefs.h + # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF + cat >>confdefs.h <<_ACEOF + #define PACKAGE_URL "$PACKAGE_URL" + _ACEOF + # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. *************** *** 1997,2003 **** do test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then ! { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" --- 2633,2639 ---- do test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" *************** *** 2008,2014 **** # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then ! { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; --- 2644,2650 ---- # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *************** *** 2016,2022 **** esac fi else ! { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi --- 2652,2658 ---- esac fi else ! { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi *************** *** 2031,2041 **** eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) ! { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) ! { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; --- 2667,2677 ---- eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) ! { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) ! { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *************** *** 2045,2061 **** ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then ! { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else ! { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi ! { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} ! { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac --- 2681,2697 ---- ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else ! { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} ! { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac *************** *** 2067,2109 **** esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. ! *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then ! { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} ! { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 ! $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} ! { (exit 1); exit 1; }; } fi ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ac_ext=c ac_cpp='$CPP $CPPFLAGS' --- 2703,2722 ---- esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. ! *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} ! as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ! ## -------------------- ## ! ## Main body of script. ## ! ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' *************** *** 2113,2138 **** ! ac_aux_dir= ! for ac_dir in config "$srcdir"/config; do ! if test -f "$ac_dir/install-sh"; then ! ac_aux_dir=$ac_dir ! ac_install_sh="$ac_aux_dir/install-sh -c" ! break ! elif test -f "$ac_dir/install.sh"; then ! ac_aux_dir=$ac_dir ! ac_install_sh="$ac_aux_dir/install.sh -c" ! break ! elif test -f "$ac_dir/shtool"; then ! ac_aux_dir=$ac_dir ! ac_install_sh="$ac_aux_dir/shtool install -c" ! break ! fi done if test -z "$ac_aux_dir"; then ! { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 ! $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} ! { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, --- 2726,2743 ---- ! ac_aux_dir= ! for ac_dir in config "$srcdir"/config; do ! for ac_t in install-sh install.sh shtool; do ! if test -f "$ac_dir/$ac_t"; then ! ac_aux_dir=$ac_dir ! ac_install_sh="$ac_aux_dir/$ac_t -c" ! break 2 ! fi ! done done if test -z "$ac_aux_dir"; then ! as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 fi # These three variables are undocumented and unsupported, *************** *** 2149,2192 **** ! if test "x${enable_dependency_tracking}" = "x"; then enable_dependency_tracking=yes fi - # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || ! { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 ! $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} ! { (exit 1); exit 1; }; } ! { $as_echo "$as_me:$LINENO: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } ! if test "${ac_cv_build+set}" = set; then $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && ! { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 ! $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} ! { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || ! { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 ! $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} ! { (exit 1); exit 1; }; } fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; ! *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 ! $as_echo "$as_me: error: invalid value of canonical build" >&2;} ! { (exit 1); exit 1; }; };; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' --- 2754,2788 ---- ! if test "x${enable_dependency_tracking}" = "x"; then : enable_dependency_tracking=yes fi # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || ! as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } ! if test "${ac_cv_build+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && ! as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || ! as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; ! *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' *************** *** 2202,2229 **** case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac ! { $as_echo "$as_me:$LINENO: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } ! if test "${ac_cv_host+set}" = set; then $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || ! { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 ! $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} ! { (exit 1); exit 1; }; } fi fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; ! *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 ! $as_echo "$as_me: error: invalid value of canonical host" >&2;} ! { (exit 1); exit 1; }; };; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' --- 2798,2821 ---- case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } ! if test "${ac_cv_host+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || ! as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; ! *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' *************** *** 2239,2244 **** --- 2831,2875 ---- case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 + $as_echo_n "checking target system type... " >&6; } + if test "${ac_cv_target+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + if test "x$target_alias" = x; then + ac_cv_target=$ac_cv_host + else + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || + as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 + fi + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 + $as_echo "$ac_cv_target" >&6; } + case $ac_cv_target in + *-*-*) ;; + *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; + esac + target=$ac_cv_target + ac_save_IFS=$IFS; IFS='-' + set x $ac_cv_target + shift + target_cpu=$1 + target_vendor=$2 + shift; shift + # Remember, the first character of IFS is used to create $*, + # except with old shells: + target_os=$* + IFS=$ac_save_IFS + case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac + + + # The aliases save the names the user supplied, while $host etc. + # will get canonicalized. + test -n "$target_alias" && + test "$program_prefix$program_suffix$program_transform_name" = \ + NONENONEs,x,x, && + program_prefix=${target_alias}- am__api_version='1.11' # Find a good install program. We prefer a C program (faster), *************** *** 2255,2264 **** # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. ! { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then ! if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --- 2886,2895 ---- # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then ! if test "${ac_cv_path_install+set}" = set; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR *************** *** 2266,2276 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! # Account for people who put trailing slashes in PATH elements. ! case $as_dir/ in ! ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ! ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. --- 2897,2907 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! # Account for people who put trailing slashes in PATH elements. ! case $as_dir/ in #(( ! ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ! ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. *************** *** 2307,2313 **** ;; esac ! done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir --- 2938,2944 ---- ;; esac ! done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir *************** *** 2323,2329 **** INSTALL=$ac_install_sh fi fi ! { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. --- 2954,2960 ---- INSTALL=$ac_install_sh fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. *************** *** 2334,2340 **** test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' ! { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 --- 2965,2971 ---- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 *************** *** 2345,2359 **** ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) ! { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 ! $as_echo "$as_me: error: unsafe absolute working directory name" >&2;} ! { (exit 1); exit 1; }; };; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) ! { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 ! $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} ! { (exit 1); exit 1; }; };; esac # Do `set' in a subshell so we don't clobber the current shell's --- 2976,2986 ---- ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) ! as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) ! as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; esac # Do `set' in a subshell so we don't clobber the current shell's *************** *** 2375,2385 **** # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". ! { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken ! alias in your environment" >&5 ! $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken ! alias in your environment" >&2;} ! { (exit 1); exit 1; }; } fi test "$2" = conftest.file --- 3002,3009 ---- # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". ! as_fn_error "ls -t appears to fail. Make sure there is not a broken ! alias in your environment" "$LINENO" 5 fi test "$2" = conftest.file *************** *** 2388,2400 **** # Ok. : else ! { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! ! Check your system clock" >&5 ! $as_echo "$as_me: error: newly created file is older than distributed files! ! Check your system clock" >&2;} ! { (exit 1); exit 1; }; } fi ! { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" --- 3012,3021 ---- # Ok. : else ! as_fn_error "newly created file is older than distributed files! ! Check your system clock" "$LINENO" 5 fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" *************** *** 2422,2428 **** am_missing_run="$MISSING --run " else am_missing_run= ! { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi --- 3043,3049 ---- am_missing_run="$MISSING --run " else am_missing_run= ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi *************** *** 2443,2451 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then --- 3064,3072 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_STRIP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then *************** *** 2456,2479 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then ! { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 3077,3100 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 2483,2491 **** ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then --- 3104,3112 ---- ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then *************** *** 2496,2519 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 3117,3140 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 2522,2528 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 3143,3149 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 2535,2544 **** fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" ! { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then ! if test "${ac_cv_path_mkdir+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --- 3156,3165 ---- fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then ! if test "${ac_cv_path_mkdir+set}" = set; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR *************** *** 2546,2552 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( --- 3167,3173 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( *************** *** 2558,2564 **** esac done done ! done IFS=$as_save_IFS fi --- 3179,3185 ---- esac done done ! done IFS=$as_save_IFS fi *************** *** 2574,2580 **** MKDIR_P="$ac_install_sh -d" fi fi ! { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" --- 3195,3201 ---- MKDIR_P="$ac_install_sh -d" fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" *************** *** 2587,2595 **** do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_AWK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then --- 3208,3216 ---- do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_AWK+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then *************** *** 2600,2623 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then ! { $as_echo "$as_me:$LINENO: result: $AWK" >&5 $as_echo "$AWK" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 3221,3244 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 2625,2635 **** test -n "$AWK" && break done ! { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` ! if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF --- 3246,3256 ---- test -n "$AWK" && break done ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` ! if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF *************** *** 2647,2657 **** rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then ! { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi --- 3268,3278 ---- rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi *************** *** 2677,2683 **** .PHONY: am__doit END # If we don't find an include directive, just comment out the code. ! { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= --- 3298,3304 ---- .PHONY: am__doit END # If we don't find an include directive, just comment out the code. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= *************** *** 2705,2716 **** fi ! { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. ! if test "${enable_dependency_tracking+set}" = set; then enableval=$enable_dependency_tracking; fi --- 3326,3337 ---- fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. ! if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi *************** *** 2735,2743 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then --- 3356,3364 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then *************** *** 2748,2771 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then ! { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 3369,3392 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 2775,2783 **** ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then --- 3396,3404 ---- ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then *************** *** 2788,2811 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 3409,3432 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 2814,2820 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 3435,3441 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 2828,2836 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then --- 3449,3457 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then *************** *** 2841,2864 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then ! { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 3462,3485 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 2868,2876 **** if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then --- 3489,3497 ---- if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then *************** *** 2882,2899 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then --- 3503,3520 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then *************** *** 2912,2921 **** fi CC=$ac_cv_prog_CC if test -n "$CC"; then ! { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 3533,3542 ---- fi CC=$ac_cv_prog_CC if test -n "$CC"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 2927,2935 **** do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then --- 3548,3556 ---- do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then *************** *** 2940,2963 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then ! { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 3561,3584 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 2971,2979 **** do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then --- 3592,3600 ---- do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then *************** *** 2984,3007 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 3605,3628 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 3014,3020 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 3635,3641 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 3025,3097 **** fi ! test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH ! See \`config.log' for more details." >&5 ! $as_echo "$as_me: error: no acceptable C compiler found in \$PATH ! See \`config.log' for more details." >&2;} ! { (exit 1); exit 1; }; }; } # Provide some information about the compiler. ! $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 ! { (ac_try="$ac_compiler --version >&5" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compiler --version >&5") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } ! { (ac_try="$ac_compiler -v >&5" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compiler -v >&5") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } ! { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ ! int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ! ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. ! { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` --- 3646,3700 ---- fi ! test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! as_fn_error "no acceptable C compiler found in \$PATH ! See \`config.log' for more details." "$LINENO" 5; } # Provide some information about the compiler. ! $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 ! for ac_option in --version -v -V -qversion; do ! { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? ! if test -s conftest.err; then ! sed '10a\ ! ... rest of stderr output deleted ... ! 10q' conftest.err >conftest.er1 ! cat conftest.er1 >&5 ! rm -f conftest.er1 conftest.err ! fi ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } ! done ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! #include int main () { + FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ! ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` *************** *** 3108,3124 **** done rm -f $ac_rmfiles ! if { (ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, --- 3711,3727 ---- done rm -f $ac_rmfiles ! if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, *************** *** 3135,3141 **** # certainly right. break;; *.* ) ! if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi --- 3738,3744 ---- # certainly right. break;; *.* ) ! if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi *************** *** 3154,3237 **** else ac_file='' fi ! ! { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ! if test -z "$ac_file"; then $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ! { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables ! See \`config.log' for more details." >&5 ! $as_echo "$as_me: error: C compiler cannot create executables ! See \`config.log' for more details." >&2;} ! { (exit 77); exit 77; }; }; } fi - ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. ! { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } - # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' ! { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else ! { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. ! See \`config.log' for more details." >&5 ! $as_echo "$as_me: error: cannot run C compiled programs. ! If you meant to cross compile, use \`--host'. ! See \`config.log' for more details." >&2;} ! { (exit 1); exit 1; }; }; } fi fi fi ! { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } ! rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. ! { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } ! { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } ! { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } ! if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with --- 3757,3831 ---- else ac_file='' fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ! if test -z "$ac_file"; then : $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ! { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { as_fn_set_status 77 ! as_fn_error "C compiler cannot create executables ! See \`config.log' for more details." "$LINENO" 5; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' ! { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else ! { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! as_fn_error "cannot run C compiled programs. If you meant to cross compile, use \`--host'. ! See \`config.log' for more details." "$LINENO" 5; } fi fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } ! rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } ! if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with *************** *** 3246,3277 **** esac done else ! { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link ! See \`config.log' for more details." >&5 ! $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link ! See \`config.log' for more details." >&2;} ! { (exit 1); exit 1; }; }; } fi - rm -f conftest$ac_cv_exeext ! { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT ! { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } ! if test "${ac_cv_objext+set}" = set; then $as_echo_n "(cached) " >&6 else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 3840,3863 ---- esac done else ! { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! as_fn_error "cannot compute suffix of executables: cannot compile and link ! See \`config.log' for more details." "$LINENO" 5; } fi rm -f conftest$ac_cv_exeext ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } ! if test "${ac_cv_objext+set}" = set; then : $as_echo_n "(cached) " >&6 else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 3283,3299 **** } _ACEOF rm -f conftest.o conftest.obj ! if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in --- 3869,3885 ---- } _ACEOF rm -f conftest.o conftest.obj ! if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *************** *** 3306,3336 **** $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ! { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile ! See \`config.log' for more details." >&5 ! $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile ! See \`config.log' for more details." >&2;} ! { (exit 1); exit 1; }; }; } fi - rm -f conftest.$ac_cv_objext conftest.$ac_ext fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT ! { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } ! if test "${ac_cv_c_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 3892,3914 ---- $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ! { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! as_fn_error "cannot compute suffix of object files: cannot compile ! See \`config.log' for more details." "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } ! if test "${ac_cv_c_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 3344,3380 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_compiler_gnu=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes --- 3922,3937 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ! ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes *************** *** 3383,3402 **** fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS ! { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } ! if test "${ac_cv_prog_cc_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 3940,3955 ---- fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } ! if test "${ac_cv_prog_cc_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 3407,3441 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! CFLAGS="" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 3960,3970 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else ! CFLAGS="" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 3446,3481 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! : ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 3975,3986 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! else ! ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 3486,3527 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS --- 3991,4007 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS *************** *** 3538,3555 **** CFLAGS= fi fi ! { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ! if test "${ac_cv_prog_cc_c89+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include --- 4018,4031 ---- CFLAGS= fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ! if test "${ac_cv_prog_cc_c89+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include *************** *** 3606,3637 **** -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done --- 4082,4090 ---- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done *************** *** 3642,3658 **** # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) ! { $as_echo "$as_me:$LINENO: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) ! { $as_echo "$as_me:$LINENO: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" ! { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' --- 4095,4113 ---- # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac + if test "x$ac_cv_prog_cc_c89" != xno; then : + fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' *************** *** 3662,3670 **** depcc="$CC" am_compiler_list= ! { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } ! if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then --- 4117,4125 ---- depcc="$CC" am_compiler_list= ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } ! if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then *************** *** 3772,3778 **** fi fi ! { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type --- 4227,4233 ---- fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type *************** *** 3787,3797 **** fi ! if test "$GCC" = "yes"; then ! if test "$host_vendor" = "apple" -a "x${ac_cv_env_CC_set}" = "x"; then ! if test -f /usr/bin/gcc-4.2; then CPP="/usr/bin/gcc-4.2 -E" CC=/usr/bin/gcc-4.2 --- 4242,4252 ---- fi ! if test "$GCC" = "yes"; then : ! if test "$host_vendor" = "apple" -a "x${ac_cv_env_CC_set}" = "x"; then : ! if test -f /usr/bin/gcc-4.2; then : CPP="/usr/bin/gcc-4.2 -E" CC=/usr/bin/gcc-4.2 *************** *** 3799,3817 **** fi - fi - fi - # Check whether --enable-64bit was given. ! if test "${enable_64bit+set}" = set; then enableval=$enable_64bit; ac_enable_64bit="$enableval" else ac_enable_64bit="yes" --- 4254,4269 ---- fi fi fi # Check whether --enable-64bit was given. ! if test "${enable_64bit+set}" = set; then : enableval=$enable_64bit; ac_enable_64bit="$enableval" else ac_enable_64bit="yes" *************** *** 3822,3830 **** do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ISAINFO+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ISAINFO"; then --- 4274,4282 ---- do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ISAINFO+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ISAINFO"; then *************** *** 3835,3858 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ISAINFO="$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ISAINFO=$ac_cv_prog_ISAINFO if test -n "$ISAINFO"; then ! { $as_echo "$as_me:$LINENO: result: $ISAINFO" >&5 $as_echo "$ISAINFO" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 4287,4310 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ISAINFO="$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ISAINFO=$ac_cv_prog_ISAINFO if test -n "$ISAINFO"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISAINFO" >&5 $as_echo "$ISAINFO" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 3861,3935 **** done test -n "$ISAINFO" || ISAINFO="no" ! if test "x$ISAINFO" != "xno"; then isainfo_b=`${ISAINFO} -b` else isainfo_b="x" fi ! ! if test "$isainfo_b" != "x"; then isainfo_k=`${ISAINFO} -k` DTRACEFLAGS="${DTRACEFLAGS} -${isainfo_k}" ! if test "x${ac_cv_env_CPPFLAGS_set}" = "x"; then CPPFLAGS="-I/usr/local ${CPPFLAGS}" fi ! ! if test "x${ac_cv_env_LDFLAGS_set}" = "x"; then LDFLAGS="-L/usr/local/lib/${isainfo_k} ${LDFLAGS}" fi ! if test "x$ac_enable_64bit" = "xyes"; then ! ! if test "x$libdir" = "x\${exec_prefix}/lib"; then libdir="${libdir}/${isainfo_k}" fi - CPPFLAGS="-m64 ${CPPFLAGS}" LDFLAGS="-m64 ${LDFLAGS}" ! if test "$target_cpu" = "sparc" -a "x$SUNCC" = "xyes"; then AM_CFLAGS="-xmemalign=8s ${AM_CFLAGS}" AM_CXXFLAGS="-xmemalign=8s ${AM_CXXFLAGS}" fi - fi - fi - if test "x$CC" != xcc; then ! { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } else ! { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5 $as_echo_n "checking whether cc understands -c and -o together... " >&6; } fi set dummy $CC; ac_cc=`$as_echo "$2" | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` ! if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 4313,4376 ---- done test -n "$ISAINFO" || ISAINFO="no" ! if test "x$ISAINFO" != "xno"; then : isainfo_b=`${ISAINFO} -b` else isainfo_b="x" fi ! if test "$isainfo_b" != "x"; then : isainfo_k=`${ISAINFO} -k` DTRACEFLAGS="${DTRACEFLAGS} -${isainfo_k}" ! if test "x${ac_cv_env_CPPFLAGS_set}" = "x"; then : CPPFLAGS="-I/usr/local ${CPPFLAGS}" fi ! if test "x${ac_cv_env_LDFLAGS_set}" = "x"; then : LDFLAGS="-L/usr/local/lib/${isainfo_k} ${LDFLAGS}" fi + if test "x$ac_enable_64bit" = "xyes"; then : ! if test "x$libdir" = "x\${exec_prefix}/lib"; then : libdir="${libdir}/${isainfo_k}" fi CPPFLAGS="-m64 ${CPPFLAGS}" LDFLAGS="-m64 ${LDFLAGS}" ! if test "$target_cpu" = "sparc" -a "x$SUNCC" = "xyes"; then : AM_CFLAGS="-xmemalign=8s ${AM_CFLAGS}" AM_CXXFLAGS="-xmemalign=8s ${AM_CXXFLAGS}" fi fi fi if test "x$CC" != xcc; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 $as_echo_n "checking whether cc understands -c and -o together... " >&6; } fi set dummy $CC; ac_cc=`$as_echo "$2" | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` ! if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : $as_echo_n "(cached) " >&6 else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 3945,4007 **** # existing .o file with -o, though they will create one. ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' rm -f conftest2.* ! if { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && ! test -f conftest2.$ac_objext && { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; then eval ac_cv_prog_cc_${ac_cc}_c_o=yes if test "x$CC" != xcc; then # Test first that cc exists at all. if { ac_try='cc -c conftest.$ac_ext >&5' ! { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' rm -f conftest2.* ! if { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && ! test -f conftest2.$ac_objext && { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; then # cc works too. : --- 4386,4448 ---- # existing .o file with -o, though they will create one. ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' rm -f conftest2.* ! if { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } && ! test -f conftest2.$ac_objext && { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; then eval ac_cv_prog_cc_${ac_cc}_c_o=yes if test "x$CC" != xcc; then # Test first that cc exists at all. if { ac_try='cc -c conftest.$ac_ext >&5' ! { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; }; then ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' rm -f conftest2.* ! if { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } && ! test -f conftest2.$ac_objext && { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; then # cc works too. : *************** *** 4012,4040 **** fi fi else ! eval ac_cv_prog_cc_${ac_cc}_c_o=no fi ! rm -f core conftest* - fi - if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 - $as_echo "yes" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 ! $as_echo "no" >&6; } ! cat >>confdefs.h <<\_ACEOF ! #define NO_MINUS_C_MINUS_O 1 _ACEOF fi ! { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } ! if test "${ac_cv_path_GREP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then --- 4453,4616 ---- fi fi else ! eval ac_cv_prog_cc_${ac_cc}_c_o=no ! fi ! rm -f core conftest* ! ! fi ! if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! $as_echo "yes" >&6; } ! else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! $as_echo "no" >&6; } ! ! $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h ! ! fi ! ! ! ac_ext=c ! ac_cpp='$CPP $CPPFLAGS' ! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_c_compiler_gnu ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 ! $as_echo_n "checking how to run the C preprocessor... " >&6; } ! # On Suns, sometimes $CPP names a directory. ! if test -n "$CPP" && test -d "$CPP"; then ! CPP= ! fi ! if test -z "$CPP"; then ! if test "${ac_cv_prog_CPP+set}" = set; then : ! $as_echo_n "(cached) " >&6 ! else ! # Double quotes because CPP needs to be expanded ! for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" ! do ! ac_preproc_ok=false ! for ac_c_preproc_warn_flag in '' yes ! do ! # Use a header file that comes with gcc, so configuring glibc ! # with a fresh cross-compiler works. ! # Prefer to if __STDC__ is defined, since ! # exists even on freestanding compilers. ! # On the NeXT, cc -E runs the code through the compiler's parser, ! # not just through cpp. "Syntax error" is here to catch this case. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! #ifdef __STDC__ ! # include ! #else ! # include ! #endif ! Syntax error ! _ACEOF ! if ac_fn_c_try_cpp "$LINENO"; then : ! ! else ! # Broken: fails on valid input. ! continue ! fi ! rm -f conftest.err conftest.$ac_ext ! ! # OK, works on sane cases. Now check whether nonexistent headers ! # can be detected and how. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! #include ! _ACEOF ! if ac_fn_c_try_cpp "$LINENO"; then : ! # Broken: success on invalid input. ! continue ! else ! # Passes both tests. ! ac_preproc_ok=: ! break ! fi ! rm -f conftest.err conftest.$ac_ext ! ! done ! # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ! rm -f conftest.err conftest.$ac_ext ! if $ac_preproc_ok; then : ! break ! fi ! ! done ! ac_cv_prog_CPP=$CPP ! ! fi ! CPP=$ac_cv_prog_CPP ! else ! ac_cv_prog_CPP=$CPP fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 ! $as_echo "$CPP" >&6; } ! ac_preproc_ok=false ! for ac_c_preproc_warn_flag in '' yes ! do ! # Use a header file that comes with gcc, so configuring glibc ! # with a fresh cross-compiler works. ! # Prefer to if __STDC__ is defined, since ! # exists even on freestanding compilers. ! # On the NeXT, cc -E runs the code through the compiler's parser, ! # not just through cpp. "Syntax error" is here to catch this case. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! #ifdef __STDC__ ! # include ! #else ! # include ! #endif ! Syntax error ! _ACEOF ! if ac_fn_c_try_cpp "$LINENO"; then : else ! # Broken: fails on valid input. ! continue ! fi ! rm -f conftest.err conftest.$ac_ext ! # OK, works on sane cases. Now check whether nonexistent headers ! # can be detected and how. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! #include _ACEOF + if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. + continue + else + # Passes both tests. + ac_preproc_ok=: + break + fi + rm -f conftest.err conftest.$ac_ext + + done + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. + rm -f conftest.err conftest.$ac_ext + if $ac_preproc_ok; then : + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error "C preprocessor \"$CPP\" fails sanity check + See \`config.log' for more details." "$LINENO" 5; } fi + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_c_compiler_gnu ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } ! if test "${ac_cv_path_GREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then *************** *** 4045,4051 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue --- 4621,4627 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue *************** *** 4065,4071 **** $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ! ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" --- 4641,4647 ---- $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ! as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" *************** *** 4080,4105 **** $ac_path_GREP_found && break 3 done done ! done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then ! { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 ! $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} ! { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" ! { $as_echo "$as_me:$LINENO: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } ! if test "${ac_cv_path_EGREP+set}" = set; then $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 --- 4656,4679 ---- $ac_path_GREP_found && break 3 done done ! done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then ! as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } ! if test "${ac_cv_path_EGREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 *************** *** 4113,4119 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue --- 4687,4693 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue *************** *** 4133,4139 **** $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ! ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" --- 4707,4713 ---- $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ! as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" *************** *** 4148,4159 **** $ac_path_EGREP_found && break 3 done done ! done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then ! { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 ! $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} ! { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP --- 4722,4731 ---- $ac_path_EGREP_found && break 3 done done ! done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then ! as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP *************** *** 4161,4181 **** fi fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" ! { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } ! if test "${ac_cv_header_stdc+set}" = set; then $as_echo_n "(cached) " >&6 else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include --- 4733,4749 ---- fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } ! if test "${ac_cv_header_stdc+set}" = set; then : $as_echo_n "(cached) " >&6 else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include *************** *** 4190,4237 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_header_stdc=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! $EGREP "memchr" >/dev/null 2>&1; then ! : else ac_cv_header_stdc=no fi --- 4758,4780 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ! ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! $EGREP "memchr" >/dev/null 2>&1; then : ! else ac_cv_header_stdc=no fi *************** *** 4241,4258 **** if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! $EGREP "free" >/dev/null 2>&1; then ! : else ac_cv_header_stdc=no fi --- 4784,4797 ---- if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! $EGREP "free" >/dev/null 2>&1; then : ! else ac_cv_header_stdc=no fi *************** *** 4262,4275 **** if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. ! if test "$cross_compiling" = yes; then : else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include --- 4801,4810 ---- if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. ! if test "$cross_compiling" = yes; then : : else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include *************** *** 4296,4413 **** return 0; } _ACEOF ! rm -f conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ! { (case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_try") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then ! : ! else ! $as_echo "$as_me: program exited with status $ac_status" >&5 ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ( exit $ac_status ) ! ac_cv_header_stdc=no fi ! rm -rf conftest.dSYM ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - fi fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then ! cat >>confdefs.h <<\_ACEOF ! #define STDC_HEADERS 1 ! _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h ! do ! as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ! { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ! $as_echo_n "checking for $ac_header... " >&6; } ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! $as_echo_n "(cached) " >&6 ! else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! $ac_includes_default ! ! #include <$ac_header> ! _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! eval "$as_ac_Header=yes" ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! eval "$as_ac_Header=no" ! fi ! ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! ac_res=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! as_val=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF --- 4831,4864 ---- return 0; } _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : ! else ! ac_cv_header_stdc=no fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then ! $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h ! do : ! as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ! ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ! " ! eval as_val=\$$as_ac_Header ! if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF *************** *** 4420,4558 **** ! if test "${ac_cv_header_minix_config_h+set}" = set; then ! { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 ! $as_echo_n "checking for minix/config.h... " >&6; } ! if test "${ac_cv_header_minix_config_h+set}" = set; then ! $as_echo_n "(cached) " >&6 ! fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 ! $as_echo "$ac_cv_header_minix_config_h" >&6; } ! else ! # Is the header compilable? ! { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 ! $as_echo_n "checking minix/config.h usability... " >&6; } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! $ac_includes_default ! #include ! _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! ac_header_compiler=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_header_compiler=no ! fi ! ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ! $as_echo "$ac_header_compiler" >&6; } ! ! # Is the header present? ! { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 ! $as_echo_n "checking minix/config.h presence... " >&6; } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! #include ! _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ! test ! -s conftest.err ! }; then ! ac_header_preproc=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_header_preproc=no ! fi ! ! rm -f conftest.err conftest.$ac_ext ! { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ! $as_echo "$ac_header_preproc" >&6; } ! ! # So? What about this header? ! case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ! yes:no: ) ! { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 ! $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 ! $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} ! ac_header_preproc=yes ! ;; ! no:yes:* ) ! { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 ! $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 ! $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 ! $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 ! $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 ! $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 ! $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} ! ( cat <<\_ASBOX ! ## ------------------------------------------------------- ## ! ## Report this to http://tangent.org/552/libmemcached.html ## ! ## ------------------------------------------------------- ## ! _ASBOX ! ) | sed "s/^/$as_me: WARNING: /" >&2 ! ;; ! esac ! { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 ! $as_echo_n "checking for minix/config.h... " >&6; } ! if test "${ac_cv_header_minix_config_h+set}" = set; then ! $as_echo_n "(cached) " >&6 ! else ! ac_cv_header_minix_config_h=$ac_header_preproc ! fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 ! $as_echo "$ac_cv_header_minix_config_h" >&6; } ! ! fi ! if test "x$ac_cv_header_minix_config_h" = x""yes; then MINIX=yes else MINIX= --- 4871,4878 ---- ! ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" ! if test "x$ac_cv_header_minix_config_h" = x""yes; then : MINIX=yes else MINIX= *************** *** 4561,4604 **** if test "$MINIX" = yes; then ! cat >>confdefs.h <<\_ACEOF ! #define _POSIX_SOURCE 1 ! _ACEOF ! cat >>confdefs.h <<\_ACEOF ! #define _POSIX_1_SOURCE 2 ! _ACEOF ! cat >>confdefs.h <<\_ACEOF ! #define _MINIX 1 ! _ACEOF fi case "$host_os" in hpux*) ! cat >>confdefs.h <<\_ACEOF ! #define _XOPEN_SOURCE 500 ! _ACEOF ;; esac ! ! { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } ! if test "${ac_cv_safe_to_define___extensions__+set}" = set; then $as_echo_n "(cached) " >&6 else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ # define __EXTENSIONS__ 1 --- 4881,4911 ---- if test "$MINIX" = yes; then ! $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h ! $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h ! $as_echo "#define _MINIX 1" >>confdefs.h fi case "$host_os" in hpux*) ! $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h ;; esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } ! if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : $as_echo_n "(cached) " >&6 else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 *************** *** 4611,4671 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_safe_to_define___extensions__=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_safe_to_define___extensions__=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } test $ac_cv_safe_to_define___extensions__ = yes && ! cat >>confdefs.h <<\_ACEOF ! #define __EXTENSIONS__ 1 ! _ACEOF ! cat >>confdefs.h <<\_ACEOF ! #define _ALL_SOURCE 1 ! _ACEOF ! cat >>confdefs.h <<\_ACEOF ! #define _GNU_SOURCE 1 ! _ACEOF ! cat >>confdefs.h <<\_ACEOF ! #define _POSIX_PTHREAD_SEMANTICS 1 ! _ACEOF ! cat >>confdefs.h <<\_ACEOF ! #define _TANDEM_SOURCE 1 ! _ACEOF case `pwd` in *\ * | *\ *) ! { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac --- 4918,4947 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_define___extensions__=yes else ! ac_cv_safe_to_define___extensions__=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } test $ac_cv_safe_to_define___extensions__ = yes && ! $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h ! $as_echo "#define _ALL_SOURCE 1" >>confdefs.h ! $as_echo "#define _GNU_SOURCE 1" >>confdefs.h ! $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h ! $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h case `pwd` in *\ * | *\ *) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac *************** *** 4688,4696 **** ltmain="$ac_aux_dir/ltmain.sh" ! { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } ! if test "${ac_cv_path_SED+set}" = set; then $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ --- 4964,4972 ---- ltmain="$ac_aux_dir/ltmain.sh" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } ! if test "${ac_cv_path_SED+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ *************** *** 4698,4704 **** ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed ! $as_unset ac_script || ac_script= if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST --- 4974,4980 ---- ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed ! { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST *************** *** 4707,4713 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue --- 4983,4989 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue *************** *** 4727,4733 **** $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ! ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" --- 5003,5009 ---- $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ! as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" *************** *** 4742,4760 **** $ac_path_SED_found && break 3 done done ! done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then ! { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 ! $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} ! { (exit 1); exit 1; }; } fi else ac_cv_path_SED=$SED fi fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed --- 5018,5034 ---- $ac_path_SED_found && break 3 done done ! done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then ! as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed *************** *** 4772,4780 **** ! { $as_echo "$as_me:$LINENO: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } ! if test "${ac_cv_path_FGREP+set}" = set; then $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 --- 5046,5054 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } ! if test "${ac_cv_path_FGREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 *************** *** 4788,4794 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue --- 5062,5068 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue *************** *** 4808,4814 **** $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ! ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" --- 5082,5088 ---- $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ! as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" *************** *** 4823,4834 **** $ac_path_FGREP_found && break 3 done done ! done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then ! { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 ! $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} ! { (exit 1); exit 1; }; } fi else ac_cv_path_FGREP=$FGREP --- 5097,5106 ---- $ac_path_FGREP_found && break 3 done done ! done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then ! as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP *************** *** 4836,4842 **** fi fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" --- 5108,5114 ---- fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" *************** *** 4862,4868 **** # Check whether --with-gnu-ld was given. ! if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no --- 5134,5140 ---- # Check whether --with-gnu-ld was given. ! if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no *************** *** 4871,4877 **** ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. ! { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) --- 5143,5149 ---- ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) *************** *** 4901,4913 **** ;; esac elif test "$with_gnu_ld" = yes; then ! { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else ! { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi ! if test "${lt_cv_path_LD+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$LD"; then --- 5173,5185 ---- ;; esac elif test "$with_gnu_ld" = yes; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi ! if test "${lt_cv_path_LD+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then *************** *** 4938,4955 **** LD="$lt_cv_path_LD" if test -n "$LD"; then ! { $as_echo "$as_me:$LINENO: result: $LD" >&5 $as_echo "$LD" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi ! test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 ! $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} ! { (exit 1); exit 1; }; } ! { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } ! if test "${lt_cv_prog_gnu_ld+set}" = set; then $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. --- 5210,5225 ---- LD="$lt_cv_path_LD" if test -n "$LD"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 $as_echo "$LD" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ! test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } ! if test "${lt_cv_prog_gnu_ld+set}" = set; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. *************** *** 4962,4968 **** ;; esac fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld --- 5232,5238 ---- ;; esac fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld *************** *** 4974,4982 **** ! { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } ! if test "${lt_cv_path_NM+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$NM"; then --- 5244,5252 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } ! if test "${lt_cv_path_NM+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then *************** *** 5023,5029 **** : ${lt_cv_path_NM=no} fi fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" --- 5293,5299 ---- : ${lt_cv_path_NM=no} fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" *************** *** 5034,5042 **** do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_DUMPBIN+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then --- 5304,5312 ---- do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_DUMPBIN+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then *************** *** 5047,5070 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then ! { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 5317,5340 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 5078,5086 **** do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then --- 5348,5356 ---- do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then *************** *** 5091,5114 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 5361,5384 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 5121,5127 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 5391,5397 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 5141,5184 **** ! { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } ! if test "${lt_cv_nm_interface+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext ! (eval echo "\"\$as_me:5151: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 ! (eval echo "\"\$as_me:5154: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 ! (eval echo "\"\$as_me:5157: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } ! { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then ! { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments ! { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } ! if test "${lt_cv_sys_max_cmd_len+set}" = set; then $as_echo_n "(cached) " >&6 else i=0 --- 5411,5454 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } ! if test "${lt_cv_nm_interface+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext ! (eval echo "\"\$as_me:5421: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 ! (eval echo "\"\$as_me:5424: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 ! (eval echo "\"\$as_me:5427: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } ! if test "${lt_cv_sys_max_cmd_len+set}" = set; then : $as_echo_n "(cached) " >&6 else i=0 *************** *** 5296,5305 **** fi if test -n $lt_cv_sys_max_cmd_len ; then ! { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else ! { $as_echo "$as_me:$LINENO: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len --- 5566,5575 ---- fi if test -n $lt_cv_sys_max_cmd_len ; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len *************** *** 5313,5319 **** : ${MV="mv -f"} : ${RM="rm -f"} ! { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } # Try some XSI features xsi_shell=no --- 5583,5589 ---- : ${MV="mv -f"} : ${RM="rm -f"} ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } # Try some XSI features xsi_shell=no *************** *** 5323,5339 **** && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes ! { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 $as_echo "$xsi_shell" >&6; } ! { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } lt_shell_append=no ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes ! { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 $as_echo "$lt_shell_append" >&6; } --- 5593,5609 ---- && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 $as_echo "$xsi_shell" >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } lt_shell_append=no ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 $as_echo "$lt_shell_append" >&6; } *************** *** 5368,5381 **** ! { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } ! if test "${lt_cv_ld_reload_flag+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in --- 5638,5651 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } ! if test "${lt_cv_ld_reload_flag+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in *************** *** 5404,5412 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_OBJDUMP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then --- 5674,5682 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_OBJDUMP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then *************** *** 5417,5440 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then ! { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 5687,5710 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 5444,5452 **** ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then --- 5714,5722 ---- ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then *************** *** 5457,5480 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OBJDUMP="objdump" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 5727,5750 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OBJDUMP="objdump" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 5483,5489 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 5753,5759 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 5503,5511 **** ! { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } ! if test "${lt_cv_deplibs_check_method+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' --- 5773,5781 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } ! if test "${lt_cv_deplibs_check_method+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' *************** *** 5699,5705 **** esac fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method --- 5969,5975 ---- esac fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method *************** *** 5719,5727 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_AR+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AR"; then --- 5989,5997 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_AR+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then *************** *** 5732,5755 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AR="${ac_tool_prefix}ar" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then ! { $as_echo "$as_me:$LINENO: result: $AR" >&5 $as_echo "$AR" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 6002,6025 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AR="${ac_tool_prefix}ar" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 5759,5767 **** ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_AR+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then --- 6029,6037 ---- ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then *************** *** 5772,5795 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AR="ar" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 6042,6065 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AR="ar" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 5798,5804 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 6068,6074 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 5824,5832 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then --- 6094,6102 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_STRIP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then *************** *** 5837,5860 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then ! { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 6107,6130 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 5864,5872 **** ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then --- 6134,6142 ---- ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then *************** *** 5877,5900 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 6147,6170 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 5903,5909 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 6173,6179 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 5923,5931 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_RANLIB+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then --- 6193,6201 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_RANLIB+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then *************** *** 5936,5959 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then ! { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 6206,6229 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 5963,5971 **** ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then --- 6233,6241 ---- ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then *************** *** 5976,5999 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 6246,6269 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 6002,6008 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 6272,6278 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 6080,6088 **** # Check for command to grab the raw symbol name followed by C symbol from nm. ! { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } ! if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then $as_echo_n "(cached) " >&6 else --- 6350,6358 ---- # Check for command to grab the raw symbol name followed by C symbol from nm. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } ! if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : $as_echo_n "(cached) " >&6 else *************** *** 6198,6215 **** int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF ! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm ! if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" --- 6468,6485 ---- int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" *************** *** 6262,6272 **** lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" ! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" --- 6532,6542 ---- lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" *************** *** 6300,6309 **** lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then ! { $as_echo "$as_me:$LINENO: result: failed" >&5 $as_echo "failed" >&6; } else ! { $as_echo "$as_me:$LINENO: result: ok" >&5 $as_echo "ok" >&6; } fi --- 6570,6579 ---- lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 $as_echo "failed" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } fi *************** *** 6329,6335 **** # Check whether --enable-libtool-lock was given. ! if test "${enable_libtool_lock+set}" = set; then enableval=$enable_libtool_lock; fi --- 6599,6605 ---- # Check whether --enable-libtool-lock was given. ! if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi *************** *** 6341,6351 **** ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext ! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" --- 6611,6621 ---- ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" *************** *** 6359,6370 **** ;; *-*-irix6*) # Find out which ABI we are using. ! echo '#line 6362 "configure"' > conftest.$ac_ext ! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) --- 6629,6640 ---- ;; *-*-irix6*) # Find out which ABI we are using. ! echo '#line 6632 "configure"' > conftest.$ac_ext ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) *************** *** 6398,6408 **** s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext ! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in --- 6668,6678 ---- s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in *************** *** 6451,6459 **** # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" ! { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } ! if test "${lt_cv_cc_needs_belf+set}" = set; then $as_echo_n "(cached) " >&6 else ac_ext=c --- 6721,6729 ---- # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } ! if test "${lt_cv_cc_needs_belf+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_ext=c *************** *** 6462,6472 **** ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 6732,6738 ---- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 6477,6514 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then lt_cv_cc_needs_belf=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! lt_cv_cc_needs_belf=no fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' --- 6743,6755 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : lt_cv_cc_needs_belf=yes else ! lt_cv_cc_needs_belf=no fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' *************** *** 6516,6522 **** ac_compiler_gnu=$ac_cv_c_compiler_gnu fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf --- 6757,6763 ---- ac_compiler_gnu=$ac_cv_c_compiler_gnu fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf *************** *** 6526,6536 **** sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext ! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in --- 6767,6777 ---- sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in *************** *** 6556,6564 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_DSYMUTIL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then --- 6797,6805 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then *************** *** 6569,6592 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then ! { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 6810,6833 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 6596,6604 **** ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then --- 6837,6845 ---- ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then *************** *** 6609,6632 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 6850,6873 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 6635,6641 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 6876,6882 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 6648,6656 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_NMEDIT+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then --- 6889,6897 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_NMEDIT+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then *************** *** 6661,6684 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then ! { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 6902,6925 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 6688,6696 **** ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then --- 6929,6937 ---- ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then *************** *** 6701,6724 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_NMEDIT="nmedit" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 6942,6965 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_NMEDIT="nmedit" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 6727,6733 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 6968,6974 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 6740,6748 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_LIPO+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then --- 6981,6989 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_LIPO+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then *************** *** 6753,6776 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then ! { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 6994,7017 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 6780,6788 **** ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then --- 7021,7029 ---- ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then *************** *** 6793,6816 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_LIPO="lipo" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 7034,7057 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_LIPO="lipo" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 6819,6825 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 7060,7066 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 6832,6840 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_OTOOL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then --- 7073,7081 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_OTOOL+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then *************** *** 6845,6868 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then ! { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 7086,7109 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 6872,6880 **** ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then --- 7113,7121 ---- ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then *************** *** 6885,6908 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL="otool" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 7126,7149 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL="otool" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 6911,6917 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 7152,7158 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 6924,6932 **** if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_OTOOL64+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then --- 7165,7173 ---- if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_OTOOL64+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then *************** *** 6937,6960 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then ! { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 7178,7201 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 6964,6972 **** ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then --- 7205,7213 ---- ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then *************** *** 6977,7000 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL64="otool64" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 7218,7241 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL64="otool64" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 7003,7009 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 7244,7250 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 7039,7047 **** ! { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } ! if test "${lt_cv_apple_cc_single_mod+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no --- 7280,7288 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } ! if test "${lt_cv_apple_cc_single_mod+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no *************** *** 7066,7087 **** rm -f conftest.* fi fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } ! { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } ! if test "${lt_cv_ld_exported_symbols_list+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 7307,7577 ---- rm -f conftest.* fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } ! if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! ! int ! main () ! { ! ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ! lt_cv_ld_exported_symbols_list=yes ! else ! lt_cv_ld_exported_symbols_list=no ! fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext ! LDFLAGS="$save_LDFLAGS" ! ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 ! $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } ! case $host_os in ! rhapsody* | darwin1.[012]) ! _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; ! darwin1.*) ! _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ! darwin*) # darwin 5.x on ! # if running on 10.5 or later, the deployment target defaults ! # to the OS version, if on x86, and 10.4, the deployment ! # target defaults to 10.4. Don't you love it? ! case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in ! 10.0,*86*-darwin8*|10.0,*-darwin[91]*) ! _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ! 10.[012]*) ! _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ! 10.*) ! _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ! esac ! ;; ! esac ! if test "$lt_cv_apple_cc_single_mod" = "yes"; then ! _lt_dar_single_mod='$single_module' ! fi ! if test "$lt_cv_ld_exported_symbols_list" = "yes"; then ! _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' ! else ! _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' ! fi ! if test "$DSYMUTIL" != ":"; then ! _lt_dsymutil='~$DSYMUTIL $lib || :' ! else ! _lt_dsymutil= ! fi ! ;; ! esac ! ! for ac_header in dlfcn.h ! do : ! ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default ! " ! if test "x$ac_cv_header_dlfcn_h" = x""yes; then : ! cat >>confdefs.h <<_ACEOF ! #define HAVE_DLFCN_H 1 ! _ACEOF ! ! fi ! ! done ! ! ac_ext=cpp ! ac_cpp='$CXXCPP $CPPFLAGS' ! ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! if test -z "$CXX"; then ! if test -n "$CCC"; then ! CXX=$CCC ! else ! if test -n "$ac_tool_prefix"; then ! for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC ! do ! # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ! set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CXX+set}" = set; then : ! $as_echo_n "(cached) " >&6 ! else ! if test -n "$CXX"; then ! ac_cv_prog_CXX="$CXX" # Let the user override the test. ! else ! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! for as_dir in $PATH ! do ! IFS=$as_save_IFS ! test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do ! if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ! ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! break 2 ! fi ! done ! done ! IFS=$as_save_IFS ! ! fi ! fi ! CXX=$ac_cv_prog_CXX ! if test -n "$CXX"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 ! $as_echo "$CXX" >&6; } ! else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! $as_echo "no" >&6; } ! fi ! ! ! test -n "$CXX" && break ! done ! fi ! if test -z "$CXX"; then ! ac_ct_CXX=$CXX ! for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC ! do ! # Extract the first word of "$ac_prog", so it can be a program name with args. ! set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : ! $as_echo_n "(cached) " >&6 ! else ! if test -n "$ac_ct_CXX"; then ! ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. ! else ! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! for as_dir in $PATH ! do ! IFS=$as_save_IFS ! test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do ! if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ! ac_cv_prog_ac_ct_CXX="$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! break 2 ! fi ! done ! done ! IFS=$as_save_IFS ! ! fi ! fi ! ac_ct_CXX=$ac_cv_prog_ac_ct_CXX ! if test -n "$ac_ct_CXX"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 ! $as_echo "$ac_ct_CXX" >&6; } ! else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! $as_echo "no" >&6; } ! fi ! ! ! test -n "$ac_ct_CXX" && break ! done ! ! if test "x$ac_ct_CXX" = x; then ! CXX="g++" ! else ! case $cross_compiling:$ac_tool_warned in ! yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ! $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ! ac_tool_warned=yes ;; ! esac ! CXX=$ac_ct_CXX ! fi ! fi ! ! fi ! fi ! # Provide some information about the compiler. ! $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 ! set X $ac_compile ! ac_compiler=$2 ! for ac_option in --version -v -V -qversion; do ! { { ac_try="$ac_compiler $ac_option >&5" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_compiler $ac_option >&5") 2>conftest.err ! ac_status=$? ! if test -s conftest.err; then ! sed '10a\ ! ... rest of stderr output deleted ... ! 10q' conftest.err >conftest.er1 ! cat conftest.er1 >&5 ! rm -f conftest.er1 conftest.err ! fi ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } ! done ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 ! $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } ! if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : ! $as_echo_n "(cached) " >&6 ! else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! ! int ! main () ! { ! #ifndef __GNUC__ ! choke me ! #endif ! ! ; ! return 0; ! } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ! ac_compiler_gnu=yes ! else ! ac_compiler_gnu=no ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! ac_cv_cxx_compiler_gnu=$ac_compiler_gnu ! ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 ! $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } ! if test $ac_compiler_gnu = yes; then ! GXX=yes ! else ! GXX= ! fi ! ac_test_CXXFLAGS=${CXXFLAGS+set} ! ac_save_CXXFLAGS=$CXXFLAGS ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 ! $as_echo_n "checking whether $CXX accepts -g... " >&6; } ! if test "${ac_cv_prog_cxx_g+set}" = set; then : ! $as_echo_n "(cached) " >&6 ! else ! ac_save_cxx_werror_flag=$ac_cxx_werror_flag ! ac_cxx_werror_flag=yes ! ac_cv_prog_cxx_g=no ! CXXFLAGS="-g" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 7092,7230 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ! lt_cv_ld_exported_symbols_list=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! lt_cv_ld_exported_symbols_list=no ! fi ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext ! LDFLAGS="$save_LDFLAGS" fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 ! $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } ! case $host_os in ! rhapsody* | darwin1.[012]) ! _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; ! darwin1.*) ! _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ! darwin*) # darwin 5.x on ! # if running on 10.5 or later, the deployment target defaults ! # to the OS version, if on x86, and 10.4, the deployment ! # target defaults to 10.4. Don't you love it? ! case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in ! 10.0,*86*-darwin8*|10.0,*-darwin[91]*) ! _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ! 10.[012]*) ! _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; ! 10.*) ! _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; ! esac ! ;; ! esac ! if test "$lt_cv_apple_cc_single_mod" = "yes"; then ! _lt_dar_single_mod='$single_module' ! fi ! if test "$lt_cv_ld_exported_symbols_list" = "yes"; then ! _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' ! else ! _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' ! fi ! if test "$DSYMUTIL" != ":"; then ! _lt_dsymutil='~$DSYMUTIL $lib || :' ! else ! _lt_dsymutil= ! fi ! ;; ! esac ! for ac_header in dlfcn.h ! do ! as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ! { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ! $as_echo_n "checking for $ac_header... " >&6; } ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! $ac_includes_default ! #include <$ac_header> ! _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! eval "$as_ac_Header=yes" ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! eval "$as_ac_Header=no" fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ! ac_res=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! as_val=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! if test "x$as_val" = x""yes; then ! cat >>confdefs.h <<_ACEOF ! #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ! _ACEOF fi - done --- 7582,7777 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ! ac_cv_prog_cxx_g=yes else ! CXXFLAGS="" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! int ! main () ! { ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ! ! else ! ac_cxx_werror_flag=$ac_save_cxx_werror_flag ! CXXFLAGS="-g" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! ! int ! main () ! { + ; + return 0; + } + _ACEOF + if ac_fn_cxx_try_compile "$LINENO"; then : + ac_cv_prog_cxx_g=yes fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! ac_cxx_werror_flag=$ac_save_cxx_werror_flag ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 ! $as_echo "$ac_cv_prog_cxx_g" >&6; } ! if test "$ac_test_CXXFLAGS" = set; then ! CXXFLAGS=$ac_save_CXXFLAGS ! elif test $ac_cv_prog_cxx_g = yes; then ! if test "$GXX" = yes; then ! CXXFLAGS="-g -O2" ! else ! CXXFLAGS="-g" ! fi ! else ! if test "$GXX" = yes; then ! CXXFLAGS="-O2" ! else ! CXXFLAGS= ! fi ! fi ! ac_ext=c ! ac_cpp='$CPP $CPPFLAGS' ! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_c_compiler_gnu + depcc="$CXX" am_compiler_list= ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ! $as_echo_n "checking dependency style of $depcc... " >&6; } ! if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : $as_echo_n "(cached) " >&6 else ! if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then ! # We make a subdir and do the tests there. Otherwise we can end up ! # making bogus files that we don't know about and never remove. For ! # instance it was reported that on HP-UX the gcc test will end up ! # making a dummy file named `D' -- because `-MD' means `put the output ! # in D'. ! mkdir conftest.dir ! # Copy depcomp to subdir because otherwise we won't find it if we're ! # using a relative directory. ! cp "$am_depcomp" conftest.dir ! cd conftest.dir ! # We will build objects and dependencies in a subdirectory because ! # it helps to detect inapplicable dependency modes. For instance ! # both Tru64's cc and ICC support -MD to output dependencies as a ! # side effect of compilation, but ICC will put the dependencies in ! # the current directory while Tru64 will put them in the object ! # directory. ! mkdir sub ! am_cv_CXX_dependencies_compiler_type=none ! if test "$am_compiler_list" = ""; then ! am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` ! fi ! am__universal=false ! case " $depcc " in #( ! *\ -arch\ *\ -arch\ *) am__universal=true ;; ! esac ! ! for depmode in $am_compiler_list; do ! # Setup a source with many dependencies, because some compilers ! # like to wrap large dependency lists on column 80 (with \), and ! # we should not choose a depcomp mode which is confused by this. ! # ! # We need to recreate these files for each test, as the compiler may ! # overwrite some of them when testing with obscure command lines. ! # This happens at least with the AIX C compiler. ! : > sub/conftest.c ! for i in 1 2 3 4 5 6; do ! echo '#include "conftst'$i'.h"' >> sub/conftest.c ! # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with ! # Solaris 8's {/usr,}/bin/sh. ! touch sub/conftst$i.h ! done ! echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf ! ! # We check with `-c' and `-o' for the sake of the "dashmstdout" ! # mode. It turns out that the SunPro C++ compiler does not properly ! # handle `-M -o', and we need to detect this. Also, some Intel ! # versions had trouble with output in subdirs ! am__obj=sub/conftest.${OBJEXT-o} ! am__minus_obj="-o $am__obj" ! case $depmode in ! gcc) ! # This depmode causes a compiler race in universal mode. ! test "$am__universal" = false || continue ! ;; ! nosideeffect) ! # after this tag, mechanisms are not by side-effect, so they'll ! # only be used when explicitly requested ! if test "x$enable_dependency_tracking" = xyes; then ! continue ! else ! break ! fi ! ;; ! msvisualcpp | msvcmsys) ! # This compiler won't grok `-c -o', but also, the minuso test has ! # not run yet. These depmodes are late enough in the game, and ! # so weak that their functioning should not be impacted. ! am__obj=conftest.${OBJEXT-o} ! am__minus_obj= ! ;; ! none) break ;; ! esac ! if depmode=$depmode \ ! source=sub/conftest.c object=$am__obj \ ! depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ ! $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ ! >/dev/null 2>conftest.err && ! grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && ! grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && ! grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ! ${MAKE-make} -s -f confmf > /dev/null 2>&1; then ! # icc doesn't choke on unknown options, it will just issue warnings ! # or remarks (even with -Werror). So we grep stderr for any message ! # that says an option was ignored or not supported. ! # When given -MP, icc 7.0 and 7.1 complain thusly: ! # icc: Command line warning: ignoring option '-M'; no argument required ! # The diagnosis changed in icc 8.0: ! # icc: Command line remark: option '-MP' not supported ! if (grep 'ignoring option' conftest.err || ! grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else ! am_cv_CXX_dependencies_compiler_type=$depmode ! break ! fi ! fi ! done ! cd .. ! rm -rf conftest.dir ! else ! am_cv_CXX_dependencies_compiler_type=none fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 ! $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } ! CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' + else + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= fi *************** *** 7242,7250 **** do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then --- 7789,7797 ---- do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then *************** *** 7255,7278 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then ! { $as_echo "$as_me:$LINENO: result: $CXX" >&5 $as_echo "$CXX" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 7802,7825 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 $as_echo "$CXX" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 7286,7294 **** do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then --- 7833,7841 ---- do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then *************** *** 7299,7322 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CXX="$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 $as_echo "$ac_ct_CXX" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 7846,7869 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CXX="$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 $as_echo "$ac_ct_CXX" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 7329,7335 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 7876,7882 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 7340,7392 **** fi fi # Provide some information about the compiler. ! $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 ! { (ac_try="$ac_compiler --version >&5" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compiler --version >&5") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } ! { (ac_try="$ac_compiler -v >&5" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compiler -v >&5") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } ! { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } ! { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } ! if test "${ac_cv_cxx_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 7887,7922 ---- fi fi # Provide some information about the compiler. ! $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 ! for ac_option in --version -v -V -qversion; do ! { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? ! if test -s conftest.err; then ! sed '10a\ ! ... rest of stderr output deleted ... ! 10q' conftest.err >conftest.er1 ! cat conftest.er1 >&5 ! rm -f conftest.er1 conftest.err ! fi ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } ! done ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } ! if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 7400,7436 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_compiler_gnu=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes --- 7930,7945 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ! ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes *************** *** 7439,7458 **** fi ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS ! { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } ! if test "${ac_cv_prog_cxx_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 7948,7963 ---- fi ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } ! if test "${ac_cv_prog_cxx_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 7463,7497 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! CXXFLAGS="" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 7968,7978 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes else ! CXXFLAGS="" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 7502,7537 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! : ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 7983,7994 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ! else ! ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 7542,7583 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 $as_echo "$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS --- 7999,8015 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 $as_echo "$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS *************** *** 7602,7610 **** depcc="$CXX" am_compiler_list= ! { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } ! if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then --- 8034,8042 ---- depcc="$CXX" am_compiler_list= ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } ! if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then *************** *** 7712,7718 **** fi fi ! { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type --- 8144,8150 ---- fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type *************** *** 7735,7744 **** ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } if test -z "$CXXCPP"; then ! if test "${ac_cv_prog_CXXCPP+set}" = set; then $as_echo_n "(cached) " >&6 else # Double quotes because CXXCPP needs to be expanded --- 8167,8176 ---- ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } if test -z "$CXXCPP"; then ! if test "${ac_cv_prog_CXXCPP+set}" = set; then : $as_echo_n "(cached) " >&6 else # Double quotes because CXXCPP needs to be expanded *************** *** 7753,7763 **** # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include --- 8185,8191 ---- # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include *************** *** 7766,7843 **** #endif Syntax error _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ! test ! -s conftest.err ! }; then ! : ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi - rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ! test ! -s conftest.err ! }; then # Broken: success on invalid input. continue else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - # Passes both tests. ac_preproc_ok=: break fi - rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext ! if $ac_preproc_ok; then break fi --- 8194,8227 ---- #endif Syntax error _ACEOF ! if ac_fn_cxx_try_cpp "$LINENO"; then : + else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF ! if ac_fn_cxx_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext ! if $ac_preproc_ok; then : break fi *************** *** 7849,7855 **** else ac_cv_prog_CXXCPP=$CXXCPP fi ! { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 $as_echo "$CXXCPP" >&6; } ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes --- 8233,8239 ---- else ac_cv_prog_CXXCPP=$CXXCPP fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 $as_echo "$CXXCPP" >&6; } ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes *************** *** 7860,7870 **** # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include --- 8244,8250 ---- # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include *************** *** 7873,7953 **** #endif Syntax error _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ! test ! -s conftest.err ! }; then ! : ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi - rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ! test ! -s conftest.err ! }; then # Broken: success on invalid input. continue else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - # Passes both tests. ac_preproc_ok=: break fi - rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext ! if $ac_preproc_ok; then ! : else ! { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} _lt_caught_CXX_error=yes; } fi --- 8253,8289 ---- #endif Syntax error _ACEOF ! if ac_fn_cxx_try_cpp "$LINENO"; then : + else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF ! if ac_fn_cxx_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext ! if $ac_preproc_ok; then : ! else ! { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} _lt_caught_CXX_error=yes; } fi *************** *** 7977,7983 **** # Check whether --enable-shared was given. ! if test "${enable_shared+set}" = set; then enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; --- 8313,8319 ---- # Check whether --enable-shared was given. ! if test "${enable_shared+set}" = set; then : enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; *************** *** 8008,8014 **** # Check whether --enable-static was given. ! if test "${enable_static+set}" = set; then enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; --- 8344,8350 ---- # Check whether --enable-static was given. ! if test "${enable_static+set}" = set; then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; *************** *** 8040,8046 **** # Check whether --with-pic was given. ! if test "${with_pic+set}" = set; then withval=$with_pic; pic_mode="$withval" else pic_mode=default --- 8376,8382 ---- # Check whether --with-pic was given. ! if test "${with_pic+set}" = set; then : withval=$with_pic; pic_mode="$withval" else pic_mode=default *************** *** 8056,8062 **** # Check whether --enable-fast-install was given. ! if test "${enable_fast_install+set}" = set; then enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; --- 8392,8398 ---- # Check whether --enable-fast-install was given. ! if test "${enable_fast_install+set}" = set; then : enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; *************** *** 8137,8145 **** setopt NO_GLOB_SUBST fi ! { $as_echo "$as_me:$LINENO: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } ! if test "${lt_cv_objdir+set}" = set; then $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null --- 8473,8481 ---- setopt NO_GLOB_SUBST fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } ! if test "${lt_cv_objdir+set}" = set; then : $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null *************** *** 8152,8158 **** fi rmdir .libs 2>/dev/null fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir --- 8488,8494 ---- fi rmdir .libs 2>/dev/null fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir *************** *** 8245,8253 **** case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then ! { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } ! if test "${lt_cv_path_MAGIC_CMD+set}" = set; then $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in --- 8581,8589 ---- case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } ! if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in *************** *** 8298,8307 **** MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then ! { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 8634,8643 ---- MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 8311,8319 **** if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then ! { $as_echo "$as_me:$LINENO: checking for file" >&5 $as_echo_n "checking for file... " >&6; } ! if test "${lt_cv_path_MAGIC_CMD+set}" = set; then $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in --- 8647,8655 ---- if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } ! if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in *************** *** 8364,8373 **** MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then ! { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 8700,8709 ---- MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 8448,8456 **** if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' ! { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } ! if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no --- 8784,8792 ---- if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } ! if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no *************** *** 8466,8476 **** -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:8469: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:8473: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. --- 8802,8812 ---- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:8805: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:8809: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. *************** *** 8483,8489 **** $RM conftest* fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then --- 8819,8825 ---- $RM conftest* fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then *************** *** 8503,8509 **** lt_prog_compiler_pic= lt_prog_compiler_static= ! { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if test "$GCC" = yes; then --- 8839,8845 ---- lt_prog_compiler_pic= lt_prog_compiler_static= ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if test "$GCC" = yes; then *************** *** 8775,8781 **** lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac ! { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 $as_echo "$lt_prog_compiler_pic" >&6; } --- 9111,9117 ---- lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 $as_echo "$lt_prog_compiler_pic" >&6; } *************** *** 8787,8795 **** # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then ! { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } ! if test "${lt_cv_prog_compiler_pic_works+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no --- 9123,9131 ---- # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } ! if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no *************** *** 8805,8815 **** -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:8808: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:8812: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. --- 9141,9151 ---- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:9144: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:9148: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. *************** *** 8822,8828 **** $RM conftest* fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then --- 9158,9164 ---- $RM conftest* fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then *************** *** 8846,8854 **** # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" ! { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } ! if test "${lt_cv_prog_compiler_static_works+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no --- 9182,9190 ---- # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } ! if test "${lt_cv_prog_compiler_static_works+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no *************** *** 8874,8880 **** LDFLAGS="$save_LDFLAGS" fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then --- 9210,9216 ---- LDFLAGS="$save_LDFLAGS" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then *************** *** 8889,8897 **** ! { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ! if test "${lt_cv_prog_compiler_c_o+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no --- 9225,9233 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ! if test "${lt_cv_prog_compiler_c_o+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no *************** *** 8910,8920 **** -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:8913: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:8917: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized --- 9246,9256 ---- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:9249: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:9253: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized *************** *** 8936,8942 **** $RM conftest* fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } --- 9272,9278 ---- $RM conftest* fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } *************** *** 8944,8952 **** ! { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ! if test "${lt_cv_prog_compiler_c_o+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no --- 9280,9288 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ! if test "${lt_cv_prog_compiler_c_o+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no *************** *** 8965,8975 **** -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:8968: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:8972: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized --- 9301,9311 ---- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:9304: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:9308: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized *************** *** 8991,8997 **** $RM conftest* fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } --- 9327,9333 ---- $RM conftest* fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } *************** *** 9000,9006 **** hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user ! { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* --- 9336,9342 ---- hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* *************** *** 9008,9017 **** touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no ! { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then ! { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi --- 9344,9353 ---- touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi *************** *** 9024,9030 **** ! { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= --- 9360,9366 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= *************** *** 9466,9476 **** allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 9802,9808 ---- allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 9481,9507 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { --- 9813,9819 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { *************** *** 9515,9530 **** if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" --- 9827,9835 ---- if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" *************** *** 9537,9547 **** else # Determine the default libpath from the value encoded in an # empty executable. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 9842,9848 ---- else # Determine the default libpath from the value encoded in an # empty executable. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 9552,9578 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { --- 9853,9859 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { *************** *** 9586,9601 **** if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" --- 9867,9875 ---- if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" *************** *** 9807,9848 **** # implicitly export all symbols. save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" ! cat >conftest.$ac_ext <<_ACEOF int foo(void) {} _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' --- 10081,10096 ---- # implicitly export all symbols. save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ int foo(void) {} _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' *************** *** 10098,10104 **** fi fi ! { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no --- 10346,10352 ---- fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no *************** *** 10135,10150 **** # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. ! { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext ! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext --- 10383,10398 ---- # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext *************** *** 10158,10168 **** libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= ! if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } then archive_cmds_need_lc=no else --- 10406,10416 ---- libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } then archive_cmds_need_lc=no else *************** *** 10173,10179 **** cat conftest.err 1>&5 fi $RM conftest* ! { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 $as_echo "$archive_cmds_need_lc" >&6; } ;; esac --- 10421,10427 ---- cat conftest.err 1>&5 fi $RM conftest* ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 $as_echo "$archive_cmds_need_lc" >&6; } ;; esac *************** *** 10337,10343 **** ! { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test "$GCC" = yes; then --- 10585,10591 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test "$GCC" = yes; then *************** *** 10759,10769 **** save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 11007,11013 ---- save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 10774,10814 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ! if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then shlibpath_overrides_runpath=yes fi - - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir --- 11018,11030 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ! if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : shlibpath_overrides_runpath=yes fi fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir *************** *** 11023,11029 **** dynamic_linker=no ;; esac ! { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no --- 11239,11245 ---- dynamic_linker=no ;; esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no *************** *** 11125,11131 **** ! { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || --- 11341,11347 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || *************** *** 11150,11156 **** # directories. hardcode_action=unsupported fi ! { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test "$hardcode_action" = relink || --- 11366,11372 ---- # directories. hardcode_action=unsupported fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test "$hardcode_action" = relink || *************** *** 11195,11305 **** darwin*) # if libdl is installed we need to link against it ! { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } ! if test "${ac_cv_lib_dl_dlopen+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS ! LIBS="-ldl $LIBS" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! ! /* Override any GCC internal prototype to avoid an error. ! Use char because int might match the return type of a GCC ! builtin and then its argument prototype would still apply. */ ! #ifdef __cplusplus ! extern "C" ! #endif ! char dlopen (); ! int ! main () ! { ! return dlopen (); ! ; ! return 0; ! } ! _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ! ac_cv_lib_dl_dlopen=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_lib_dl_dlopen=no ! fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext ! LIBS=$ac_check_lib_save_LIBS ! fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 ! $as_echo "$ac_cv_lib_dl_dlopen" >&6; } ! if test "x$ac_cv_lib_dl_dlopen" = x""yes; then ! lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" ! else ! ! lt_cv_dlopen="dyld" ! lt_cv_dlopen_libs= ! lt_cv_dlopen_self=yes ! ! fi ! ! ;; ! ! *) ! { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 ! $as_echo_n "checking for shl_load... " >&6; } ! if test "${ac_cv_func_shl_load+set}" = set; then ! $as_echo_n "(cached) " >&6 ! else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! /* Define shl_load to an innocuous variant, in case declares shl_load. ! For example, HP-UX 11i declares gettimeofday. */ ! #define shl_load innocuous_shl_load ! ! /* System header to define __stub macros and hopefully few prototypes, ! which can conflict with char shl_load (); below. ! Prefer to if __STDC__ is defined, since ! exists even on freestanding compilers. */ ! ! #ifdef __STDC__ ! # include ! #else ! # include ! #endif ! ! #undef shl_load /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC --- 11411,11425 ---- darwin*) # if libdl is installed we need to link against it ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } ! if test "${ac_cv_lib_dl_dlopen+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS ! LIBS="-ldl $LIBS" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC *************** *** 11307,11378 **** #ifdef __cplusplus extern "C" #endif ! char shl_load (); ! /* The GNU C library defines this for functions which it implements ! to always fail with ENOSYS. Some functions are actually named ! something starting with __ and the normal name is an alias. */ ! #if defined __stub_shl_load || defined __stub___shl_load ! choke me ! #endif ! int main () { ! return shl_load (); ; return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ! ac_cv_func_shl_load=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_func_shl_load=no fi - rm -rf conftest.dSYM - rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 ! $as_echo "$ac_cv_func_shl_load" >&6; } ! if test "x$ac_cv_func_shl_load" = x""yes; then lt_cv_dlopen="shl_load" else ! { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } ! if test "${ac_cv_lib_dld_shl_load+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. --- 11427,11477 ---- #ifdef __cplusplus extern "C" #endif ! char dlopen (); int main () { ! return dlopen (); ; return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ! ac_cv_lib_dl_dlopen=yes else ! ac_cv_lib_dl_dlopen=no ! fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext ! LIBS=$ac_check_lib_save_LIBS fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 + $as_echo "$ac_cv_lib_dl_dlopen" >&6; } + if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" + else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes fi ! ! ;; ! ! *) ! ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" ! if test "x$ac_cv_func_shl_load" = x""yes; then : lt_cv_dlopen="shl_load" else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } ! if test "${ac_cv_lib_dld_shl_load+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. *************** *** 11390,11534 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ac_cv_lib_dld_shl_load=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_lib_dld_shl_load=no fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } ! if test "x$ac_cv_lib_dld_shl_load" = x""yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else ! { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 ! $as_echo_n "checking for dlopen... " >&6; } ! if test "${ac_cv_func_dlopen+set}" = set; then ! $as_echo_n "(cached) " >&6 ! else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! /* Define dlopen to an innocuous variant, in case declares dlopen. ! For example, HP-UX 11i declares gettimeofday. */ ! #define dlopen innocuous_dlopen ! ! /* System header to define __stub macros and hopefully few prototypes, ! which can conflict with char dlopen (); below. ! Prefer to if __STDC__ is defined, since ! exists even on freestanding compilers. */ ! ! #ifdef __STDC__ ! # include ! #else ! # include ! #endif ! ! #undef dlopen ! ! /* Override any GCC internal prototype to avoid an error. ! Use char because int might match the return type of a GCC ! builtin and then its argument prototype would still apply. */ ! #ifdef __cplusplus ! extern "C" ! #endif ! char dlopen (); ! /* The GNU C library defines this for functions which it implements ! to always fail with ENOSYS. Some functions are actually named ! something starting with __ and the normal name is an alias. */ ! #if defined __stub_dlopen || defined __stub___dlopen ! choke me ! #endif ! ! int ! main () ! { ! return dlopen (); ! ; ! return 0; ! } ! _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ! ac_cv_func_dlopen=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_func_dlopen=no ! fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext ! fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 ! $as_echo "$ac_cv_func_dlopen" >&6; } ! if test "x$ac_cv_func_dlopen" = x""yes; then lt_cv_dlopen="dlopen" else ! { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } ! if test "${ac_cv_lib_dl_dlopen+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. --- 11489,11520 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_shl_load=yes else ! ac_cv_lib_dld_shl_load=no fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } ! if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else ! ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" ! if test "x$ac_cv_func_dlopen" = x""yes; then : lt_cv_dlopen="dlopen" else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } ! if test "${ac_cv_lib_dl_dlopen+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. *************** *** 11546,11602 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ac_cv_lib_dl_dlopen=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_lib_dl_dlopen=no fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } ! if test "x$ac_cv_lib_dl_dlopen" = x""yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else ! { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } ! if test "${ac_cv_lib_svld_dlopen+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. --- 11532,11559 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ! ac_cv_lib_dl_dlopen=no fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } ! if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } ! if test "${ac_cv_lib_svld_dlopen+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. *************** *** 11614,11670 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ac_cv_lib_svld_dlopen=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_lib_svld_dlopen=no fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } ! if test "x$ac_cv_lib_svld_dlopen" = x""yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else ! { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } ! if test "${ac_cv_lib_dld_dld_link+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. --- 11571,11598 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_svld_dlopen=yes else ! ac_cv_lib_svld_dlopen=no fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } ! if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } ! if test "${ac_cv_lib_dld_dld_link+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. *************** *** 11682,11724 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ac_cv_lib_dld_dld_link=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_lib_dld_dld_link=no fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } ! if test "x$ac_cv_lib_dld_dld_link" = x""yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi --- 11610,11627 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_dld_link=yes else ! ac_cv_lib_dld_dld_link=no fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } ! if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi *************** *** 11757,11765 **** save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" ! { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } ! if test "${lt_cv_dlopen_self+set}" = set; then $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : --- 11660,11668 ---- save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } ! if test "${lt_cv_dlopen_self+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : *************** *** 11768,11774 **** lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF ! #line 11771 "configure" #include "confdefs.h" #if HAVE_DLFCN_H --- 11671,11677 ---- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF ! #line 11674 "configure" #include "confdefs.h" #if HAVE_DLFCN_H *************** *** 11827,11837 **** return status; } _LT_EOF ! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in --- 11730,11740 ---- return status; } _LT_EOF ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in *************** *** 11848,11861 **** fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" ! { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } ! if test "${lt_cv_dlopen_self_static+set}" = set; then $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : --- 11751,11764 ---- fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } ! if test "${lt_cv_dlopen_self_static+set}" = set; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : *************** *** 11864,11870 **** lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF ! #line 11867 "configure" #include "confdefs.h" #if HAVE_DLFCN_H --- 11767,11773 ---- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF ! #line 11770 "configure" #include "confdefs.h" #if HAVE_DLFCN_H *************** *** 11923,11933 **** return status; } _LT_EOF ! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in --- 11826,11836 ---- return status; } _LT_EOF ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in *************** *** 11944,11950 **** fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi --- 11847,11853 ---- fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi *************** *** 11983,11994 **** striplib= old_striplib= ! { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" ! { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough --- 11886,11897 ---- striplib= old_striplib= ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough *************** *** 11997,12011 **** if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" ! { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi ;; *) ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } ;; esac --- 11900,11914 ---- if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ;; *) ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } ;; esac *************** *** 12023,12034 **** # Report which library types will actually be built ! { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } ! { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } ! { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test "$can_build_shared" = "no" && enable_shared=no --- 11926,11937 ---- # Report which library types will actually be built ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test "$can_build_shared" = "no" && enable_shared=no *************** *** 12049,12062 **** fi ;; esac ! { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } ! { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes ! { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } --- 11952,11965 ---- fi ;; esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } *************** *** 12197,12203 **** # Check whether --with-gnu-ld was given. ! if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no --- 12100,12106 ---- # Check whether --with-gnu-ld was given. ! if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no *************** *** 12206,12212 **** ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. ! { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) --- 12109,12115 ---- ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) *************** *** 12236,12248 **** ;; esac elif test "$with_gnu_ld" = yes; then ! { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else ! { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi ! if test "${lt_cv_path_LD+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$LD"; then --- 12139,12151 ---- ;; esac elif test "$with_gnu_ld" = yes; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi ! if test "${lt_cv_path_LD+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then *************** *** 12273,12290 **** LD="$lt_cv_path_LD" if test -n "$LD"; then ! { $as_echo "$as_me:$LINENO: result: $LD" >&5 $as_echo "$LD" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi ! test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 ! $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} ! { (exit 1); exit 1; }; } ! { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } ! if test "${lt_cv_prog_gnu_ld+set}" = set; then $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. --- 12176,12191 ---- LD="$lt_cv_path_LD" if test -n "$LD"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 $as_echo "$LD" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ! test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } ! if test "${lt_cv_prog_gnu_ld+set}" = set; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. *************** *** 12297,12303 **** ;; esac fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld --- 12198,12204 ---- ;; esac fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld *************** *** 12352,12358 **** fi # PORTME: fill in a description of your system's C++ link characteristics ! { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } ld_shlibs_CXX=yes case $host_os in --- 12253,12259 ---- fi # PORTME: fill in a description of your system's C++ link characteristics ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } ld_shlibs_CXX=yes case $host_os in *************** *** 12453,12463 **** allow_undefined_flag_CXX='-berok' # Determine the default libpath from the value encoded in an empty # executable. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 12354,12360 ---- allow_undefined_flag_CXX='-berok' # Determine the default libpath from the value encoded in an empty # executable. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 12468,12494 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { --- 12365,12371 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { *************** *** 12502,12517 **** if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" --- 12379,12387 ---- if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" *************** *** 12525,12535 **** else # Determine the default libpath from the value encoded in an # empty executable. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 12395,12401 ---- else # Determine the default libpath from the value encoded in an # empty executable. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 12540,12566 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { --- 12406,12412 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { *************** *** 12574,12589 **** if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" --- 12420,12428 ---- if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" *************** *** 13327,13333 **** ;; esac ! { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 $as_echo "$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no --- 13166,13172 ---- ;; esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 $as_echo "$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no *************** *** 13355,13365 **** }; _LT_EOF ! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; then # Parse the compiler output and extract the necessary # objects, libraries and library flags. --- 13194,13204 ---- }; _LT_EOF ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; }; then # Parse the compiler output and extract the necessary # objects, libraries and library flags. *************** *** 13540,13546 **** lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= ! { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } # C++ specific cases for pic, static, wl, etc. --- 13379,13385 ---- lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } # C++ specific cases for pic, static, wl, etc. *************** *** 13857,13863 **** lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; esac ! { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 $as_echo "$lt_prog_compiler_pic_CXX" >&6; } --- 13696,13702 ---- lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 $as_echo "$lt_prog_compiler_pic_CXX" >&6; } *************** *** 13866,13874 **** # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_CXX"; then ! { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } ! if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works_CXX=no --- 13705,13713 ---- # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_CXX"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } ! if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works_CXX=no *************** *** 13884,13894 **** -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:13887: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:13891: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. --- 13723,13733 ---- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:13726: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:13730: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. *************** *** 13901,13907 **** $RM conftest* fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then --- 13740,13746 ---- $RM conftest* fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then *************** *** 13922,13930 **** # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" ! { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } ! if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works_CXX=no --- 13761,13769 ---- # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } ! if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works_CXX=no *************** *** 13950,13956 **** LDFLAGS="$save_LDFLAGS" fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then --- 13789,13795 ---- LDFLAGS="$save_LDFLAGS" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then *************** *** 13962,13970 **** ! { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ! if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o_CXX=no --- 13801,13809 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ! if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o_CXX=no *************** *** 13983,13993 **** -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:13986: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:13990: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized --- 13822,13832 ---- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:13825: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:13829: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized *************** *** 14009,14022 **** $RM conftest* fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } ! { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ! if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o_CXX=no --- 13848,13861 ---- $RM conftest* fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } ! if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o_CXX=no *************** *** 14035,14045 **** -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:14038: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:14042: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized --- 13874,13884 ---- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:13877: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:13881: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized *************** *** 14061,14067 **** $RM conftest* fi ! { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } --- 13900,13906 ---- $RM conftest* fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } *************** *** 14070,14076 **** hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user ! { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* --- 13909,13915 ---- hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* *************** *** 14078,14087 **** touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no ! { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then ! { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi --- 13917,13926 ---- touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi *************** *** 14091,14097 **** ! { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' --- 13930,13936 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' *************** *** 14117,14123 **** esac exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' ! { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 $as_echo "$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no --- 13956,13962 ---- esac exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 $as_echo "$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no *************** *** 14145,14160 **** # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. ! { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext ! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext --- 13984,13999 ---- # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext *************** *** 14168,14178 **** libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_CXX allow_undefined_flag_CXX= ! if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } then archive_cmds_need_lc_CXX=no else --- 14007,14017 ---- libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_CXX allow_undefined_flag_CXX= ! if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } then archive_cmds_need_lc_CXX=no else *************** *** 14183,14189 **** cat conftest.err 1>&5 fi $RM conftest* ! { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 $as_echo "$archive_cmds_need_lc_CXX" >&6; } ;; esac --- 14022,14028 ---- cat conftest.err 1>&5 fi $RM conftest* ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 $as_echo "$archive_cmds_need_lc_CXX" >&6; } ;; esac *************** *** 14254,14260 **** ! { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } library_names_spec= --- 14093,14099 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } library_names_spec= *************** *** 14624,14634 **** save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 14463,14469 ---- save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 14639,14679 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ! if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then shlibpath_overrides_runpath=yes fi - - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir --- 14474,14486 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_link "$LINENO"; then : ! if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : shlibpath_overrides_runpath=yes fi fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir *************** *** 14888,14894 **** dynamic_linker=no ;; esac ! { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no --- 14695,14701 ---- dynamic_linker=no ;; esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no *************** *** 14939,14945 **** ! { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action_CXX= if test -n "$hardcode_libdir_flag_spec_CXX" || --- 14746,14752 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action_CXX= if test -n "$hardcode_libdir_flag_spec_CXX" || *************** *** 14964,14970 **** # directories. hardcode_action_CXX=unsupported fi ! { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 $as_echo "$hardcode_action_CXX" >&6; } if test "$hardcode_action_CXX" = relink || --- 14771,14777 ---- # directories. hardcode_action_CXX=unsupported fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 $as_echo "$hardcode_action_CXX" >&6; } if test "$hardcode_action_CXX" = relink || *************** *** 15023,15031 **** ! { $as_echo "$as_me:$LINENO: checking if g++ supports C++0x features without additional flags" >&5 $as_echo_n "checking if g++ supports C++0x features without additional flags... " >&6; } ! if test "${ac_cv_cxx_compile_cxx0x_native+set}" = set; then $as_echo_n "(cached) " >&6 else --- 14830,14838 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features without additional flags" >&5 $as_echo_n "checking if g++ supports C++0x features without additional flags... " >&6; } ! if test "${ac_cv_cxx_compile_cxx0x_native+set}" = set; then : $as_echo_n "(cached) " >&6 else *************** *** 15035,15045 **** ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ template --- 14842,14848 ---- ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ template *************** *** 15064,15095 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_cxx_compile_cxx0x_native=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_cxx_compile_cxx0x_native=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' --- 14867,14877 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_cxx_compile_cxx0x_native=yes else ! ac_cv_cxx_compile_cxx0x_native=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' *************** *** 15099,15110 **** fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compile_cxx0x_native" >&5 $as_echo "$ac_cv_cxx_compile_cxx0x_native" >&6; } ! { $as_echo "$as_me:$LINENO: checking if g++ supports C++0x features with -std=c++0x" >&5 $as_echo_n "checking if g++ supports C++0x features with -std=c++0x... " >&6; } ! if test "${ac_cv_cxx_compile_cxx0x_cxx+set}" = set; then $as_echo_n "(cached) " >&6 else --- 14881,14892 ---- fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compile_cxx0x_native" >&5 $as_echo "$ac_cv_cxx_compile_cxx0x_native" >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features with -std=c++0x" >&5 $as_echo_n "checking if g++ supports C++0x features with -std=c++0x... " >&6; } ! if test "${ac_cv_cxx_compile_cxx0x_cxx+set}" = set; then : $as_echo_n "(cached) " >&6 else *************** *** 15116,15126 **** ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -std=c++0x" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ template --- 14898,14904 ---- ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -std=c++0x" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ template *************** *** 15145,15176 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_cxx_compile_cxx0x_cxx=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_cxx_compile_cxx0x_cxx=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXXFLAGS="$ac_save_CXXFLAGS" ac_ext=c --- 14923,14933 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_cxx_compile_cxx0x_cxx=yes else ! ac_cv_cxx_compile_cxx0x_cxx=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXXFLAGS="$ac_save_CXXFLAGS" ac_ext=c *************** *** 15181,15192 **** fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compile_cxx0x_cxx" >&5 $as_echo "$ac_cv_cxx_compile_cxx0x_cxx" >&6; } ! { $as_echo "$as_me:$LINENO: checking if g++ supports C++0x features with -std=gnu++0x" >&5 $as_echo_n "checking if g++ supports C++0x features with -std=gnu++0x... " >&6; } ! if test "${ac_cv_cxx_compile_cxx0x_gxx+set}" = set; then $as_echo_n "(cached) " >&6 else --- 14938,14949 ---- fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compile_cxx0x_cxx" >&5 $as_echo "$ac_cv_cxx_compile_cxx0x_cxx" >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features with -std=gnu++0x" >&5 $as_echo_n "checking if g++ supports C++0x features with -std=gnu++0x... " >&6; } ! if test "${ac_cv_cxx_compile_cxx0x_gxx+set}" = set; then : $as_echo_n "(cached) " >&6 else *************** *** 15198,15208 **** ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -std=gnu++0x" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ template --- 14955,14961 ---- ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS -std=gnu++0x" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ template *************** *** 15227,15258 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_cxx_compile_cxx0x_gxx=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_cxx_compile_cxx0x_gxx=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXXFLAGS="$ac_save_CXXFLAGS" ac_ext=c --- 14980,14990 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_cxx_compile_cxx0x_gxx=yes else ! ac_cv_cxx_compile_cxx0x_gxx=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXXFLAGS="$ac_save_CXXFLAGS" ac_ext=c *************** *** 15263,15278 **** fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compile_cxx0x_gxx" >&5 $as_echo "$ac_cv_cxx_compile_cxx0x_gxx" >&6; } if test "$ac_cv_cxx_compile_cxx0x_native" = yes || test "$ac_cv_cxx_compile_cxx0x_cxx" = yes || test "$ac_cv_cxx_compile_cxx0x_gxx" = yes; then ! cat >>confdefs.h <<\_ACEOF ! #define HAVE_STDCXX_0X /**/ ! _ACEOF fi --- 14995,15008 ---- fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compile_cxx0x_gxx" >&5 $as_echo "$ac_cv_cxx_compile_cxx0x_gxx" >&6; } if test "$ac_cv_cxx_compile_cxx0x_native" = yes || test "$ac_cv_cxx_compile_cxx0x_cxx" = yes || test "$ac_cv_cxx_compile_cxx0x_gxx" = yes; then ! $as_echo "#define HAVE_STDCXX_0X /**/" >>confdefs.h fi *************** *** 15281,15287 **** ac_cv_building_from_vc=no ! if test -d "${srcdir}/.bzr"; then ac_cv_building_from_bzr=yes ac_cv_building_from_vc=yes --- 15011,15017 ---- ac_cv_building_from_vc=no ! if test -d "${srcdir}/.bzr"; then : ac_cv_building_from_bzr=yes ac_cv_building_from_vc=yes *************** *** 15292,15299 **** fi ! ! if test -d "${srcdir}/.svn"; then ac_cv_building_from_svn=yes ac_cv_building_from_vc=yes --- 15022,15028 ---- fi ! if test -d "${srcdir}/.svn"; then : ac_cv_building_from_svn=yes ac_cv_building_from_vc=yes *************** *** 15304,15311 **** fi ! ! if test -d "${srcdir}/.hg"; then ac_cv_building_from_hg=yes ac_cv_building_from_vc=yes --- 15033,15039 ---- fi ! if test -d "${srcdir}/.hg"; then : ac_cv_building_from_hg=yes ac_cv_building_from_vc=yes *************** *** 15319,15351 **** - acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) ! { $as_echo "$as_me:$LINENO: checking for 64-bit host" >&5 $as_echo_n "checking for 64-bit host... " >&6; } ! if test "${gl_cv_solaris_64bit+set}" = set; then $as_echo_n "(cached) " >&6 else ! if test "$cross_compiling" = yes; then ! { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling ! See \`config.log' for more details." >&5 ! $as_echo "$as_me: error: cannot run test program while cross compiling ! See \`config.log' for more details." >&2;} ! { (exit 1); exit 1; }; }; } else ! cat >conftest.$ac_ext <<_ACEOF ! ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { --- 15047,15071 ---- acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 $as_echo_n "checking for 64-bit host... " >&6; } ! if test "${gl_cv_solaris_64bit+set}" = set; then : $as_echo_n "(cached) " >&6 else ! if test "$cross_compiling" = yes; then : ! { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! as_fn_error "cannot run test program while cross compiling ! See \`config.log' for more details." "$LINENO" 5; } else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + int main () { *************** *** 15357,15401 **** } _ACEOF ! rm -f conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ! { (case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_try") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then gl_cv_solaris_64bit=yes else ! $as_echo "$as_me: program exited with status $ac_status" >&5 ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ( exit $ac_status ) ! gl_cv_solaris_64bit=no fi ! rm -rf conftest.dSYM ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - fi ! { $as_echo "$as_me:$LINENO: result: $gl_cv_solaris_64bit" >&5 $as_echo "$gl_cv_solaris_64bit" >&6; } if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 --- 15077,15094 ---- } _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : gl_cv_solaris_64bit=yes else ! gl_cv_solaris_64bit=no fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 $as_echo "$gl_cv_solaris_64bit" >&6; } if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 *************** *** 15442,15611 **** eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" - for ac_header in stdlib.h ! do ! as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ! $as_echo_n "checking for $ac_header... " >&6; } ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! $as_echo_n "(cached) " >&6 ! fi ! ac_res=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! else ! # Is the header compilable? ! { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 ! $as_echo_n "checking $ac_header usability... " >&6; } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! $ac_includes_default ! #include <$ac_header> ! _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! ac_header_compiler=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_header_compiler=no ! fi ! ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ! $as_echo "$ac_header_compiler" >&6; } ! ! # Is the header present? ! { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 ! $as_echo_n "checking $ac_header presence... " >&6; } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! #include <$ac_header> ! _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ! test ! -s conftest.err ! }; then ! ac_header_preproc=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_header_preproc=no ! fi ! ! rm -f conftest.err conftest.$ac_ext ! { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ! $as_echo "$ac_header_preproc" >&6; } ! ! # So? What about this header? ! case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ! yes:no: ) ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ! $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 ! $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ! ac_header_preproc=yes ! ;; ! no:yes:* ) ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ! $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ! $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 ! $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 ! $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ! $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 ! $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ! ( cat <<\_ASBOX ! ## ------------------------------------------------------- ## ! ## Report this to http://tangent.org/552/libmemcached.html ## ! ## ------------------------------------------------------- ## ! _ASBOX ! ) | sed "s/^/$as_me: WARNING: /" >&2 ! ;; ! esac ! { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ! $as_echo_n "checking for $ac_header... " >&6; } ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! $as_echo_n "(cached) " >&6 ! else ! eval "$as_ac_Header=\$ac_header_preproc" ! fi ! ac_res=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! ! fi ! as_val=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF ! #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ! { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } ! if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then $as_echo_n "(cached) " >&6 else ! if test "$cross_compiling" = yes; then ac_cv_func_malloc_0_nonnull=no else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include --- 15135,15161 ---- eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" for ac_header in stdlib.h ! do : ! ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" ! if test "x$ac_cv_header_stdlib_h" = x""yes; then : cat >>confdefs.h <<_ACEOF ! #define HAVE_STDLIB_H 1 _ACEOF fi done ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } ! if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : $as_echo_n "(cached) " >&6 else ! if test "$cross_compiling" = yes; then : ac_cv_func_malloc_0_nonnull=no else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include *************** *** 15621,15675 **** return 0; } _ACEOF ! rm -f conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ! { (case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_try") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then ac_cv_func_malloc_0_nonnull=yes else ! $as_echo "$as_me: program exited with status $ac_status" >&5 ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ( exit $ac_status ) ! ac_cv_func_malloc_0_nonnull=no fi ! rm -rf conftest.dSYM ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } ! if test $ac_cv_func_malloc_0_nonnull = yes; then ! cat >>confdefs.h <<\_ACEOF ! #define HAVE_MALLOC 1 ! _ACEOF else ! cat >>confdefs.h <<\_ACEOF ! #define HAVE_MALLOC 0 ! _ACEOF case " $LIBOBJS " in *" malloc.$ac_objext "* ) ;; --- 15171,15194 ---- return 0; } _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_malloc_0_nonnull=yes else ! ac_cv_func_malloc_0_nonnull=no fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } ! if test $ac_cv_func_malloc_0_nonnull = yes; then : ! $as_echo "#define HAVE_MALLOC 1" >>confdefs.h else ! $as_echo "#define HAVE_MALLOC 0" >>confdefs.h case " $LIBOBJS " in *" malloc.$ac_objext "* ) ;; *************** *** 15678,15855 **** esac ! cat >>confdefs.h <<\_ACEOF ! #define malloc rpl_malloc ! _ACEOF fi - - for ac_header in stdlib.h ! do ! as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ! $as_echo_n "checking for $ac_header... " >&6; } ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! $as_echo_n "(cached) " >&6 ! fi ! ac_res=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! else ! # Is the header compilable? ! { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 ! $as_echo_n "checking $ac_header usability... " >&6; } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! $ac_includes_default ! #include <$ac_header> ! _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! ac_header_compiler=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_header_compiler=no ! fi ! ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ! $as_echo "$ac_header_compiler" >&6; } ! ! # Is the header present? ! { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 ! $as_echo_n "checking $ac_header presence... " >&6; } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! #include <$ac_header> ! _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ! test ! -s conftest.err ! }; then ! ac_header_preproc=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_header_preproc=no ! fi ! ! rm -f conftest.err conftest.$ac_ext ! { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ! $as_echo "$ac_header_preproc" >&6; } ! ! # So? What about this header? ! case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ! yes:no: ) ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ! $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 ! $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ! ac_header_preproc=yes ! ;; ! no:yes:* ) ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ! $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ! $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 ! $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 ! $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ! $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 ! $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ! ( cat <<\_ASBOX ! ## ------------------------------------------------------- ## ! ## Report this to http://tangent.org/552/libmemcached.html ## ! ## ------------------------------------------------------- ## ! _ASBOX ! ) | sed "s/^/$as_me: WARNING: /" >&2 ! ;; ! esac ! { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ! $as_echo_n "checking for $ac_header... " >&6; } ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! $as_echo_n "(cached) " >&6 ! else ! eval "$as_ac_Header=\$ac_header_preproc" ! fi ! ac_res=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! ! fi ! as_val=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF ! #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ! { $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } ! if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then $as_echo_n "(cached) " >&6 else ! if test "$cross_compiling" = yes; then ac_cv_func_realloc_0_nonnull=no else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include --- 15197,15228 ---- esac ! $as_echo "#define malloc rpl_malloc" >>confdefs.h fi for ac_header in stdlib.h ! do : ! ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" ! if test "x$ac_cv_header_stdlib_h" = x""yes; then : cat >>confdefs.h <<_ACEOF ! #define HAVE_STDLIB_H 1 _ACEOF fi done ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } ! if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then : $as_echo_n "(cached) " >&6 else ! if test "$cross_compiling" = yes; then : ac_cv_func_realloc_0_nonnull=no else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include *************** *** 15865,15919 **** return 0; } _ACEOF ! rm -f conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ! { (case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_try") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then ac_cv_func_realloc_0_nonnull=yes else ! $as_echo "$as_me: program exited with status $ac_status" >&5 ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ( exit $ac_status ) ! ac_cv_func_realloc_0_nonnull=no fi ! rm -rf conftest.dSYM ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } ! if test $ac_cv_func_realloc_0_nonnull = yes; then ! cat >>confdefs.h <<\_ACEOF ! #define HAVE_REALLOC 1 ! _ACEOF else ! cat >>confdefs.h <<\_ACEOF ! #define HAVE_REALLOC 0 ! _ACEOF case " $LIBOBJS " in *" realloc.$ac_objext "* ) ;; --- 15238,15261 ---- return 0; } _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_realloc_0_nonnull=yes else ! ac_cv_func_realloc_0_nonnull=no fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } ! if test $ac_cv_func_realloc_0_nonnull = yes; then : ! $as_echo "#define HAVE_REALLOC 1" >>confdefs.h else ! $as_echo "#define HAVE_REALLOC 0" >>confdefs.h case " $LIBOBJS " in *" realloc.$ac_objext "* ) ;; *************** *** 15922,15930 **** esac ! cat >>confdefs.h <<\_ACEOF ! #define realloc rpl_realloc ! _ACEOF fi --- 15264,15270 ---- esac ! $as_echo "#define realloc rpl_realloc" >>confdefs.h fi *************** *** 15940,16001 **** - # We need to prevent canonical target # from injecting -O2 into CFLAGS - but we won't modify anything if we have # set CFLAGS on the command line, since that should take ultimate precedence ! if test "x${ac_cv_env_CFLAGS_set}" = "x"; then CFLAGS="" fi ! ! if test "x${ac_cv_env_CXXFLAGS_set}" = "x"; then CXXFLAGS="" fi - { $as_echo "$as_me:$LINENO: checking target system type" >&5 - $as_echo_n "checking target system type... " >&6; } - if test "${ac_cv_target+set}" = set; then - $as_echo_n "(cached) " >&6 - else - if test "x$target_alias" = x; then - ac_cv_target=$ac_cv_host - else - ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 - $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} - { (exit 1); exit 1; }; } - fi - - fi - { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 - $as_echo "$ac_cv_target" >&6; } - case $ac_cv_target in - *-*-*) ;; - *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 - $as_echo "$as_me: error: invalid value of canonical target" >&2;} - { (exit 1); exit 1; }; };; - esac - target=$ac_cv_target - ac_save_IFS=$IFS; IFS='-' - set x $ac_cv_target - shift - target_cpu=$1 - target_vendor=$2 - shift; shift - # Remember, the first character of IFS is used to create $*, - # except with old shells: - target_os=$* - IFS=$ac_save_IFS - case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac - - - # The aliases save the names the user supplied, while $host etc. - # will get canonicalized. - test -n "$target_alias" && - test "$program_prefix$program_suffix$program_transform_name" = \ - NONENONEs,x,x, && - program_prefix=${target_alias}- if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output --- 15280,15296 ---- # We need to prevent canonical target # from injecting -O2 into CFLAGS - but we won't modify anything if we have # set CFLAGS on the command line, since that should take ultimate precedence ! if test "x${ac_cv_env_CFLAGS_set}" = "x"; then : CFLAGS="" fi ! if test "x${ac_cv_env_CXXFLAGS_set}" = "x"; then : CXXFLAGS="" fi if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output *************** *** 16003,16011 **** am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then ! { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 ! $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} ! { (exit 1); exit 1; }; } fi fi --- 15298,15304 ---- am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then ! as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi *************** *** 16082,16090 **** do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then --- 15375,15383 ---- do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then *************** *** 16095,16118 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then ! { $as_echo "$as_me:$LINENO: result: $CXX" >&5 $as_echo "$CXX" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 15388,15411 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 $as_echo "$CXX" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 16126,16134 **** do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then --- 15419,15427 ---- do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then *************** *** 16139,16162 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CXX="$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then ! { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 $as_echo "$ac_ct_CXX" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 15432,15455 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CXX="$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 $as_echo "$ac_ct_CXX" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 16169,16175 **** else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac --- 15462,15468 ---- else case $cross_compiling:$ac_tool_warned in yes:) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac *************** *** 16179,16232 **** fi fi ! # Provide some information about the compiler. ! $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 ! set X $ac_compile ! ac_compiler=$2 ! { (ac_try="$ac_compiler --version >&5" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compiler --version >&5") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } ! { (ac_try="$ac_compiler -v >&5" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compiler -v >&5") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } ! { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } ! { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } ! if test "${ac_cv_cxx_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 15472,15508 ---- fi fi ! # Provide some information about the compiler. ! $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 ! set X $ac_compile ! ac_compiler=$2 ! for ac_option in --version -v -V -qversion; do ! { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! $as_echo "$ac_try_echo"; } >&5 ! (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? ! if test -s conftest.err; then ! sed '10a\ ! ... rest of stderr output deleted ... ! 10q' conftest.err >conftest.er1 ! cat conftest.er1 >&5 ! rm -f conftest.er1 conftest.err ! fi ! $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! test $ac_status = 0; } ! done ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } ! if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 16240,16276 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_compiler_gnu=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes --- 15516,15531 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ! ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes *************** *** 16279,16298 **** fi ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS ! { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } ! if test "${ac_cv_prog_cxx_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 15534,15549 ---- fi ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } ! if test "${ac_cv_prog_cxx_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 16303,16337 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! CXXFLAGS="" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 15554,15564 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes else ! CXXFLAGS="" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 16342,16377 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! : ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 15569,15580 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ! else ! ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 16382,16423 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 $as_echo "$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS --- 15585,15601 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 $as_echo "$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS *************** *** 16442,16450 **** depcc="$CXX" am_compiler_list= ! { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } ! if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then --- 15620,15628 ---- depcc="$CXX" am_compiler_list= ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } ! if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then *************** *** 16552,16558 **** fi fi ! { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type --- 15730,15736 ---- fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type *************** *** 16572,16585 **** ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ! { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then ! if test "${ac_cv_prog_CPP+set}" = set; then $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded --- 15750,15763 ---- ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then ! if test "${ac_cv_prog_CPP+set}" = set; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded *************** *** 16594,16604 **** # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include --- 15772,15778 ---- # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include *************** *** 16607,16684 **** #endif Syntax error _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ! test ! -s conftest.err ! }; then ! : ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi - rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ! test ! -s conftest.err ! }; then # Broken: success on invalid input. continue else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - # Passes both tests. ac_preproc_ok=: break fi - rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext ! if $ac_preproc_ok; then break fi --- 15781,15814 ---- #endif Syntax error _ACEOF ! if ac_fn_c_try_cpp "$LINENO"; then : + else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF ! if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext ! if $ac_preproc_ok; then : break fi *************** *** 16690,16696 **** else ac_cv_prog_CPP=$CPP fi ! { $as_echo "$as_me:$LINENO: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes --- 15820,15826 ---- else ac_cv_prog_CPP=$CPP fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes *************** *** 16701,16711 **** # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include --- 15831,15837 ---- # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include *************** *** 16714,16800 **** #endif Syntax error _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ! test ! -s conftest.err ! }; then ! : ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi - rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ! test ! -s conftest.err ! }; then # Broken: success on invalid input. continue else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - # Passes both tests. ac_preproc_ok=: break fi - rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext ! if $ac_preproc_ok; then ! : else ! { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check ! See \`config.log' for more details." >&5 ! $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check ! See \`config.log' for more details." >&2;} ! { (exit 1); exit 1; }; }; } fi ac_ext=c --- 15840,15879 ---- #endif Syntax error _ACEOF ! if ac_fn_c_try_cpp "$LINENO"; then : + else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF ! if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext ! if $ac_preproc_ok; then : ! else ! { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! as_fn_error "C preprocessor \"$CPP\" fails sanity check ! See \`config.log' for more details." "$LINENO" 5; } fi ac_ext=c *************** *** 16823,16947 **** ! { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 ! $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } ! if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then ! $as_echo_n "(cached) " >&6 ! else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! $ac_includes_default ! int ! main () ! { ! #ifndef __SUNPRO_C ! (void) __SUNPRO_C; ! #endif ! ! ; ! return 0; ! } ! _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! ac_cv_have_decl___SUNPRO_C=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_have_decl___SUNPRO_C=no ! fi ! ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 ! $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } ! if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then SUNCC="yes" else SUNCC="no" fi ! { $as_echo "$as_me:$LINENO: checking whether __ICC is declared" >&5 ! $as_echo_n "checking whether __ICC is declared... " >&6; } ! if test "${ac_cv_have_decl___ICC+set}" = set; then ! $as_echo_n "(cached) " >&6 ! else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! $ac_includes_default ! int ! main () ! { ! #ifndef __ICC ! (void) __ICC; ! #endif ! ! ; ! return 0; ! } ! _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! ac_cv_have_decl___ICC=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_have_decl___ICC=no ! fi ! ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___ICC" >&5 ! $as_echo "$ac_cv_have_decl___ICC" >&6; } ! if test "x$ac_cv_have_decl___ICC" = x""yes; then INTELCC="yes" else INTELCC="no" fi ! if test "x$INTELCC" = "xyes"; then enable_rpath=no fi --- 15902,15922 ---- ! ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" ! if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then : SUNCC="yes" else SUNCC="no" fi ! ac_fn_c_check_decl "$LINENO" "__ICC" "ac_cv_have_decl___ICC" "$ac_includes_default" ! if test "x$ac_cv_have_decl___ICC" = x""yes; then : INTELCC="yes" else INTELCC="no" fi ! if test "x$INTELCC" = "xyes"; then : enable_rpath=no fi *************** *** 16955,16981 **** - if test "$GCC" = "yes"; then - if test "$ac_cv_cxx_compile_cxx0x_native" = "yes"; then - : else ! if test "$ac_cv_cxx_compile_cxx0x_gxx" = "yes"; then CXXFLAGS="-std=gnu++0x ${CXXFLAGS}" else CXXFLAGS="-std=gnu++98" fi - fi - fi ! ! { $as_echo "$as_me:$LINENO: checking for ISO C++ 98 include files" >&5 $as_echo_n "checking for ISO C++ 98 include files... " >&6; } ! if test "${ac_cv_cxx_stdcxx_98+set}" = set; then $as_echo_n "(cached) " >&6 else ac_ext=cpp --- 15930,15952 ---- + if test "$GCC" = "yes"; then : + if test "$ac_cv_cxx_compile_cxx0x_native" = "yes"; then : else ! if test "$ac_cv_cxx_compile_cxx0x_gxx" = "yes"; then : CXXFLAGS="-std=gnu++0x ${CXXFLAGS}" else CXXFLAGS="-std=gnu++98" fi fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C++ 98 include files" >&5 $as_echo_n "checking for ISO C++ 98 include files... " >&6; } ! if test "${ac_cv_cxx_stdcxx_98+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_ext=cpp *************** *** 16984,16994 **** ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include --- 15955,15961 ---- ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include *************** *** 17049,17080 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_cxx_stdcxx_98=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_cxx_stdcxx_98=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' --- 16016,16026 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_cxx_stdcxx_98=yes else ! ac_cv_cxx_stdcxx_98=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' *************** *** 17084,17096 **** fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_stdcxx_98" >&5 $as_echo "$ac_cv_cxx_stdcxx_98" >&6; } if test "$ac_cv_cxx_stdcxx_98" = yes; then ! cat >>confdefs.h <<\_ACEOF ! #define STDCXX_98_HEADERS /**/ ! _ACEOF fi --- 16030,16040 ---- fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_stdcxx_98" >&5 $as_echo "$ac_cv_cxx_stdcxx_98" >&6; } if test "$ac_cv_cxx_stdcxx_98" = yes; then ! $as_echo "#define STDCXX_98_HEADERS /**/" >>confdefs.h fi *************** *** 17099,17255 **** ! ac_ext=cpp ! ac_cpp='$CXXCPP $CPPFLAGS' ! ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! ! ! ! ! for ac_header in memory tr1/memory boost/shared_ptr.hpp ! do ! as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ! $as_echo_n "checking for $ac_header... " >&6; } ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! $as_echo_n "(cached) " >&6 ! fi ! ac_res=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! else ! # Is the header compilable? ! { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 ! $as_echo_n "checking $ac_header usability... " >&6; } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! $ac_includes_default ! #include <$ac_header> ! _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! ac_header_compiler=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_header_compiler=no ! fi ! ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ! $as_echo "$ac_header_compiler" >&6; } ! ! # Is the header present? ! { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 ! $as_echo_n "checking $ac_header presence... " >&6; } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! #include <$ac_header> ! _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ! test ! -s conftest.err ! }; then ! ac_header_preproc=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_header_preproc=no ! fi ! ! rm -f conftest.err conftest.$ac_ext ! { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ! $as_echo "$ac_header_preproc" >&6; } ! ! # So? What about this header? ! case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in ! yes:no: ) ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ! $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 ! $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ! ac_header_preproc=yes ! ;; ! no:yes:* ) ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ! $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ! $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 ! $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 ! $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ! $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 ! $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ! ( cat <<\_ASBOX ! ## ------------------------------------------------------- ## ! ## Report this to http://tangent.org/552/libmemcached.html ## ! ## ------------------------------------------------------- ## ! _ASBOX ! ) | sed "s/^/$as_me: WARNING: /" >&2 ! ;; ! esac ! { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ! $as_echo_n "checking for $ac_header... " >&6; } ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! $as_echo_n "(cached) " >&6 ! else ! eval "$as_ac_Header=\$ac_header_preproc" ! fi ! ac_res=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! fi ! as_val=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF --- 16043,16060 ---- ! ac_ext=cpp ! ac_cpp='$CXXCPP $CPPFLAGS' ! ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! for ac_header in memory tr1/memory boost/shared_ptr.hpp ! do : ! as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ! ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ! eval as_val=\$$as_ac_Header ! if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF *************** *** 17258,17276 **** done ! { $as_echo "$as_me:$LINENO: checking the location of shared_ptr header file" >&5 $as_echo_n "checking the location of shared_ptr header file... " >&6; } ! if test "${ac_cv_shared_ptr_h+set}" = set; then $as_echo_n "(cached) " >&6 else for namespace in std tr1 std::tr1 boost do ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if defined(HAVE_MEMORY) --- 16063,16077 ---- done ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking the location of shared_ptr header file" >&5 $as_echo_n "checking the location of shared_ptr header file... " >&6; } ! if test "${ac_cv_shared_ptr_h+set}" = set; then : $as_echo_n "(cached) " >&6 else for namespace in std tr1 std::tr1 boost do ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined(HAVE_MEMORY) *************** *** 17297,17336 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_shared_ptr_namespace="${namespace}" break else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_shared_ptr_namespace=missing fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_shared_ptr_h" >&5 $as_echo "$ac_cv_shared_ptr_h" >&6; } cat >>confdefs.h <<_ACEOF --- 16098,16116 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_shared_ptr_namespace="${namespace}" break else ! ac_cv_shared_ptr_namespace=missing fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_shared_ptr_h" >&5 $as_echo "$ac_cv_shared_ptr_h" >&6; } cat >>confdefs.h <<_ACEOF *************** *** 17345,17353 **** ! if test "$ac_cv_shared_ptr_namespace" = "missing"; then ! { $as_echo "$as_me:$LINENO: WARNING: a usable shared_ptr implementation was not found. Let someone know what your platform is." >&5 $as_echo "$as_me: WARNING: a usable shared_ptr implementation was not found. Let someone know what your platform is." >&2;} fi --- 16125,16133 ---- ! if test "$ac_cv_shared_ptr_namespace" = "missing"; then : ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: a usable shared_ptr implementation was not found. Let someone know what your platform is." >&5 $as_echo "$as_me: WARNING: a usable shared_ptr implementation was not found. Let someone know what your platform is." >&2;} fi *************** *** 17355,17374 **** ! ! ! { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } ! if test "${ac_cv_c_bigendian+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler --- 16135,16148 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } ! if test "${ac_cv_c_bigendian+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler *************** *** 17376,17421 **** typedef int dummy; _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then # Check for potential -arch flags. It is not universal unless ! # there are some -arch flags. Note that *ppc* also matches ! # ppc64. This check is also rather less than ideal. ! case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( ! *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; ! esac ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include --- 16150,16183 ---- typedef int dummy; _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : # Check for potential -arch flags. It is not universal unless ! # there are at least two -arch flags with different values. ! ac_arch= ! ac_prev= ! for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do ! if test -n "$ac_prev"; then ! case $ac_word in ! i?86 | x86_64 | ppc | ppc64) ! if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ! ac_arch=$ac_word ! else ! ac_cv_c_bigendian=universal ! break ! fi ! ;; ! esac ! ac_prev= ! elif test "x$ac_word" = "x-arch"; then ! ac_prev=arch ! fi ! done fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include *************** *** 17433,17462 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then # It does; now see whether it defined to BIG_ENDIAN or not. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include --- 16195,16203 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to BIG_ENDIAN or not. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include *************** *** 17472,17520 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_c_bigendian=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_c_bigendian=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include --- 16213,16230 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ! ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include *************** *** 17529,17558 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then # It does; now see whether it defined to _BIG_ENDIAN or not. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include --- 16239,16247 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to _BIG_ENDIAN or not. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include *************** *** 17567,17617 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_c_bigendian=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_c_bigendian=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. ! if test "$cross_compiling" = yes; then # Try to guess by grepping values from an object file. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; --- 16256,16275 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ! ac_cv_c_bigendian=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. ! if test "$cross_compiling" = yes; then : # Try to guess by grepping values from an object file. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; *************** *** 17637,17660 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi --- 16295,16301 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi *************** *** 17666,17685 **** ac_cv_c_bigendian=unknown fi fi - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int --- 16307,16316 ---- ac_cv_c_bigendian=unknown fi fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int *************** *** 17699,17777 **** return 0; } _ACEOF ! rm -f conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ! { (case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_try") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then ac_cv_c_bigendian=no else ! $as_echo "$as_me: program exited with status $ac_status" >&5 ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ( exit $ac_status ) ! ac_cv_c_bigendian=yes fi ! rm -rf conftest.dSYM ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi - fi fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 $as_echo "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) ! cat >>confdefs.h <<\_ACEOF ! #define WORDS_BIGENDIAN 1 ! _ACEOF ;; #( no) ;; #( universal) ! cat >>confdefs.h <<\_ACEOF ! #define AC_APPLE_UNIVERSAL_BUILD 1 ! _ACEOF ;; #( *) ! { { $as_echo "$as_me:$LINENO: error: unknown endianness ! presetting ac_cv_c_bigendian=no (or yes) will help" >&5 ! $as_echo "$as_me: error: unknown endianness ! presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} ! { (exit 1); exit 1; }; } ;; esac ! { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } ! if test "${ac_cv_c_const+set}" = set; then $as_echo_n "(cached) " >&6 else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 16330,16370 ---- return 0; } _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_bigendian=no else ! ac_cv_c_bigendian=yes fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 $as_echo "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) ! $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h ;; #( no) ;; #( universal) ! $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) ! as_fn_error "unknown endianness ! presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } ! if test "${ac_cv_c_const+set}" = set; then : $as_echo_n "(cached) " >&6 else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 17831,17886 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_c_const=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_c_const=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 $as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then ! cat >>confdefs.h <<\_ACEOF ! #define const /**/ ! _ACEOF fi ! { $as_echo "$as_me:$LINENO: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } ! if test "${ac_cv_c_inline+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; --- 16424,16452 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_const=yes else ! ac_cv_c_const=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 $as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then ! $as_echo "#define const /**/" >>confdefs.h fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } ! if test "${ac_cv_c_inline+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; *************** *** 17889,17929 **** #endif _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_c_inline=$ac_kw - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 $as_echo "$ac_cv_c_inline" >&6; } - case $ac_cv_c_inline in inline | yes) ;; *) --- 16455,16471 ---- #endif _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_inline=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 $as_echo "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; *) *************** *** 17939,17954 **** ;; esac ! { $as_echo "$as_me:$LINENO: checking for working volatile" >&5 $as_echo_n "checking for working volatile... " >&6; } ! if test "${ac_cv_c_volatile+set}" = set; then $as_echo_n "(cached) " >&6 else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 16481,16492 ---- ;; esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 $as_echo_n "checking for working volatile... " >&6; } ! if test "${ac_cv_c_volatile+set}" = set; then : $as_echo_n "(cached) " >&6 else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 17962,18018 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_c_volatile=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_c_volatile=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 $as_echo "$ac_cv_c_volatile" >&6; } if test $ac_cv_c_volatile = no; then ! cat >>confdefs.h <<\_ACEOF ! #define volatile /**/ ! _ACEOF fi ! { $as_echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 $as_echo_n "checking for C/C++ restrict keyword... " >&6; } ! if test "${ac_cv_c_restrict+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_c_restrict=no # The order here caters to the fact that C++ does not require restrict. for ac_kw in __restrict __restrict__ _Restrict restrict; do ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ typedef int * int_ptr; int foo (int_ptr $ac_kw ip) { --- 16500,16529 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_volatile=yes else ! ac_cv_c_volatile=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 $as_echo "$ac_cv_c_volatile" >&6; } if test $ac_cv_c_volatile = no; then ! $as_echo "#define volatile /**/" >>confdefs.h fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 $as_echo_n "checking for C/C++ restrict keyword... " >&6; } ! if test "${ac_cv_c_restrict+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_c_restrict=no # The order here caters to the fact that C++ does not require restrict. for ac_kw in __restrict __restrict__ _Restrict restrict; do ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ typedef int * int_ptr; int foo (int_ptr $ac_kw ip) { *************** *** 18029,18240 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_c_restrict=$ac_kw - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_restrict" != no && break done fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5 $as_echo "$ac_cv_c_restrict" >&6; } - case $ac_cv_c_restrict in restrict) ;; ! no) cat >>confdefs.h <<\_ACEOF ! #define restrict /**/ ! _ACEOF ! ;; ! *) cat >>confdefs.h <<_ACEOF ! #define restrict $ac_cv_c_restrict ! _ACEOF ! ;; ! esac ! ! ! { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 ! $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } ! if test "${ac_cv_header_time+set}" = set; then ! $as_echo_n "(cached) " >&6 ! else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! #include ! #include ! #include ! ! int ! main () ! { ! if ((struct tm *) 0) ! return 0; ! ; ! return 0; ! } ! _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! ac_cv_header_time=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_header_time=no ! fi ! ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 ! $as_echo "$ac_cv_header_time" >&6; } ! if test $ac_cv_header_time = yes; then ! ! cat >>confdefs.h <<\_ACEOF ! #define TIME_WITH_SYS_TIME 1 _ACEOF - fi ! { $as_echo "$as_me:$LINENO: checking for size_t" >&5 ! $as_echo_n "checking for size_t... " >&6; } ! if test "${ac_cv_type_size_t+set}" = set; then $as_echo_n "(cached) " >&6 else ! ac_cv_type_size_t=no ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! $ac_includes_default ! int ! main () ! { ! if (sizeof (size_t)) ! return 0; ! ; ! return 0; ! } ! _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ ! $ac_includes_default int main () { ! if (sizeof ((size_t))) ! return 0; ; return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! : else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_type_size_t=yes fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 fi ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 ! $as_echo "$ac_cv_type_size_t" >&6; } ! if test "x$ac_cv_type_size_t" = x""yes; then ! : else cat >>confdefs.h <<_ACEOF --- 16540,16605 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_restrict=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_restrict" != no && break done fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 $as_echo "$ac_cv_c_restrict" >&6; } case $ac_cv_c_restrict in restrict) ;; ! no) $as_echo "#define restrict /**/" >>confdefs.h ! ;; ! *) cat >>confdefs.h <<_ACEOF ! #define restrict $ac_cv_c_restrict _ACEOF + ;; + esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 ! $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } ! if test "${ac_cv_header_time+set}" = set; then : $as_echo_n "(cached) " >&6 else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! #include ! #include ! #include ! int main () { ! if ((struct tm *) 0) ! return 0; ; return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ! ac_cv_header_time=yes else ! ac_cv_header_time=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 ! $as_echo "$ac_cv_header_time" >&6; } ! if test $ac_cv_header_time = yes; then + $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h fi ! ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" ! if test "x$ac_cv_type_size_t" = x""yes; then : ! else cat >>confdefs.h <<_ACEOF *************** *** 18244,18258 **** fi # Check whether --enable-largefile was given. ! if test "${enable_largefile+set}" = set; then enableval=$enable_largefile; fi if test "$enable_largefile" != no; then ! { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } ! if test "${ac_cv_sys_largefile_CC+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_sys_largefile_CC=no --- 16609,16623 ---- fi # Check whether --enable-largefile was given. ! if test "${enable_largefile+set}" = set; then : enableval=$enable_largefile; fi if test "$enable_largefile" != no; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } ! if test "${ac_cv_sys_largefile_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_sys_largefile_CC=no *************** *** 18261,18271 **** while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. --- 16626,16632 ---- while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. *************** *** 18284,18343 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then break - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext CC="$CC -n32" ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_sys_largefile_CC=' -n32'; break - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext break done --- 16645,16658 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : break fi rm -f core conftest.err conftest.$ac_objext CC="$CC -n32" ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_largefile_CC=' -n32'; break fi rm -f core conftest.err conftest.$ac_objext break done *************** *** 18345,18367 **** rm -f conftest.$ac_ext fi fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 $as_echo "$ac_cv_sys_largefile_CC" >&6; } if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi ! { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } ! if test "${ac_cv_sys_file_offset_bits+set}" = set; then $as_echo_n "(cached) " >&6 else while :; do ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. --- 16660,16678 ---- rm -f conftest.$ac_ext fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 $as_echo "$ac_cv_sys_largefile_CC" >&6; } if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } ! if test "${ac_cv_sys_file_offset_bits+set}" = set; then : $as_echo_n "(cached) " >&6 else while :; do ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. *************** *** 18380,18417 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_sys_file_offset_bits=no; break - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 #include --- 16691,16701 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_file_offset_bits=no; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 #include *************** *** 18431,18468 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_sys_file_offset_bits=64; break - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_file_offset_bits=unknown break done fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } case $ac_cv_sys_file_offset_bits in #( no | unknown) ;; --- 16715,16729 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_file_offset_bits=64; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_file_offset_bits=unknown break done fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } case $ac_cv_sys_file_offset_bits in #( no | unknown) ;; *************** *** 18474,18490 **** esac rm -rf conftest* if test $ac_cv_sys_file_offset_bits = unknown; then ! { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } ! if test "${ac_cv_sys_large_files+set}" = set; then $as_echo_n "(cached) " >&6 else while :; do ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. --- 16735,16747 ---- esac rm -rf conftest* if test $ac_cv_sys_file_offset_bits = unknown; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } ! if test "${ac_cv_sys_large_files+set}" = set; then : $as_echo_n "(cached) " >&6 else while :; do ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. *************** *** 18503,18540 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_sys_large_files=no; break - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #define _LARGE_FILES 1 #include --- 16760,16770 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_large_files=no; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGE_FILES 1 #include *************** *** 18554,18591 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_sys_large_files=1; break - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_large_files=unknown break done fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 $as_echo "$ac_cv_sys_large_files" >&6; } case $ac_cv_sys_large_files in #( no | unknown) ;; --- 16784,16798 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_large_files=1; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_large_files=unknown break done fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 $as_echo "$ac_cv_sys_large_files" >&6; } case $ac_cv_sys_large_files in #( no | unknown) ;; *************** *** 18603,18616 **** ! { $as_echo "$as_me:$LINENO: checking \"C Compiler version--$GCC\"" >&5 $as_echo_n "checking \"C Compiler version--$GCC\"... " >&6; } ! if test "$GCC" = "yes"; then CC_VERSION=`$CC --version | sed 1q` else ! if test "$SUNCC" = "yes"; then CC_VERSION=`$CC -V 2>&1 | sed 1q` --- 16810,16823 ---- ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"C Compiler version--$GCC\"" >&5 $as_echo_n "checking \"C Compiler version--$GCC\"... " >&6; } ! if test "$GCC" = "yes"; then : CC_VERSION=`$CC --version | sed 1q` else ! if test "$SUNCC" = "yes"; then : CC_VERSION=`$CC -V 2>&1 | sed 1q` *************** *** 18620,18641 **** fi - fi ! ! { $as_echo "$as_me:$LINENO: result: \"$CC_VERSION\"" >&5 $as_echo "\"$CC_VERSION\"" >&6; } ! { $as_echo "$as_me:$LINENO: checking \"C++ Compiler version\"" >&5 $as_echo_n "checking \"C++ Compiler version\"... " >&6; } ! if test "$GCC" = "yes"; then CXX_VERSION=`$CXX --version | sed 1q` else ! if test "$SUNCC" = "yes"; then CXX_VERSION=`$CXX -V 2>&1 | sed 1q` --- 16827,16846 ---- fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$CC_VERSION\"" >&5 $as_echo "\"$CC_VERSION\"" >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"C++ Compiler version\"" >&5 $as_echo_n "checking \"C++ Compiler version\"... " >&6; } ! if test "$GCC" = "yes"; then : CXX_VERSION=`$CXX --version | sed 1q` else ! if test "$SUNCC" = "yes"; then : CXX_VERSION=`$CXX -V 2>&1 | sed 1q` *************** *** 18645,18660 **** fi - fi ! ! { $as_echo "$as_me:$LINENO: result: \"$CXX_VERSION\"" >&5 $as_echo "\"$CXX_VERSION\"" >&6; } ! if test "$GCC" = "yes" -a "$INTELCC" = "no"; then case "$target_cpu" in --- 16850,16863 ---- fi fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$CXX_VERSION\"" >&5 $as_echo "\"$CXX_VERSION\"" >&6; } ! if test "$GCC" = "yes" -a "$INTELCC" = "no"; then : case "$target_cpu" in *************** *** 18675,18682 **** OPTIMIZE_CXXFLAGS="-O3" fi ! ! if test "$INTELCC" = "yes"; then CC="${CC} -std=c99" --- 16878,16884 ---- OPTIMIZE_CXXFLAGS="-O3" fi ! if test "$INTELCC" = "yes"; then : CC="${CC} -std=c99" *************** *** 18690,18697 **** fi ! ! if test "$SUNCC" = "yes"; then CC="${CC} -xc99=all" CXX="${CXX} -xlang=c99" --- 16892,16898 ---- fi ! if test "$SUNCC" = "yes"; then : CC="${CC} -xc99=all" CXX="${CXX} -xlang=c99" *************** *** 18709,18723 **** fi - # Check whether --with-debug was given. ! if test "${with_debug+set}" = set; then withval=$with_debug; with_debug=$withval else with_debug=no fi ! if test "$with_debug" = "yes"; then # Debugging. No optimization. AM_CFLAGS="${AM_CFLAGS} ${DEBUG_CFLAGS} -DDEBUG" --- 16910,16923 ---- fi # Check whether --with-debug was given. ! if test "${with_debug+set}" = set; then : withval=$with_debug; with_debug=$withval else with_debug=no fi ! if test "$with_debug" = "yes"; then : # Debugging. No optimization. AM_CFLAGS="${AM_CFLAGS} ${DEBUG_CFLAGS} -DDEBUG" *************** *** 18732,18738 **** fi - save_CFLAGS="${CFLAGS}" CFLAGS="${CFLAGS} -Werror" --- 16932,16937 ---- *************** *** 18740,18758 **** CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then ! { $as_echo "$as_me:$LINENO: checking for simple visibility declarations" >&5 $as_echo_n "checking for simple visibility declarations... " >&6; } ! if test "${gl_cv_cc_visibility+set}" = set; then $as_echo_n "(cached) " >&6 else gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; --- 16939,16953 ---- CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 $as_echo_n "checking for simple visibility declarations... " >&6; } ! if test "${gl_cv_cc_visibility+set}" = set; then : $as_echo_n "(cached) " >&6 else gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; *************** *** 18766,18802 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then gl_cv_cc_visibility=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! gl_cv_cc_visibility=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$gl_save_CFLAGS" fi ! { $as_echo "$as_me:$LINENO: result: $gl_cv_cc_visibility" >&5 $as_echo "$gl_cv_cc_visibility" >&6; } if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" --- 16961,16976 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : gl_cv_cc_visibility=yes else ! gl_cv_cc_visibility=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$gl_save_CFLAGS" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5 $as_echo "$gl_cv_cc_visibility" >&6; } if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" *************** *** 18814,18977 **** CFLAGS="${save_CFLAGS}" ! { $as_echo "$as_me:$LINENO: checking whether to enable assertions" >&5 $as_echo_n "checking whether to enable assertions... " >&6; } # Check whether --enable-assert was given. ! if test "${enable_assert+set}" = set; then enableval=$enable_assert; ac_cv_assert="no" else ac_cv_assert="yes" fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_assert" >&5 $as_echo "$ac_cv_assert" >&6; } ! if test "$ac_cv_assert" = "yes"; then ! ! for ac_header in assert.h ! do ! as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ! $as_echo_n "checking for $ac_header... " >&6; } ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! $as_echo_n "(cached) " >&6 ! fi ! ac_res=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! else ! # Is the header compilable? ! { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 ! $as_echo_n "checking $ac_header usability... " >&6; } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! $ac_includes_default ! #include <$ac_header> ! _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ! ac_header_compiler=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_header_compiler=no ! fi ! ! rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ! $as_echo "$ac_header_compiler" >&6; } ! ! # Is the header present? ! { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 ! $as_echo_n "checking $ac_header presence... " >&6; } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! #include <$ac_header> ! _ACEOF ! if { (ac_try="$ac_cpp conftest.$ac_ext" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } >/dev/null && { ! test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ! test ! -s conftest.err ! }; then ! ac_header_preproc=yes ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_header_preproc=no ! fi ! ! rm -f conftest.err conftest.$ac_ext ! { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ! $as_echo "$ac_header_preproc" >&6; } ! ! # So? What about this header? ! case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ! yes:no: ) ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ! $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 ! $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ! ac_header_preproc=yes ! ;; ! no:yes:* ) ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ! $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ! $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 ! $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 ! $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ! $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ! { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 ! $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ! ( cat <<\_ASBOX ! ## ------------------------------------------------------- ## ! ## Report this to http://tangent.org/552/libmemcached.html ## ! ## ------------------------------------------------------- ## ! _ASBOX ! ) | sed "s/^/$as_me: WARNING: /" >&2 ! ;; ! esac ! { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ! $as_echo_n "checking for $ac_header... " >&6; } ! if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ! $as_echo_n "(cached) " >&6 ! else ! eval "$as_ac_Header=\$ac_header_preproc" ! fi ! ac_res=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ! $as_echo "$ac_res" >&6; } ! ! fi ! as_val=`eval 'as_val=${'$as_ac_Header'} ! $as_echo "$as_val"'` ! if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF ! #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi --- 16988,17012 ---- CFLAGS="${save_CFLAGS}" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5 $as_echo_n "checking whether to enable assertions... " >&6; } # Check whether --enable-assert was given. ! if test "${enable_assert+set}" = set; then : enableval=$enable_assert; ac_cv_assert="no" else ac_cv_assert="yes" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_assert" >&5 $as_echo "$ac_cv_assert" >&6; } ! if test "$ac_cv_assert" = "yes"; then : ! for ac_header in assert.h ! do : ! ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" ! if test "x$ac_cv_header_assert_h" = x""yes; then : cat >>confdefs.h <<_ACEOF ! #define HAVE_ASSERT_H 1 _ACEOF fi *************** *** 18980,18988 **** else ! cat >>confdefs.h <<\_ACEOF ! #define NDEBUG 1 ! _ACEOF fi --- 17015,17021 ---- else ! $as_echo "#define NDEBUG 1" >>confdefs.h fi *************** *** 18995,19010 **** ! ! if test "$ac_cv_building_from_vc" = "yes"; then ac_cv_warnings_as_errors=yes else ac_cv_warnings_as_errors=no fi - # Check whether --enable-profiling was given. ! if test "${enable_profiling+set}" = set; then enableval=$enable_profiling; ac_profiling="$enableval" else ac_profiling="no" --- 17028,17041 ---- ! if test "$ac_cv_building_from_vc" = "yes"; then : ac_cv_warnings_as_errors=yes else ac_cv_warnings_as_errors=no fi # Check whether --enable-profiling was given. ! if test "${enable_profiling+set}" = set; then : enableval=$enable_profiling; ac_profiling="$enableval" else ac_profiling="no" *************** *** 19012,19045 **** # Check whether --enable-coverage was given. ! if test "${enable_coverage+set}" = set; then enableval=$enable_coverage; ac_coverage="$enableval" else ac_coverage="no" fi ! if test "$GCC" = "yes"; then ! if test "$ac_profiling" = "yes"; then CC_PROFILING="-pg" save_LIBS="${LIBS}" LIBS="" ! ! { $as_echo "$as_me:$LINENO: checking for read in -lc_p" >&5 $as_echo_n "checking for read in -lc_p... " >&6; } ! if test "${ac_cv_lib_c_p_read+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lc_p $LIBS" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. --- 17043,17071 ---- # Check whether --enable-coverage was given. ! if test "${enable_coverage+set}" = set; then : enableval=$enable_coverage; ac_coverage="$enableval" else ac_coverage="no" fi ! if test "$GCC" = "yes"; then : ! if test "$ac_profiling" = "yes"; then : CC_PROFILING="-pg" save_LIBS="${LIBS}" LIBS="" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for read in -lc_p" >&5 $as_echo_n "checking for read in -lc_p... " >&6; } ! if test "${ac_cv_lib_c_p_read+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lc_p $LIBS" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. *************** *** 19057,19099 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ac_cv_lib_c_p_read=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_lib_c_p_read=no fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_p_read" >&5 $as_echo "$ac_cv_lib_c_p_read" >&6; } ! if test "x$ac_cv_lib_c_p_read" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBC_P 1 _ACEOF --- 17083,17100 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_c_p_read=yes else ! ac_cv_lib_c_p_read=no fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_p_read" >&5 $as_echo "$ac_cv_lib_c_p_read" >&6; } ! if test "x$ac_cv_lib_c_p_read" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBC_P 1 _ACEOF *************** *** 19112,19140 **** fi ! ! if test "$ac_coverage" = "yes"; then CC_COVERAGE="-fprofile-arcs -ftest-coverage" fi ! ! if test "$ac_cv_warnings_as_errors" = "yes"; then W_FAIL="-Werror" fi ! ! { $as_echo "$as_me:$LINENO: checking whether it is safe to use -fdiagnostics-show-option" >&5 $as_echo_n "checking whether it is safe to use -fdiagnostics-show-option... " >&6; } ! if test "${ac_cv_safe_to_use_fdiagnostics_show_option_+set}" = set; then $as_echo_n "(cached) " >&6 else save_CFLAGS="$CFLAGS" CFLAGS="-fdiagnostics-show-option ${AM_CFLAGS} ${CFLAGS}" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int --- 17113,17134 ---- fi ! if test "$ac_coverage" = "yes"; then : CC_COVERAGE="-fprofile-arcs -ftest-coverage" fi ! if test "$ac_cv_warnings_as_errors" = "yes"; then : W_FAIL="-Werror" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to use -fdiagnostics-show-option" >&5 $as_echo_n "checking whether it is safe to use -fdiagnostics-show-option... " >&6; } ! if test "${ac_cv_safe_to_use_fdiagnostics_show_option_+set}" = set; then : $as_echo_n "(cached) " >&6 else save_CFLAGS="$CFLAGS" CFLAGS="-fdiagnostics-show-option ${AM_CFLAGS} ${CFLAGS}" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int *************** *** 19145,19201 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_safe_to_use_fdiagnostics_show_option_=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_safe_to_use_fdiagnostics_show_option_=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_use_fdiagnostics_show_option_" >&5 $as_echo "$ac_cv_safe_to_use_fdiagnostics_show_option_" >&6; } ! if test "$ac_cv_safe_to_use_fdiagnostics_show_option_" = "yes"; then F_DIAGNOSTICS_SHOW_OPTION="-fdiagnostics-show-option" fi ! ! { $as_echo "$as_me:$LINENO: checking whether it is safe to use -Wconversion" >&5 $as_echo_n "checking whether it is safe to use -Wconversion... " >&6; } ! if test "${ac_cv_safe_to_use_wconversion_+set}" = set; then $as_echo_n "(cached) " >&6 else save_CFLAGS="$CFLAGS" CFLAGS="-Wconversion -Werror -pedantic ${AM_CFLAGS} ${CFLAGS}" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include --- 17139,17169 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_use_fdiagnostics_show_option_=yes else ! ac_cv_safe_to_use_fdiagnostics_show_option_=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_use_fdiagnostics_show_option_" >&5 $as_echo "$ac_cv_safe_to_use_fdiagnostics_show_option_" >&6; } ! if test "$ac_cv_safe_to_use_fdiagnostics_show_option_" = "yes"; then : F_DIAGNOSTICS_SHOW_OPTION="-fdiagnostics-show-option" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to use -Wconversion" >&5 $as_echo_n "checking whether it is safe to use -Wconversion... " >&6; } ! if test "${ac_cv_safe_to_use_wconversion_+set}" = set; then : $as_echo_n "(cached) " >&6 else save_CFLAGS="$CFLAGS" CFLAGS="-Wconversion -Werror -pedantic ${AM_CFLAGS} ${CFLAGS}" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include *************** *** 19214,19265 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_safe_to_use_wconversion_=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_safe_to_use_wconversion_=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_use_wconversion_" >&5 $as_echo "$ac_cv_safe_to_use_wconversion_" >&6; } ! if test "$ac_cv_safe_to_use_wconversion_" = "yes"; then W_CONVERSION="-Wconversion" ! { $as_echo "$as_me:$LINENO: checking whether it is safe to use -Wconversion with htons" >&5 $as_echo_n "checking whether it is safe to use -Wconversion with htons... " >&6; } ! if test "${ac_cv_safe_to_use_Wconversion_+set}" = set; then $as_echo_n "(cached) " >&6 else save_CFLAGS="$CFLAGS" CFLAGS="-Wconversion -Werror -pedantic ${AM_CFLAGS} ${CFLAGS}" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include --- 17182,17208 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_use_wconversion_=yes else ! ac_cv_safe_to_use_wconversion_=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_use_wconversion_" >&5 $as_echo "$ac_cv_safe_to_use_wconversion_" >&6; } ! if test "$ac_cv_safe_to_use_wconversion_" = "yes"; then : W_CONVERSION="-Wconversion" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to use -Wconversion with htons" >&5 $as_echo_n "checking whether it is safe to use -Wconversion with htons... " >&6; } ! if test "${ac_cv_safe_to_use_Wconversion_+set}" = set; then : $as_echo_n "(cached) " >&6 else save_CFLAGS="$CFLAGS" CFLAGS="-Wconversion -Werror -pedantic ${AM_CFLAGS} ${CFLAGS}" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include *************** *** 19274,19323 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_safe_to_use_Wconversion_=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_safe_to_use_Wconversion_=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_use_Wconversion_" >&5 $as_echo "$ac_cv_safe_to_use_Wconversion_" >&6; } ! if test "$ac_cv_safe_to_use_Wconversion_" = "no"; then NO_CONVERSION="-Wno-conversion" fi - fi - NO_STRICT_ALIASING="-fno-strict-aliasing -Wno-strict-aliasing" NO_SHADOW="-Wno-shadow" ! if test "$INTELCC" = "yes"; then BASE_WARNINGS="-w1 -Wall -Werror -Wcheck -Wformat -Wp64 -Woverloaded-virtual -Wcast-qual" --- 17217,17243 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_use_Wconversion_=yes else ! ac_cv_safe_to_use_Wconversion_=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_use_Wconversion_" >&5 $as_echo "$ac_cv_safe_to_use_Wconversion_" >&6; } ! if test "$ac_cv_safe_to_use_Wconversion_" = "no"; then : NO_CONVERSION="-Wno-conversion" fi fi NO_STRICT_ALIASING="-fno-strict-aliasing -Wno-strict-aliasing" NO_SHADOW="-Wno-shadow" ! if test "$INTELCC" = "yes"; then : BASE_WARNINGS="-w1 -Wall -Werror -Wcheck -Wformat -Wp64 -Woverloaded-virtual -Wcast-qual" *************** *** 19333,19350 **** CXX_WARNINGS_FULL="-Weffc++ -Wold-style-cast" ! if test "${ac_cv_assert}" = "no"; then NO_UNUSED="-Wno-unused-variable -Wno-unused-parameter" fi - BASE_WARNINGS="${W_FAIL} -pedantic -Wall -Wextra -Wundef -Wshadow ${NO_UNUSED} ${F_DIAGNOSTICS_SHOW_OPTION} ${CFLAG_VISIBILITY} ${BASE_WARNINGS_FULL}" CC_WARNINGS="${BASE_WARNINGS} -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align ${CC_WARNINGS_FULL}" CXX_WARNINGS="${BASE_WARNINGS} -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long ${CXX_WARNINGS_FULL}" ! { $as_echo "$as_me:$LINENO: checking whether it is safe to use -Wmissing-declarations from C++" >&5 $as_echo_n "checking whether it is safe to use -Wmissing-declarations from C++... " >&6; } ! if test "${ac_cv_safe_to_use_Wmissing_declarations_+set}" = set; then $as_echo_n "(cached) " >&6 else ac_ext=cpp --- 17253,17269 ---- CXX_WARNINGS_FULL="-Weffc++ -Wold-style-cast" ! if test "${ac_cv_assert}" = "no"; then : NO_UNUSED="-Wno-unused-variable -Wno-unused-parameter" fi BASE_WARNINGS="${W_FAIL} -pedantic -Wall -Wextra -Wundef -Wshadow ${NO_UNUSED} ${F_DIAGNOSTICS_SHOW_OPTION} ${CFLAG_VISIBILITY} ${BASE_WARNINGS_FULL}" CC_WARNINGS="${BASE_WARNINGS} -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align ${CC_WARNINGS_FULL}" CXX_WARNINGS="${BASE_WARNINGS} -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long ${CXX_WARNINGS_FULL}" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to use -Wmissing-declarations from C++" >&5 $as_echo_n "checking whether it is safe to use -Wmissing-declarations from C++... " >&6; } ! if test "${ac_cv_safe_to_use_Wmissing_declarations_+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_ext=cpp *************** *** 19355,19368 **** save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="-Werror -pedantic -Wmissing-declarations ${AM_CXXFLAGS}" ! cat >conftest.$ac_ext <<_ACEOF ! ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int --- 17274,17283 ---- save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="-Werror -pedantic -Wmissing-declarations ${AM_CXXFLAGS}" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include int *************** *** 19374,19405 **** } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_safe_to_use_Wmissing_declarations_=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_safe_to_use_Wmissing_declarations_=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXXFLAGS="$save_CXXFLAGS" ac_ext=c --- 17289,17299 ---- } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_safe_to_use_Wmissing_declarations_=yes else ! ac_cv_safe_to_use_Wmissing_declarations_=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXXFLAGS="$save_CXXFLAGS" ac_ext=c *************** *** 19410,19437 **** fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_use_Wmissing_declarations_" >&5 $as_echo "$ac_cv_safe_to_use_Wmissing_declarations_" >&6; } ! if test "$ac_cv_safe_to_use_Wmissing_declarations_" = "yes"; then CXX_WARNINGS="${CXX_WARNINGS} -Wmissing-declarations" fi ! ! { $as_echo "$as_me:$LINENO: checking whether it is safe to use -Wlogical-op" >&5 $as_echo_n "checking whether it is safe to use -Wlogical-op... " >&6; } ! if test "${ac_cv_safe_to_use_Wlogical_op_+set}" = set; then $as_echo_n "(cached) " >&6 else save_CFLAGS="$CFLAGS" CFLAGS="${W_FAIL} -pedantic -Wlogical-op ${AM_CFLAGS} ${CFLAGS}" ! cat >conftest.$ac_ext <<_ACEOF ! ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int --- 17304,17326 ---- fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_use_Wmissing_declarations_" >&5 $as_echo "$ac_cv_safe_to_use_Wmissing_declarations_" >&6; } ! if test "$ac_cv_safe_to_use_Wmissing_declarations_" = "yes"; then : CXX_WARNINGS="${CXX_WARNINGS} -Wmissing-declarations" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to use -Wlogical-op" >&5 $as_echo_n "checking whether it is safe to use -Wlogical-op... " >&6; } ! if test "${ac_cv_safe_to_use_Wlogical_op_+set}" = set; then : $as_echo_n "(cached) " >&6 else save_CFLAGS="$CFLAGS" CFLAGS="${W_FAIL} -pedantic -Wlogical-op ${AM_CFLAGS} ${CFLAGS}" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include int *************** *** 19443,19487 **** } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_safe_to_use_Wlogical_op_=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_safe_to_use_Wlogical_op_=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_use_Wlogical_op_" >&5 $as_echo "$ac_cv_safe_to_use_Wlogical_op_" >&6; } ! if test "$ac_cv_safe_to_use_Wlogical_op_" = "yes"; then CC_WARNINGS="${CC_WARNINGS} -Wlogical-op" fi ! ! { $as_echo "$as_me:$LINENO: checking whether it is safe to use -Wredundant-decls from C++" >&5 $as_echo_n "checking whether it is safe to use -Wredundant-decls from C++... " >&6; } ! if test "${ac_cv_safe_to_use_Wredundant_decls_+set}" = set; then $as_echo_n "(cached) " >&6 else ac_ext=cpp --- 17332,17354 ---- } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_use_Wlogical_op_=yes else ! ac_cv_safe_to_use_Wlogical_op_=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_use_Wlogical_op_" >&5 $as_echo "$ac_cv_safe_to_use_Wlogical_op_" >&6; } ! if test "$ac_cv_safe_to_use_Wlogical_op_" = "yes"; then : CC_WARNINGS="${CC_WARNINGS} -Wlogical-op" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to use -Wredundant-decls from C++" >&5 $as_echo_n "checking whether it is safe to use -Wredundant-decls from C++... " >&6; } ! if test "${ac_cv_safe_to_use_Wredundant_decls_+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_ext=cpp *************** *** 19492,19502 **** save_CXXFLAGS="${CXXFLAGS}" CXXFLAGS="${W_FAIL} -pedantic -Wredundant-decls ${AM_CXXFLAGS}" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ template struct C { void foo(); }; --- 17359,17365 ---- save_CXXFLAGS="${CXXFLAGS}" CXXFLAGS="${W_FAIL} -pedantic -Wredundant-decls ${AM_CXXFLAGS}" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ template struct C { void foo(); }; *************** *** 19511,19542 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_cxx_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_safe_to_use_Wredundant_decls_=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_safe_to_use_Wredundant_decls_=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXXFLAGS="${save_CXXFLAGS}" ac_ext=c --- 17374,17384 ---- return 0; } _ACEOF ! if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_safe_to_use_Wredundant_decls_=yes else ! ac_cv_safe_to_use_Wredundant_decls_=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXXFLAGS="${save_CXXFLAGS}" ac_ext=c *************** *** 19546,19596 **** ac_compiler_gnu=$ac_cv_c_compiler_gnu fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_use_Wredundant_decls_" >&5 $as_echo "$ac_cv_safe_to_use_Wredundant_decls_" >&6; } ! if test "$ac_cv_safe_to_use_Wredundant_decls_" = "yes"; then CXX_WARNINGS="${CXX_WARNINGS} -Wredundant-decls" else CXX_WARNINGS="${CXX_WARNINGS} -Wno-redundant-decls" fi - NO_REDUNDANT_DECLS="-Wno-redundant-decls" PROTOSKIP_WARNINGS="-Wno-effc++ -Wno-shadow" fi - fi - if test "$SUNCC" = "yes"; then ! ! if test "$ac_profiling" = "yes"; then CC_PROFILING="-xinstrument=datarace" fi ! ! if test "$ac_cv_warnings_as_errors" = "yes"; then W_FAIL="-errwarn=%all" fi ! ! { $as_echo "$as_me:$LINENO: checking whether E_PASTE_RESULT_NOT_TOKEN is usable" >&5 $as_echo_n "checking whether E_PASTE_RESULT_NOT_TOKEN is usable... " >&6; } ! if test "${ac_cv_paste_result+set}" = set; then $as_echo_n "(cached) " >&6 else save_CFLAGS="${CFLAGS}" CFLAGS="-errwarn=%all -erroff=E_PASTE_RESULT_NOT_TOKEN ${CFLAGS}" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default --- 17388,17429 ---- ac_compiler_gnu=$ac_cv_c_compiler_gnu fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_use_Wredundant_decls_" >&5 $as_echo "$ac_cv_safe_to_use_Wredundant_decls_" >&6; } ! if test "$ac_cv_safe_to_use_Wredundant_decls_" = "yes"; then : CXX_WARNINGS="${CXX_WARNINGS} -Wredundant-decls" else CXX_WARNINGS="${CXX_WARNINGS} -Wno-redundant-decls" fi NO_REDUNDANT_DECLS="-Wno-redundant-decls" PROTOSKIP_WARNINGS="-Wno-effc++ -Wno-shadow" fi fi + if test "$SUNCC" = "yes"; then : ! if test "$ac_profiling" = "yes"; then : CC_PROFILING="-xinstrument=datarace" fi ! if test "$ac_cv_warnings_as_errors" = "yes"; then : W_FAIL="-errwarn=%all" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether E_PASTE_RESULT_NOT_TOKEN is usable" >&5 $as_echo_n "checking whether E_PASTE_RESULT_NOT_TOKEN is usable... " >&6; } ! if test "${ac_cv_paste_result+set}" = set; then : $as_echo_n "(cached) " >&6 else save_CFLAGS="${CFLAGS}" CFLAGS="-errwarn=%all -erroff=E_PASTE_RESULT_NOT_TOKEN ${CFLAGS}" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default *************** *** 19604,19648 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext ! if { (ac_try="$ac_compile" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_compile") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest.$ac_objext; then ac_cv_paste_result=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_paste_result=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="${save_CFLAGS}" fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_paste_result" >&5 $as_echo "$ac_cv_paste_result" >&6; } ! if test $ac_cv_paste_result = yes; then W_PASTE_RESULT=",E_PASTE_RESULT_NOT_TOKEN" fi - CC_WARNINGS_FULL="-erroff=E_INTEGER_OVERFLOW_DETECTED${W_PASTE_RESULT}" CXX_WARNINGS_FULL="-erroff=inllargeuse" --- 17437,17459 ---- return 0; } _ACEOF ! if ac_fn_c_try_compile "$LINENO"; then : ac_cv_paste_result=yes else ! ac_cv_paste_result=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="${save_CFLAGS}" fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_paste_result" >&5 $as_echo "$ac_cv_paste_result" >&6; } ! if test $ac_cv_paste_result = yes; then : W_PASTE_RESULT=",E_PASTE_RESULT_NOT_TOKEN" fi CC_WARNINGS_FULL="-erroff=E_INTEGER_OVERFLOW_DETECTED${W_PASTE_RESULT}" CXX_WARNINGS_FULL="-erroff=inllargeuse" *************** *** 19665,19688 **** - # Check whether --enable-dtrace was given. ! if test "${enable_dtrace+set}" = set; then enableval=$enable_dtrace; ac_cv_enable_dtrace="yes" else ac_cv_enable_dtrace="no" fi ! if test "$ac_cv_enable_dtrace" = "yes"; then for ac_prog in dtrace do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_DTRACE+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$DTRACE"; then --- 17476,17498 ---- # Check whether --enable-dtrace was given. ! if test "${enable_dtrace+set}" = set; then : enableval=$enable_dtrace; ac_cv_enable_dtrace="yes" else ac_cv_enable_dtrace="no" fi ! if test "$ac_cv_enable_dtrace" = "yes"; then : for ac_prog in dtrace do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_DTRACE+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$DTRACE"; then *************** *** 19693,19716 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DTRACE="$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi DTRACE=$ac_cv_prog_DTRACE if test -n "$DTRACE"; then ! { $as_echo "$as_me:$LINENO: result: $DTRACE" >&5 $as_echo "$DTRACE" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 17503,17526 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DTRACE="$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi DTRACE=$ac_cv_prog_DTRACE if test -n "$DTRACE"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5 $as_echo "$DTRACE" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 19718,19729 **** test -n "$DTRACE" && break done ! if test "x$ac_cv_prog_DTRACE" = "xdtrace"; then ! cat >>confdefs.h <<\_ACEOF ! #define HAVE_DTRACE 1 ! _ACEOF cat >conftest.d <<_ACEOF provider Example { --- 17528,17537 ---- test -n "$DTRACE" && break done ! if test "x$ac_cv_prog_DTRACE" = "xdtrace"; then : ! $as_echo "#define HAVE_DTRACE 1" >>confdefs.h cat >conftest.d <<_ACEOF provider Example { *************** *** 19731,19749 **** }; _ACEOF $DTRACE -G -o conftest.d.o -s conftest.d 2>/dev/zero ! if test $? -eq 0; then ac_cv_dtrace_needs_objects=yes fi - rm -f conftest.d.o conftest.d ac_cv_have_dtrace=yes fi - fi - if test "x$ac_cv_have_dtrace" = "xyes"; then HAVE_DTRACE_TRUE= HAVE_DTRACE_FALSE='#' --- 17539,17554 ---- }; _ACEOF $DTRACE -G -o conftest.d.o -s conftest.d 2>/dev/zero ! if test $? -eq 0; then : ac_cv_dtrace_needs_objects=yes fi rm -f conftest.d.o conftest.d ac_cv_have_dtrace=yes fi fi if test "x$ac_cv_have_dtrace" = "xyes"; then HAVE_DTRACE_TRUE= HAVE_DTRACE_FALSE='#' *************** *** 19784,19790 **** # Check whether --with-lib-prefix was given. ! if test "${with_lib_prefix+set}" = set; then withval=$with_lib_prefix; if test "X$withval" = "Xno"; then use_additional=no --- 17589,17595 ---- # Check whether --with-lib-prefix was given. ! if test "${with_lib_prefix+set}" = set; then : withval=$with_lib_prefix; if test "X$withval" = "Xno"; then use_additional=no *************** *** 19883,19889 **** # Check whether --enable-umem was given. ! if test "${enable_umem+set}" = set; then enableval=$enable_umem; ac_enable_umem="$enableval" else ac_enable_umem="no" --- 17688,17694 ---- # Check whether --enable-umem was given. ! if test "${enable_umem+set}" = set; then : enableval=$enable_umem; ac_enable_umem="$enableval" else ac_enable_umem="no" *************** *** 19891,19897 **** # Check whether --enable-tcmalloc was given. ! if test "${enable_tcmalloc+set}" = set; then enableval=$enable_tcmalloc; ac_enable_tcmalloc="$enableval" else ac_enable_tcmalloc="no" --- 17696,17702 ---- # Check whether --enable-tcmalloc was given. ! if test "${enable_tcmalloc+set}" = set; then : enableval=$enable_tcmalloc; ac_enable_tcmalloc="$enableval" else ac_enable_tcmalloc="no" *************** *** 19899,19905 **** # Check whether --enable-mtmalloc was given. ! if test "${enable_mtmalloc+set}" = set; then enableval=$enable_mtmalloc; ac_enable_mtmalloc="$enableval" else ac_enable_mtmalloc="yes" --- 17704,17710 ---- # Check whether --enable-mtmalloc was given. ! if test "${enable_mtmalloc+set}" = set; then : enableval=$enable_mtmalloc; ac_enable_mtmalloc="$enableval" else ac_enable_mtmalloc="yes" *************** *** 19908,19928 **** save_LIBS="${LIBS}" LIBS= ! if test "x$ac_enable_umem" = "xyes"; then ! ! { $as_echo "$as_me:$LINENO: checking for malloc in -lumem" >&5 $as_echo_n "checking for malloc in -lumem... " >&6; } ! if test "${ac_cv_lib_umem_malloc+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lumem $LIBS" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. --- 17713,17728 ---- save_LIBS="${LIBS}" LIBS= ! if test "x$ac_enable_umem" = "xyes"; then : ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -lumem" >&5 $as_echo_n "checking for malloc in -lumem... " >&6; } ! if test "${ac_cv_lib_umem_malloc+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lumem $LIBS" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. *************** *** 19940,19982 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ac_cv_lib_umem_malloc=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_lib_umem_malloc=no fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_umem_malloc" >&5 $as_echo "$ac_cv_lib_umem_malloc" >&6; } ! if test "x$ac_cv_lib_umem_malloc" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBUMEM 1 _ACEOF --- 17740,17757 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_umem_malloc=yes else ! ac_cv_lib_umem_malloc=no fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_malloc" >&5 $as_echo "$ac_cv_lib_umem_malloc" >&6; } ! if test "x$ac_cv_lib_umem_malloc" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBUMEM 1 _ACEOF *************** *** 19990,20010 **** case "$target_os" in *linux*) ! if test "x$ac_enable_tcmalloc" != "xno"; then ! ! { $as_echo "$as_me:$LINENO: checking for malloc in -ltcmalloc-minimal" >&5 $as_echo_n "checking for malloc in -ltcmalloc-minimal... " >&6; } ! if test "${ac_cv_lib_tcmalloc_minimal_malloc+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ltcmalloc-minimal $LIBS" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. --- 17765,17780 ---- case "$target_os" in *linux*) ! if test "x$ac_enable_tcmalloc" != "xno"; then : ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -ltcmalloc-minimal" >&5 $as_echo_n "checking for malloc in -ltcmalloc-minimal... " >&6; } ! if test "${ac_cv_lib_tcmalloc_minimal_malloc+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ltcmalloc-minimal $LIBS" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. *************** *** 20022,20064 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ac_cv_lib_tcmalloc_minimal_malloc=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_lib_tcmalloc_minimal_malloc=no fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tcmalloc_minimal_malloc" >&5 $as_echo "$ac_cv_lib_tcmalloc_minimal_malloc" >&6; } ! if test "x$ac_cv_lib_tcmalloc_minimal_malloc" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBTCMALLOC_MINIMAL 1 _ACEOF --- 17792,17809 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_tcmalloc_minimal_malloc=yes else ! ac_cv_lib_tcmalloc_minimal_malloc=no fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tcmalloc_minimal_malloc" >&5 $as_echo "$ac_cv_lib_tcmalloc_minimal_malloc" >&6; } ! if test "x$ac_cv_lib_tcmalloc_minimal_malloc" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBTCMALLOC_MINIMAL 1 _ACEOF *************** *** 20067,20087 **** fi ! if test "x$ac_cv_lib_tcmalloc_minimal_malloc" != "xyes"; then ! ! { $as_echo "$as_me:$LINENO: checking for malloc in -ltcmalloc" >&5 $as_echo_n "checking for malloc in -ltcmalloc... " >&6; } ! if test "${ac_cv_lib_tcmalloc_malloc+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ltcmalloc $LIBS" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. --- 17812,17827 ---- fi ! if test "x$ac_cv_lib_tcmalloc_minimal_malloc" != "xyes"; then : ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -ltcmalloc" >&5 $as_echo_n "checking for malloc in -ltcmalloc... " >&6; } ! if test "${ac_cv_lib_tcmalloc_malloc+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ltcmalloc $LIBS" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. *************** *** 20099,20141 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ac_cv_lib_tcmalloc_malloc=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_lib_tcmalloc_malloc=no fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tcmalloc_malloc" >&5 $as_echo "$ac_cv_lib_tcmalloc_malloc" >&6; } ! if test "x$ac_cv_lib_tcmalloc_malloc" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBTCMALLOC 1 _ACEOF --- 17839,17856 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_tcmalloc_malloc=yes else ! ac_cv_lib_tcmalloc_malloc=no fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tcmalloc_malloc" >&5 $as_echo "$ac_cv_lib_tcmalloc_malloc" >&6; } ! if test "x$ac_cv_lib_tcmalloc_malloc" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBTCMALLOC 1 _ACEOF *************** *** 20147,20172 **** fi - fi - ;; *solaris*) ! if test "x$ac_enable_mtmalloc" != "xno"; then ! ! { $as_echo "$as_me:$LINENO: checking for malloc in -lmtmalloc" >&5 $as_echo_n "checking for malloc in -lmtmalloc... " >&6; } ! if test "${ac_cv_lib_mtmalloc_malloc+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lmtmalloc $LIBS" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. --- 17862,17880 ---- fi fi ;; *solaris*) ! if test "x$ac_enable_mtmalloc" != "xno"; then : ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -lmtmalloc" >&5 $as_echo_n "checking for malloc in -lmtmalloc... " >&6; } ! if test "${ac_cv_lib_mtmalloc_malloc+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lmtmalloc $LIBS" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. *************** *** 20184,20226 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ac_cv_lib_mtmalloc_malloc=yes else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! ! ac_cv_lib_mtmalloc_malloc=no fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mtmalloc_malloc" >&5 $as_echo "$ac_cv_lib_mtmalloc_malloc" >&6; } ! if test "x$ac_cv_lib_mtmalloc_malloc" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBMTMALLOC 1 _ACEOF --- 17892,17909 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_mtmalloc_malloc=yes else ! ac_cv_lib_mtmalloc_malloc=no fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mtmalloc_malloc" >&5 $as_echo "$ac_cv_lib_mtmalloc_malloc" >&6; } ! if test "x$ac_cv_lib_mtmalloc_malloc" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBMTMALLOC 1 _ACEOF *************** *** 20231,20242 **** fi - ;; esac fi - BETTER_MALLOC_LIBS="${LIBS}" LIBS="${save_LIBS}" --- 17914,17923 ---- *************** *** 20247,20255 **** do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_DOXYGEN+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$DOXYGEN"; then --- 17928,17936 ---- do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_DOXYGEN+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$DOXYGEN"; then *************** *** 20260,20283 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DOXYGEN="$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi DOXYGEN=$ac_cv_prog_DOXYGEN if test -n "$DOXYGEN"; then ! { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5 $as_echo "$DOXYGEN" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 17941,17964 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DOXYGEN="$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi DOXYGEN=$ac_cv_prog_DOXYGEN if test -n "$DOXYGEN"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 $as_echo "$DOXYGEN" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 20289,20297 **** do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_PERL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$PERL"; then --- 17970,17978 ---- do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_PERL+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$PERL"; then *************** *** 20302,20325 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_PERL="$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi PERL=$ac_cv_prog_PERL if test -n "$PERL"; then ! { $as_echo "$as_me:$LINENO: result: $PERL" >&5 $as_echo "$PERL" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 17983,18006 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_PERL="$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi PERL=$ac_cv_prog_PERL if test -n "$PERL"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 $as_echo "$PERL" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 20328,20336 **** done ! if test "x${gl_LIBOBJS}" != "x"; then ! if test "$GCC" = "yes"; then AM_CPPFLAGS="-isystem \$(top_srcdir)/gnulib -isystem \$(top_builddir)/gnulib ${AM_CPPFLAGS}" --- 18009,18017 ---- done ! if test "x${gl_LIBOBJS}" != "x"; then : ! if test "$GCC" = "yes"; then : AM_CPPFLAGS="-isystem \$(top_srcdir)/gnulib -isystem \$(top_builddir)/gnulib ${AM_CPPFLAGS}" *************** *** 20340,20349 **** fi - fi - AM_CPPFLAGS="-I\${top_srcdir} -I\${top_builddir} ${AM_CPPFLAGS}" AM_CFLAGS="${AM_CFLAGS} ${CC_WARNINGS} ${CC_PROFILING} ${CC_COVERAGE}" AM_CXXFLAGS="${AM_CXXFLAGS} ${CXX_WARNINGS} ${CC_PROFILING} ${CC_COVERAGE}" --- 18021,18028 ---- *************** *** 20407,20419 **** CFLAGS="$CFLAGS $PTHREAD_CFLAGS" save_LIBS="$LIBS" LIBS="$PTHREAD_LIBS $LIBS" ! { $as_echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. --- 18086,18094 ---- CFLAGS="$CFLAGS $PTHREAD_CFLAGS" save_LIBS="$LIBS" LIBS="$PTHREAD_LIBS $LIBS" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. *************** *** 20431,20469 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then acx_pthread_ok=yes - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext ! { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5 $as_echo "$acx_pthread_ok" >&6; } if test x"$acx_pthread_ok" = xno; then PTHREAD_LIBS="" --- 18106,18117 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : acx_pthread_ok=yes fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 $as_echo "$acx_pthread_ok" >&6; } if test x"$acx_pthread_ok" = xno; then PTHREAD_LIBS="" *************** *** 20525,20536 **** case $flag in none) ! { $as_echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5 $as_echo_n "checking whether pthreads work without any flags... " >&6; } ;; -*) ! { $as_echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5 $as_echo_n "checking whether pthreads work with $flag... " >&6; } PTHREAD_CFLAGS="$flag" ;; --- 18173,18184 ---- case $flag in none) ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 $as_echo_n "checking whether pthreads work without any flags... " >&6; } ;; -*) ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 $as_echo_n "checking whether pthreads work with $flag... " >&6; } PTHREAD_CFLAGS="$flag" ;; *************** *** 20538,20546 **** pthread-config) # Extract the first word of "pthread-config", so it can be a program name with args. set dummy pthread-config; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_acx_pthread_config+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$acx_pthread_config"; then --- 18186,18194 ---- pthread-config) # Extract the first word of "pthread-config", so it can be a program name with args. set dummy pthread-config; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_acx_pthread_config+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$acx_pthread_config"; then *************** *** 20551,20564 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_acx_pthread_config="yes" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no" --- 18199,18212 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_acx_pthread_config="yes" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no" *************** *** 20566,20575 **** fi acx_pthread_config=$ac_cv_prog_acx_pthread_config if test -n "$acx_pthread_config"; then ! { $as_echo "$as_me:$LINENO: result: $acx_pthread_config" >&5 $as_echo "$acx_pthread_config" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 18214,18223 ---- fi acx_pthread_config=$ac_cv_prog_acx_pthread_config if test -n "$acx_pthread_config"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5 $as_echo "$acx_pthread_config" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 20580,20586 **** ;; *) ! { $as_echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5 $as_echo_n "checking for the pthreads library -l$flag... " >&6; } PTHREAD_LIBS="-l$flag" ;; --- 18228,18234 ---- ;; *) ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 $as_echo_n "checking for the pthreads library -l$flag... " >&6; } PTHREAD_LIBS="-l$flag" ;; *************** *** 20600,20610 **** # pthread_cleanup_push because it is one of the few pthread # functions on Solaris that doesn't have a non-functional libc stub. # We try pthread_create on general principles. ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int --- 18248,18254 ---- # pthread_cleanup_push because it is one of the few pthread # functions on Solaris that doesn't have a non-functional libc stub. # We try pthread_create on general principles. ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int *************** *** 20617,20659 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then acx_pthread_ok=yes - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" ! { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5 $as_echo "$acx_pthread_ok" >&6; } if test "x$acx_pthread_ok" = xyes; then break; --- 18261,18276 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : acx_pthread_ok=yes fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 $as_echo "$acx_pthread_ok" >&6; } if test "x$acx_pthread_ok" = xyes; then break; *************** *** 20672,20686 **** CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. ! { $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5 $as_echo_n "checking for joinable pthread attribute... " >&6; } attr_name=unknown for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int --- 18289,18299 ---- CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 $as_echo_n "checking for joinable pthread attribute... " >&6; } attr_name=unknown for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int *************** *** 20691,20730 **** return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then attr_name=$attr; break - else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - - fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext conftest.$ac_ext done ! { $as_echo "$as_me:$LINENO: result: $attr_name" >&5 $as_echo "$attr_name" >&6; } if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then --- 18304,18316 ---- return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : attr_name=$attr; break fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext done ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5 $as_echo "$attr_name" >&6; } if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then *************** *** 20734,20747 **** fi ! { $as_echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5 $as_echo_n "checking if more special flags are required for pthreads... " >&6; } flag=no case "${host_cpu}-${host_os}" in *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; esac ! { $as_echo "$as_me:$LINENO: result: ${flag}" >&5 $as_echo "${flag}" >&6; } if test "x$flag" != xno; then PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" --- 18320,18333 ---- fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 $as_echo_n "checking if more special flags are required for pthreads... " >&6; } flag=no case "${host_cpu}-${host_os}" in *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; esac ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 $as_echo "${flag}" >&6; } if test "x$flag" != xno; then PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" *************** *** 20756,20764 **** do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$PTHREAD_CC"; then --- 18342,18350 ---- do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$PTHREAD_CC"; then *************** *** 20769,20792 **** do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_PTHREAD_CC="$ac_prog" ! $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi PTHREAD_CC=$ac_cv_prog_PTHREAD_CC if test -n "$PTHREAD_CC"; then ! { $as_echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5 $as_echo "$PTHREAD_CC" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi --- 18355,18378 ---- do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_PTHREAD_CC="$ac_prog" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done ! done IFS=$as_save_IFS fi fi PTHREAD_CC=$ac_cv_prog_PTHREAD_CC if test -n "$PTHREAD_CC"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 $as_echo "$PTHREAD_CC" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi *************** *** 20809,20824 **** # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: if test x"$acx_pthread_ok" = xyes; then ! cat >>confdefs.h <<\_ACEOF ! #define HAVE_PTHREAD 1 ! _ACEOF : else acx_pthread_ok=no ! { { $as_echo "$as_me:$LINENO: error: could not find libpthread" >&5 ! $as_echo "$as_me: error: could not find libpthread" >&2;} ! { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' --- 18395,18406 ---- # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: if test x"$acx_pthread_ok" = xyes; then ! $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h : else acx_pthread_ok=no ! as_fn_error "could not find libpthread" "$LINENO" 5 fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' *************** *** 20832,20848 **** CC="$PTHREAD_CC" ! { $as_echo "$as_me:$LINENO: checking for library containing getopt_long" >&5 $as_echo_n "checking for library containing getopt_long... " >&6; } ! if test "${ac_cv_search_getopt_long+set}" = set; then $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. --- 18414,18426 ---- CC="$PTHREAD_CC" ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getopt_long" >&5 $as_echo_n "checking for library containing getopt_long... " >&6; } ! if test "${ac_cv_search_getopt_long+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. *************** *** 20867,21900 **** ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ac_cv_search_getopt_long=$ac_res else - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - fi - rm -rf conftest.dSYM - rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext - if test "${ac_cv_search_getopt_long+set}" = set; then - break fi ! done ! if test "${ac_cv_search_getopt_long+set}" = set; then ! : ! else ! ac_cv_search_getopt_long=no fi ! rm conftest.$ac_ext ! LIBS=$ac_func_search_save_LIBS fi - { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getopt_long" >&5 - $as_echo "$ac_cv_search_getopt_long" >&6; } - ac_res=$ac_cv_search_getopt_long - if test "$ac_res" != no; then - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi ! { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5 ! $as_echo_n "checking for library containing socket... " >&6; } ! if test "${ac_cv_search_socket+set}" = set; then ! $as_echo_n "(cached) " >&6 else ! ac_func_search_save_LIBS=$LIBS ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ ! /* Override any GCC internal prototype to avoid an error. ! Use char because int might match the return type of a GCC ! builtin and then its argument prototype would still apply. */ ! #ifdef __cplusplus ! extern "C" ! #endif ! char socket (); int main () { ! return socket (); ; return 0; } _ACEOF ! for ac_lib in '' socket; do ! if test -z "$ac_lib"; then ! ac_res="none required" ! else ! ac_res=-l$ac_lib ! LIBS="-l$ac_lib $ac_func_search_save_LIBS" ! fi ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ! ac_cv_search_socket=$ac_res ! else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 fi ! ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext ! if test "${ac_cv_search_socket+set}" = set; then ! break ! fi ! done ! if test "${ac_cv_search_socket+set}" = set; then ! : ! else ! ac_cv_search_socket=no ! fi ! rm conftest.$ac_ext ! LIBS=$ac_func_search_save_LIBS fi - { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 - $as_echo "$ac_cv_search_socket" >&6; } - ac_res=$ac_cv_search_socket - if test "$ac_res" != no; then - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - fi ! { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 ! $as_echo_n "checking for library containing gethostbyname... " >&6; } ! if test "${ac_cv_search_gethostbyname+set}" = set; then ! $as_echo_n "(cached) " >&6 else ! ac_func_search_save_LIBS=$LIBS ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ ! /* Override any GCC internal prototype to avoid an error. ! Use char because int might match the return type of a GCC ! builtin and then its argument prototype would still apply. */ ! #ifdef __cplusplus ! extern "C" ! #endif ! char gethostbyname (); int main () { ! return gethostbyname (); ; return 0; } _ACEOF ! for ac_lib in '' nsl; do ! if test -z "$ac_lib"; then ! ac_res="none required" ! else ! ac_res=-l$ac_lib ! LIBS="-l$ac_lib $ac_func_search_save_LIBS" ! fi ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ! ac_cv_search_gethostbyname=$ac_res else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 fi ! rm -rf conftest.dSYM ! rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ! conftest$ac_exeext ! if test "${ac_cv_search_gethostbyname+set}" = set; then ! break fi ! done ! if test "${ac_cv_search_gethostbyname+set}" = set; then ! : else ! ac_cv_search_gethostbyname=no fi ! rm conftest.$ac_ext ! LIBS=$ac_func_search_save_LIBS fi - { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 - $as_echo "$ac_cv_search_gethostbyname" >&6; } - ac_res=$ac_cv_search_gethostbyname - if test "$ac_res" != no; then - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi ! save_LIBS="$LIBS" ! LIBS="$LIBS -lm" ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ ! #include int main () { ! float f= floorf((float) 1.0); ; return 0; } _ACEOF ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ! : else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 fi - rm -rf conftest.dSYM - rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext ! LIBS="$save_LIBS" - { $as_echo "$as_me:$LINENO: checking for library containing floorf" >&5 - $as_echo_n "checking for library containing floorf... " >&6; } - if test "${ac_cv_search_floorf+set}" = set; then - $as_echo_n "(cached) " >&6 else - ac_func_search_save_LIBS=$LIBS - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ ! /* Override any GCC internal prototype to avoid an error. ! Use char because int might match the return type of a GCC ! builtin and then its argument prototype would still apply. */ ! #ifdef __cplusplus ! extern "C" ! #endif ! char floorf (); ! int ! main () ! { ! return floorf (); ! ; ! return 0; ! } ! _ACEOF ! for ac_lib in '' m; do ! if test -z "$ac_lib"; then ! ac_res="none required" ! else ! ac_res=-l$ac_lib ! LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi ! rm -f conftest.$ac_objext conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>conftest.er1 ! ac_status=$? ! grep -v '^ *+' conftest.er1 >conftest.err ! rm -f conftest.er1 ! cat conftest.err >&5 ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ! test -z "$ac_c_werror_flag" || ! test ! -s conftest.err ! } && test -s conftest$ac_exeext && { ! test "$cross_compiling" = yes || ! $as_test_x conftest$ac_exeext ! }; then ! ac_cv_search_floorf=$ac_res else ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 fi - rm -rf conftest.dSYM - rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext - if test "${ac_cv_search_floorf+set}" = set; then - break - fi - done - if test "${ac_cv_search_floorf+set}" = set; then - : - else - ac_cv_search_floorf=no - fi - rm conftest.$ac_ext - LIBS=$ac_func_search_save_LIBS fi - { $as_echo "$as_me:$LINENO: result: $ac_cv_search_floorf" >&5 - $as_echo "$ac_cv_search_floorf" >&6; } - ac_res=$ac_cv_search_floorf - if test "$ac_res" != no; then - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi ! { $as_echo "$as_me:$LINENO: checking for htonll" >&5 ! $as_echo_n "checking for htonll... " >&6; } ! have_htoll="no" ! if test "$cross_compiling" = yes; then ! { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ! $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling ! See \`config.log' for more details." >&5 ! $as_echo "$as_me: error: cannot run test program while cross compiling ! See \`config.log' for more details." >&2;} ! { (exit 1); exit 1; }; }; } else ! cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ ! #include ! #include ! #include - int - main () - { - return htonll(0); ! ; ! return 0; ! } ! _ACEOF ! rm -f conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ! { (case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_try") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then - have_htoll="yes" - cat >>confdefs.h <<\_ACEOF - #define HAVE_HTONLL 1 - _ACEOF else ! $as_echo "$as_me: program exited with status $ac_status" >&5 ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 fi ! rm -rf conftest.dSYM ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi ! { $as_echo "$as_me:$LINENO: result: $have_htoll" >&5 ! $as_echo "$have_htoll" >&6; } ! if test "x$have_htoll" = "xno"; then ! BUILD_BYTEORDER_TRUE= ! BUILD_BYTEORDER_FALSE='#' else ! BUILD_BYTEORDER_TRUE='#' ! BUILD_BYTEORDER_FALSE= fi - { $as_echo "$as_me:$LINENO: checking byteorder" >&5 - $as_echo_n "checking byteorder... " >&6; } - have_htoll="no" - if test "$cross_compiling" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling - See \`config.log' for more details." >&5 - $as_echo "$as_me: error: cannot run test program while cross compiling - See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - else - cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ - #include - #include - #include - int - main () - { - if (htonl(5) != 5) { - return 1; - } - ; - return 0; - } - _ACEOF - rm -f conftest$ac_exeext - if { (ac_try="$ac_link" - case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; - esac - eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" - $as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; - esac - eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" - $as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - { $as_echo "$as_me:$LINENO: result: big endian" >&5 - $as_echo "big endian" >&6; } - cat >>confdefs.h <<\_ACEOF - #define BYTEORDER_BIG_ENDIAN 1 - _ACEOF - else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - ( exit $ac_status ) ! { $as_echo "$as_me:$LINENO: result: little endian" >&5 ! $as_echo "little endian" >&6; } ! cat >>confdefs.h <<\_ACEOF ! #define BYTEORDER_LITTLE_ENDIAN 1 ! _ACEOF ! fi ! rm -rf conftest.dSYM ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ! fi ! # Check whether --enable-utils was given. ! if test "${enable_utils+set}" = set; then ! enableval=$enable_utils; BUILD_UTILLIB="$enableval" ! else ! BUILD_UTILLIB="yes" ! fi ! if test "x$BUILD_UTILLIB" = "xyes"; then ! if test x"$acx_pthread_ok" != "xyes"; then ! { { $as_echo "$as_me:$LINENO: error: Sorry you need POSIX thread library to build libmemcachedutil." >&5 ! $as_echo "$as_me: error: Sorry you need POSIX thread library to build libmemcachedutil." >&2;} ! { (exit 1); exit 1; }; } fi - cat >>confdefs.h <<\_ACEOF - #define HAVE_LIBMEMCACHEDUTIL 1 - _ACEOF - - fi - - if test "x$BUILD_UTILLIB" = "xyes"; then - BUILD_LIBMEMCACHEDUTIL_TRUE= - BUILD_LIBMEMCACHEDUTIL_FALSE='#' - else - BUILD_LIBMEMCACHEDUTIL_TRUE='#' - BUILD_LIBMEMCACHEDUTIL_FALSE= fi ! ac_ext=c ! ac_cpp='$CPP $CPPFLAGS' ! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_c_compiler_gnu ! if test "$cross_compiling" = yes; then ! { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ! $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling ! See \`config.log' for more details." >&5 ! $as_echo "$as_me: error: cannot run test program while cross compiling ! See \`config.log' for more details." >&2;} ! { (exit 1); exit 1; }; }; } ! else ! cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! #include ! #include ! #include ! #include ! #include ! int ! main () ! { ! int sock = socket(AF_INET, SOCK_STREAM, 0); ! struct timeval waittime; ! waittime.tv_sec= 0; ! waittime.tv_usec= 500; ! if (setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, ! &waittime, (socklen_t)sizeof(struct timeval)) == -1) { ! if (errno == ENOPROTOOPT) { ! return 1; ! } ! } ! return 0; ! ; ! return 0; ! } ! _ACEOF ! rm -f conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ! { (case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_try") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then - cat >>confdefs.h <<\_ACEOF - #define HAVE_SNDTIMEO 1 - _ACEOF ! else ! $as_echo "$as_me: program exited with status $ac_status" >&5 ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 ! fi ! rm -rf conftest.dSYM ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ! fi ! if test "$cross_compiling" = yes; then ! { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ! $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling ! See \`config.log' for more details." >&5 ! $as_echo "$as_me: error: cannot run test program while cross compiling ! See \`config.log' for more details." >&2;} ! { (exit 1); exit 1; }; }; } else - cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ ! #include ! #include ! #include ! #include ! #include int main () { ! int sock = socket(AF_INET, SOCK_STREAM, 0); ! struct timeval waittime; ! ! waittime.tv_sec= 0; ! waittime.tv_usec= 500; ! ! if (setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, ! &waittime, (socklen_t)sizeof(struct timeval)) == -1) { ! if (errno == ENOPROTOOPT) { ! return 1; ! } ! } ! return 0; ; return 0; } _ACEOF ! rm -f conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ! { (case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_try") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then ! cat >>confdefs.h <<\_ACEOF ! #define HAVE_RCVTIMEO 1 ! _ACEOF - else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 - sed 's/^/| /' conftest.$ac_ext >&5 - fi - rm -rf conftest.dSYM - rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext - fi - ac_ext=c - ac_cpp='$CPP $CPPFLAGS' - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu - # Check whether --enable-hsieh_hash was given. - if test "${enable_hsieh_hash+set}" = set; then - enableval=$enable_hsieh_hash; ac_cv_enable_hsieh_hash=yes - else - ac_cv_enable_hsieh_hash=no - fi - if test "$ac_cv_enable_hsieh_hash" = "yes"; then - cat >>confdefs.h <<\_ACEOF - #define HAVE_HSIEH_HASH 1 - _ACEOF - fi - if test "$ac_cv_enable_hsieh_hash" = "yes"; then - INCLUDE_HSIEH_SRC_TRUE= - INCLUDE_HSIEH_SRC_FALSE='#' - else - INCLUDE_HSIEH_SRC_TRUE='#' - INCLUDE_HSIEH_SRC_FALSE= - fi - # Extract the first word of "pod2man", so it can be a program name with args. - set dummy pod2man; ac_word=$2 - { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 - $as_echo_n "checking for $ac_word... " >&6; } - if test "${ac_cv_path_POD2MAN+set}" = set; then - $as_echo_n "(cached) " >&6 - else - case $POD2MAN in - [\\/]* | ?:[\\/]*) - ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR - as_dummy="$PATH:/usr/bin:/usr/local/bin:/usr/perl5/bin" - for as_dir in $as_dummy - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done - done - IFS=$as_save_IFS - test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN=""no"" - ;; - esac - fi - POD2MAN=$ac_cv_path_POD2MAN - if test -n "$POD2MAN"; then - { $as_echo "$as_me:$LINENO: result: $POD2MAN" >&5 - $as_echo "$POD2MAN" >&6; } - else - { $as_echo "$as_me:$LINENO: result: no" >&5 - $as_echo "no" >&6; } - fi ! if test "x$POD2MAN" = "xno"; then ! { { $as_echo "$as_me:$LINENO: error: \"Could not find pod2man anywhere in path\"" >&5 ! $as_echo "$as_me: error: \"Could not find pod2man anywhere in path\"" >&2;} ! { (exit 1); exit 1; }; } ! fi ! ac_ext=c ! ac_cpp='$CPP $CPPFLAGS' ! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_c_compiler_gnu - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -I${srcdir}" - if test "$cross_compiling" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling - See \`config.log' for more details." >&5 - $as_echo "$as_me: error: cannot run test program while cross compiling - See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - else - cat >conftest.$ac_ext <<_ACEOF ! /* confdefs.h. */ ! _ACEOF ! cat confdefs.h >>conftest.$ac_ext ! cat >>conftest.$ac_ext <<_ACEOF ! /* end confdefs.h. */ ! #include "libmemcached/memcached/protocol_binary.h" ! int ! main () ! { ! protocol_binary_request_set request; ! if (sizeof(request) != sizeof(request.bytes)) { ! return 1; ! } ! ; ! return 0; ! } ! _ACEOF ! rm -f conftest$ac_exeext ! if { (ac_try="$ac_link" ! case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_link") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ! { (case "(($ac_try" in ! *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! *) ac_try_echo=$ac_try;; ! esac ! eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ! $as_echo "$ac_try_echo") >&5 ! (eval "$ac_try") 2>&5 ! ac_status=$? ! $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ! (exit $ac_status); }; }; then ! : ! else ! $as_echo "$as_me: program exited with status $ac_status" >&5 ! $as_echo "$as_me: failed program was:" >&5 ! sed 's/^/| /' conftest.$ac_ext >&5 - ( exit $ac_status ) - { { $as_echo "$as_me:$LINENO: error: Unsupported struct padding done by compiler." >&5 - $as_echo "$as_me: error: Unsupported struct padding done by compiler." >&2;} - { (exit 1); exit 1; }; } - fi - rm -rf conftest.dSYM - rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi ! CFLAGS="$save_CFLAGS" ! ac_ext=c ! ac_cpp='$CPP $CPPFLAGS' ! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_c_compiler_gnu ! # Check whether --with-memcached was given. ! if test "${with_memcached+set}" = set; then ! withval=$with_memcached; ac_cv_with_memcached="$withval" ! else ! ac_cv_with_memcached=memcached ! fi ! # just ignore the user if --without-memcached is passed.. it is ! # only used by make test ! if test "x$withval" = "xno"; then ! ac_cv_with_memcached=memcached ! MEMC_BINARY=memcached ! else ! if test -f "$withval"; then - ac_cv_with_memcached=$withval - MEMC_BINARY=$withval ! else ! # Extract the first word of "$ac_cv_with_memcached", so it can be a program name with args. ! set dummy $ac_cv_with_memcached; ac_word=$2 ! { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 ! $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_path_MEMC_BINARY+set}" = set; then $as_echo_n "(cached) " >&6 else - case $MEMC_BINARY in - [\\/]* | ?:[\\/]*) - ac_cv_path_MEMC_BINARY="$MEMC_BINARY" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR - for as_dir in $PATH - do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_MEMC_BINARY="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi - done - done - IFS=$as_save_IFS ! test -z "$ac_cv_path_MEMC_BINARY" && ac_cv_path_MEMC_BINARY=""no"" ! ;; ! esac ! fi ! MEMC_BINARY=$ac_cv_path_MEMC_BINARY ! if test -n "$MEMC_BINARY"; then ! { $as_echo "$as_me:$LINENO: result: $MEMC_BINARY" >&5 ! $as_echo "$MEMC_BINARY" >&6; } else ! { $as_echo "$as_me:$LINENO: result: no" >&5 ! $as_echo "no" >&6; } fi - - if test "x$MEMC_BINARY" = "xno"; then - { { $as_echo "$as_me:$LINENO: error: \"could not find memcached binary\"" >&5 - $as_echo "$as_me: error: \"could not find memcached binary\"" >&2;} - { (exit 1); exit 1; }; } fi ! fi - fi - cat >>confdefs.h <<_ACEOF - #define MEMCACHED_BINARY "$MEMC_BINARY" - _ACEOF ! # Check whether --enable-deprecated was given. ! if test "${enable_deprecated+set}" = set; then ! enableval=$enable_deprecated; ac_enable_deprecated="$enableval" else ! ac_enable_deprecated="no" fi ! if test "$ac_enable_deprecated" = "yes"; then ! DEPRECATED="#define MEMCACHED_ENABLE_DEPRECATED 1" fi ac_config_files="$ac_config_files Makefile clients/Makefile tests/Makefile docs/Makefile libmemcached/Makefile libmemcached/memcached_configure.h libmemcachedutil/Makefile support/Makefile support/libmemcached.pc support/libmemcached.spec support/libmemcached-fc.spec" cat >confcache <<\_ACEOF --- 18445,20391 ---- ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi ! if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_getopt_long=$ac_res + fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if test "${ac_cv_search_getopt_long+set}" = set; then : + break + fi + done + if test "${ac_cv_search_getopt_long+set}" = set; then : + + else + ac_cv_search_getopt_long=no + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getopt_long" >&5 + $as_echo "$ac_cv_search_getopt_long" >&6; } + ac_res=$ac_cv_search_getopt_long + if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 + $as_echo_n "checking for library containing socket... " >&6; } + if test "${ac_cv_search_socket+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_func_search_save_LIBS=$LIBS + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ + #ifdef __cplusplus + extern "C" + #endif + char socket (); + int + main () + { + return socket (); + ; + return 0; + } + _ACEOF + for ac_lib in '' socket; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_socket=$ac_res + fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if test "${ac_cv_search_socket+set}" = set; then : + break + fi + done + if test "${ac_cv_search_socket+set}" = set; then : + + else + ac_cv_search_socket=no + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 + $as_echo "$ac_cv_search_socket" >&6; } + ac_res=$ac_cv_search_socket + if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 + $as_echo_n "checking for library containing gethostbyname... " >&6; } + if test "${ac_cv_search_gethostbyname+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_func_search_save_LIBS=$LIBS + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ + #ifdef __cplusplus + extern "C" + #endif + char gethostbyname (); + int + main () + { + return gethostbyname (); + ; + return 0; + } + _ACEOF + for ac_lib in '' nsl; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_gethostbyname=$ac_res + fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if test "${ac_cv_search_gethostbyname+set}" = set; then : + break + fi + done + if test "${ac_cv_search_gethostbyname+set}" = set; then : + + else + ac_cv_search_gethostbyname=no + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 + $as_echo "$ac_cv_search_gethostbyname" >&6; } + ac_res=$ac_cv_search_gethostbyname + if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + + fi + + + save_LIBS="$LIBS" + LIBS="$LIBS -lm" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include + + int + main () + { + + float f= floorf((float) 1.0); + + ; + return 0; + } + _ACEOF + if ac_fn_c_try_link "$LINENO"; then : + + fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + + + LIBS="$save_LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floorf" >&5 + $as_echo_n "checking for library containing floorf... " >&6; } + if test "${ac_cv_search_floorf+set}" = set; then : + $as_echo_n "(cached) " >&6 + else + ac_func_search_save_LIBS=$LIBS + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ + #ifdef __cplusplus + extern "C" + #endif + char floorf (); + int + main () + { + return floorf (); + ; + return 0; + } + _ACEOF + for ac_lib in '' m; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_floorf=$ac_res + fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if test "${ac_cv_search_floorf+set}" = set; then : + break + fi + done + if test "${ac_cv_search_floorf+set}" = set; then : + + else + ac_cv_search_floorf=no + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floorf" >&5 + $as_echo "$ac_cv_search_floorf" >&6; } + ac_res=$ac_cv_search_floorf + if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htonll" >&5 + $as_echo_n "checking for htonll... " >&6; } + have_htoll="no" + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error "cannot run test program while cross compiling + See \`config.log' for more details." "$LINENO" 5; } + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + + #include + #include + #include + + int + main () + { + + return htonll(0); + + ; + return 0; + } + + _ACEOF + if ac_fn_c_try_run "$LINENO"; then : + + have_htoll="yes" + + $as_echo "#define HAVE_HTONLL 1" >>confdefs.h + + + fi + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_htoll" >&5 + $as_echo "$have_htoll" >&6; } + if test "x$have_htoll" = "xno"; then + BUILD_BYTEORDER_TRUE= + BUILD_BYTEORDER_FALSE='#' + else + BUILD_BYTEORDER_TRUE='#' + BUILD_BYTEORDER_FALSE= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking byteorder" >&5 + $as_echo_n "checking byteorder... " >&6; } + have_htoll="no" + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error "cannot run test program while cross compiling + See \`config.log' for more details." "$LINENO" 5; } + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + + #include + #include + #include + + int + main () + { + + if (htonl(5) != 5) { + return 1; + } + + ; + return 0; + } + + _ACEOF + if ac_fn_c_try_run "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: big endian" >&5 + $as_echo "big endian" >&6; } + + $as_echo "#define BYTEORDER_BIG_ENDIAN 1" >>confdefs.h + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: little endian" >&5 + $as_echo "little endian" >&6; } + + $as_echo "#define BYTEORDER_LITTLE_ENDIAN 1" >>confdefs.h fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext fi ! ! ! ! # Check whether --enable-utils was given. ! if test "${enable_utils+set}" = set; then : ! enableval=$enable_utils; BUILD_UTILLIB="$enableval" ! else ! BUILD_UTILLIB="yes" fi + + if test "x$BUILD_UTILLIB" = "xyes"; then + if test x"$acx_pthread_ok" != "xyes"; then + as_fn_error "Sorry you need POSIX thread library to build libmemcachedutil." "$LINENO" 5 + fi + + $as_echo "#define HAVE_LIBMEMCACHEDUTIL 1" >>confdefs.h + + fi + + if test "x$BUILD_UTILLIB" = "xyes"; then + BUILD_LIBMEMCACHEDUTIL_TRUE= + BUILD_LIBMEMCACHEDUTIL_FALSE='#' + else + BUILD_LIBMEMCACHEDUTIL_TRUE='#' + BUILD_LIBMEMCACHEDUTIL_FALSE= fi ! ! ! ac_ext=c ! ac_cpp='$CPP $CPPFLAGS' ! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_c_compiler_gnu ! ! if test "$cross_compiling" = yes; then : ! { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ! $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! as_fn_error "cannot run test program while cross compiling ! See \`config.log' for more details." "$LINENO" 5; } else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! ! #include ! #include ! #include ! #include ! #include ! int main () { ! ! int sock = socket(AF_INET, SOCK_STREAM, 0); ! struct timeval waittime; ! ! waittime.tv_sec= 0; ! waittime.tv_usec= 500; ! ! if (setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, ! &waittime, (socklen_t)sizeof(struct timeval)) == -1) { ! if (errno == ENOPROTOOPT) { ! return 1; ! } ! } ! return 0; ! ; return 0; } _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : + $as_echo "#define HAVE_SNDTIMEO 1" >>confdefs.h fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext fi ! if test "$cross_compiling" = yes; then : ! { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ! $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! as_fn_error "cannot run test program while cross compiling ! See \`config.log' for more details." "$LINENO" 5; } else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! ! #include ! #include ! #include ! #include ! #include ! int main () { ! ! int sock = socket(AF_INET, SOCK_STREAM, 0); ! struct timeval waittime; ! ! waittime.tv_sec= 0; ! waittime.tv_usec= 500; ! ! if (setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, ! &waittime, (socklen_t)sizeof(struct timeval)) == -1) { ! if (errno == ENOPROTOOPT) { ! return 1; ! } ! } ! return 0; ! ; return 0; } _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : ! ! $as_echo "#define HAVE_RCVTIMEO 1" >>confdefs.h ! ! fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext ! fi ! ! ! ac_ext=c ! ac_cpp='$CPP $CPPFLAGS' ! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_c_compiler_gnu ! ! ! # Check whether --enable-hsieh_hash was given. ! if test "${enable_hsieh_hash+set}" = set; then : ! enableval=$enable_hsieh_hash; ac_cv_enable_hsieh_hash=yes else ! ac_cv_enable_hsieh_hash=no ! fi + if test "$ac_cv_enable_hsieh_hash" = "yes"; then : + + $as_echo "#define HAVE_HSIEH_HASH 1" >>confdefs.h + fi ! if test "$ac_cv_enable_hsieh_hash" = "yes"; then ! INCLUDE_HSIEH_SRC_TRUE= ! INCLUDE_HSIEH_SRC_FALSE='#' ! else ! INCLUDE_HSIEH_SRC_TRUE='#' ! INCLUDE_HSIEH_SRC_FALSE= fi ! ! ! ! # Extract the first word of "pod2man", so it can be a program name with args. ! set dummy pod2man; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_path_POD2MAN+set}" = set; then : ! $as_echo_n "(cached) " >&6 else ! case $POD2MAN in ! [\\/]* | ?:[\\/]*) ! ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path. ! ;; ! *) ! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! as_dummy="$PATH:/usr/bin:/usr/local/bin:/usr/perl5/bin" ! for as_dir in $as_dummy ! do ! IFS=$as_save_IFS ! test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do ! if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ! ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! break 2 ! fi ! done ! done ! IFS=$as_save_IFS ! ! test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN=""no"" ! ;; ! esac fi ! POD2MAN=$ac_cv_path_POD2MAN ! if test -n "$POD2MAN"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5 ! $as_echo "$POD2MAN" >&6; } ! else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! $as_echo "no" >&6; } fi + + if test "x$POD2MAN" = "xno"; then : + as_fn_error "\"Could not find pod2man anywhere in path\"" "$LINENO" 5 fi ! ac_ext=c ! ac_cpp='$CPP $CPPFLAGS' ! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_c_compiler_gnu ! ! save_CFLAGS="$CFLAGS" ! CFLAGS="$CFLAGS -I${srcdir}" ! if test "$cross_compiling" = yes; then : ! { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ! $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! as_fn_error "cannot run test program while cross compiling ! See \`config.log' for more details." "$LINENO" 5; } ! else ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! ! #include "libmemcached/memcached/protocol_binary.h" int main () { ! protocol_binary_request_set request; ! if (sizeof(request) != sizeof(request.bytes)) { ! return 1; ! } ; return 0; } _ACEOF ! if ac_fn_c_try_run "$LINENO"; then : ! else ! as_fn_error "Unsupported struct padding done by compiler." "$LINENO" 5 ! fi ! rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! conftest.$ac_objext conftest.beam conftest.$ac_ext ! fi ! ! CFLAGS="$save_CFLAGS" ! ac_ext=c ! ac_cpp='$CPP $CPPFLAGS' ! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! ac_compiler_gnu=$ac_cv_c_compiler_gnu + + # Check whether --with-memcached was given. + if test "${with_memcached+set}" = set; then : + withval=$with_memcached; ac_cv_with_memcached="$withval" + else + ac_cv_with_memcached=memcached fi + # just ignore the user if --without-memcached is passed.. it is + # only used by make test + if test "x$withval" = "xno"; then : ! ac_cv_with_memcached=memcached ! MEMC_BINARY=memcached else ! if test -f "$withval"; then : ! ! ac_cv_with_memcached=$withval ! MEMC_BINARY=$withval ! ! else ! ! # Extract the first word of "$ac_cv_with_memcached", so it can be a program name with args. ! set dummy $ac_cv_with_memcached; ac_word=$2 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! $as_echo_n "checking for $ac_word... " >&6; } ! if test "${ac_cv_path_MEMC_BINARY+set}" = set; then : ! $as_echo_n "(cached) " >&6 ! else ! case $MEMC_BINARY in ! [\\/]* | ?:[\\/]*) ! ac_cv_path_MEMC_BINARY="$MEMC_BINARY" # Let the user override the test with a path. ! ;; ! *) ! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! for as_dir in $PATH ! do ! IFS=$as_save_IFS ! test -z "$as_dir" && as_dir=. ! for ac_exec_ext in '' $ac_executable_extensions; do ! if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ! ac_cv_path_MEMC_BINARY="$as_dir/$ac_word$ac_exec_ext" ! $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! break 2 fi ! done ! done ! IFS=$as_save_IFS ! ! test -z "$ac_cv_path_MEMC_BINARY" && ac_cv_path_MEMC_BINARY=""no"" ! ;; esac ! fi ! MEMC_BINARY=$ac_cv_path_MEMC_BINARY ! if test -n "$MEMC_BINARY"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEMC_BINARY" >&5 ! $as_echo "$MEMC_BINARY" >&6; } else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! $as_echo "no" >&6; } ! fi + if test "x$MEMC_BINARY" = "xno"; then : + as_fn_error "\"could not find memcached binary\"" "$LINENO" 5 fi fi fi + cat >>confdefs.h <<_ACEOF + #define MEMCACHED_BINARY "$MEMC_BINARY" + _ACEOF + + ! # Check whether --enable-deprecated was given. ! if test "${enable_deprecated+set}" = set; then : ! enableval=$enable_deprecated; ac_enable_deprecated="$enableval" else ! ac_enable_deprecated="no" ! fi ! if test "$ac_enable_deprecated" = "yes"; then : ! DEPRECATED="#define MEMCACHED_ENABLE_DEPRECATED 1" ! fi ! # Check whether --with-gnu-ld was given. ! if test "${with_gnu_ld+set}" = set; then : ! withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes ! else ! with_gnu_ld=no ! fi ! # Prepare PATH_SEPARATOR. ! # The user is always right. ! if test "${PATH_SEPARATOR+set}" != set; then ! echo "#! /bin/sh" >conf$$.sh ! echo "exit 0" >>conf$$.sh ! chmod +x conf$$.sh ! if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ! PATH_SEPARATOR=';' ! else ! PATH_SEPARATOR=: ! fi ! rm -f conf$$.sh ! fi ! ac_prog=ld ! if test "$GCC" = yes; then ! # Check if gcc -print-prog-name=ld gives a path. ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 ! $as_echo_n "checking for ld used by GCC... " >&6; } ! case $host in ! *-*-mingw*) ! # gcc leaves a trailing carriage return which upsets mingw ! ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; ! *) ! ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; ! esac ! case $ac_prog in ! # Accept absolute paths. ! [\\/]* | [A-Za-z]:[\\/]*) ! re_direlt='/[^/][^/]*/\.\./' ! # Canonicalize the path of ld ! ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` ! while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ! ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` ! done ! test -z "$LD" && LD="$ac_prog" ! ;; ! "") ! # If it fails, then pretend we aren't using GCC. ! ac_prog=ld ! ;; ! *) ! # If it is relative, then search for the first ld in PATH. ! with_gnu_ld=unknown ! ;; ! esac ! elif test "$with_gnu_ld" = yes; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 ! $as_echo_n "checking for GNU ld... " >&6; } ! else ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 ! $as_echo_n "checking for non-GNU ld... " >&6; } ! fi ! if test "${acl_cv_path_LD+set}" = set; then : ! $as_echo_n "(cached) " >&6 ! else ! if test -z "$LD"; then ! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" ! for ac_dir in $PATH; do ! test -z "$ac_dir" && ac_dir=. ! if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then ! acl_cv_path_LD="$ac_dir/$ac_prog" ! # Check to see if the program is GNU ld. I'd rather use --version, ! # but apparently some GNU ld's only accept -v. ! # Break only if it was the GNU/non-GNU ld that we prefer. ! case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in ! *GNU* | *'with BFD'*) ! test "$with_gnu_ld" != no && break ;; ! *) ! test "$with_gnu_ld" != yes && break ;; ! esac ! fi ! done ! IFS="$ac_save_ifs" ! else ! acl_cv_path_LD="$LD" # Let the user override the test with a path. ! fi ! fi ! ! LD="$acl_cv_path_LD" ! if test -n "$LD"; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 ! $as_echo "$LD" >&6; } ! else ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! $as_echo "no" >&6; } ! fi ! test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 ! $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } ! if test "${acl_cv_prog_gnu_ld+set}" = set; then : ! $as_echo_n "(cached) " >&6 ! else ! # I'd rather use --version here, but apparently some GNU ld's only accept -v. ! case `$LD -v 2>&1 &5 ! $as_echo "$acl_cv_prog_gnu_ld" >&6; } ! with_gnu_ld=$acl_cv_prog_gnu_ld + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 + $as_echo_n "checking for shared library run path origin... " >&6; } + if test "${acl_cv_rpath+set}" = set; then : + $as_echo_n "(cached) " >&6 else ! ! CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ! ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh ! . ./conftest.sh ! rm -f ./conftest.sh ! acl_cv_rpath=done fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 ! $as_echo "$acl_cv_rpath" >&6; } ! wl="$acl_cv_wl" ! acl_libext="$acl_cv_libext" ! acl_shlibext="$acl_cv_shlibext" ! acl_libname_spec="$acl_cv_libname_spec" ! acl_library_names_spec="$acl_cv_library_names_spec" ! acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" ! acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" ! acl_hardcode_direct="$acl_cv_hardcode_direct" ! acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" ! # Check whether --enable-rpath was given. ! if test "${enable_rpath+set}" = set; then : ! enableval=$enable_rpath; : ! else ! enable_rpath=yes fi ! ! ! # Check whether --enable-sasl was given. ! if test "${enable_sasl+set}" = set; then : ! enableval=$enable_sasl; ac_enable_sasl="$enableval" else ! ac_enable_sasl="yes" fi ! if test "x$ac_enable_sasl" = "xyes"; then : ! use_additional=yes ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" + # Check whether --with-libsasl-prefix was given. + if test "${with_libsasl_prefix+set}" = set; then : + withval=$with_libsasl_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" ! eval additional_includedir=\"$includedir\" ! eval additional_libdir=\"$libdir\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" ! else ! additional_includedir="$withval/include" ! additional_libdir="$withval/$acl_libdirstem" ! fi fi fi + LIBSASL= + LTLIBSASL= + INCSASL= + LIBSASL_PREFIX= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='sasl ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBSASL="${LIBSASL}${LIBSASL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBSASL="${LTLIBSASL}${LTLIBSASL:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBSASL; do + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" ! case "$x" in ! -L*) ! dir=`echo "X$x" | sed -e 's/^X-L//'` ! if test -n "$acl_shlibext"; then ! if test -f "$dir/$libname$shrext"; then ! found_dir="$dir" ! found_so="$dir/$libname$shrext" ! else ! if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ! ver=`(cd "$dir" && \ ! for f in "$libname$shrext".*; do echo "$f"; done \ ! | sed -e "s,^$libname$shrext\\\\.,," \ ! | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ! | sed 1q ) 2>/dev/null` ! if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ! found_dir="$dir" ! found_so="$dir/$libname$shrext.$ver" ! fi ! else ! eval library_names=\"$acl_library_names_spec\" ! for f in $library_names; do ! if test -f "$dir/$f"; then ! found_dir="$dir" ! found_so="$dir/$f" ! break ! fi ! done ! fi ! fi ! fi ! if test "X$found_dir" = "X"; then ! if test -f "$dir/$libname.$acl_libext"; then ! found_dir="$dir" ! found_a="$dir/$libname.$acl_libext" ! fi ! fi ! if test "X$found_dir" != "X"; then ! if test -f "$dir/$libname.la"; then ! found_la="$dir/$libname.la" ! fi ! fi ! ;; ! esac ! if test "X$found_dir" != "X"; then ! break ! fi ! done ! fi ! if test "X$found_dir" != "X"; then ! LTLIBSASL="${LTLIBSASL}${LTLIBSASL:+ }-L$found_dir -l$name" ! if test "X$found_so" != "X"; then ! if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then ! LIBSASL="${LIBSASL}${LIBSASL:+ }$found_so" ! else ! haveit= ! for x in $ltrpathdirs; do ! if test "X$x" = "X$found_dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! ltrpathdirs="$ltrpathdirs $found_dir" ! fi ! if test "$acl_hardcode_direct" = yes; then ! LIBSASL="${LIBSASL}${LIBSASL:+ }$found_so" ! else ! if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then ! LIBSASL="${LIBSASL}${LIBSASL:+ }$found_so" ! haveit= ! for x in $rpathdirs; do ! if test "X$x" = "X$found_dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! rpathdirs="$rpathdirs $found_dir" ! fi ! else ! haveit= ! for x in $LDFLAGS $LIBSASL; do ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! eval x=\"$x\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" ! if test "X$x" = "X-L$found_dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! LIBSASL="${LIBSASL}${LIBSASL:+ }-L$found_dir" ! fi ! if test "$acl_hardcode_minus_L" != no; then ! LIBSASL="${LIBSASL}${LIBSASL:+ }$found_so" ! else ! LIBSASL="${LIBSASL}${LIBSASL:+ }-l$name" ! fi ! fi ! fi ! fi ! else ! if test "X$found_a" != "X"; then ! LIBSASL="${LIBSASL}${LIBSASL:+ }$found_a" ! else ! LIBSASL="${LIBSASL}${LIBSASL:+ }-L$found_dir -l$name" ! fi ! fi ! additional_includedir= ! case "$found_dir" in ! */$acl_libdirstem | */$acl_libdirstem/) ! basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` ! LIBSASL_PREFIX="$basedir" ! additional_includedir="$basedir/include" ! ;; ! esac ! if test "X$additional_includedir" != "X"; then ! if test "X$additional_includedir" != "X/usr/include"; then ! haveit= ! if test "X$additional_includedir" = "X/usr/local/include"; then ! if test -n "$GCC"; then ! case $host_os in ! linux* | gnu* | k*bsd*-gnu) haveit=yes;; ! esac ! fi ! fi ! if test -z "$haveit"; then ! for x in $CPPFLAGS $INCSASL; do ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! eval x=\"$x\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" ! if test "X$x" = "X-I$additional_includedir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! if test -d "$additional_includedir"; then ! INCSASL="${INCSASL}${INCSASL:+ }-I$additional_includedir" ! fi ! fi ! fi ! fi ! fi ! if test -n "$found_la"; then ! save_libdir="$libdir" ! case "$found_la" in ! */* | *\\*) . "$found_la" ;; ! *) . "./$found_la" ;; ! esac ! libdir="$save_libdir" ! for dep in $dependency_libs; do ! case "$dep" in ! -L*) ! additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` ! if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then ! haveit= ! if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then ! if test -n "$GCC"; then ! case $host_os in ! linux* | gnu* | k*bsd*-gnu) haveit=yes;; ! esac ! fi ! fi ! if test -z "$haveit"; then ! haveit= ! for x in $LDFLAGS $LIBSASL; do ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! eval x=\"$x\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" ! if test "X$x" = "X-L$additional_libdir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! if test -d "$additional_libdir"; then ! LIBSASL="${LIBSASL}${LIBSASL:+ }-L$additional_libdir" ! fi ! fi ! haveit= ! for x in $LDFLAGS $LTLIBSASL; do ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! eval x=\"$x\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" ! if test "X$x" = "X-L$additional_libdir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! if test -d "$additional_libdir"; then ! LTLIBSASL="${LTLIBSASL}${LTLIBSASL:+ }-L$additional_libdir" ! fi ! fi ! fi ! fi ! ;; ! -R*) ! dir=`echo "X$dep" | sed -e 's/^X-R//'` ! if test "$enable_rpath" != no; then ! haveit= ! for x in $rpathdirs; do ! if test "X$x" = "X$dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! rpathdirs="$rpathdirs $dir" ! fi ! haveit= ! for x in $ltrpathdirs; do ! if test "X$x" = "X$dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! ltrpathdirs="$ltrpathdirs $dir" ! fi ! fi ! ;; ! -l*) ! names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ! ;; ! *.la) ! names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ! ;; ! *) ! LIBSASL="${LIBSASL}${LIBSASL:+ }$dep" ! LTLIBSASL="${LTLIBSASL}${LTLIBSASL:+ }$dep" ! ;; ! esac ! done ! fi ! else ! LIBSASL="${LIBSASL}${LIBSASL:+ }-l$name" ! LTLIBSASL="${LTLIBSASL}${LTLIBSASL:+ }-l$name" ! fi ! fi ! fi ! done ! done ! if test "X$rpathdirs" != "X"; then ! if test -n "$acl_hardcode_libdir_separator"; then ! alldirs= ! for found_dir in $rpathdirs; do ! alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" ! done ! acl_save_libdir="$libdir" ! libdir="$alldirs" ! eval flag=\"$acl_hardcode_libdir_flag_spec\" ! libdir="$acl_save_libdir" ! LIBSASL="${LIBSASL}${LIBSASL:+ }$flag" ! else ! for found_dir in $rpathdirs; do ! acl_save_libdir="$libdir" ! libdir="$found_dir" ! eval flag=\"$acl_hardcode_libdir_flag_spec\" ! libdir="$acl_save_libdir" ! LIBSASL="${LIBSASL}${LIBSASL:+ }$flag" ! done ! fi ! fi ! if test "X$ltrpathdirs" != "X"; then ! for found_dir in $ltrpathdirs; do ! LTLIBSASL="${LTLIBSASL}${LTLIBSASL:+ }-R$found_dir" ! done ! fi ! ac_save_CPPFLAGS="$CPPFLAGS" ! for element in $INCSASL; do ! haveit= ! for x in $CPPFLAGS; do ! ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! eval x=\"$x\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsasl" >&5 ! $as_echo_n "checking for libsasl... " >&6; } ! if test "${ac_cv_libsasl+set}" = set; then : ! $as_echo_n "(cached) " >&6 else ! ac_save_LIBS="$LIBS" ! LIBS="$LIBS $LIBSASL" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! #include ! #include int main () { ! sasl_server_init(NULL, NULL); ; return 0; } _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ! ac_cv_libsasl=yes ! else ! ac_cv_libsasl=no ! fi ! rm -f core conftest.err conftest.$ac_objext \ ! conftest$ac_exeext conftest.$ac_ext ! LIBS="$ac_save_LIBS" ! fi ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsasl" >&5 ! $as_echo "$ac_cv_libsasl" >&6; } ! if test "$ac_cv_libsasl" = yes; then ! HAVE_LIBSASL=yes ! ! $as_echo "#define HAVE_LIBSASL 1" >>confdefs.h ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsasl" >&5 ! $as_echo_n "checking how to link with libsasl... " >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSASL" >&5 ! $as_echo "$LIBSASL" >&6; } ! else ! HAVE_LIBSASL=no ! CPPFLAGS="$ac_save_CPPFLAGS" ! LIBSASL= ! LTLIBSASL= ! LIBSASL_PREFIX= ! fi + if test "x${ac_cv_libsasl}" != "xyes" ; then : ! use_additional=yes + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" ! # Check whether --with-libsasl2-prefix was given. ! if test "${with_libsasl2_prefix+set}" = set; then : ! withval=$with_libsasl2_prefix; ! if test "X$withval" = "Xno"; then ! use_additional=no ! else ! if test "X$withval" = "X"; then ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! eval additional_includedir=\"$includedir\" ! eval additional_libdir=\"$libdir\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" ! else ! additional_includedir="$withval/include" ! additional_libdir="$withval/$acl_libdirstem" ! fi ! fi fi + LIBSASL2= + LTLIBSASL2= + INCSASL2= + LIBSASL2_PREFIX= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='sasl2 ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBSASL2="${LIBSASL2}${LIBSASL2:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBSASL2="${LTLIBSASL2}${LTLIBSASL2:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBSASL2; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" ! case "$x" in ! -L*) ! dir=`echo "X$x" | sed -e 's/^X-L//'` ! if test -n "$acl_shlibext"; then ! if test -f "$dir/$libname$shrext"; then ! found_dir="$dir" ! found_so="$dir/$libname$shrext" ! else ! if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ! ver=`(cd "$dir" && \ ! for f in "$libname$shrext".*; do echo "$f"; done \ ! | sed -e "s,^$libname$shrext\\\\.,," \ ! | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ ! | sed 1q ) 2>/dev/null` ! if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then ! found_dir="$dir" ! found_so="$dir/$libname$shrext.$ver" ! fi ! else ! eval library_names=\"$acl_library_names_spec\" ! for f in $library_names; do ! if test -f "$dir/$f"; then ! found_dir="$dir" ! found_so="$dir/$f" ! break ! fi ! done ! fi ! fi ! fi ! if test "X$found_dir" = "X"; then ! if test -f "$dir/$libname.$acl_libext"; then ! found_dir="$dir" ! found_a="$dir/$libname.$acl_libext" ! fi ! fi ! if test "X$found_dir" != "X"; then ! if test -f "$dir/$libname.la"; then ! found_la="$dir/$libname.la" ! fi ! fi ! ;; ! esac ! if test "X$found_dir" != "X"; then ! break ! fi ! done ! fi ! if test "X$found_dir" != "X"; then ! LTLIBSASL2="${LTLIBSASL2}${LTLIBSASL2:+ }-L$found_dir -l$name" ! if test "X$found_so" != "X"; then ! if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then ! LIBSASL2="${LIBSASL2}${LIBSASL2:+ }$found_so" ! else ! haveit= ! for x in $ltrpathdirs; do ! if test "X$x" = "X$found_dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! ltrpathdirs="$ltrpathdirs $found_dir" ! fi ! if test "$acl_hardcode_direct" = yes; then ! LIBSASL2="${LIBSASL2}${LIBSASL2:+ }$found_so" ! else ! if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then ! LIBSASL2="${LIBSASL2}${LIBSASL2:+ }$found_so" ! haveit= ! for x in $rpathdirs; do ! if test "X$x" = "X$found_dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! rpathdirs="$rpathdirs $found_dir" ! fi ! else ! haveit= ! for x in $LDFLAGS $LIBSASL2; do + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBSASL2="${LIBSASL2}${LIBSASL2:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBSASL2="${LIBSASL2}${LIBSASL2:+ }$found_so" + else + LIBSASL2="${LIBSASL2}${LIBSASL2:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBSASL2="${LIBSASL2}${LIBSASL2:+ }$found_a" + else + LIBSASL2="${LIBSASL2}${LIBSASL2:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + LIBSASL2_PREFIX="$basedir" + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCSASL2; do ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! eval x=\"$x\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCSASL2="${INCSASL2}${INCSASL2:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBSASL2; do ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! eval x=\"$x\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" ! if test "X$x" = "X-L$additional_libdir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! if test -d "$additional_libdir"; then ! LIBSASL2="${LIBSASL2}${LIBSASL2:+ }-L$additional_libdir" ! fi ! fi ! haveit= ! for x in $LDFLAGS $LTLIBSASL2; do ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! eval x=\"$x\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" ! if test "X$x" = "X-L$additional_libdir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! if test -d "$additional_libdir"; then ! LTLIBSASL2="${LTLIBSASL2}${LTLIBSASL2:+ }-L$additional_libdir" ! fi ! fi ! fi ! fi ! ;; ! -R*) ! dir=`echo "X$dep" | sed -e 's/^X-R//'` ! if test "$enable_rpath" != no; then ! haveit= ! for x in $rpathdirs; do ! if test "X$x" = "X$dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! rpathdirs="$rpathdirs $dir" ! fi ! haveit= ! for x in $ltrpathdirs; do ! if test "X$x" = "X$dir"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! ltrpathdirs="$ltrpathdirs $dir" ! fi ! fi ! ;; ! -l*) ! names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ! ;; ! *.la) ! names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ! ;; ! *) ! LIBSASL2="${LIBSASL2}${LIBSASL2:+ }$dep" ! LTLIBSASL2="${LTLIBSASL2}${LTLIBSASL2:+ }$dep" ! ;; ! esac ! done ! fi ! else ! LIBSASL2="${LIBSASL2}${LIBSASL2:+ }-l$name" ! LTLIBSASL2="${LTLIBSASL2}${LTLIBSASL2:+ }-l$name" ! fi ! fi ! fi ! done ! done ! if test "X$rpathdirs" != "X"; then ! if test -n "$acl_hardcode_libdir_separator"; then ! alldirs= ! for found_dir in $rpathdirs; do ! alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" ! done ! acl_save_libdir="$libdir" ! libdir="$alldirs" ! eval flag=\"$acl_hardcode_libdir_flag_spec\" ! libdir="$acl_save_libdir" ! LIBSASL2="${LIBSASL2}${LIBSASL2:+ }$flag" ! else ! for found_dir in $rpathdirs; do ! acl_save_libdir="$libdir" ! libdir="$found_dir" ! eval flag=\"$acl_hardcode_libdir_flag_spec\" ! libdir="$acl_save_libdir" ! LIBSASL2="${LIBSASL2}${LIBSASL2:+ }$flag" ! done ! fi ! fi ! if test "X$ltrpathdirs" != "X"; then ! for found_dir in $ltrpathdirs; do ! LTLIBSASL2="${LTLIBSASL2}${LTLIBSASL2:+ }-R$found_dir" ! done ! fi ! ac_save_CPPFLAGS="$CPPFLAGS" ! for element in $INCSASL2; do ! haveit= ! for x in $CPPFLAGS; do ! ! acl_save_prefix="$prefix" ! prefix="$acl_final_prefix" ! acl_save_exec_prefix="$exec_prefix" ! exec_prefix="$acl_final_exec_prefix" ! eval x=\"$x\" ! exec_prefix="$acl_save_exec_prefix" ! prefix="$acl_save_prefix" ! ! if test "X$x" = "X$element"; then ! haveit=yes ! break ! fi ! done ! if test -z "$haveit"; then ! CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" ! fi ! done ! ! ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsasl2" >&5 ! $as_echo_n "checking for libsasl2... " >&6; } ! if test "${ac_cv_libsasl2+set}" = set; then : $as_echo_n "(cached) " >&6 else ! ac_save_LIBS="$LIBS" ! LIBS="$LIBS $LIBSASL2" ! cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! /* end confdefs.h. */ ! ! #include ! #include ! ! int ! main () ! { ! ! sasl_server_init(NULL, NULL); ! ! ; ! return 0; ! } ! _ACEOF ! if ac_fn_c_try_link "$LINENO"; then : ! ac_cv_libsasl2=yes else ! ac_cv_libsasl2=no fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$ac_save_LIBS" fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsasl2" >&5 + $as_echo "$ac_cv_libsasl2" >&6; } + if test "$ac_cv_libsasl2" = yes; then + HAVE_LIBSASL2=yes + $as_echo "#define HAVE_LIBSASL2 1" >>confdefs.h ! { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsasl2" >&5 ! $as_echo_n "checking how to link with libsasl2... " >&6; } ! { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSASL2" >&5 ! $as_echo "$LIBSASL2" >&6; } ! else ! HAVE_LIBSASL2=no ! CPPFLAGS="$ac_save_CPPFLAGS" ! LIBSASL2= ! LTLIBSASL2= ! LIBSASL2_PREFIX= ! fi + HAVE_LIBSASL="$HAVE_LIBSASL2" + LIBSASL="$LIBSASL2" + LIBSASL_PREFIX="$LIBSASL2_PREFIX" + LTLIBSASL="$LT_LIBSASL2" ! fi ! ! fi ! ! if test "x${ac_cv_libsasl}" = "xyes" -o "x${ac_cv_libsasl2}" = "xyes"; then : ! ac_cv_sasl=yes else ! ac_cv_sasl=no fi + if test "x${ac_cv_libsasl}" = "xyes"; then + HAVE_LIBSASL_TRUE= + HAVE_LIBSASL_FALSE='#' + else + HAVE_LIBSASL_TRUE='#' + HAVE_LIBSASL_FALSE= + fi ! if test "x${ac_cv_libsasl2}" = "xyes"; then ! HAVE_LIBSASL2_TRUE= ! HAVE_LIBSASL2_FALSE='#' ! else ! HAVE_LIBSASL2_TRUE='#' ! HAVE_LIBSASL2_FALSE= ! fi ! ! if test "x${ac_cv_sasl}" = "xyes"; then ! HAVE_SASL_TRUE= ! HAVE_SASL_FALSE='#' ! else ! HAVE_SASL_TRUE='#' ! HAVE_SASL_FALSE= fi + + if test "x$ac_cv_sasl" = "xyes"; then : + LIBMEMCACHED_WITH_SASL_SUPPORT="#define LIBMEMCACHED_WITH_SASL_SUPPORT 1" + fi + + ac_config_files="$ac_config_files Makefile clients/Makefile tests/Makefile docs/Makefile libmemcached/Makefile libmemcached/memcached_configure.h libmemcachedutil/Makefile support/Makefile support/libmemcached.pc support/libmemcached.spec support/libmemcached-fc.spec" cat >confcache <<\_ACEOF *************** *** 21924,21936 **** case $ac_val in #( *${as_nl}*) case $ac_var in #( ! *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ! *) $as_unset $ac_var ;; esac ;; esac done --- 20415,20427 ---- case $ac_val in #( *${as_nl}*) case $ac_var in #( ! *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ! *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done *************** *** 21938,21945 **** (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) ! # `set' does not quote correctly, so add quotes (double-quote ! # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" --- 20429,20436 ---- (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) ! # `set' does not quote correctly, so add quotes: double-quote ! # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" *************** *** 21962,21972 **** if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && ! { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else ! { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi --- 20453,20463 ---- if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && ! { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else ! { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi *************** *** 21986,21993 **** ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ! ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ! ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs --- 20477,20484 ---- ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ! as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ! as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs *************** *** 22003,22079 **** fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then ! { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. ! Usually this means the macro was only invoked conditionally." >&5 ! $as_echo "$as_me: error: conditional \"AMDEP\" was never defined. ! Usually this means the macro was only invoked conditionally." >&2;} ! { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then ! { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. ! Usually this means the macro was only invoked conditionally." >&5 ! $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. ! Usually this means the macro was only invoked conditionally." >&2;} ! { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then ! { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. ! Usually this means the macro was only invoked conditionally." >&5 ! $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. ! Usually this means the macro was only invoked conditionally." >&2;} ! { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then ! { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. ! Usually this means the macro was only invoked conditionally." >&5 ! $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. ! Usually this means the macro was only invoked conditionally." >&2;} ! { (exit 1); exit 1; }; } fi if test -z "${HAVE_DTRACE_TRUE}" && test -z "${HAVE_DTRACE_FALSE}"; then ! { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DTRACE\" was never defined. ! Usually this means the macro was only invoked conditionally." >&5 ! $as_echo "$as_me: error: conditional \"HAVE_DTRACE\" was never defined. ! Usually this means the macro was only invoked conditionally." >&2;} ! { (exit 1); exit 1; }; } fi if test -z "${DTRACE_NEEDS_OBJECTS_TRUE}" && test -z "${DTRACE_NEEDS_OBJECTS_FALSE}"; then ! { { $as_echo "$as_me:$LINENO: error: conditional \"DTRACE_NEEDS_OBJECTS\" was never defined. ! Usually this means the macro was only invoked conditionally." >&5 ! $as_echo "$as_me: error: conditional \"DTRACE_NEEDS_OBJECTS\" was never defined. ! Usually this means the macro was only invoked conditionally." >&2;} ! { (exit 1); exit 1; }; } fi if test -z "${BUILD_BYTEORDER_TRUE}" && test -z "${BUILD_BYTEORDER_FALSE}"; then ! { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_BYTEORDER\" was never defined. ! Usually this means the macro was only invoked conditionally." >&5 ! $as_echo "$as_me: error: conditional \"BUILD_BYTEORDER\" was never defined. ! Usually this means the macro was only invoked conditionally." >&2;} ! { (exit 1); exit 1; }; } fi if test -z "${BUILD_LIBMEMCACHEDUTIL_TRUE}" && test -z "${BUILD_LIBMEMCACHEDUTIL_FALSE}"; then ! { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LIBMEMCACHEDUTIL\" was never defined. ! Usually this means the macro was only invoked conditionally." >&5 ! $as_echo "$as_me: error: conditional \"BUILD_LIBMEMCACHEDUTIL\" was never defined. ! Usually this means the macro was only invoked conditionally." >&2;} ! { (exit 1); exit 1; }; } fi if test -z "${INCLUDE_HSIEH_SRC_TRUE}" && test -z "${INCLUDE_HSIEH_SRC_FALSE}"; then ! { { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_HSIEH_SRC\" was never defined. ! Usually this means the macro was only invoked conditionally." >&5 ! $as_echo "$as_me: error: conditional \"INCLUDE_HSIEH_SRC\" was never defined. ! Usually this means the macro was only invoked conditionally." >&2;} ! { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" ! { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} ! cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. --- 20494,20560 ---- fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then ! as_fn_error "conditional \"AMDEP\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then ! as_fn_error "conditional \"am__fastdepCC\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then ! as_fn_error "conditional \"am__fastdepCXX\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then ! as_fn_error "conditional \"am__fastdepCXX\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 ! fi ! if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then ! as_fn_error "conditional \"am__fastdepCXX\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_DTRACE_TRUE}" && test -z "${HAVE_DTRACE_FALSE}"; then ! as_fn_error "conditional \"HAVE_DTRACE\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${DTRACE_NEEDS_OBJECTS_TRUE}" && test -z "${DTRACE_NEEDS_OBJECTS_FALSE}"; then ! as_fn_error "conditional \"DTRACE_NEEDS_OBJECTS\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_BYTEORDER_TRUE}" && test -z "${BUILD_BYTEORDER_FALSE}"; then ! as_fn_error "conditional \"BUILD_BYTEORDER\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_LIBMEMCACHEDUTIL_TRUE}" && test -z "${BUILD_LIBMEMCACHEDUTIL_FALSE}"; then ! as_fn_error "conditional \"BUILD_LIBMEMCACHEDUTIL\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${INCLUDE_HSIEH_SRC_TRUE}" && test -z "${INCLUDE_HSIEH_SRC_FALSE}"; then ! as_fn_error "conditional \"INCLUDE_HSIEH_SRC\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 ! fi ! if test -z "${HAVE_LIBSASL_TRUE}" && test -z "${HAVE_LIBSASL_FALSE}"; then ! as_fn_error "conditional \"HAVE_LIBSASL\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 ! fi ! if test -z "${HAVE_LIBSASL2_TRUE}" && test -z "${HAVE_LIBSASL2_FALSE}"; then ! as_fn_error "conditional \"HAVE_LIBSASL2\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 ! fi ! if test -z "${HAVE_SASL_TRUE}" && test -z "${HAVE_SASL_FALSE}"; then ! as_fn_error "conditional \"HAVE_SASL\" was never defined. ! Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" ! { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} ! as_write_fail=0 ! cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. *************** *** 22083,22099 **** debug=false ac_cs_recheck=false ac_cs_silent=false - SHELL=\${CONFIG_SHELL-$SHELL} - _ACEOF ! cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! ## --------------------- ## ! ## M4sh Initialization. ## ! ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh ! if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which --- 20564,20581 ---- debug=false ac_cs_recheck=false ac_cs_silent=false ! SHELL=\${CONFIG_SHELL-$SHELL} ! export SHELL ! _ASEOF ! cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ! ## -------------------- ## ! ## M4sh Initialization. ## ! ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh ! if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which *************** *** 22101,22123 **** alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else ! case `(set -o) 2>/dev/null` in ! *posix*) set -o posix ;; esac - fi - - - # PATH needs CR - # Avoid depending upon Character Ranges. - as_cr_letters='abcdefghijklmnopqrstuvwxyz' - as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' - as_cr_Letters=$as_cr_letters$as_cr_LETTERS - as_cr_digits='0123456789' - as_cr_alnum=$as_cr_Letters$as_cr_digits - as_nl=' ' export as_nl --- 20583,20597 ---- alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else ! case `(set -o) 2>/dev/null` in #( ! *posix*) : ! set -o posix ;; #( ! *) : ! ;; esac fi as_nl=' ' export as_nl *************** *** 22125,22131 **** as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ! if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else --- 20599,20611 ---- as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ! # Prefer a ksh shell builtin over an external printf program on Solaris, ! # but without wasting forks for bash or zsh. ! if test -z "$BASH_VERSION$ZSH_VERSION" \ ! && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ! as_echo='print -r --' ! as_echo_n='print -rn --' ! elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else *************** *** 22136,22142 **** as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; ! case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; --- 20616,20622 ---- as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; ! case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; *************** *** 22159,22171 **** } fi - # Support unset when possible. - if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset - else - as_unset=false - fi - # IFS # We need space, tab and new line, in precisely that order. Quoting is --- 20639,20644 ---- *************** *** 22175,22189 **** IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. ! case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ! done IFS=$as_save_IFS ;; --- 20648,20662 ---- IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. ! case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. ! test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ! done IFS=$as_save_IFS ;; *************** *** 22195,22206 **** fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ! { (exit 1); exit 1; } fi ! # Work around bugs in pre-3.0 UWIN ksh. ! for as_var in ENV MAIL MAILPATH ! do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' --- 20668,20683 ---- fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ! exit 1 fi ! # Unset variables that we do not need and which cause bugs (e.g. in ! # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ! # suppresses any "Segmentation fault" message there. '((' could ! # trigger a bug in pdksh 5.2.14. ! for as_var in BASH_ENV ENV MAIL MAILPATH ! do eval test x\${$as_var+set} = xset \ ! && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' *************** *** 22212,22218 **** LANGUAGE=C export LANGUAGE ! # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr --- 20689,20777 ---- LANGUAGE=C export LANGUAGE ! # CDPATH. ! (unset CDPATH) >/dev/null 2>&1 && unset CDPATH ! ! ! # as_fn_error ERROR [LINENO LOG_FD] ! # --------------------------------- ! # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are ! # provided, also output the error to LOG_FD, referencing LINENO. Then exit the ! # script with status $?, using 1 if that was 0. ! as_fn_error () ! { ! as_status=$?; test $as_status -eq 0 && as_status=1 ! if test "$3"; then ! as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 ! fi ! $as_echo "$as_me: error: $1" >&2 ! as_fn_exit $as_status ! } # as_fn_error ! ! ! # as_fn_set_status STATUS ! # ----------------------- ! # Set $? to STATUS, without forking. ! as_fn_set_status () ! { ! return $1 ! } # as_fn_set_status ! ! # as_fn_exit STATUS ! # ----------------- ! # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ! as_fn_exit () ! { ! set +e ! as_fn_set_status $1 ! exit $1 ! } # as_fn_exit ! ! # as_fn_unset VAR ! # --------------- ! # Portably unset VAR. ! as_fn_unset () ! { ! { eval $1=; unset $1;} ! } ! as_unset=as_fn_unset ! # as_fn_append VAR VALUE ! # ---------------------- ! # Append the text in VALUE to the end of the definition contained in VAR. Take ! # advantage of any shell optimizations that allow amortized linear growth over ! # repeated appends, instead of the typical quadratic growth present in naive ! # implementations. ! if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ! eval 'as_fn_append () ! { ! eval $1+=\$2 ! }' ! else ! as_fn_append () ! { ! eval $1=\$$1\$2 ! } ! fi # as_fn_append ! ! # as_fn_arith ARG... ! # ------------------ ! # Perform arithmetic evaluation on the ARGs, and store the result in the ! # global $as_val. Take advantage of shells that can avoid forks. The arguments ! # must be portable across $(()) and expr. ! if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ! eval 'as_fn_arith () ! { ! as_val=$(( $* )) ! }' ! else ! as_fn_arith () ! { ! as_val=`expr "$@" || test $? -eq 1` ! } ! fi # as_fn_arith ! ! if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr *************** *** 22226,22233 **** as_basename=false fi - # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ --- 20785,20796 ---- as_basename=false fi + if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname + else + as_dirname=false + fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ *************** *** 22247,22322 **** } s/.*/./; q'` ! # CDPATH. ! $as_unset CDPATH ! ! ! ! as_lineno_1=$LINENO ! as_lineno_2=$LINENO ! test "x$as_lineno_1" != "x$as_lineno_2" && ! test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { ! ! # Create $as_me.lineno as a copy of $as_myself, but with $LINENO ! # uniformly replaced by the line number. The first 'sed' inserts a ! # line-number line after each line using $LINENO; the second 'sed' ! # does the real work. The second script uses 'N' to pair each ! # line-number line with the line containing $LINENO, and appends ! # trailing '-' during substitution so that $LINENO is not a special ! # case at line end. ! # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the ! # scripts with optimization help from Paolo Bonzini. Blame Lee ! # E. McMahon (1931-1989) for sed's syntax. :-) ! sed -n ' ! p ! /[$]LINENO/= ! ' <$as_myself | ! sed ' ! s/[$]LINENO.*/&-/ ! t lineno ! b ! :lineno ! N ! :loop ! s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ ! t loop ! s/-\n.*// ! ' >$as_me.lineno && ! chmod +x "$as_me.lineno" || ! { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 ! { (exit 1); exit 1; }; } ! ! # Don't try to exec as it changes $[0], causing all sort of problems ! # (the dirname of $[0] is not the place where we might find the ! # original and so on. Autoconf is especially sensitive to this). ! . "./$as_me.lineno" ! # Exit status is that of the last command. ! exit ! } ! ! ! if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ! as_dirname=dirname ! else ! as_dirname=false ! fi ECHO_C= ECHO_N= ECHO_T= ! case `echo -n x` in -n*) ! case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. ! *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac - if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr - else - as_expr=false - fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then --- 20810,20834 ---- } s/.*/./; q'` ! # Avoid depending upon Character Ranges. ! as_cr_letters='abcdefghijklmnopqrstuvwxyz' ! as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ! as_cr_Letters=$as_cr_letters$as_cr_LETTERS ! as_cr_digits='0123456789' ! as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= ! case `echo -n x` in #((((( -n*) ! case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. ! xy) ECHO_C='\c';; ! *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ! ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then *************** *** 22345,22352 **** rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then ! as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false --- 20857,20912 ---- rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null + + # as_fn_mkdir_p + # ------------- + # Create "$as_dir" as a directory, including parents if necessary. + as_fn_mkdir_p () + { + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || + $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || + $as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + + } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then ! as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false *************** *** 22365,22374 **** if test -d "$1"; then test -d "$1/."; else ! case $1 in -*)set "./$1";; esac; ! case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' --- 20925,20934 ---- if test -d "$1"; then test -d "$1/."; else ! case $1 in #( -*)set "./$1";; esac; ! case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' *************** *** 22383,22395 **** exec 6>&1 ! # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by libmemcached $as_me 0.32, which was ! generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS --- 20943,20961 ---- exec 6>&1 + ## ----------------------------------- ## + ## Main body of $CONFIG_STATUS script. ## + ## ----------------------------------- ## + _ASEOF + test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 ! cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by libmemcached $as_me 0.32, which was ! generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS *************** *** 22421,22430 **** cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ ! \`$as_me' instantiates files from templates according to the ! current configuration. ! Usage: $0 [OPTION]... [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --- 20987,20997 ---- cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ ! \`$as_me' instantiates files and other configuration actions ! from templates according to the current configuration. Unless the files ! and actions are specified as TAGs, all are instantiated by default. ! Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit *************** *** 22446,22461 **** Configuration commands: $config_commands ! Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ libmemcached config.status 0.32 ! configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" ! Copyright (C) 2008 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." --- 21013,21028 ---- Configuration commands: $config_commands ! Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ libmemcached config.status 0.32 ! configured by $0, generated by GNU Autoconf 2.64, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" ! Copyright (C) 2009 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." *************** *** 22498,22517 **** case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac ! CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac ! CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header ! { $as_echo "$as_me: error: ambiguous option: $1 ! Try \`$0 --help' for more information." >&2 ! { (exit 1); exit 1; }; };; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ --- 21065,21083 ---- case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac ! as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac ! as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header ! as_fn_error "ambiguous option: \`$1' ! Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ *************** *** 22519,22529 **** ac_cs_silent=: ;; # This is an error. ! -*) { $as_echo "$as_me: error: unrecognized option: $1 ! Try \`$0 --help' for more information." >&2 ! { (exit 1); exit 1; }; } ;; ! *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac --- 21085,21094 ---- ac_cs_silent=: ;; # This is an error. ! -*) as_fn_error "unrecognized option: \`$1' ! Try \`$0 --help' for more information." ;; ! *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac *************** *** 22940,22948 **** "support/libmemcached.spec") CONFIG_FILES="$CONFIG_FILES support/libmemcached.spec" ;; "support/libmemcached-fc.spec") CONFIG_FILES="$CONFIG_FILES support/libmemcached-fc.spec" ;; ! *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 ! $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} ! { (exit 1); exit 1; }; };; esac done --- 21505,21511 ---- "support/libmemcached.spec") CONFIG_FILES="$CONFIG_FILES support/libmemcached.spec" ;; "support/libmemcached-fc.spec") CONFIG_FILES="$CONFIG_FILES support/libmemcached-fc.spec" ;; ! *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done *************** *** 22969,22975 **** trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 ! trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. --- 21532,21538 ---- trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 ! trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. *************** *** 22980,22990 **** { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") ! } || ! { ! $as_echo "$as_me: cannot create a temporary directory in ." >&2 ! { (exit 1); exit 1; } ! } # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. --- 21543,21549 ---- { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") ! } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. *************** *** 22992,23001 **** if test -n "$CONFIG_FILES"; then ! ac_cr=' ' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ! ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi --- 21551,21566 ---- if test -n "$CONFIG_FILES"; then ! ac_cr=`echo X | tr X '\015'` ! # On cygwin, bash can eat \r inside `` if the user requested igncr. ! # But we know of no other shell where ac_cr would be empty at this ! # point, so we can use a bashism as a fallback. ! if test "x$ac_cr" = x; then ! eval ac_cr=\$\'\\r\' ! fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ! ac_cs_awk_cr='\r' else ac_cs_awk_cr=$ac_cr fi *************** *** 23009,23032 **** echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || ! { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 ! $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} ! { (exit 1); exit 1; }; } ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || ! { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 ! $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} ! { (exit 1); exit 1; }; } ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then ! { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 ! $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} ! { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi --- 21574,21591 ---- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || ! as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || ! as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then ! as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi *************** *** 23115,23123 **** else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ ! || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 ! $as_echo "$as_me: error: could not setup config files machinery" >&2;} ! { (exit 1); exit 1; }; } _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), --- 21674,21680 ---- else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ ! || as_fn_error "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), *************** *** 23158,23166 **** if test -z "$ac_t"; then break elif $ac_last_try; then ! { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 ! $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} ! { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi --- 21715,21721 ---- if test -z "$ac_t"; then break elif $ac_last_try; then ! as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi *************** *** 23245,23253 **** _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 ! $as_echo "$as_me: error: could not setup config headers machinery" >&2;} ! { (exit 1); exit 1; }; } fi # test -n "$CONFIG_HEADERS" --- 21800,21806 ---- _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! as_fn_error "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" *************** *** 23260,23268 **** esac case $ac_mode$ac_tag in :[FHL]*:*);; ! :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 ! $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} ! { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac --- 21813,21819 ---- esac case $ac_mode$ac_tag in :[FHL]*:*);; ! :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac *************** *** 23290,23301 **** [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || ! { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 ! $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} ! { (exit 1); exit 1; }; };; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ! ac_file_inputs="$ac_file_inputs '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't --- 21841,21850 ---- [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || ! as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ! as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't *************** *** 23306,23312 **** `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" ! { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. --- 21855,21861 ---- `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" ! { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. *************** *** 23319,23327 **** case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ ! || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 ! $as_echo "$as_me: error: could not create $ac_file" >&2;} ! { (exit 1); exit 1; }; } ;; esac ;; esac --- 21868,21874 ---- case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ ! || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac *************** *** 23349,23395 **** q } s/.*/./; q'` ! { as_dir="$ac_dir" ! case $as_dir in #( ! -*) as_dir=./$as_dir;; ! esac ! test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { ! as_dirs= ! while :; do ! case $as_dir in #( ! *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ! *) as_qdir=$as_dir;; ! esac ! as_dirs="'$as_qdir' $as_dirs" ! as_dir=`$as_dirname -- "$as_dir" || ! $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! X"$as_dir" : 'X\(//\)[^/]' \| \ ! X"$as_dir" : 'X\(//\)$' \| \ ! X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ! $as_echo X"$as_dir" | ! sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ! s//\1/ ! q ! } ! /^X\(\/\/\)[^/].*/{ ! s//\1/ ! q ! } ! /^X\(\/\/\)$/{ ! s//\1/ ! q ! } ! /^X\(\/\).*/{ ! s//\1/ ! q ! } ! s/.*/./; q'` ! test -d "$as_dir" && break ! done ! test -z "$as_dirs" || eval "mkdir $as_dirs" ! } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 ! $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} ! { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in --- 21896,21902 ---- q } s/.*/./; q'` ! as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in *************** *** 23446,23452 **** # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= - ac_sed_dataroot=' /datarootdir/ { p --- 21953,21958 ---- *************** *** 23456,23467 **** /@docdir@/p /@infodir@/p /@localedir@/p ! /@mandir@/p ! ' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) ! { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 --- 21962,21972 ---- /@docdir@/p /@infodir@/p /@localedir@/p ! /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 *************** *** 23471,23477 **** s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g ! s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF --- 21976,21982 ---- s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g ! s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF *************** *** 23500,23513 **** $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ ! || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 ! $as_echo "$as_me: error: could not create $ac_file" >&2;} ! { (exit 1); exit 1; }; } test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && ! { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} --- 22005,22016 ---- $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ ! || as_fn_error "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} *************** *** 23517,23525 **** -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ ! || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 ! $as_echo "$as_me: error: could not create $ac_file" >&2;} ! { (exit 1); exit 1; }; } ;; :H) # --- 22020,22026 ---- -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ ! || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; :H) # *************** *** 23530,23554 **** $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ ! || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 ! $as_echo "$as_me: error: could not create $ac_file" >&2;} ! { (exit 1); exit 1; }; } if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then ! { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$tmp/config.h" "$ac_file" \ ! || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 ! $as_echo "$as_me: error: could not create $ac_file" >&2;} ! { (exit 1); exit 1; }; } fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ ! || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 ! $as_echo "$as_me: error: could not create -" >&2;} ! { (exit 1); exit 1; }; } fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" --- 22031,22049 ---- $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ ! || as_fn_error "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$tmp/config.h" "$ac_file" \ ! || as_fn_error "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ ! || as_fn_error "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" *************** *** 23586,23592 **** s/.*/./; q'`/stamp-h$_am_stamp_count ;; ! :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac --- 22081,22087 ---- s/.*/./; q'`/stamp-h$_am_stamp_count ;; ! :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac *************** *** 23681,23727 **** q } s/.*/./; q'` ! { as_dir=$dirpart/$fdir ! case $as_dir in #( ! -*) as_dir=./$as_dir;; ! esac ! test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { ! as_dirs= ! while :; do ! case $as_dir in #( ! *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ! *) as_qdir=$as_dir;; ! esac ! as_dirs="'$as_qdir' $as_dirs" ! as_dir=`$as_dirname -- "$as_dir" || ! $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! X"$as_dir" : 'X\(//\)[^/]' \| \ ! X"$as_dir" : 'X\(//\)$' \| \ ! X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ! $as_echo X"$as_dir" | ! sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ! s//\1/ ! q ! } ! /^X\(\/\/\)[^/].*/{ ! s//\1/ ! q ! } ! /^X\(\/\/\)$/{ ! s//\1/ ! q ! } ! /^X\(\/\).*/{ ! s//\1/ ! q ! } ! s/.*/./; q'` ! test -d "$as_dir" && break ! done ! test -z "$as_dirs" || eval "mkdir $as_dirs" ! } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 ! $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} ! { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done --- 22176,22182 ---- q } s/.*/./; q'` ! as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done *************** *** 24535,24549 **** done # for ac_tag ! { (exit 0); exit 0; } _ACEOF - chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || ! { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 ! $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} ! { (exit 1); exit 1; }; } # configure is writing to config.log, and then calls config.status. --- 22990,23001 ---- done # for ac_tag ! as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || ! as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. *************** *** 24564,24573 **** exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. ! $ac_cs_success || { (exit 1); exit 1; } fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ! { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi --- 23016,23025 ---- exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. ! $ac_cs_success || as_fn_exit $? fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ! { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi *************** *** 24582,24587 **** --- 23034,23048 ---- echo " * Assertions enabled: $ac_cv_assert" echo " * Debug enabled: $with_debug" echo " * Warnings as failure: $ac_cv_warnings_as_errors" + if test "x${ac_cv_sasl}" = "xyes" ; then : + + echo " * With SASL support: $LIBSASL" + + else + + echo " * Without SASL support" + + fi echo "" echo "---" diff -rcN a/libmemcached-0.32/configure.ac b/libmemcached-0.32/configure.ac *** a/libmemcached-0.32/configure.ac 2009-09-15 15:49:23.000000000 -0700 --- b/libmemcached-0.32/configure.ac 2010-03-07 13:32:50.107416865 -0800 *************** *** 1,4 **** ! # libmemcached # Copyright (C) 2008 Brian Aker, Monty Taylor # All rights reserved. # --- 1,4 ---- ! # libmemcached # Copyright (C) 2008 Brian Aker, Monty Taylor # All rights reserved. # *************** *** 65,71 **** float f= floorf((float) 1.0); ]], [LIBM="-lm"],[LIBM=""])]) ! AC_SUBST(LIBM) LIBS="$save_LIBS" --- 65,71 ---- float f= floorf((float) 1.0); ]], [LIBM="-lm"],[LIBM=""])]) ! AC_SUBST(LIBM) LIBS="$save_LIBS" *************** *** 80,86 **** --- 80,91 ---- PROTOCOL_BINARY_TEST WITH_MEMCACHED ENABLE_DEPRECATED + PANDORA_HAVE_SASL + dnl The sasl functions should only be visible if we build with sasl support + AS_IF([test "x$ac_cv_sasl" = "xyes"], + [LIBMEMCACHED_WITH_SASL_SUPPORT="#define LIBMEMCACHED_WITH_SASL_SUPPORT 1"]) + AC_SUBST(LIBMEMCACHED_WITH_SASL_SUPPORT) AC_CONFIG_FILES([ Makefile *************** *** 107,112 **** --- 112,122 ---- echo " * Assertions enabled: $ac_cv_assert" echo " * Debug enabled: $with_debug" echo " * Warnings as failure: $ac_cv_warnings_as_errors" + AS_IF([ test "x${ac_cv_sasl}" = "xyes" ],[ + echo " * With SASL support: $LIBSASL" + ], [ + echo " * Without SASL support" + ]) echo "" echo "---" diff -rcN a/libmemcached-0.32/docs/Makefile.am b/libmemcached-0.32/docs/Makefile.am *** a/libmemcached-0.32/docs/Makefile.am 2009-07-08 12:09:50.000000000 -0700 --- b/libmemcached-0.32/docs/Makefile.am 2010-03-07 13:32:50.107416865 -0800 *************** *** 33,39 **** memcached_analyze.pod\ memcached_generate_hash_value.pod\ memcached_memory_allocators.pod\ ! memcached_user_data.pod man_MANS = libmemcached.3\ libmemcached_examples.3\ --- 33,40 ---- memcached_analyze.pod\ memcached_generate_hash_value.pod\ memcached_memory_allocators.pod\ ! memcached_user_data.pod\ ! memcached_sasl.pod man_MANS = libmemcached.3\ libmemcached_examples.3\ *************** *** 111,116 **** --- 112,123 ---- memcached_pool_pop.3 endif + if HAVE_SASL + man_MANS+= memcached_destroy_sasl_auth_data.3 \ + memcached_get_sasl_callbacks.3 \ + memcached_set_sasl_auth_data.3 \ + memcached_set_sasl_callbacks.3 + endif libmemcached.3: libmemcached.pod ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/libmemcached.pod > libmemcached.3 *************** *** 319,324 **** --- 326,343 ---- memcached_set_memory_allocators.3: memcached_memory_allocators.pod ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_memory_allocators.pod > memcached_set_memory_allocators.3 + memcached_destroy_sasl_auth_data.3: memcached_sasl.pod + ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_sasl.pod > memcached_destroy_sasl_auth_data.3 + + memcached_get_sasl_callbacks.3: memcached_sasl.pod + ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_sasl.pod > memcached_get_sasl_callbacks.3 + + memcached_set_sasl_auth_data.3: memcached_sasl.pod + ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_sasl.pod > memcached_set_sasl_auth_data.3 + + memcached_set_sasl_callbacks.3: memcached_sasl.pod + ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_sasl.pod > memcached_set_sasl_callbacks.3 + memcached_get_user_data.3: memcached_user_data.pod ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_user_data.pod > memcached_get_user_data.3 diff -rcN a/libmemcached-0.32/docs/Makefile.in b/libmemcached-0.32/docs/Makefile.in *** a/libmemcached-0.32/docs/Makefile.in 2009-09-15 15:50:01.000000000 -0700 --- b/libmemcached-0.32/docs/Makefile.in 2010-03-07 13:32:50.107416865 -0800 *************** *** 40,45 **** --- 40,50 ---- @BUILD_LIBMEMCACHEDUTIL_TRUE@ memcached_pool_push.3 \ @BUILD_LIBMEMCACHEDUTIL_TRUE@ memcached_pool_pop.3 + @HAVE_SASL_TRUE@am__append_2 = memcached_destroy_sasl_auth_data.3 \ + @HAVE_SASL_TRUE@ memcached_get_sasl_callbacks.3 \ + @HAVE_SASL_TRUE@ memcached_set_sasl_auth_data.3 \ + @HAVE_SASL_TRUE@ memcached_set_sasl_callbacks.3 + subdir = docs DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 *************** *** 60,65 **** --- 65,71 ---- $(top_srcdir)/m4/pandora_enable_dtrace.m4 \ $(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \ $(top_srcdir)/m4/pandora_have_better_malloc.m4 \ + $(top_srcdir)/m4/pandora_have_sasl.m4 \ $(top_srcdir)/m4/pandora_header_assert.m4 \ $(top_srcdir)/m4/pandora_libtool.m4 \ $(top_srcdir)/m4/pandora_optimize.m4 \ *************** *** 144,149 **** --- 150,157 ---- EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ + HAVE_LIBSASL = @HAVE_LIBSASL@ + HAVE_LIBSASL2 = @HAVE_LIBSASL2@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ *************** *** 157,168 **** --- 165,183 ---- LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@ LIBC_P = @LIBC_P@ LIBM = @LIBM@ + LIBMEMCACHED_WITH_SASL_SUPPORT = @LIBMEMCACHED_WITH_SASL_SUPPORT@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ + LIBSASL = @LIBSASL@ + LIBSASL2 = @LIBSASL2@ + LIBSASL2_PREFIX = @LIBSASL2_PREFIX@ + LIBSASL_PREFIX = @LIBSASL_PREFIX@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ + LTLIBSASL = @LTLIBSASL@ + LTLIBSASL2 = @LTLIBSASL2@ MAKEINFO = @MAKEINFO@ MEMCACHEDUTIL_LIBRARY_VERSION = @MEMCACHEDUTIL_LIBRARY_VERSION@ MEMCACHED_LIBRARY_VERSION = @MEMCACHED_LIBRARY_VERSION@ *************** *** 184,189 **** --- 199,205 ---- PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ + PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ *************** *** 289,295 **** memcached_analyze.pod\ memcached_generate_hash_value.pod\ memcached_memory_allocators.pod\ ! memcached_user_data.pod man_MANS = libmemcached.3 libmemcached_examples.3 memcat.1 memcp.1 \ memerror.1 memflush.1 memdump.1 memrm.1 memslap.1 memstat.1 \ --- 305,312 ---- memcached_analyze.pod\ memcached_generate_hash_value.pod\ memcached_memory_allocators.pod\ ! memcached_user_data.pod\ ! memcached_sasl.pod man_MANS = libmemcached.3 libmemcached_examples.3 memcat.1 memcp.1 \ memerror.1 memflush.1 memdump.1 memrm.1 memslap.1 memstat.1 \ *************** *** 319,325 **** memcached_generate_hash_value.3 \ memcached_set_memory_allocators.3 \ memcached_get_memory_allocators.3 memcached_set_user_data.3 \ ! memcached_get_user_data.3 $(am__append_1) all: all-am .SUFFIXES: --- 336,342 ---- memcached_generate_hash_value.3 \ memcached_set_memory_allocators.3 \ memcached_get_memory_allocators.3 memcached_set_user_data.3 \ ! memcached_get_user_data.3 $(am__append_1) $(am__append_2) all: all-am .SUFFIXES: *************** *** 809,814 **** --- 826,843 ---- memcached_set_memory_allocators.3: memcached_memory_allocators.pod ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_memory_allocators.pod > memcached_set_memory_allocators.3 + memcached_destroy_sasl_auth_data.3: memcached_sasl.pod + ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_sasl.pod > memcached_destroy_sasl_auth_data.3 + + memcached_get_sasl_callbacks.3: memcached_sasl.pod + ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_sasl.pod > memcached_get_sasl_callbacks.3 + + memcached_set_sasl_auth_data.3: memcached_sasl.pod + ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_sasl.pod > memcached_set_sasl_auth_data.3 + + memcached_set_sasl_callbacks.3: memcached_sasl.pod + ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_sasl.pod > memcached_set_sasl_callbacks.3 + memcached_get_user_data.3: memcached_user_data.pod ${POD2MAN} -c "libmemcached" -r "" -s 3 ${top_srcdir}/docs/memcached_user_data.pod > memcached_get_user_data.3 diff -rcN a/libmemcached-0.32/docs/memcached_sasl.pod b/libmemcached-0.32/docs/memcached_sasl.pod *** a/libmemcached-0.32/docs/memcached_sasl.pod 1969-12-31 16:00:00.000000000 -0800 --- b/libmemcached-0.32/docs/memcached_sasl.pod 2010-03-07 13:32:50.107416865 -0800 *************** *** 0 **** --- 1,63 ---- + =head1 NAME + + memcached_set_sasl_callbacks, memcached_get_sasl_callbackss, memcached_get_sasl_set_auth_data - SASL support + + =head1 LIBRARY + + C Client Library for memcached (libmemcached, -lmemcached) + + =head1 SYNOPSIS + + #include + + void memcached_set_sasl_callbacks(memcached_st *ptr, + const sasl_callback_t *callbacks) + + const sasl_callback_t *memcached_get_sasl_callbacks(memcached_st *ptr) + + memcached_return memcached_set_sasl_auth_data(memcached_st *ptr, + const char *username, + const char *password) + memcached_return memcached_destroy_sasl_auth_data(memcached_st *ptr) + + + =head1 DESCRIPTION + + libmemcached(3) allows you to plug in your own callbacks function used by + libsasl to perform SASL authentication. + + Please note that SASL requires the memcached binary protocol, and you have + to specify the callbacks before you connect to the server. + + memcached_set_sasl_auth_data() is a helper function for you defining + the basic functionality for you, but it will store the username and password + in memory. If you choose to use this method you have to call + memcached_destroy_sasl_auth_data before calling memcached_free to avoid + a memory leak. You should NOT call memcached_destroy_sasl_auth_data if you + specify your own callback function with memcached_set_sasl_callbacks(). + + You as a client user have to initialize libsasl by using sasl_client_init + before enabling it in libmemcached, and you have to shut down libsasl by + calling sasl_done() when you are done using SASL from libmemcached. + + + =head1 RETURN + + memcached_get_sasl_callbacks() returns the callbacks currently used + by this memcached handle. + memcached_get_sasl_set_auth_data() returns MEMCACHED_SUCCESS upon success. + + =head1 HOME + + To find out more information please check: + L + + =head1 AUTHOR + + Trond Norbye, Etrond.norbye@sun.comE + + =head1 SEE ALSO + + memcached(1) libmemcached(3) + + =cut diff -rcN a/libmemcached-0.32/libmemcached/Makefile.am b/libmemcached-0.32/libmemcached/Makefile.am *** a/libmemcached-0.32/libmemcached/Makefile.am 2009-08-11 15:44:24.000000000 -0700 --- b/libmemcached-0.32/libmemcached/Makefile.am 2010-03-07 13:32:50.107416865 -0800 *************** *** 16,21 **** --- 16,22 ---- memcached_constants.h \ memcached_get.h \ memcached_result.h \ + memcached_sasl.h \ memcached_server.h \ memcached_storage.h \ memcached_string.h \ *************** *** 81,86 **** --- 82,92 ---- libmemcached_la_LIBADD= $(LIBM) libmemcachedcallbacks.la libmemcached_la_LDFLAGS = -version-info $(MEMCACHED_LIBRARY_VERSION) $(LD_VERSION_SCRIPT) $(LIBM) + if HAVE_SASL + libmemcached_la_LDFLAGS+= $(LIBSASL) + libmemcached_la_SOURCES += memcached_sasl.c + endif + if HAVE_DTRACE BUILT_SOURCES+= dtrace_probes.h libmemcached_la_SOURCES += libmemcached_probes.d diff -rcN a/libmemcached-0.32/libmemcached/Makefile.in b/libmemcached-0.32/libmemcached/Makefile.in *** a/libmemcached-0.32/libmemcached/Makefile.in 2009-09-15 15:50:02.000000000 -0700 --- b/libmemcached-0.32/libmemcached/Makefile.in 2010-03-07 13:32:50.107416865 -0800 *************** *** 39,47 **** @BUILD_LIBMEMCACHEDUTIL_TRUE@am__append_1 = memcached_util.h memcached_pool.h @INCLUDE_HSIEH_SRC_TRUE@am__append_2 = hsieh_hash.c @BUILD_BYTEORDER_TRUE@am__append_3 = byteorder.c ! @HAVE_DTRACE_TRUE@am__append_4 = dtrace_probes.h ! @HAVE_DTRACE_TRUE@am__append_5 = libmemcached_probes.d ! @DTRACE_NEEDS_OBJECTS_TRUE@am__append_6 = libmemcached_probes.o subdir = libmemcached DIST_COMMON = $(am__pkginclude_HEADERS_DIST) $(noinst_HEADERS) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ --- 39,49 ---- @BUILD_LIBMEMCACHEDUTIL_TRUE@am__append_1 = memcached_util.h memcached_pool.h @INCLUDE_HSIEH_SRC_TRUE@am__append_2 = hsieh_hash.c @BUILD_BYTEORDER_TRUE@am__append_3 = byteorder.c ! @HAVE_SASL_TRUE@am__append_4 = $(LIBSASL) ! @HAVE_SASL_TRUE@am__append_5 = memcached_sasl.c ! @HAVE_DTRACE_TRUE@am__append_6 = dtrace_probes.h ! @HAVE_DTRACE_TRUE@am__append_7 = libmemcached_probes.d ! @DTRACE_NEEDS_OBJECTS_TRUE@am__append_8 = libmemcached_probes.o subdir = libmemcached DIST_COMMON = $(am__pkginclude_HEADERS_DIST) $(noinst_HEADERS) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ *************** *** 64,69 **** --- 66,72 ---- $(top_srcdir)/m4/pandora_enable_dtrace.m4 \ $(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \ $(top_srcdir)/m4/pandora_have_better_malloc.m4 \ + $(top_srcdir)/m4/pandora_have_sasl.m4 \ $(top_srcdir)/m4/pandora_header_assert.m4 \ $(top_srcdir)/m4/pandora_libtool.m4 \ $(top_srcdir)/m4/pandora_optimize.m4 \ *************** *** 115,124 **** memcached_storage.c memcached_string.c memcached_stats.c \ memcached_strerror.c memcached_verbosity.c memcached_version.c \ murmur_hash.c jenkins_hash.c memcached_allocators.c \ ! hsieh_hash.c byteorder.c libmemcached_probes.d @INCLUDE_HSIEH_SRC_TRUE@am__objects_1 = libmemcached_la-hsieh_hash.lo @BUILD_BYTEORDER_TRUE@am__objects_2 = libmemcached_la-byteorder.lo ! am__objects_3 = am_libmemcached_la_OBJECTS = libmemcached_la-crc.lo \ libmemcached_la-memcached.lo libmemcached_la-memcached_auto.lo \ libmemcached_la-memcached_analyze.lo \ --- 118,129 ---- memcached_storage.c memcached_string.c memcached_stats.c \ memcached_strerror.c memcached_verbosity.c memcached_version.c \ murmur_hash.c jenkins_hash.c memcached_allocators.c \ ! hsieh_hash.c byteorder.c memcached_sasl.c \ ! libmemcached_probes.d @INCLUDE_HSIEH_SRC_TRUE@am__objects_1 = libmemcached_la-hsieh_hash.lo @BUILD_BYTEORDER_TRUE@am__objects_2 = libmemcached_la-byteorder.lo ! @HAVE_SASL_TRUE@am__objects_3 = libmemcached_la-memcached_sasl.lo ! am__objects_4 = am_libmemcached_la_OBJECTS = libmemcached_la-crc.lo \ libmemcached_la-memcached.lo libmemcached_la-memcached_auto.lo \ libmemcached_la-memcached_analyze.lo \ *************** *** 149,155 **** libmemcached_la-memcached_version.lo \ libmemcached_la-murmur_hash.lo libmemcached_la-jenkins_hash.lo \ libmemcached_la-memcached_allocators.lo $(am__objects_1) \ ! $(am__objects_2) $(am__objects_3) libmemcached_la_OBJECTS = $(am_libmemcached_la_OBJECTS) libmemcached_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libmemcached_la_CFLAGS) \ --- 154,160 ---- libmemcached_la-memcached_version.lo \ libmemcached_la-murmur_hash.lo libmemcached_la-jenkins_hash.lo \ libmemcached_la-memcached_allocators.lo $(am__objects_1) \ ! $(am__objects_2) $(am__objects_3) $(am__objects_4) libmemcached_la_OBJECTS = $(am_libmemcached_la_OBJECTS) libmemcached_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libmemcached_la_CFLAGS) \ *************** *** 182,190 **** $(libmemcachedcallbacks_la_SOURCES) am__pkginclude_HEADERS_DIST = memcached.h memcached.hpp \ memcached_configure.h memcached_constants.h memcached_get.h \ ! memcached_result.h memcached_server.h memcached_storage.h \ ! memcached_string.h memcached_types.h memcached_watchpoint.h \ ! visibility.h memcached_util.h memcached_pool.h HEADERS = $(noinst_HEADERS) $(pkginclude_HEADERS) ETAGS = etags CTAGS = ctags --- 187,196 ---- $(libmemcachedcallbacks_la_SOURCES) am__pkginclude_HEADERS_DIST = memcached.h memcached.hpp \ memcached_configure.h memcached_constants.h memcached_get.h \ ! memcached_result.h memcached_sasl.h memcached_server.h \ ! memcached_storage.h memcached_string.h memcached_types.h \ ! memcached_watchpoint.h visibility.h memcached_util.h \ ! memcached_pool.h HEADERS = $(noinst_HEADERS) $(pkginclude_HEADERS) ETAGS = etags CTAGS = ctags *************** *** 228,233 **** --- 234,241 ---- EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ + HAVE_LIBSASL = @HAVE_LIBSASL@ + HAVE_LIBSASL2 = @HAVE_LIBSASL2@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ *************** *** 241,252 **** --- 249,267 ---- LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@ LIBC_P = @LIBC_P@ LIBM = @LIBM@ + LIBMEMCACHED_WITH_SASL_SUPPORT = @LIBMEMCACHED_WITH_SASL_SUPPORT@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ + LIBSASL = @LIBSASL@ + LIBSASL2 = @LIBSASL2@ + LIBSASL2_PREFIX = @LIBSASL2_PREFIX@ + LIBSASL_PREFIX = @LIBSASL_PREFIX@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ + LTLIBSASL = @LTLIBSASL@ + LTLIBSASL2 = @LTLIBSASL2@ MAKEINFO = @MAKEINFO@ MEMCACHEDUTIL_LIBRARY_VERSION = @MEMCACHEDUTIL_LIBRARY_VERSION@ MEMCACHED_LIBRARY_VERSION = @MEMCACHED_LIBRARY_VERSION@ *************** *** 268,273 **** --- 283,289 ---- PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ + PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ *************** *** 344,350 **** memcached_configure.h.in EXTRA_HEADERS = ! BUILT_SOURCES = $(am__append_4) noinst_HEADERS = libmemcached_probes.h \ memcached_io.h \ memcached_internal.h \ --- 360,366 ---- memcached_configure.h.in EXTRA_HEADERS = ! BUILT_SOURCES = $(am__append_6) noinst_HEADERS = libmemcached_probes.h \ memcached_io.h \ memcached_internal.h \ *************** *** 353,361 **** pkginclude_HEADERS = memcached.h memcached.hpp memcached_configure.h \ memcached_constants.h memcached_get.h memcached_result.h \ ! memcached_server.h memcached_storage.h memcached_string.h \ ! memcached_types.h memcached_watchpoint.h visibility.h \ ! $(am__append_1) lib_LTLIBRARIES = libmemcached.la noinst_LTLIBRARIES = libmemcachedcallbacks.la libmemcachedcallbacks_la_CFLAGS = ${AM_CFLAGS} ${NO_STRICT_ALIASING} --- 369,377 ---- pkginclude_HEADERS = memcached.h memcached.hpp memcached_configure.h \ memcached_constants.h memcached_get.h memcached_result.h \ ! memcached_sasl.h memcached_server.h memcached_storage.h \ ! memcached_string.h memcached_types.h memcached_watchpoint.h \ ! visibility.h $(am__append_1) lib_LTLIBRARIES = libmemcached.la noinst_LTLIBRARIES = libmemcachedcallbacks.la libmemcachedcallbacks_la_CFLAGS = ${AM_CFLAGS} ${NO_STRICT_ALIASING} *************** *** 372,382 **** memcached_storage.c memcached_string.c memcached_stats.c \ memcached_strerror.c memcached_verbosity.c memcached_version.c \ murmur_hash.c jenkins_hash.c memcached_allocators.c \ ! $(am__append_2) $(am__append_3) $(am__append_5) libmemcached_la_DEPENDENCIES = libmemcachedcallbacks.la \ ! $(am__append_6) libmemcached_la_LIBADD = $(LIBM) libmemcachedcallbacks.la ! libmemcached_la_LDFLAGS = -version-info $(MEMCACHED_LIBRARY_VERSION) $(LD_VERSION_SCRIPT) $(LIBM) SUFFIXES = .d all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am --- 388,400 ---- memcached_storage.c memcached_string.c memcached_stats.c \ memcached_strerror.c memcached_verbosity.c memcached_version.c \ murmur_hash.c jenkins_hash.c memcached_allocators.c \ ! $(am__append_2) $(am__append_3) $(am__append_5) \ ! $(am__append_7) libmemcached_la_DEPENDENCIES = libmemcachedcallbacks.la \ ! $(am__append_8) libmemcached_la_LIBADD = $(LIBM) libmemcachedcallbacks.la ! libmemcached_la_LDFLAGS = -version-info $(MEMCACHED_LIBRARY_VERSION) \ ! $(LD_VERSION_SCRIPT) $(LIBM) $(am__append_4) SUFFIXES = .d all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am *************** *** 493,498 **** --- 511,517 ---- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmemcached_la-memcached_quit.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmemcached_la-memcached_response.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmemcached_la-memcached_result.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmemcached_la-memcached_sasl.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmemcached_la-memcached_server.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmemcached_la-memcached_stats.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmemcached_la-memcached_storage.Plo@am__quote@ *************** *** 772,777 **** --- 791,803 ---- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmemcached_la_CFLAGS) $(CFLAGS) -c -o libmemcached_la-byteorder.lo `test -f 'byteorder.c' || echo '$(srcdir)/'`byteorder.c + libmemcached_la-memcached_sasl.lo: memcached_sasl.c + @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmemcached_la_CFLAGS) $(CFLAGS) -MT libmemcached_la-memcached_sasl.lo -MD -MP -MF $(DEPDIR)/libmemcached_la-memcached_sasl.Tpo -c -o libmemcached_la-memcached_sasl.lo `test -f 'memcached_sasl.c' || echo '$(srcdir)/'`memcached_sasl.c + @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libmemcached_la-memcached_sasl.Tpo $(DEPDIR)/libmemcached_la-memcached_sasl.Plo + @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='memcached_sasl.c' object='libmemcached_la-memcached_sasl.lo' libtool=yes @AMDEPBACKSLASH@ + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmemcached_la_CFLAGS) $(CFLAGS) -c -o libmemcached_la-memcached_sasl.lo `test -f 'memcached_sasl.c' || echo '$(srcdir)/'`memcached_sasl.c + libmemcachedcallbacks_la-memcached_callback.lo: memcached_callback.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmemcachedcallbacks_la_CFLAGS) $(CFLAGS) -MT libmemcachedcallbacks_la-memcached_callback.lo -MD -MP -MF $(DEPDIR)/libmemcachedcallbacks_la-memcached_callback.Tpo -c -o libmemcachedcallbacks_la-memcached_callback.lo `test -f 'memcached_callback.c' || echo '$(srcdir)/'`memcached_callback.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libmemcachedcallbacks_la-memcached_callback.Tpo $(DEPDIR)/libmemcachedcallbacks_la-memcached_callback.Plo diff -rcN a/libmemcached-0.32/libmemcached/memcached/protocol_binary.h b/libmemcached-0.32/libmemcached/memcached/protocol_binary.h *** a/libmemcached-0.32/libmemcached/memcached/protocol_binary.h 2009-07-08 12:09:21.000000000 -0700 --- b/libmemcached-0.32/libmemcached/memcached/protocol_binary.h 2010-03-07 13:32:50.111308143 -0800 *************** *** 68,73 **** --- 68,75 ---- PROTOCOL_BINARY_RESPONSE_E2BIG = 0x03, PROTOCOL_BINARY_RESPONSE_EINVAL = 0x04, PROTOCOL_BINARY_RESPONSE_NOT_STORED = 0x05, + PROTOCOL_BINARY_RESPONSE_AUTH_ERROR = 0x20, + PROTOCOL_BINARY_RESPONSE_AUTH_CONTINUE = 0x21, PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND = 0x81, PROTOCOL_BINARY_RESPONSE_ENOMEM = 0x82 } protocol_binary_response_status; *************** *** 103,109 **** PROTOCOL_BINARY_CMD_QUITQ = 0x17, PROTOCOL_BINARY_CMD_FLUSHQ = 0x18, PROTOCOL_BINARY_CMD_APPENDQ = 0x19, ! PROTOCOL_BINARY_CMD_PREPENDQ = 0x1a } protocol_binary_command; /** --- 105,114 ---- PROTOCOL_BINARY_CMD_QUITQ = 0x17, PROTOCOL_BINARY_CMD_FLUSHQ = 0x18, PROTOCOL_BINARY_CMD_APPENDQ = 0x19, ! PROTOCOL_BINARY_CMD_PREPENDQ = 0x1a, ! PROTOCOL_BINARY_CMD_SASL_LIST_MECHS = 0x20, ! PROTOCOL_BINARY_CMD_SASL_AUTH = 0x21, ! PROTOCOL_BINARY_CMD_SASL_STEP = 0x22, } protocol_binary_command; /** diff -rcN a/libmemcached-0.32/libmemcached/memcached_configure.h b/libmemcached-0.32/libmemcached/memcached_configure.h *** a/libmemcached-0.32/libmemcached/memcached_configure.h 2009-09-15 15:50:16.000000000 -0700 --- b/libmemcached-0.32/libmemcached/memcached_configure.h 1969-12-31 16:00:00.000000000 -0800 *************** *** 1,22 **** - /* - * Summary: Preprocessor symbols set from configure we need install-time - * - * Copy: See Copyright for the status of this software. - * - * Author: Trond Norbye - */ - - #ifndef MEMCACHED_CONFIGURE_H - #define MEMCACHED_CONFIGURE_H - - #ifdef __cplusplus - extern "C" { - #endif - - - - #ifdef __cplusplus - } - #endif - - #endif /* MEMCACHED_CONFIGURE_H */ --- 0 ---- diff -rcN a/libmemcached-0.32/libmemcached/memcached_configure.h.in b/libmemcached-0.32/libmemcached/memcached_configure.h.in *** a/libmemcached-0.32/libmemcached/memcached_configure.h.in 2009-06-14 15:08:14.000000000 -0700 --- b/libmemcached-0.32/libmemcached/memcached_configure.h.in 2010-03-07 13:32:50.111308143 -0800 *************** *** 14,19 **** --- 14,20 ---- #endif @DEPRECATED@ + @LIBMEMCACHED_WITH_SASL_SUPPORT@ #ifdef __cplusplus } diff -rcN a/libmemcached-0.32/libmemcached/memcached_connect.c b/libmemcached-0.32/libmemcached/memcached_connect.c *** a/libmemcached-0.32/libmemcached/memcached_connect.c 2010-03-07 13:35:17.463394017 -0800 --- b/libmemcached-0.32/libmemcached/memcached_connect.c 2010-03-07 13:32:50.111308143 -0800 *************** *** 266,271 **** --- 266,285 ---- } } + #ifdef LIBMEMCACHED_WITH_SASL_SUPPORT + if (ptr->fd != -1 && ptr->root->sasl_callbacks != NULL) + { + memcached_return rc= memcached_sasl_authenticate_connection(ptr); + if (rc != MEMCACHED_SUCCESS) + { + (void)close(ptr->fd); + ptr->fd= -1; + return rc; + } + } + #endif + + if (ptr->fd != -1) { /* restore flags */ diff -rcN a/libmemcached-0.32/libmemcached/memcached_constants.h b/libmemcached-0.32/libmemcached/memcached_constants.h *** a/libmemcached-0.32/libmemcached/memcached_constants.h 2009-08-11 15:44:24.000000000 -0700 --- b/libmemcached-0.32/libmemcached/memcached_constants.h 2010-03-07 13:32:50.111308143 -0800 *************** *** 17,23 **** #define MEMCACHED_MAX_HOST_SORT_LENGTH 86 /* Used for Ketama */ #define MEMCACHED_POINTS_PER_SERVER 100 #define MEMCACHED_POINTS_PER_SERVER_KETAMA 160 ! #define MEMCACHED_CONTINUUM_SIZE MEMCACHED_POINTS_PER_SERVER*100 /* This would then set max hosts to 100 */ #define MEMCACHED_STRIDE 4 #define MEMCACHED_DEFAULT_TIMEOUT 1000 #define MEMCACHED_CONTINUUM_ADDITION 10 /* How many extra slots we should build for in the continuum */ --- 17,23 ---- #define MEMCACHED_MAX_HOST_SORT_LENGTH 86 /* Used for Ketama */ #define MEMCACHED_POINTS_PER_SERVER 100 #define MEMCACHED_POINTS_PER_SERVER_KETAMA 160 ! #define MEMCACHED_CONTINUUM_SIZE MEMCACHED_POINTS_PER_SERVER*100 /* This would then set max hosts to 100 */ #define MEMCACHED_STRIDE 4 #define MEMCACHED_DEFAULT_TIMEOUT 1000 #define MEMCACHED_CONTINUUM_ADDITION 10 /* How many extra slots we should build for in the continuum */ *************** *** 62,67 **** --- 62,70 ---- MEMCACHED_INVALID_HOST_PROTOCOL, MEMCACHED_SERVER_MARKED_DEAD, MEMCACHED_UNKNOWN_STAT_KEY, + MEMCACHED_AUTH_PROBLEM, + MEMCACHED_AUTH_FAILURE, + MEMCACHED_AUTH_CONTINUE, MEMCACHED_MAXIMUM_RETURN /* Always add new error code before */ } memcached_return; diff -rcN a/libmemcached-0.32/libmemcached/memcached.h b/libmemcached-0.32/libmemcached/memcached.h *** a/libmemcached-0.32/libmemcached/memcached.h 2010-03-07 13:35:17.463394017 -0800 --- b/libmemcached-0.32/libmemcached/memcached.h 2010-03-07 13:33:58.751409456 -0800 *************** *** 7,14 **** * Author: Brian Aker */ ! #ifndef __MEMCACHED_H__ ! #define __MEMCACHED_H__ #include #include --- 7,14 ---- * Author: Brian Aker */ ! #ifndef LIBMEMCACHED_MEMCACHED_H ! #define LIBMEMCACHED_MEMCACHED_H #include #include *************** *** 27,32 **** --- 27,33 ---- #include #include #include + #include #ifdef __cplusplus extern "C" { *************** *** 115,120 **** --- 116,124 ---- uint32_t number_of_live_hosts; uint32_t *live_host_indices; uint32_t live_host_indices_size; + #ifdef LIBMEMCACHED_WITH_SASL_SUPPORT + const sasl_callback_t *sasl_callbacks; + #endif }; LIBMEMCACHED_API *************** *** 136,147 **** memcached_return memcached_delete(memcached_st *ptr, const char *key, size_t key_length, time_t expiration); LIBMEMCACHED_API ! memcached_return memcached_increment(memcached_st *ptr, const char *key, size_t key_length, uint32_t offset, uint64_t *value); LIBMEMCACHED_API ! memcached_return memcached_decrement(memcached_st *ptr, const char *key, size_t key_length, uint32_t offset, uint64_t *value); --- 140,151 ---- memcached_return memcached_delete(memcached_st *ptr, const char *key, size_t key_length, time_t expiration); LIBMEMCACHED_API ! memcached_return memcached_increment(memcached_st *ptr, const char *key, size_t key_length, uint32_t offset, uint64_t *value); LIBMEMCACHED_API ! memcached_return memcached_decrement(memcached_st *ptr, const char *key, size_t key_length, uint32_t offset, uint64_t *value); *************** *** 166,172 **** LIBMEMCACHED_API memcached_stat_st *memcached_stat(memcached_st *ptr, char *args, memcached_return *error); LIBMEMCACHED_API ! memcached_return memcached_stat_servername(memcached_stat_st *memc_stat, char *args, char *hostname, unsigned int port); LIBMEMCACHED_API memcached_return memcached_flush(memcached_st *ptr, time_t expiration); --- 170,176 ---- LIBMEMCACHED_API memcached_stat_st *memcached_stat(memcached_st *ptr, char *args, memcached_return *error); LIBMEMCACHED_API ! memcached_return memcached_stat_servername(memcached_stat_st *memc_stat, char *args, char *hostname, unsigned int port); LIBMEMCACHED_API memcached_return memcached_flush(memcached_st *ptr, time_t expiration); *************** *** 193,219 **** /* Server Public functions */ LIBMEMCACHED_API ! memcached_return memcached_server_add_udp(memcached_st *ptr, const char *hostname, unsigned int port); LIBMEMCACHED_API ! memcached_return memcached_server_add_unix_socket(memcached_st *ptr, const char *filename); LIBMEMCACHED_API ! memcached_return memcached_server_add(memcached_st *ptr, const char *hostname, unsigned int port); LIBMEMCACHED_API ! memcached_return memcached_server_add_udp_with_weight(memcached_st *ptr, const char *hostname, unsigned int port, uint32_t weight); LIBMEMCACHED_API ! memcached_return memcached_server_add_unix_socket_with_weight(memcached_st *ptr, const char *filename, uint32_t weight); LIBMEMCACHED_API ! memcached_return memcached_server_add_with_weight(memcached_st *ptr, const char *hostname, unsigned int port, uint32_t weight); LIBMEMCACHED_API --- 197,223 ---- /* Server Public functions */ LIBMEMCACHED_API ! memcached_return memcached_server_add_udp(memcached_st *ptr, const char *hostname, unsigned int port); LIBMEMCACHED_API ! memcached_return memcached_server_add_unix_socket(memcached_st *ptr, const char *filename); LIBMEMCACHED_API ! memcached_return memcached_server_add(memcached_st *ptr, const char *hostname, unsigned int port); LIBMEMCACHED_API ! memcached_return memcached_server_add_udp_with_weight(memcached_st *ptr, const char *hostname, unsigned int port, uint32_t weight); LIBMEMCACHED_API ! memcached_return memcached_server_add_unix_socket_with_weight(memcached_st *ptr, const char *filename, uint32_t weight); LIBMEMCACHED_API ! memcached_return memcached_server_add_with_weight(memcached_st *ptr, const char *hostname, unsigned int port, uint32_t weight); LIBMEMCACHED_API *************** *** 222,235 **** memcached_return memcached_server_push(memcached_st *ptr, memcached_server_st *list); LIBMEMCACHED_API ! memcached_server_st *memcached_server_list_append(memcached_server_st *ptr, ! const char *hostname, ! unsigned int port, memcached_return *error); LIBMEMCACHED_API ! memcached_server_st *memcached_server_list_append_with_weight(memcached_server_st *ptr, ! const char *hostname, ! unsigned int port, uint32_t weight, memcached_return *error); LIBMEMCACHED_API --- 226,239 ---- memcached_return memcached_server_push(memcached_st *ptr, memcached_server_st *list); LIBMEMCACHED_API ! memcached_server_st *memcached_server_list_append(memcached_server_st *ptr, ! const char *hostname, ! unsigned int port, memcached_return *error); LIBMEMCACHED_API ! memcached_server_st *memcached_server_list_append_with_weight(memcached_server_st *ptr, ! const char *hostname, ! unsigned int port, uint32_t weight, memcached_return *error); LIBMEMCACHED_API *************** *** 238,267 **** memcached_server_st *memcached_servers_parse(const char *server_strings); LIBMEMCACHED_API ! char *memcached_stat_get_value(memcached_st *ptr, memcached_stat_st *memc_stat, const char *key, memcached_return *error); LIBMEMCACHED_API ! char ** memcached_stat_get_keys(memcached_st *ptr, memcached_stat_st *memc_stat, memcached_return *error); LIBMEMCACHED_API ! memcached_return memcached_delete_by_key(memcached_st *ptr, const char *master_key, size_t master_key_length, const char *key, size_t key_length, time_t expiration); LIBMEMCACHED_API ! memcached_return memcached_fetch_execute(memcached_st *ptr, memcached_execute_function *callback, void *context, unsigned int number_of_callbacks); LIBMEMCACHED_API ! memcached_return memcached_callback_set(memcached_st *ptr, ! memcached_callback flag, void *data); LIBMEMCACHED_API ! void *memcached_callback_get(memcached_st *ptr, memcached_callback flag, memcached_return *error); --- 242,271 ---- memcached_server_st *memcached_servers_parse(const char *server_strings); LIBMEMCACHED_API ! char *memcached_stat_get_value(memcached_st *ptr, memcached_stat_st *memc_stat, const char *key, memcached_return *error); LIBMEMCACHED_API ! char ** memcached_stat_get_keys(memcached_st *ptr, memcached_stat_st *memc_stat, memcached_return *error); LIBMEMCACHED_API ! memcached_return memcached_delete_by_key(memcached_st *ptr, const char *master_key, size_t master_key_length, const char *key, size_t key_length, time_t expiration); LIBMEMCACHED_API ! memcached_return memcached_fetch_execute(memcached_st *ptr, memcached_execute_function *callback, void *context, unsigned int number_of_callbacks); LIBMEMCACHED_API ! memcached_return memcached_callback_set(memcached_st *ptr, ! memcached_callback flag, void *data); LIBMEMCACHED_API ! void *memcached_callback_get(memcached_st *ptr, memcached_callback flag, memcached_return *error); *************** *** 295,298 **** #endif ! #endif /* __MEMCACHED_H__ */ --- 299,302 ---- #endif ! #endif /* LIBMEMCACHED_MEMCACHED_H */ diff -rcN a/libmemcached-0.32/libmemcached/memcached_response.c b/libmemcached-0.32/libmemcached/memcached_response.c *** a/libmemcached-0.32/libmemcached/memcached_response.c 2010-03-07 13:35:17.459311933 -0800 --- b/libmemcached-0.32/libmemcached/memcached_response.c 2010-03-07 13:32:50.111308143 -0800 *************** *** 39,45 **** return rc; } ! memcached_return memcached_response(memcached_server_st *ptr, char *buffer, size_t buffer_length, memcached_result_st *result) { --- 39,45 ---- return rc; } ! memcached_return memcached_response(memcached_server_st *ptr, char *buffer, size_t buffer_length, memcached_result_st *result) { *************** *** 50,69 **** /* * The previous implementation purged all pending requests and just * returned the last one. Purge all pending messages to ensure backwards ! * compatibility. */ if ((ptr->root->flags & MEM_BINARY_PROTOCOL) == 0) while (memcached_server_response_count(ptr) > 1) { memcached_return rc= memcached_read_one_response(ptr, buffer, buffer_length, result); ! unlikely (rc != MEMCACHED_END && rc != MEMCACHED_STORED && rc != MEMCACHED_SUCCESS && ! rc != MEMCACHED_STAT && rc != MEMCACHED_DELETED && rc != MEMCACHED_NOTFOUND && ! rc != MEMCACHED_NOTSTORED && rc != MEMCACHED_DATA_EXISTS) return rc; } --- 50,69 ---- /* * The previous implementation purged all pending requests and just * returned the last one. Purge all pending messages to ensure backwards ! * compatibility. */ if ((ptr->root->flags & MEM_BINARY_PROTOCOL) == 0) while (memcached_server_response_count(ptr) > 1) { memcached_return rc= memcached_read_one_response(ptr, buffer, buffer_length, result); ! unlikely (rc != MEMCACHED_END && rc != MEMCACHED_STORED && rc != MEMCACHED_SUCCESS && ! rc != MEMCACHED_STAT && rc != MEMCACHED_DELETED && rc != MEMCACHED_NOTFOUND && ! rc != MEMCACHED_NOTSTORED && rc != MEMCACHED_DATA_EXISTS) return rc; } *************** *** 166,173 **** } value_ptr= memcached_string_value(&result->value); ! /* ! We read the \r\n into the string since not doing so is more cycles then the waster of memory to do so. We are null terminating through, which will most likely make --- 166,173 ---- } value_ptr= memcached_string_value(&result->value); ! /* ! We read the \r\n into the string since not doing so is more cycles then the waster of memory to do so. We are null terminating through, which will most likely make *************** *** 237,257 **** memcached_server_response_increment(ptr); return MEMCACHED_STAT; } ! else if (buffer[1] == 'E') /* SERVER_ERROR */ { char *rel_ptr; char *startptr= buffer + 13, *endptr= startptr; while (*endptr != '\r' && *endptr != '\n') endptr++; ! /* Yes, we could make this "efficent" but to do that we would need to maintain more state for the size of the buffer. Why waste memory in the struct, which is important, for something that rarely should happen? */ ! rel_ptr= (char *)ptr->root->call_realloc(ptr->root, ! ptr->cached_server_error, (size_t) (endptr - startptr + 1)); if (rel_ptr == NULL) --- 237,257 ---- memcached_server_response_increment(ptr); return MEMCACHED_STAT; } ! else if (buffer[1] == 'E') /* SERVER_ERROR */ { char *rel_ptr; char *startptr= buffer + 13, *endptr= startptr; while (*endptr != '\r' && *endptr != '\n') endptr++; ! /* Yes, we could make this "efficent" but to do that we would need to maintain more state for the size of the buffer. Why waste memory in the struct, which is important, for something that rarely should happen? */ ! rel_ptr= (char *)ptr->root->call_realloc(ptr->root, ! ptr->cached_server_error, (size_t) (endptr - startptr + 1)); if (rel_ptr == NULL) *************** *** 335,346 **** memcached_result_st *result) { protocol_binary_response_header header; ! ! unlikely (memcached_safe_read(ptr, &header.bytes, sizeof(header.bytes)) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; ! unlikely (header.response.magic != PROTOCOL_BINARY_RES) return MEMCACHED_PROTOCOL_ERROR; /* --- 335,346 ---- memcached_result_st *result) { protocol_binary_response_header header; ! ! unlikely (memcached_safe_read(ptr, &header.bytes, sizeof(header.bytes)) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; ! unlikely (header.response.magic != PROTOCOL_BINARY_RES) return MEMCACHED_PROTOCOL_ERROR; /* *************** *** 352,358 **** header.response.cas= ntohll(header.response.cas); uint32_t bodylen= header.response.bodylen; ! if (header.response.status == 0) { switch (header.response.opcode) { --- 352,359 ---- header.response.cas= ntohll(header.response.cas); uint32_t bodylen= header.response.bodylen; ! if (header.response.status == PROTOCOL_BINARY_RESPONSE_SUCCESS || ! header.response.status == PROTOCOL_BINARY_RESPONSE_AUTH_CONTINUE) { switch (header.response.opcode) { *************** *** 371,406 **** bodylen -= header.response.extlen; result->key_length= keylen; ! if (memcached_safe_read(ptr, result->key, keylen) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; bodylen -= keylen; if (memcached_string_check(&result->value, ! bodylen) != MEMCACHED_SUCCESS) return MEMCACHED_MEMORY_ALLOCATION_FAILURE; char *vptr= memcached_string_value(&result->value); ! if (memcached_safe_read(ptr, vptr, bodylen) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; ! memcached_string_set_length(&result->value, bodylen); ! } break; case PROTOCOL_BINARY_CMD_INCREMENT: case PROTOCOL_BINARY_CMD_DECREMENT: { ! if (bodylen != sizeof(uint64_t) || buffer_length != sizeof(uint64_t)) return MEMCACHED_PROTOCOL_ERROR; WATCHPOINT_ASSERT(bodylen == buffer_length); uint64_t val; ! if (memcached_safe_read(ptr, &val, sizeof(val)) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; val= ntohll(val); memcpy(buffer, &val, sizeof(val)); ! } break; case PROTOCOL_BINARY_CMD_VERSION: { memset(buffer, 0, buffer_length); --- 372,408 ---- bodylen -= header.response.extlen; result->key_length= keylen; ! if (memcached_safe_read(ptr, result->key, keylen) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; bodylen -= keylen; if (memcached_string_check(&result->value, ! bodylen) != MEMCACHED_SUCCESS) return MEMCACHED_MEMORY_ALLOCATION_FAILURE; char *vptr= memcached_string_value(&result->value); ! if (memcached_safe_read(ptr, vptr, bodylen) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; ! memcached_string_set_length(&result->value, bodylen); ! } break; case PROTOCOL_BINARY_CMD_INCREMENT: case PROTOCOL_BINARY_CMD_DECREMENT: { ! if (bodylen != sizeof(uint64_t) || buffer_length != sizeof(uint64_t)) return MEMCACHED_PROTOCOL_ERROR; WATCHPOINT_ASSERT(bodylen == buffer_length); uint64_t val; ! if (memcached_safe_read(ptr, &val, sizeof(val)) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; val= ntohll(val); memcpy(buffer, &val, sizeof(val)); ! } break; + case PROTOCOL_BINARY_CMD_SASL_LIST_MECHS: case PROTOCOL_BINARY_CMD_VERSION: { memset(buffer, 0, buffer_length); *************** *** 409,415 **** return MEMCACHED_UNKNOWN_READ_FAILURE; else if (memcached_safe_read(ptr, buffer, bodylen) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; ! } break; case PROTOCOL_BINARY_CMD_FLUSH: case PROTOCOL_BINARY_CMD_QUIT: --- 411,417 ---- return MEMCACHED_UNKNOWN_READ_FAILURE; else if (memcached_safe_read(ptr, buffer, bodylen) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; ! } break; case PROTOCOL_BINARY_CMD_FLUSH: case PROTOCOL_BINARY_CMD_QUIT: *************** *** 422,428 **** { WATCHPOINT_ASSERT(bodylen == 0); return MEMCACHED_SUCCESS; ! } case PROTOCOL_BINARY_CMD_NOOP: { WATCHPOINT_ASSERT(bodylen == 0); --- 424,430 ---- { WATCHPOINT_ASSERT(bodylen == 0); return MEMCACHED_SUCCESS; ! } case PROTOCOL_BINARY_CMD_NOOP: { WATCHPOINT_ASSERT(bodylen == 0); *************** *** 435,464 **** else if (bodylen + 1 > buffer_length) /* not enough space in buffer.. should not happen... */ return MEMCACHED_UNKNOWN_READ_FAILURE; ! else { ! size_t keylen= header.response.keylen; memset(buffer, 0, buffer_length); if (memcached_safe_read(ptr, buffer, keylen) != MEMCACHED_SUCCESS || ! memcached_safe_read(ptr, buffer + keylen + 1, bodylen - keylen) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; } ! } break; default: { /* Command not implemented yet! */ WATCHPOINT_ASSERT(0); return MEMCACHED_PROTOCOL_ERROR; ! } } ! } ! else if (header.response.bodylen) { /* What should I do with the error message??? just discard it for now */ char hole[SMALL_STRING_LEN]; ! while (bodylen > 0) { size_t nr= (bodylen > SMALL_STRING_LEN) ? SMALL_STRING_LEN : bodylen; if (memcached_safe_read(ptr, hole, nr) != MEMCACHED_SUCCESS) --- 437,485 ---- else if (bodylen + 1 > buffer_length) /* not enough space in buffer.. should not happen... */ return MEMCACHED_UNKNOWN_READ_FAILURE; ! else { ! size_t keylen= header.response.keylen; memset(buffer, 0, buffer_length); if (memcached_safe_read(ptr, buffer, keylen) != MEMCACHED_SUCCESS || ! memcached_safe_read(ptr, buffer + keylen + 1, bodylen - keylen) != MEMCACHED_SUCCESS) return MEMCACHED_UNKNOWN_READ_FAILURE; } ! } break; + + case PROTOCOL_BINARY_CMD_SASL_AUTH: + case PROTOCOL_BINARY_CMD_SASL_STEP: + { + memcached_result_reset(result); + result->cas= header.response.cas; + + if (memcached_string_check(&result->value, + bodylen) != MEMCACHED_SUCCESS) + return MEMCACHED_MEMORY_ALLOCATION_FAILURE; + + char *vptr= memcached_string_value(&result->value); + if (memcached_safe_read(ptr, vptr, bodylen) != MEMCACHED_SUCCESS) + return MEMCACHED_UNKNOWN_READ_FAILURE; + + memcached_string_set_length(&result->value, bodylen); + } + break; + default: { /* Command not implemented yet! */ WATCHPOINT_ASSERT(0); return MEMCACHED_PROTOCOL_ERROR; ! } } ! } ! else if (header.response.bodylen) { /* What should I do with the error message??? just discard it for now */ char hole[SMALL_STRING_LEN]; ! while (bodylen > 0) { size_t nr= (bodylen > SMALL_STRING_LEN) ? SMALL_STRING_LEN : bodylen; if (memcached_safe_read(ptr, hole, nr) != MEMCACHED_SUCCESS) *************** *** 484,491 **** } memcached_return rc= MEMCACHED_SUCCESS; ! unlikely(header.response.status != 0) ! switch (header.response.status) { case PROTOCOL_BINARY_RESPONSE_KEY_ENOENT: rc= MEMCACHED_NOTFOUND; --- 505,512 ---- } memcached_return rc= MEMCACHED_SUCCESS; ! unlikely(header.response.status != 0) ! switch (header.response.status) { case PROTOCOL_BINARY_RESPONSE_KEY_ENOENT: rc= MEMCACHED_NOTFOUND; *************** *** 493,498 **** --- 514,525 ---- case PROTOCOL_BINARY_RESPONSE_KEY_EEXISTS: rc= MEMCACHED_DATA_EXISTS; break; + case PROTOCOL_BINARY_RESPONSE_AUTH_CONTINUE: + rc= MEMCACHED_AUTH_CONTINUE; + break; + case PROTOCOL_BINARY_RESPONSE_AUTH_ERROR: + rc= MEMCACHED_AUTH_FAILURE; + break; case PROTOCOL_BINARY_RESPONSE_E2BIG: case PROTOCOL_BINARY_RESPONSE_EINVAL: case PROTOCOL_BINARY_RESPONSE_NOT_STORED: *************** *** 505,510 **** rc= MEMCACHED_PROTOCOL_ERROR; break; } ! return rc; } --- 532,537 ---- rc= MEMCACHED_PROTOCOL_ERROR; break; } ! return rc; } diff -rcN a/libmemcached-0.32/libmemcached/memcached_sasl.c b/libmemcached-0.32/libmemcached/memcached_sasl.c *** a/libmemcached-0.32/libmemcached/memcached_sasl.c 1969-12-31 16:00:00.000000000 -0800 --- b/libmemcached-0.32/libmemcached/memcached_sasl.c 2010-03-07 13:32:50.127315212 -0800 *************** *** 0 **** --- 1,225 ---- + #include "common.h" + + void memcached_set_sasl_callbacks(memcached_st *ptr, + const sasl_callback_t *callbacks) + { + ptr->sasl_callbacks= callbacks; + } + + const sasl_callback_t *memcached_get_sasl_callbacks(memcached_st *ptr) + { + return ptr->sasl_callbacks; + } + + /** + * Resolve the names for both ends of a connection + * @param fd socket to check + * @param laddr local address (out) + * @param raddr remote address (out) + * @return true on success false otherwise (errno contains more info) + */ + static bool resolve_names(int fd, char *laddr, char *raddr) + { + char host[NI_MAXHOST]; + char port[NI_MAXSERV]; + struct sockaddr_storage saddr; + socklen_t salen= sizeof(saddr); + + if ((getsockname(fd, (struct sockaddr *)&saddr, &salen) < 0) || + (getnameinfo((struct sockaddr *)&saddr, salen, host, sizeof(host), + port, sizeof(port), NI_NUMERICHOST | NI_NUMERICSERV) < 0)) + return false; + + (void)sprintf(laddr, "%s;%s", host, port); + salen= sizeof(saddr); + + if ((getpeername(fd, (struct sockaddr *)&saddr, &salen) < 0) || + (getnameinfo((struct sockaddr *)&saddr, salen, host, sizeof(host), + port, sizeof(port), NI_NUMERICHOST | NI_NUMERICSERV) < 0)) + return false; + + (void)sprintf(raddr, "%s;%s", host, port); + + return true; + } + + memcached_return memcached_sasl_authenticate_connection(memcached_server_st *server) + { + memcached_return rc; + + /* SANITY CHECK: SASL can only be used with the binary protocol */ + unlikely ((server->root->flags & MEM_BINARY_PROTOCOL) == 0) + return MEMCACHED_FAILURE; + + /* Try to get the supported mech from the server. Servers without SASL + * support will return UNKNOWN COMMAND, so we can just treat that + * as authenticated + */ + protocol_binary_request_no_extras request= { + .message.header.request= { + .magic= PROTOCOL_BINARY_REQ, + .opcode= PROTOCOL_BINARY_CMD_SASL_LIST_MECHS + } + }; + + if (memcached_io_write(server, request.bytes, + sizeof(request.bytes), 1) != sizeof(request.bytes)) + return MEMCACHED_WRITE_FAILURE; + + memcached_server_response_increment(server); + + char mech[MEMCACHED_MAX_BUFFER]; + rc= memcached_response(server, mech, sizeof(mech), NULL); + if (rc != MEMCACHED_SUCCESS) + { + if (rc == MEMCACHED_PROTOCOL_ERROR) + rc= MEMCACHED_SUCCESS; + + return rc; + } + + /* set ip addresses */ + char laddr[NI_MAXHOST + NI_MAXSERV]; + char raddr[NI_MAXHOST + NI_MAXSERV]; + + unlikely (!resolve_names(server->fd, laddr, raddr)) + { + server->cached_errno= errno; + return MEMCACHED_ERRNO; + } + + sasl_conn_t *conn; + int ret= sasl_client_new("memcached", server->hostname, laddr, raddr, + server->root->sasl_callbacks, 0, &conn); + if (ret != SASL_OK) + return MEMCACHED_AUTH_PROBLEM; + + const char *data; + const char *chosenmech; + unsigned int len; + ret= sasl_client_start(conn, mech, NULL, &data, &len, &chosenmech); + + if (ret != SASL_OK && ret != SASL_CONTINUE) + { + rc= MEMCACHED_AUTH_PROBLEM; + goto end; + } + + uint16_t keylen= (uint16_t)strlen(chosenmech); + request.message.header.request.opcode= PROTOCOL_BINARY_CMD_SASL_AUTH; + request.message.header.request.keylen= htons(keylen); + request.message.header.request.bodylen= htonl(len + keylen); + + do { + /* send the packet */ + if (memcached_io_write(server, request.bytes, + sizeof(request.bytes), 0) != sizeof(request.bytes) || + memcached_io_write(server, chosenmech, keylen, 0) != keylen || + memcached_io_write(server, data, len, 1) != (int)len) + { + rc= MEMCACHED_WRITE_FAILURE; + goto end; + } + memcached_server_response_increment(server); + + /* read the response */ + rc= memcached_response(server, NULL, 0, NULL); + if (rc != MEMCACHED_AUTH_CONTINUE) + goto end; + + ret= sasl_client_step(conn, memcached_result_value(&server->root->result), + (unsigned int)memcached_result_length(&server->root->result), + NULL, &data, &len); + + if (ret != SASL_OK && ret != SASL_CONTINUE) + { + rc= MEMCACHED_AUTH_PROBLEM; + goto end; + } + + request.message.header.request.opcode= PROTOCOL_BINARY_CMD_SASL_STEP; + request.message.header.request.bodylen= htonl(len + keylen); + } while (true); + + end: + /* Release resources */ + sasl_dispose(&conn); + + return rc; + } + + static int get_username(void *context, int id, const char **result, + unsigned int *len) + { + if (!context || !result || (id != SASL_CB_USER && id != SASL_CB_AUTHNAME)) + return SASL_BADPARAM; + + *result= context; + if (len) + *len= (unsigned int)strlen(*result); + + return SASL_OK; + } + + static int get_password(sasl_conn_t *conn, void *context, int id, + sasl_secret_t **psecret) + { + if (!conn || ! psecret || id != SASL_CB_PASS) + return SASL_BADPARAM; + + *psecret= context; + + return SASL_OK; + } + + memcached_return memcached_set_sasl_auth_data(memcached_st *ptr, + const char *username, + const char *password) + { + if (ptr == NULL || username == NULL || + password == NULL || ptr->sasl_callbacks != NULL) + return MEMCACHED_FAILURE; + + sasl_callback_t *cb= ptr->call_calloc(ptr, 4, sizeof(sasl_callback_t)); + char *name= ptr->call_malloc(ptr, strlen(username) + 1); + sasl_secret_t *secret= ptr->call_malloc(ptr, strlen(password) + 1 + sizeof(*secret)) + ; + if (cb == NULL || name == NULL || secret == NULL) + { + ptr->call_free(ptr, cb); + ptr->call_free(ptr, name); + ptr->call_free(ptr, secret); + return MEMCACHED_MEMORY_ALLOCATION_FAILURE; + } + + secret->len= strlen(password); + strcpy((void*)secret->data, password); + + cb[0].id= SASL_CB_USER; + cb[0].proc= get_username; + cb[0].context= strcpy(name, username); + cb[1].id= SASL_CB_AUTHNAME; + cb[1].proc= get_username; + cb[1].context= name; + cb[2].id= SASL_CB_PASS; + cb[2].proc= get_password; + cb[2].context= secret; + cb[3].id= SASL_CB_LIST_END; + + memcached_set_sasl_callbacks(ptr, cb); + + return MEMCACHED_SUCCESS; + } + + memcached_return memcached_destroy_sasl_auth_data(memcached_st *ptr) + { + if (ptr == NULL || ptr->sasl_callbacks == NULL) + return MEMCACHED_FAILURE; + + ptr->call_free(ptr, ptr->sasl_callbacks[0].context); + ptr->call_free(ptr, ptr->sasl_callbacks[2].context); + ptr->call_free(ptr, (void*)ptr->sasl_callbacks); + ptr->sasl_callbacks= NULL; + + return MEMCACHED_SUCCESS; + } diff -rcN a/libmemcached-0.32/libmemcached/memcached_sasl.h b/libmemcached-0.32/libmemcached/memcached_sasl.h *** a/libmemcached-0.32/libmemcached/memcached_sasl.h 1969-12-31 16:00:00.000000000 -0800 --- b/libmemcached-0.32/libmemcached/memcached_sasl.h 2010-03-07 13:32:50.127315212 -0800 *************** *** 0 **** --- 1,44 ---- + /* + * Summary: SASL support for memcached + * + * Copy: See Copyright for the status of this software. + * + * Author: Trond Norbye + */ + + #ifndef LIBMEMCACHED_MEMCACHED_SASL_H + #define LIBMEMCACHED_MEMCACHED_SASL_H + + #ifdef LIBMEMCACHED_WITH_SASL_SUPPORT + #include + + #ifdef __cplusplus + extern "C" { + #endif + + LIBMEMCACHED_API + void memcached_set_sasl_callbacks(memcached_st *ptr, + const sasl_callback_t *callbacks); + + LIBMEMCACHED_API + memcached_return memcached_set_sasl_auth_data(memcached_st *ptr, + const char *username, + const char *password); + + LIBMEMCACHED_API + memcached_return memcached_destroy_sasl_auth_data(memcached_st *ptr); + + + LIBMEMCACHED_API + const sasl_callback_t *memcached_get_sasl_callbacks(memcached_st *ptr); + + LIBMEMCACHED_LOCAL + memcached_return memcached_sasl_authenticate_connection(memcached_server_st *server); + + #ifdef __cplusplus + } + #endif + + #endif /* LIBMEMCACHED_WITH_SASL_SUPPORT */ + + #endif /* LIBMEMCACHED_MEMCACHED_SASL_H */ diff -rcN a/libmemcached-0.32/libmemcached/memcached_strerror.c b/libmemcached-0.32/libmemcached/memcached_strerror.c *** a/libmemcached-0.32/libmemcached/memcached_strerror.c 2009-07-15 03:34:17.000000000 -0700 --- b/libmemcached-0.32/libmemcached/memcached_strerror.c 2010-03-07 13:32:50.127315212 -0800 *************** *** 78,83 **** --- 78,89 ---- return "SERVER IS MARKED DEAD"; case MEMCACHED_UNKNOWN_STAT_KEY: return "ENCOUNTERED AN UNKNOWN STAT KEY"; + case MEMCACHED_AUTH_PROBLEM: + return "FAILED TO SEND AUTHENTICATION TO SERVER"; + case MEMCACHED_AUTH_FAILURE: + return "AUTHENTICATION FAILURE"; + case MEMCACHED_AUTH_CONTINUE: + return "CONTINUE AUTHENTICATION"; case MEMCACHED_MAXIMUM_RETURN: return "Gibberish returned!"; default: diff -rcN a/libmemcached-0.32/libmemcachedutil/Makefile.in b/libmemcached-0.32/libmemcachedutil/Makefile.in *** a/libmemcached-0.32/libmemcachedutil/Makefile.in 2009-09-15 15:50:02.000000000 -0700 --- b/libmemcached-0.32/libmemcachedutil/Makefile.in 2010-03-07 13:32:50.127315212 -0800 *************** *** 56,61 **** --- 56,62 ---- $(top_srcdir)/m4/pandora_enable_dtrace.m4 \ $(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \ $(top_srcdir)/m4/pandora_have_better_malloc.m4 \ + $(top_srcdir)/m4/pandora_have_sasl.m4 \ $(top_srcdir)/m4/pandora_header_assert.m4 \ $(top_srcdir)/m4/pandora_libtool.m4 \ $(top_srcdir)/m4/pandora_optimize.m4 \ *************** *** 161,166 **** --- 162,169 ---- EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ + HAVE_LIBSASL = @HAVE_LIBSASL@ + HAVE_LIBSASL2 = @HAVE_LIBSASL2@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ *************** *** 174,185 **** --- 177,195 ---- LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@ LIBC_P = @LIBC_P@ LIBM = @LIBM@ + LIBMEMCACHED_WITH_SASL_SUPPORT = @LIBMEMCACHED_WITH_SASL_SUPPORT@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ + LIBSASL = @LIBSASL@ + LIBSASL2 = @LIBSASL2@ + LIBSASL2_PREFIX = @LIBSASL2_PREFIX@ + LIBSASL_PREFIX = @LIBSASL_PREFIX@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ + LTLIBSASL = @LTLIBSASL@ + LTLIBSASL2 = @LTLIBSASL2@ MAKEINFO = @MAKEINFO@ MEMCACHEDUTIL_LIBRARY_VERSION = @MEMCACHEDUTIL_LIBRARY_VERSION@ MEMCACHED_LIBRARY_VERSION = @MEMCACHED_LIBRARY_VERSION@ *************** *** 201,206 **** --- 211,217 ---- PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ + PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ diff -rcN a/libmemcached-0.32/m4/pandora_have_sasl.m4 b/libmemcached-0.32/m4/pandora_have_sasl.m4 *** a/libmemcached-0.32/m4/pandora_have_sasl.m4 1969-12-31 16:00:00.000000000 -0800 --- b/libmemcached-0.32/m4/pandora_have_sasl.m4 2010-03-07 13:32:50.127315212 -0800 *************** *** 0 **** --- 1,133 ---- + dnl Copyright (C) 2009 Sun Microsystems + dnl This file is free software; Sun Microsystems + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([_PANDORA_SEARCH_SASL],[ + AC_REQUIRE([AC_LIB_PREFIX]) + + dnl -------------------------------------------------------------------- + dnl Check for sasl + dnl -------------------------------------------------------------------- + AC_ARG_ENABLE([sasl], + [AS_HELP_STRING([--disable-sasl], + [Build with sasl support @<:@default=on@:>@])], + [ac_enable_sasl="$enableval"], + [ac_enable_sasl="yes"]) + + AS_IF([test "x$ac_enable_sasl" = "xyes"], + [ + AC_LIB_HAVE_LINKFLAGS(sasl,,[ + #include + #include + ],[ + sasl_server_init(NULL, NULL); + ]) + + AS_IF([test "x${ac_cv_libsasl}" != "xyes" ], + [ + AC_LIB_HAVE_LINKFLAGS(sasl2,,[ + #include + #include + ],[ + sasl_server_init(NULL, NULL); + ]) + HAVE_LIBSASL="$HAVE_LIBSASL2" + LIBSASL="$LIBSASL2" + LIBSASL_PREFIX="$LIBSASL2_PREFIX" + LTLIBSASL="$LT_LIBSASL2" + ]) + ]) + + AS_IF([test "x${ac_cv_libsasl}" = "xyes" -o "x${ac_cv_libsasl2}" = "xyes"], + [ac_cv_sasl=yes], + [ac_cv_sasl=no]) + + AM_CONDITIONAL(HAVE_LIBSASL, [test "x${ac_cv_libsasl}" = "xyes"]) + AM_CONDITIONAL(HAVE_LIBSASL2, [test "x${ac_cv_libsasl2}" = "xyes"]) + AM_CONDITIONAL(HAVE_SASL, [test "x${ac_cv_sasl}" = "xyes"]) + ]) + + AC_DEFUN([PANDORA_HAVE_SASL],[ + AC_REQUIRE([_PANDORA_SEARCH_SASL]) + ]) + + AC_DEFUN([PANDORA_REQUIRE_SASL],[ + AC_REQUIRE([_PANDORA_SEARCH_SASL]) + AS_IF([test "x${ac_cv_sasl}" = "xno"], + AC_MSG_ERROR([SASL (libsasl or libsasl2) is required for ${PACKAGE}])) + ]) + + AC_DEFUN([_PANDORA_SEARCH_LIBSASL],[ + AC_REQUIRE([AC_LIB_PREFIX]) + + dnl -------------------------------------------------------------------- + dnl Check for libsasl + dnl -------------------------------------------------------------------- + + AC_ARG_ENABLE([libsasl], + [AS_HELP_STRING([--disable-libsasl], + [Build with libsasl support @<:@default=on@:>@])], + [ac_enable_libsasl="$enableval"], + [ac_enable_libsasl="yes"]) + + AS_IF([test "x$ac_enable_libsasl" = "xyes"],[ + AC_LIB_HAVE_LINKFLAGS(sasl,,[ + #include + #include + ],[ + sasl_server_init(NULL, NULL); + ]) + ],[ + ac_cv_libsasl="no" + ]) + + AM_CONDITIONAL(HAVE_LIBSASL, [test "x${ac_cv_libsasl}" = "xyes"]) + ]) + + AC_DEFUN([PANDORA_HAVE_LIBSASL],[ + AC_REQUIRE([_PANDORA_SEARCH_LIBSASL]) + ]) + + AC_DEFUN([PANDORA_REQUIRE_LIBSASL],[ + AC_REQUIRE([_PANDORA_SEARCH_LIBSASL]) + AS_IF([test "x${ac_cv_libsasl}" = "xno"], + AC_MSG_ERROR([libsasl is required for ${PACKAGE}])) + ]) + + AC_DEFUN([_PANDORA_SEARCH_LIBSASL2],[ + AC_REQUIRE([AC_LIB_PREFIX]) + + dnl -------------------------------------------------------------------- + dnl Check for libsasl2 + dnl -------------------------------------------------------------------- + + AC_ARG_ENABLE([libsasl2], + [AS_HELP_STRING([--disable-libsasl2], + [Build with libsasl2 support @<:@default=on@:>@])], + [ac_enable_libsasl2="$enableval"], + [ac_enable_libsasl2="yes"]) + + AS_IF([test "x$ac_enable_libsasl2" = "xyes"],[ + AC_LIB_HAVE_LINKFLAGS(sasl2,,[ + #include + #include + ],[ + sasl2_server_init(NULL, NULL); + ]) + ],[ + ac_cv_libsasl2="no" + ]) + + AM_CONDITIONAL(HAVE_LIBSASL2, [test "x${ac_cv_libsasl2}" = "xyes"]) + ]) + + AC_DEFUN([PANDORA_HAVE_LIBSASL2],[ + AC_REQUIRE([_PANDORA_SEARCH_LIBSASL2]) + ]) + + AC_DEFUN([PANDORA_REQUIRE_LIBSASL2],[ + AC_REQUIRE([_PANDORA_SEARCH_LIBSASL2]) + AS_IF([test "x${ac_cv_libsasl2}" = "xno"], + AC_MSG_ERROR([libsasl2 is required for ${PACKAGE}])) + ]) diff -rcN a/libmemcached-0.32/Makefile.in b/libmemcached-0.32/Makefile.in *** a/libmemcached-0.32/Makefile.in 2009-09-15 15:50:02.000000000 -0700 --- b/libmemcached-0.32/Makefile.in 2010-03-07 13:32:50.127315212 -0800 *************** *** 39,46 **** $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ THANKS TODO config/compile config/config.guess \ ! config/config.sub config/depcomp config/install-sh \ ! config/ltmain.sh config/missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_cxx_compile_stdcxx_0x.m4 \ $(top_srcdir)/m4/ac_cxx_header_stdcxx_98.m4 \ --- 39,46 ---- $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ THANKS TODO config/compile config/config.guess \ ! config/config.rpath config/config.sub config/depcomp \ ! config/install-sh config/ltmain.sh config/missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_cxx_compile_stdcxx_0x.m4 \ $(top_srcdir)/m4/ac_cxx_header_stdcxx_98.m4 \ *************** *** 59,64 **** --- 59,65 ---- $(top_srcdir)/m4/pandora_enable_dtrace.m4 \ $(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \ $(top_srcdir)/m4/pandora_have_better_malloc.m4 \ + $(top_srcdir)/m4/pandora_have_sasl.m4 \ $(top_srcdir)/m4/pandora_header_assert.m4 \ $(top_srcdir)/m4/pandora_libtool.m4 \ $(top_srcdir)/m4/pandora_optimize.m4 \ *************** *** 169,174 **** --- 170,177 ---- EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ + HAVE_LIBSASL = @HAVE_LIBSASL@ + HAVE_LIBSASL2 = @HAVE_LIBSASL2@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ *************** *** 182,193 **** --- 185,203 ---- LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@ LIBC_P = @LIBC_P@ LIBM = @LIBM@ + LIBMEMCACHED_WITH_SASL_SUPPORT = @LIBMEMCACHED_WITH_SASL_SUPPORT@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ + LIBSASL = @LIBSASL@ + LIBSASL2 = @LIBSASL2@ + LIBSASL2_PREFIX = @LIBSASL2_PREFIX@ + LIBSASL_PREFIX = @LIBSASL_PREFIX@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ + LTLIBSASL = @LTLIBSASL@ + LTLIBSASL2 = @LTLIBSASL2@ MAKEINFO = @MAKEINFO@ MEMCACHEDUTIL_LIBRARY_VERSION = @MEMCACHEDUTIL_LIBRARY_VERSION@ MEMCACHED_LIBRARY_VERSION = @MEMCACHED_LIBRARY_VERSION@ *************** *** 209,214 **** --- 219,225 ---- PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ + PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ diff -rcN a/libmemcached-0.32/support/Makefile.in b/libmemcached-0.32/support/Makefile.in *** a/libmemcached-0.32/support/Makefile.in 2009-09-15 15:50:02.000000000 -0700 --- b/libmemcached-0.32/support/Makefile.in 2010-03-07 13:32:50.127315212 -0800 *************** *** 57,62 **** --- 57,63 ---- $(top_srcdir)/m4/pandora_enable_dtrace.m4 \ $(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \ $(top_srcdir)/m4/pandora_have_better_malloc.m4 \ + $(top_srcdir)/m4/pandora_have_sasl.m4 \ $(top_srcdir)/m4/pandora_header_assert.m4 \ $(top_srcdir)/m4/pandora_libtool.m4 \ $(top_srcdir)/m4/pandora_optimize.m4 \ *************** *** 139,144 **** --- 140,147 ---- EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ + HAVE_LIBSASL = @HAVE_LIBSASL@ + HAVE_LIBSASL2 = @HAVE_LIBSASL2@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ *************** *** 152,163 **** --- 155,173 ---- LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@ LIBC_P = @LIBC_P@ LIBM = @LIBM@ + LIBMEMCACHED_WITH_SASL_SUPPORT = @LIBMEMCACHED_WITH_SASL_SUPPORT@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ + LIBSASL = @LIBSASL@ + LIBSASL2 = @LIBSASL2@ + LIBSASL2_PREFIX = @LIBSASL2_PREFIX@ + LIBSASL_PREFIX = @LIBSASL_PREFIX@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ + LTLIBSASL = @LTLIBSASL@ + LTLIBSASL2 = @LTLIBSASL2@ MAKEINFO = @MAKEINFO@ MEMCACHEDUTIL_LIBRARY_VERSION = @MEMCACHEDUTIL_LIBRARY_VERSION@ MEMCACHED_LIBRARY_VERSION = @MEMCACHED_LIBRARY_VERSION@ *************** *** 179,184 **** --- 189,195 ---- PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ + PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ diff -rcN a/libmemcached-0.32/tests/function.c b/libmemcached-0.32/tests/function.c *** a/libmemcached-0.32/tests/function.c 2009-09-15 12:07:03.000000000 -0700 --- b/libmemcached-0.32/tests/function.c 2010-03-07 13:32:50.127315212 -0800 *************** *** 291,299 **** 334139633U, 2257084983U, 3088286104U, 13199785U, 2542027183U, 1097051614U, 199566778U, 2748246961U, 2465192557U, 1664094137U, 2405439045U, 1842224848U, 692413798U, 3479807801U, 919913813U, 4269430871U, 610793021U, 527273862U, 1437122909U, 2300930706U, 2943759320U, 674306647U, 2400528935U, 54481931U, 4186304426U, 1741088401U, 2979625118U, ! 4159057246U }; ! assert(MEMCACHED_MAXIMUM_RETURN == 37); // You have updated the memcache_error messages but not updated docs/tests. for (rc= MEMCACHED_SUCCESS; rc < MEMCACHED_MAXIMUM_RETURN; rc++) { uint32_t hash_val; --- 291,299 ---- 334139633U, 2257084983U, 3088286104U, 13199785U, 2542027183U, 1097051614U, 199566778U, 2748246961U, 2465192557U, 1664094137U, 2405439045U, 1842224848U, 692413798U, 3479807801U, 919913813U, 4269430871U, 610793021U, 527273862U, 1437122909U, 2300930706U, 2943759320U, 674306647U, 2400528935U, 54481931U, 4186304426U, 1741088401U, 2979625118U, ! 4159057246U, 1769812374U, 2302537950U, 1110330676U }; ! assert(MEMCACHED_MAXIMUM_RETURN == 40); // You have updated the memcache_error messages but not updated docs/tests. for (rc= MEMCACHED_SUCCESS; rc < MEMCACHED_MAXIMUM_RETURN; rc++) { uint32_t hash_val; *************** *** 4428,4434 **** {"set", 0, set_test }, {"set2", 0, set_test2 }, {"set3", 0, set_test3 }, ! {"dump", 1, dump_test}, {"add", 1, add_test }, {"replace", 1, replace_test }, {"delete", 1, delete_test }, --- 4428,4434 ---- {"set", 0, set_test }, {"set2", 0, set_test2 }, {"set3", 0, set_test3 }, ! /* {"dump", 1, dump_test},*/ {"add", 1, add_test }, {"replace", 1, replace_test }, {"delete", 1, delete_test }, diff -rcN a/libmemcached-0.32/tests/Makefile.in b/libmemcached-0.32/tests/Makefile.in *** a/libmemcached-0.32/tests/Makefile.in 2009-09-15 15:50:02.000000000 -0700 --- b/libmemcached-0.32/tests/Makefile.in 2010-03-07 13:32:50.147319439 -0800 *************** *** 61,66 **** --- 61,67 ---- $(top_srcdir)/m4/pandora_enable_dtrace.m4 \ $(top_srcdir)/m4/pandora_ensure_gcc_version.m4 \ $(top_srcdir)/m4/pandora_have_better_malloc.m4 \ + $(top_srcdir)/m4/pandora_have_sasl.m4 \ $(top_srcdir)/m4/pandora_header_assert.m4 \ $(top_srcdir)/m4/pandora_libtool.m4 \ $(top_srcdir)/m4/pandora_optimize.m4 \ *************** *** 176,181 **** --- 177,184 ---- EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ + HAVE_LIBSASL = @HAVE_LIBSASL@ + HAVE_LIBSASL2 = @HAVE_LIBSASL2@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ *************** *** 189,200 **** --- 192,210 ---- LD_VERSION_SCRIPT = @LD_VERSION_SCRIPT@ LIBC_P = @LIBC_P@ LIBM = @LIBM@ + LIBMEMCACHED_WITH_SASL_SUPPORT = @LIBMEMCACHED_WITH_SASL_SUPPORT@ LIBOBJS = @LIBOBJS@ LIBS = + LIBSASL = @LIBSASL@ + LIBSASL2 = @LIBSASL2@ + LIBSASL2_PREFIX = @LIBSASL2_PREFIX@ + LIBSASL_PREFIX = @LIBSASL_PREFIX@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ + LTLIBSASL = @LTLIBSASL@ + LTLIBSASL2 = @LTLIBSASL2@ MAKEINFO = @MAKEINFO@ MEMCACHEDUTIL_LIBRARY_VERSION = @MEMCACHEDUTIL_LIBRARY_VERSION@ MEMCACHED_LIBRARY_VERSION = @MEMCACHED_LIBRARY_VERSION@ *************** *** 216,221 **** --- 226,232 ---- PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ + PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PERL = @PERL@ diff -rcN a/libmemcached-0.32/tests/output.cmp b/libmemcached-0.32/tests/output.cmp *** a/libmemcached-0.32/tests/output.cmp 1969-12-31 16:00:00.000000000 -0800 --- b/libmemcached-0.32/tests/output.cmp 2010-03-07 13:32:50.147319439 -0800 *************** *** 0 **** --- 1,7 ---- + servers localhost:11221,localhost:11222,localhost:11223,localhost:11224,localhost:11225, + localhost : 11221 + localhost : 11222 + localhost : 11223 + localhost : 11224 + localhost : 11225 +