configure   configure 
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.66 for libqb 0.4.1. # Generated by GNU Autoconf 2.68 for libqb 0.8.1.
# #
# Report bugs to <quarterback-devel@fedorahosted.org>. # Report bugs to <quarterback-devel@fedorahosted.org>.
# #
# #
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
# Foundation, Inc. # Foundation, Inc.
# #
# #
# This configure script is free software; the Free Software Foundation # This configure script is free software; the Free Software Foundation
skipping to change at line 92 skipping to change at line 92
fi fi
# IFS # IFS
# We need space, tab and new line, in precisely that order. Quoting is # We need space, tab and new line, in precisely that order. Quoting is
# there to prevent editors from complaining about space-tab. # there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word # (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.) # splitting by setting IFS to empty value.)
IFS=" "" $as_nl" IFS=" "" $as_nl"
# Find who we are. Look in the path if we contain no directory separator. # Find who we are. Look in the path if we contain no directory separator.
as_myself=
case $0 in #(( case $0 in #((
*[\\/]* ) as_myself=$0 ;; *[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done done
IFS=$as_save_IFS IFS=$as_save_IFS
skipping to change at line 224 skipping to change at line 225
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && $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 : { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$ SHELL"; } 2>/dev/null; then :
CONFIG_SHELL=$SHELL as_have_required=yes CONFIG_SHELL=$SHELL as_have_required=yes
fi; } fi; }
IFS=$as_save_IFS IFS=$as_save_IFS
if test "x$CONFIG_SHELL" != x; then : if test "x$CONFIG_SHELL" != x; then :
# We cannot yet assume a decent shell, so we have to provide a # We cannot yet assume a decent shell, so we have to provide a
# neutralization value for shells without unset; and this also # neutralization value for shells without unset; and this also
# works around shells that cannot unset nonexistent variables. # works around shells that cannot unset nonexistent variables.
# Preserve -v and -x to the replacement shell.
BASH_ENV=/dev/null BASH_ENV=/dev/null
ENV=/dev/null ENV=/dev/null
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
export CONFIG_SHELL export CONFIG_SHELL
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} case $- in # ((((
*v*x* | *x*v* ) as_opts=-vx ;;
*v* ) as_opts=-v ;;
*x* ) as_opts=-x ;;
* ) as_opts= ;;
esac
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
fi fi
if test x$as_have_required = xno; then : if test x$as_have_required = xno; then :
$as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: This script requires a shell more modern than all"
$as_echo "$0: the shells that I found on your system." $as_echo "$0: the shells that I found on your system."
if test x${ZSH_VERSION+set} = xset ; then if test x${ZSH_VERSION+set} = xset ; then
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
$as_echo "$0: be upgraded to zsh 4.3.4 or later." $as_echo "$0: be upgraded to zsh 4.3.4 or later."
else else
$as_echo "$0: Please tell bug-autoconf@gnu.org and $as_echo "$0: Please tell bug-autoconf@gnu.org and
skipping to change at line 558 skipping to change at line 566
ac_config_libobj_dir=. ac_config_libobj_dir=.
LIBOBJS= LIBOBJS=
cross_compiling=no cross_compiling=no
subdirs= subdirs=
MFLAGS= MFLAGS=
MAKEFLAGS= MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='libqb' PACKAGE_NAME='libqb'
PACKAGE_TARNAME='libqb' PACKAGE_TARNAME='libqb'
PACKAGE_VERSION='0.4.1' PACKAGE_VERSION='0.8.1'
PACKAGE_STRING='libqb 0.4.1' PACKAGE_STRING='libqb 0.8.1'
PACKAGE_BUGREPORT='quarterback-devel@fedorahosted.org' PACKAGE_BUGREPORT='quarterback-devel@fedorahosted.org'
PACKAGE_URL='' PACKAGE_URL=''
ac_unique_file="lib/ringbuffer.c" ac_unique_file="lib/ringbuffer.c"
# Factoring default headers for most tests. # Factoring default headers for most tests.
ac_includes_default="\ ac_includes_default="\
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_SYS_TYPES_H #ifdef HAVE_SYS_TYPES_H
# include <sys/types.h> # include <sys/types.h>
#endif #endif
skipping to change at line 606 skipping to change at line 614
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif" #endif"
ac_header_list= ac_header_list=
ac_subst_vars='am__EXEEXT_FALSE ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE am__EXEEXT_TRUE
LTLIBOBJS LTLIBOBJS
LINT_FLAGS LINT_FLAGS
SOCKETDIR SOCKETDIR
HAVE_DICT_WORDS_FALSE
HAVE_DICT_WORDS_TRUE
USE_TIMERFD_FALSE USE_TIMERFD_FALSE
USE_TIMERFD_TRUE USE_TIMERFD_TRUE
HAVE_POSIX_MQ_FALSE
HAVE_POSIX_MQ_TRUE
HAVE_SYSV_MQ_FALSE
HAVE_SYSV_MQ_TRUE
HAVE_SLOW_TESTS_FALSE
HAVE_SLOW_TESTS_TRUE
LIB_RT
CP CP
HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_FALSE HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_FALSE
HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_TRUE HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_TRUE
LIBOBJS LIBOBJS
HAVE_GLIB_FALSE HAVE_GLIB_FALSE
HAVE_GLIB_TRUE HAVE_GLIB_TRUE
GLIB_LIBS GLIB_LIBS
GLIB_CFLAGS GLIB_CFLAGS
HAVE_CHECK_FALSE HAVE_CHECK_FALSE
HAVE_CHECK_TRUE HAVE_CHECK_TRUE
skipping to change at line 643 skipping to change at line 660
CXXDEPMODE CXXDEPMODE
ac_ct_CXX ac_ct_CXX
CXXFLAGS CXXFLAGS
CXX CXX
CPP CPP
OTOOL64 OTOOL64
OTOOL OTOOL
LIPO LIPO
NMEDIT NMEDIT
DSYMUTIL DSYMUTIL
MANIFEST_TOOL
RANLIB RANLIB
ac_ct_AR
AR AR
DLLTOOL
OBJDUMP OBJDUMP
LN_S LN_S
NM NM
ac_ct_DUMPBIN ac_ct_DUMPBIN
DUMPBIN DUMPBIN
LD LD
FGREP FGREP
EGREP EGREP
GREP GREP
SED SED
skipping to change at line 680 skipping to change at line 700
CC CC
host_os host_os
host_vendor host_vendor
host_cpu host_cpu
host host
build_os build_os
build_vendor build_vendor
build_cpu build_cpu
build build
LIBTOOL LIBTOOL
AM_BACKSLASH
AM_DEFAULT_VERBOSITY
am__untar am__untar
am__tar am__tar
AMTAR AMTAR
am__leading_dot am__leading_dot
SET_MAKE SET_MAKE
AWK AWK
mkdir_p mkdir_p
MKDIR_P MKDIR_P
INSTALL_STRIP_PROGRAM INSTALL_STRIP_PROGRAM
STRIP STRIP
skipping to change at line 744 skipping to change at line 766
PACKAGE_BUGREPORT PACKAGE_BUGREPORT
PACKAGE_STRING PACKAGE_STRING
PACKAGE_VERSION PACKAGE_VERSION
PACKAGE_TARNAME PACKAGE_TARNAME
PACKAGE_NAME PACKAGE_NAME
PATH_SEPARATOR PATH_SEPARATOR
SHELL' SHELL'
ac_subst_files='' ac_subst_files=''
ac_user_opts=' ac_user_opts='
enable_option_checking enable_option_checking
enable_silent_rules
enable_shared enable_shared
enable_static enable_static
with_pic with_pic
enable_fast_install enable_fast_install
enable_dependency_tracking enable_dependency_tracking
with_gnu_ld with_gnu_ld
with_sysroot
enable_libtool_lock enable_libtool_lock
enable_ansi enable_ansi
enable_fatal_warnings enable_fatal_warnings
enable_debug enable_debug
enable_coverage enable_coverage
enable_slow_tests
with_socket_dir with_socket_dir
' '
ac_precious_vars='build_alias ac_precious_vars='build_alias
host_alias host_alias
target_alias target_alias
CC CC
CFLAGS CFLAGS
LDFLAGS LDFLAGS
LIBS LIBS
CPPFLAGS CPPFLAGS
skipping to change at line 838 skipping to change at line 863
for ac_option for ac_option
do do
# If the previous option needs an argument, assign it. # If the previous option needs an argument, assign it.
if test -n "$ac_prev"; then if test -n "$ac_prev"; then
eval $ac_prev=\$ac_option eval $ac_prev=\$ac_option
ac_prev= ac_prev=
continue continue
fi fi
case $ac_option in case $ac_option in
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
*) ac_optarg=yes ;; *=) ac_optarg= ;;
*) ac_optarg=yes ;;
esac esac
# Accept the important Cygnus configure options, so we can diagnose typos . # Accept the important Cygnus configure options, so we can diagnose typos .
case $ac_dashdash$ac_option in case $ac_dashdash$ac_option in
--) --)
ac_dashdash=yes ;; ac_dashdash=yes ;;
-bindir | --bindir | --bindi | --bind | --bin | --bi) -bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;; ac_prev=bindir ;;
skipping to change at line 1179 skipping to change at line 1205
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
esac esac
eval $ac_envvar=\$ac_optarg eval $ac_envvar=\$ac_optarg
export $ac_envvar ;; export $ac_envvar ;;
*) *)
# FIXME: should be removed in autoconf 3.0. # FIXME: should be removed in autoconf 3.0.
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >& 2 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >& 2
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac _option} : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$a c_option}"
;; ;;
esac esac
done done
if test -n "$ac_prev"; then if test -n "$ac_prev"; then
ac_option=--`echo $ac_prev | sed 's/_/-/g'` ac_option=--`echo $ac_prev | sed 's/_/-/g'`
as_fn_error $? "missing argument to $ac_option" as_fn_error $? "missing argument to $ac_option"
fi fi
skipping to change at line 1315 skipping to change at line 1341
eval ac_cv_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_value=\$${ac_var}
done done
# #
# Report the --help message. # Report the --help message.
# #
if test "$ac_init_help" = "long"; then if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures libqb 0.4.1 to adapt to many kinds of systems. \`configure' configures libqb 0.8.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables. VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets. Defaults for the options are specified in brackets.
Configuration: Configuration:
-h, --help display this help and exit -h, --help display this help and exit
skipping to change at line 1385 skipping to change at line 1411
--program-transform-name=PROGRAM run sed PROGRAM on installed program n ames --program-transform-name=PROGRAM run sed PROGRAM on installed program n ames
System types: System types:
--build=BUILD configure for building on BUILD [guessed] --build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD] --host=HOST cross-compile to build programs to run on HOST [BUILD]
_ACEOF _ACEOF
fi fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of libqb 0.4.1:";; short | recursive ) echo "Configuration of libqb 0.8.1:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
Optional Features: Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options --disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE= no) --disable-FEATURE do not include FEATURE (same as --enable-FEATURE= no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-silent-rules less verbose build output (undo: `make V=1
')
--disable-silent-rules verbose build output (undo: `make V=0')
--enable-shared[=PKGS] build shared libraries [default=yes] --enable-shared[=PKGS] build shared libraries [default=yes]
--enable-static[=PKGS] build static libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes]
--enable-fast-install[=PKGS] --enable-fast-install[=PKGS]
optimize for fast installation [default=yes] optimize for fast installation [default=yes]
--disable-dependency-tracking speeds up one-time build --disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors --enable-dependency-tracking do not reject slow dependency extractors
--disable-libtool-lock avoid locking (might break parallel builds) --disable-libtool-lock avoid locking (might break parallel builds)
--enable-ansi : force to build with ANSI standards. --enable-ansi : force to build with ANSI standards.
--enable-fatal-warnings : enable fatal warnings. --enable-fatal-warnings : enable fatal warnings.
--enable-debug : enable debug build. --enable-debug : enable debug build.
--enable-coverage : coverage analysis of the codebase. --enable-coverage : coverage analysis of the codebase.
--enable-slow-tests : build and run slow tests.
Optional Packages: Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-pic try to use only PIC/non-PIC objects [default=use --with-pic try to use only PIC/non-PIC objects [default=use
both] both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-sysroot=DIR Search for dependent libraries within DIR
(or the compiler's sysroot if not specified).
--with-socket-dir=DIR : socket dir. --with-socket-dir=DIR : socket dir.
Some influential environment variables: Some influential environment variables:
CC C compiler command CC C compiler command
CFLAGS C compiler flags CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir> nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library> LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir> you have headers in a nonstandard directory <include dir>
skipping to change at line 1502 skipping to change at line 1533
else else
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir " >&2 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir " >&2
fi || ac_status=$? fi || ac_status=$?
cd "$ac_pwd" || { ac_status=$?; break; } cd "$ac_pwd" || { ac_status=$?; break; }
done done
fi fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
libqb configure 0.4.1 libqb configure 0.8.1
generated by GNU Autoconf 2.66 generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc. Copyright (C) 2010 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it. gives unlimited permission to copy, distribute and modify it.
_ACEOF _ACEOF
exit exit
fi fi
## ------------------------ ## ## ------------------------ ##
## Autoconf initialization. ## ## Autoconf initialization. ##
skipping to change at line 1549 skipping to change at line 1580
test -z "$ac_c_werror_flag" || test -z "$ac_c_werror_flag" ||
test ! -s conftest.err test ! -s conftest.err
} && test -s conftest.$ac_objext; then : } && test -s conftest.$ac_objext; then :
ac_retval=0 ac_retval=0
else else
$as_echo "$as_me: failed program was:" >&5 $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1 ac_retval=1
fi fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval as_fn_set_status $ac_retval
} # ac_fn_c_try_compile } # ac_fn_c_try_compile
# ac_fn_c_try_link LINENO # ac_fn_c_try_link LINENO
# ----------------------- # -----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded. # Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_link () ac_fn_c_try_link ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack
skipping to change at line 1595 skipping to change at line 1626
$as_echo "$as_me: failed program was:" >&5 $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1 ac_retval=1
fi fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
# interfere with the next link command; also delete a directory that is # interfere with the next link command; also delete a directory that is
# left behind by Apple's compiler. We do this before executing the actio ns. # left behind by Apple's compiler. We do this before executing the actio ns.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval as_fn_set_status $ac_retval
} # ac_fn_c_try_link } # ac_fn_c_try_link
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
# ------------------------------------------------------- # -------------------------------------------------------
# Tests whether HEADER exists and can be compiled using the include files i n # Tests whether HEADER exists and can be compiled using the include files i n
# INCLUDES, setting the cache variable VAR accordingly. # INCLUDES, setting the cache variable VAR accordingly.
ac_fn_c_check_header_compile () ac_fn_c_check_header_compile ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; } $as_echo_n "checking for $2... " >&6; }
if eval "test \"\${$3+set}\"" = set; then : if eval \${$3+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
$4 $4
#include <$2> #include <$2>
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_compile "$LINENO"; then :
eval "$3=yes" eval "$3=yes"
else else
eval "$3=no" eval "$3=no"
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
eval ac_res=\$$3 eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_header_compile } # ac_fn_c_check_header_compile
# ac_fn_c_try_cpp LINENO # ac_fn_c_try_cpp LINENO
# ---------------------- # ----------------------
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_cpp () ac_fn_c_try_cpp ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack
if { { ac_try="$ac_cpp conftest.$ac_ext" if { { ac_try="$ac_cpp conftest.$ac_ext"
skipping to change at line 1652 skipping to change at line 1683
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5 $as_echo "$ac_try_echo"; } >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
ac_status=$? ac_status=$?
if test -s conftest.err; then if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1 grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5 cat conftest.er1 >&5
mv -f conftest.er1 conftest.err mv -f conftest.er1 conftest.err
fi fi
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } >/dev/null && { test $ac_status = 0; } > conftest.i && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err test ! -s conftest.err
}; then : }; then :
ac_retval=0 ac_retval=0
else else
$as_echo "$as_me: failed program was:" >&5 $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1 ac_retval=1
fi fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval as_fn_set_status $ac_retval
} # ac_fn_c_try_cpp } # ac_fn_c_try_cpp
# ac_fn_c_try_run LINENO # ac_fn_c_try_run LINENO
# ---------------------- # ----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
# that executables *can* be run. # that executables *can* be run.
ac_fn_c_try_run () ac_fn_c_try_run ()
{ {
skipping to change at line 1705 skipping to change at line 1736
test $ac_status = 0; }; }; then : test $ac_status = 0; }; }; then :
ac_retval=0 ac_retval=0
else else
$as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: program exited with status $ac_status" >&5
$as_echo "$as_me: failed program was:" >&5 $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=$ac_status ac_retval=$ac_status
fi fi
rm -rf conftest.dSYM conftest_ipa8_conftest.oo rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval as_fn_set_status $ac_retval
} # ac_fn_c_try_run } # ac_fn_c_try_run
# ac_fn_c_check_func LINENO FUNC VAR # ac_fn_c_check_func LINENO FUNC VAR
# ---------------------------------- # ----------------------------------
# Tests whether FUNC exists, setting the cache variable VAR accordingly # Tests whether FUNC exists, setting the cache variable VAR accordingly
ac_fn_c_check_func () ac_fn_c_check_func ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; } $as_echo_n "checking for $2... " >&6; }
if eval "test \"\${$3+set}\"" = set; then : if eval \${$3+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
For example, HP-UX 11i <limits.h> declares gettimeofday. */ For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define $2 innocuous_$2 #define $2 innocuous_$2
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $2 (); below. which can conflict with char $2 (); below.
skipping to change at line 1773 skipping to change at line 1804
eval "$3=yes" eval "$3=yes"
else else
eval "$3=no" eval "$3=no"
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
fi fi
eval ac_res=\$$3 eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_func } # ac_fn_c_check_func
# ac_fn_cxx_try_compile LINENO # ac_fn_cxx_try_compile LINENO
# ---------------------------- # ----------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded. # Try to compile conftest.$ac_ext, and return whether this succeeded.
ac_fn_cxx_try_compile () ac_fn_cxx_try_compile ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack
rm -f conftest.$ac_objext rm -f conftest.$ac_objext
skipping to change at line 1810 skipping to change at line 1841
test -z "$ac_cxx_werror_flag" || test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err test ! -s conftest.err
} && test -s conftest.$ac_objext; then : } && test -s conftest.$ac_objext; then :
ac_retval=0 ac_retval=0
else else
$as_echo "$as_me: failed program was:" >&5 $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1 ac_retval=1
fi fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval as_fn_set_status $ac_retval
} # ac_fn_cxx_try_compile } # ac_fn_cxx_try_compile
# ac_fn_cxx_try_cpp LINENO # ac_fn_cxx_try_cpp LINENO
# ------------------------ # ------------------------
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
ac_fn_cxx_try_cpp () ac_fn_cxx_try_cpp ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack
skipping to change at line 1836 skipping to change at line 1867
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5 $as_echo "$ac_try_echo"; } >&5
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
ac_status=$? ac_status=$?
if test -s conftest.err; then if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1 grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5 cat conftest.er1 >&5
mv -f conftest.er1 conftest.err mv -f conftest.er1 conftest.err
fi fi
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } >/dev/null && { test $ac_status = 0; } > conftest.i && {
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
test ! -s conftest.err test ! -s conftest.err
}; then : }; then :
ac_retval=0 ac_retval=0
else else
$as_echo "$as_me: failed program was:" >&5 $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1 ac_retval=1
fi fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval as_fn_set_status $ac_retval
} # ac_fn_cxx_try_cpp } # ac_fn_cxx_try_cpp
# ac_fn_cxx_try_link LINENO # ac_fn_cxx_try_link LINENO
# ------------------------- # -------------------------
# Try to link conftest.$ac_ext, and return whether this succeeded. # Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_cxx_try_link () ac_fn_cxx_try_link ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack
skipping to change at line 1893 skipping to change at line 1924
$as_echo "$as_me: failed program was:" >&5 $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1 ac_retval=1
fi fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
# interfere with the next link command; also delete a directory that is # interfere with the next link command; also delete a directory that is
# left behind by Apple's compiler. We do this before executing the actio ns. # left behind by Apple's compiler. We do this before executing the actio ns.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval as_fn_set_status $ac_retval
} # ac_fn_cxx_try_link } # ac_fn_cxx_try_link
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
# ------------------------------------------------------- # -------------------------------------------------------
# Tests whether HEADER exists, giving a warning if it cannot be compiled us ing # Tests whether HEADER exists, giving a warning if it cannot be compiled us ing
# the include files in INCLUDES and setting the cache variable VAR # the include files in INCLUDES and setting the cache variable VAR
# accordingly. # accordingly.
ac_fn_c_check_header_mongrel () ac_fn_c_check_header_mongrel ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack
if eval "test \"\${$3+set}\"" = set; then : if eval \${$3+:} false; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; } $as_echo_n "checking for $2... " >&6; }
if eval "test \"\${$3+set}\"" = set; then : if eval \${$3+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
fi fi
eval ac_res=\$$3 eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
else else
# Is the header compilable? # Is the header compilable?
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
$as_echo_n "checking $2 usability... " >&6; } $as_echo_n "checking $2 usability... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
skipping to change at line 1945 skipping to change at line 1976
$as_echo_n "checking $2 presence... " >&6; } $as_echo_n "checking $2 presence... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <$2> #include <$2>
_ACEOF _ACEOF
if ac_fn_c_try_cpp "$LINENO"; then : if ac_fn_c_try_cpp "$LINENO"; then :
ac_header_preproc=yes ac_header_preproc=yes
else else
ac_header_preproc=no ac_header_preproc=no
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.i conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
$as_echo "$ac_header_preproc" >&6; } $as_echo "$ac_header_preproc" >&6; }
# So? What about this header? # So? What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
yes:no: ) yes:no: )
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the c ompiler, rejected by the preprocessor!" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the c ompiler, rejected by the preprocessor!" >&5
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the pr eprocessor!" >&2;} $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the pr eprocessor!" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with t he compiler's result" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with t he compiler's result" >&5
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
skipping to change at line 1976 skipping to change at line 2007
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with t he compiler's result" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with t he compiler's result" >&5
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
( $as_echo "## ------------------------------------------------- ## ( $as_echo "## ------------------------------------------------- ##
## Report this to quarterback-devel@fedorahosted.org ## ## Report this to quarterback-devel@fedorahosted.org ##
## ------------------------------------------------- ##" ## ------------------------------------------------- ##"
) | sed "s/^/$as_me: WARNING: /" >&2 ) | sed "s/^/$as_me: WARNING: /" >&2
;; ;;
esac esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; } $as_echo_n "checking for $2... " >&6; }
if eval "test \"\${$3+set}\"" = set; then : if eval \${$3+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
eval "$3=\$ac_header_compiler" eval "$3=\$ac_header_compiler"
fi fi
eval ac_res=\$$3 eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
fi fi
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_header_mongrel } # ac_fn_c_check_header_mongrel
# ac_fn_c_find_intX_t LINENO BITS VAR # ac_fn_c_find_intX_t LINENO BITS VAR
# ----------------------------------- # -----------------------------------
# Finds a signed integer type with width BITS, setting cache variable VAR # Finds a signed integer type with width BITS, setting cache variable VAR
# accordingly. # accordingly.
ac_fn_c_find_intX_t () ac_fn_c_find_intX_t ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
$as_echo_n "checking for int$2_t... " >&6; } $as_echo_n "checking for int$2_t... " >&6; }
if eval "test \"\${$3+set}\"" = set; then : if eval \${$3+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
eval "$3=no" eval "$3=no"
# Order is important - never check a type that is potentially smaller # Order is important - never check a type that is potentially smaller
# than half of the expected target width. # than half of the expected target width.
for ac_type in int$2_t 'int' 'long int' \ for ac_type in int$2_t 'int' 'long int' \
'long long int' 'short int' 'signed char'; do 'long long int' 'short int' 'signed char'; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
$ac_includes_default $ac_includes_default
skipping to change at line 2059 skipping to change at line 2090
if eval test \"x\$"$3"\" = x"no"; then : if eval test \"x\$"$3"\" = x"no"; then :
else else
break break
fi fi
done done
fi fi
eval ac_res=\$$3 eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_find_intX_t } # ac_fn_c_find_intX_t
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
# ------------------------------------------- # -------------------------------------------
# Tests whether TYPE exists after having included INCLUDES, setting cache # Tests whether TYPE exists after having included INCLUDES, setting cache
# variable VAR accordingly. # variable VAR accordingly.
ac_fn_c_check_type () ac_fn_c_check_type ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
$as_echo_n "checking for $2... " >&6; } $as_echo_n "checking for $2... " >&6; }
if eval "test \"\${$3+set}\"" = set; then : if eval \${$3+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
eval "$3=no" eval "$3=no"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
$4 $4
int int
main () main ()
{ {
if (sizeof ($2)) if (sizeof ($2))
skipping to change at line 2113 skipping to change at line 2144
else else
eval "$3=yes" eval "$3=yes"
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
eval ac_res=\$$3 eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_type } # ac_fn_c_check_type
# ac_fn_c_find_uintX_t LINENO BITS VAR # ac_fn_c_find_uintX_t LINENO BITS VAR
# ------------------------------------ # ------------------------------------
# Finds an unsigned integer type with width BITS, setting cache variable VA R # Finds an unsigned integer type with width BITS, setting cache variable VA R
# accordingly. # accordingly.
ac_fn_c_find_uintX_t () ac_fn_c_find_uintX_t ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st ack
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
$as_echo_n "checking for uint$2_t... " >&6; } $as_echo_n "checking for uint$2_t... " >&6; }
if eval "test \"\${$3+set}\"" = set; then : if eval \${$3+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
eval "$3=no" eval "$3=no"
# Order is important - never check a type that is potentially smaller # Order is important - never check a type that is potentially smaller
# than half of the expected target width. # than half of the expected target width.
for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
'unsigned long long int' 'unsigned short int' 'unsigned char'; do 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
$ac_includes_default $ac_includes_default
skipping to change at line 2166 skipping to change at line 2197
if eval test \"x\$"$3"\" = x"no"; then : if eval test \"x\$"$3"\" = x"no"; then :
else else
break break
fi fi
done done
fi fi
eval ac_res=\$$3 eval ac_res=\$$3
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unse t as_lineno;} eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_find_uintX_t } # ac_fn_c_find_uintX_t
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
# ---------------------------------------------
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
# accordingly.
ac_fn_c_check_decl ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_st
ack
as_decl_name=`echo $2|sed 's/ *(.*//'`
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name i
s declared" >&5
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
if eval "test \"\${$3+set}\"" = set; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main ()
{
#ifndef $as_decl_name
#ifdef __cplusplus
(void) $as_decl_use;
#else
(void) $as_decl_name;
#endif
#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=; unse
t as_lineno;}
} # ac_fn_c_check_decl
cat >config.log <<_ACEOF cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by libqb $as_me 0.4.1, which was It was created by libqb $as_me 0.8.1, which was
generated by GNU Autoconf 2.66. Invocation command line was generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@ $ $0 $@
_ACEOF _ACEOF
exec 5>>config.log exec 5>>config.log
{ {
cat <<_ASUNAME cat <<_ASUNAME
## --------- ## ## --------- ##
## Platform. ## ## Platform. ##
## --------- ## ## --------- ##
skipping to change at line 2566 skipping to change at line 2551
## -------------------- ## ## -------------------- ##
## Main body of script. ## ## Main body of script. ##
## -------------------- ## ## -------------------- ##
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_config_headers="$ac_config_headers include/config.h include/qb/qbconfig.
h"
am__api_version='1.11' am__api_version='1.11'
ac_aux_dir= ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
if test -f "$ac_dir/install-sh"; then if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c" ac_install_sh="$ac_aux_dir/install-sh -c"
break break
elif test -f "$ac_dir/install.sh"; then elif test -f "$ac_dir/install.sh"; then
ac_aux_dir=$ac_dir ac_aux_dir=$ac_dir
skipping to change at line 2613 skipping to change at line 2600
# AmigaOS /C/install, which installs bootblocks on floppy discs # AmigaOS /C/install, which installs bootblocks on floppy discs
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args # AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# OS/2's system install, which has a completely different semantic # OS/2's system install, which has a completely different semantic
# ./install, which can be erroneously created by make from ./install.sh. # ./install, which can be erroneously created by make from ./install.sh.
# Reject install programs that cannot install multiple files. # Reject install programs that cannot install multiple files.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible inst all" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible inst all" >&5
$as_echo_n "checking for a BSD-compatible install... " >&6; } $as_echo_n "checking for a BSD-compatible install... " >&6; }
if test -z "$INSTALL"; then if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then : if ${ac_cv_path_install+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
# Account for people who put trailing slashes in PATH elements. # Account for people who put trailing slashes in PATH elements.
case $as_dir/ in #(( case $as_dir/ in #((
./ | .// | /[cC]/* | \ ./ | .// | /[cC]/* | \
skipping to change at line 2790 skipping to change at line 2777
# Installed binaries are usually stripped using `strip' when the user # Installed binaries are usually stripped using `strip' when the user
# run `make install-strip'. However `strip' might not be the right # run `make install-strip'. However `strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake # tool to use in cross-compilation environments, therefore Automake
# will honor the `STRIP' environment variable to overrule this program. # will honor the `STRIP' environment variable to overrule this program.
if test "$cross_compiling" != no; then if test "$cross_compiling" != no; then
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}strip", so it can be a prog ram name with args. # Extract the first word of "${ac_tool_prefix}strip", so it can be a prog ram name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2 set dummy ${ac_tool_prefix}strip; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_STRIP+set}" = set; then : if ${ac_cv_prog_STRIP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$STRIP"; then if test -n "$STRIP"; then
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 2829 skipping to change at line 2816
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_STRIP"; then if test -z "$ac_cv_prog_STRIP"; then
ac_ct_STRIP=$STRIP ac_ct_STRIP=$STRIP
# Extract the first word of "strip", so it can be a program name with arg s. # Extract the first word of "strip", so it can be a program name with arg s.
set dummy strip; ac_word=$2 set dummy strip; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_STRIP"; then if test -n "$ac_ct_STRIP"; then
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 2882 skipping to change at line 2869
else else
STRIP="$ac_cv_prog_STRIP" STRIP="$ac_cv_prog_STRIP"
fi fi
fi fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir - p" >&5 { $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; } $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
if test -z "$MKDIR_P"; then if test -z "$MKDIR_P"; then
if test "${ac_cv_path_mkdir+set}" = set; then : if ${ac_cv_path_mkdir+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_prog in mkdir gmkdir; do for ac_prog in mkdir gmkdir; do
for ac_exec_ext in '' $ac_executable_extensions; 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 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ ac_prog$ac_exec_ext"; } || continue
skipping to change at line 2933 skipping to change at line 2920
[\\/$]* | ?:[\\/]*) ;; [\\/$]* | ?:[\\/]*) ;;
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
esac esac
for ac_prog in gawk mawk nawk awk for ac_prog in gawk mawk nawk awk
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_AWK+set}" = set; then : if ${ac_cv_prog_AWK+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$AWK"; then if test -n "$AWK"; then
ac_cv_prog_AWK="$AWK" # Let the user override the test. ac_cv_prog_AWK="$AWK" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 2972 skipping to change at line 2959
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
test -n "$AWK" && break test -n "$AWK" && break
done done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
set x ${MAKE-make} set x ${MAKE-make}
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat >conftest.make <<\_ACEOF cat >conftest.make <<\_ACEOF
SHELL = /bin/sh SHELL = /bin/sh
all: all:
@echo '@@@%%%=$(MAKE)=@@@%%%' @echo '@@@%%%=$(MAKE)=@@@%%%'
_ACEOF _ACEOF
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us . # GNU make sometimes prints "make[1]: Entering ...", which would confuse us .
case `${MAKE-make} -f conftest.make 2>/dev/null` in case `${MAKE-make} -f conftest.make 2>/dev/null` in
*@@@%%%=?*=@@@%%%*) *@@@%%%=?*=@@@%%%*)
skipping to change at line 3029 skipping to change at line 3016
if test -z "$CYGPATH_W"; then if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w' CYGPATH_W='cygpath -w'
else else
CYGPATH_W=echo CYGPATH_W=echo
fi fi
fi fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='libqb' PACKAGE='libqb'
VERSION='0.4.1' VERSION='0.8.1'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define PACKAGE "$PACKAGE" #define PACKAGE "$PACKAGE"
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define VERSION "$VERSION" #define VERSION "$VERSION"
_ACEOF _ACEOF
# Some tools Automake needs. # Some tools Automake needs.
skipping to change at line 3059 skipping to change at line 3046
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
# We need awk for the "check" target. The system "awk" is bad on # We need awk for the "check" target. The system "awk" is bad on
# some platforms. # some platforms.
# Always define AMTAR for backward compatibility. # Always define AMTAR for backward compatibility.
AMTAR=${AMTAR-"${am_missing_run}tar"} AMTAR=${AMTAR-"${am_missing_run}tar"}
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
ac_config_headers="$ac_config_headers include/config.h" # Check whether --enable-silent-rules was given.
if test "${enable_silent_rules+set}" = set; then :
enableval=$enable_silent_rules;
fi
case $enable_silent_rules in
yes) AM_DEFAULT_VERBOSITY=0;;
no) AM_DEFAULT_VERBOSITY=1;;
*) AM_DEFAULT_VERBOSITY=0;;
esac
AM_BACKSLASH='\'
case `pwd` in 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:${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;} ;; $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \` pwd\`" >&2;} ;;
esac esac
macro_version='2.2.10' macro_version='2.4'
macro_revision='1.3175' macro_revision='1.3293'
ltmain="$ac_aux_dir/ltmain.sh" ltmain="$ac_aux_dir/ltmain.sh"
# Make sure we can run config.sub. # Make sure we can run config.sub.
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || $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_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 "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
$as_echo_n "checking build system type... " >&6; } $as_echo_n "checking build system type... " >&6; }
if test "${ac_cv_build+set}" = set; then : if ${ac_cv_build+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_build_alias=$build_alias ac_build_alias=$build_alias
test "x$ac_build_alias" = x && test "x$ac_build_alias" = x &&
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
test "x$ac_build_alias" = x && test "x$ac_build_alias" = x &&
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 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` || 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" "$L INENO" 5 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$L INENO" 5
skipping to change at line 3111 skipping to change at line 3108
build_vendor=$2 build_vendor=$2
shift; shift shift; shift
# Remember, the first character of IFS is used to create $*, # Remember, the first character of IFS is used to create $*,
# except with old shells: # except with old shells:
build_os=$* build_os=$*
IFS=$ac_save_IFS IFS=$ac_save_IFS
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 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 "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
$as_echo_n "checking host system type... " >&6; } $as_echo_n "checking host system type... " >&6; }
if test "${ac_cv_host+set}" = set; then : if ${ac_cv_host+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "x$host_alias" = x; then if test "x$host_alias" = x; then
ac_cv_host=$ac_cv_build ac_cv_host=$ac_cv_build
else else
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LIN ENO" 5 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LIN ENO" 5
fi fi
fi fi
skipping to change at line 3165 skipping to change at line 3162
# Sed substitution to avoid accidental globbing in evaled expressions # Sed substitution to avoid accidental globbing in evaled expressions
no_glob_subst='s/\*/\\\*/g' no_glob_subst='s/\*/\\\*/g'
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
$as_echo_n "checking how to print strings... " >&6; } $as_echo_n "checking how to print strings... " >&6; }
# Test print first, because it will be a builtin if present. # Test print first, because it will be a builtin if present.
if test "X`print -r -- -n 2>/dev/null`" = X-n && \ if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
ECHO='print -r --' ECHO='print -r --'
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
ECHO='printf %s\n' ECHO='printf %s\n'
else else
# Use this function as a fallback that always works. # Use this function as a fallback that always works.
func_fallback_echo () func_fallback_echo ()
{ {
eval 'cat <<_LTECHO_EOF eval 'cat <<_LTECHO_EOF
$1 $1
skipping to change at line 3266 skipping to change at line 3263
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a progra m name with args. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a progra m name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2 set dummy ${ac_tool_prefix}gcc; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then : if ${ac_cv_prog_CC+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 3305 skipping to change at line 3302
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_CC"; then if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args. # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2 set dummy gcc; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : if ${ac_cv_prog_ac_ct_CC+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 3358 skipping to change at line 3355
else else
CC="$ac_cv_prog_CC" CC="$ac_cv_prog_CC"
fi fi
if test -z "$CC"; then if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}cc", so it can be a progr am name with args. # Extract the first word of "${ac_tool_prefix}cc", so it can be a progr am name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2 set dummy ${ac_tool_prefix}cc; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then : if ${ac_cv_prog_CC+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 3397 skipping to change at line 3394
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
fi fi
if test -z "$CC"; then if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args. # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2 set dummy cc; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then : if ${ac_cv_prog_CC+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
ac_prog_rejected=no ac_prog_rejected=no
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
skipping to change at line 3455 skipping to change at line 3452
fi fi
if test -z "$CC"; then if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
for ac_prog in cl.exe for ac_prog in cl.exe
do do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a p rogram name with args. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a p rogram name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then : if ${ac_cv_prog_CC+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$CC"; then if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CC="$CC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 3498 skipping to change at line 3495
done done
fi fi
if test -z "$CC"; then if test -z "$CC"; then
ac_ct_CC=$CC ac_ct_CC=$CC
for ac_prog in cl.exe for ac_prog in cl.exe
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : if ${ac_cv_prog_ac_ct_CC+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 3779 skipping to change at line 3776
fi fi
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
$as_echo "$cross_compiling" >&6; } $as_echo "$cross_compiling" >&6; }
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
ac_clean_files=$ac_clean_files_save ac_clean_files=$ac_clean_files_save
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object file s" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object file s" >&5
$as_echo_n "checking for suffix of object files... " >&6; } $as_echo_n "checking for suffix of object files... " >&6; }
if test "${ac_cv_objext+set}" = set; then : if ${ac_cv_objext+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
; ;
skipping to change at line 3830 skipping to change at line 3827
See \`config.log' for more details" "$LINENO" 5; } See \`config.log' for more details" "$LINENO" 5; }
fi fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
$as_echo "$ac_cv_objext" >&6; } $as_echo "$ac_cv_objext" >&6; }
OBJEXT=$ac_cv_objext OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT ac_objext=$OBJEXT
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 { $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; } $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
if test "${ac_cv_c_compiler_gnu+set}" = set; then : if ${ac_cv_c_compiler_gnu+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
#ifndef __GNUC__ #ifndef __GNUC__
choke me choke me
skipping to change at line 3867 skipping to change at line 3864
$as_echo "$ac_cv_c_compiler_gnu" >&6; } $as_echo "$ac_cv_c_compiler_gnu" >&6; }
if test $ac_compiler_gnu = yes; then if test $ac_compiler_gnu = yes; then
GCC=yes GCC=yes
else else
GCC= GCC=
fi fi
ac_test_CFLAGS=${CFLAGS+set} ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS ac_save_CFLAGS=$CFLAGS
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" > &5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" > &5
$as_echo_n "checking whether $CC accepts -g... " >&6; } $as_echo_n "checking whether $CC accepts -g... " >&6; }
if test "${ac_cv_prog_cc_g+set}" = set; then : if ${ac_cv_prog_cc_g+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_save_c_werror_flag=$ac_c_werror_flag ac_save_c_werror_flag=$ac_c_werror_flag
ac_c_werror_flag=yes ac_c_werror_flag=yes
ac_cv_prog_cc_g=no ac_cv_prog_cc_g=no
CFLAGS="-g" CFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
skipping to change at line 3945 skipping to change at line 3942
fi fi
else else
if test "$GCC" = yes; then if test "$GCC" = yes; then
CFLAGS="-O2" CFLAGS="-O2"
else else
CFLAGS= CFLAGS=
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 { $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; } $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
if test "${ac_cv_prog_cc_c89+set}" = set; then : if ${ac_cv_prog_cc_c89+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_cv_prog_cc_c89=no ac_cv_prog_cc_c89=no
ac_save_CC=$CC ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
skipping to change at line 4044 skipping to change at line 4041
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
depcc="$CC" am_compiler_list= depcc="$CC" am_compiler_list=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depc c" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depc c" >&5
$as_echo_n "checking dependency style of $depcc... " >&6; } $as_echo_n "checking dependency style of $depcc... " >&6; }
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : if ${am_cv_CC_dependencies_compiler_type+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up # 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 # 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 # 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 # making a dummy file named `D' -- because `-MD' means `put the output
# in D'. # in D'.
mkdir conftest.dir mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're # Copy depcomp to subdir because otherwise we won't find it if we're
skipping to change at line 4168 skipping to change at line 4165
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
am__fastdepCC_TRUE= am__fastdepCC_TRUE=
am__fastdepCC_FALSE='#' am__fastdepCC_FALSE='#'
else else
am__fastdepCC_TRUE='#' am__fastdepCC_TRUE='#'
am__fastdepCC_FALSE= am__fastdepCC_FALSE=
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not t runcate output" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not t runcate output" >&5
$as_echo_n "checking for a sed that does not truncate output... " >&6; } $as_echo_n "checking for a sed that does not truncate output... " >&6; }
if test "${ac_cv_path_SED+set}" = set; then : if ${ac_cv_path_SED+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbb/ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbb/
for ac_i in 1 2 3 4 5 6 7; do for ac_i in 1 2 3 4 5 6 7; do
ac_script="$ac_script$as_nl$ac_script" ac_script="$ac_script$as_nl$ac_script"
done done
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
{ ac_script=; unset ac_script;} { ac_script=; unset ac_script;}
if test -z "$SED"; then if test -z "$SED"; then
ac_path_SED_found=false ac_path_SED_found=false
skipping to change at line 4240 skipping to change at line 4237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
$as_echo "$ac_cv_path_SED" >&6; } $as_echo "$ac_cv_path_SED" >&6; }
SED="$ac_cv_path_SED" SED="$ac_cv_path_SED"
rm -f conftest.sed rm -f conftest.sed
test -z "$SED" && SED=sed test -z "$SED" && SED=sed
Xsed="$SED -e 1s/^X//" Xsed="$SED -e 1s/^X//"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles lon g lines and -e" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles lon g lines and -e" >&5
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
if test "${ac_cv_path_GREP+set}" = set; then : if ${ac_cv_path_GREP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -z "$GREP"; then if test -z "$GREP"; then
ac_path_GREP_found=false ac_path_GREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST # Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 4302 skipping to change at line 4299
ac_cv_path_GREP=$GREP ac_cv_path_GREP=$GREP
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
$as_echo "$ac_cv_path_GREP" >&6; } $as_echo "$ac_cv_path_GREP" >&6; }
GREP="$ac_cv_path_GREP" GREP="$ac_cv_path_GREP"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
$as_echo_n "checking for egrep... " >&6; } $as_echo_n "checking for egrep... " >&6; }
if test "${ac_cv_path_EGREP+set}" = set; then : if ${ac_cv_path_EGREP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
then ac_cv_path_EGREP="$GREP -E" then ac_cv_path_EGREP="$GREP -E"
else else
if test -z "$EGREP"; then if test -z "$EGREP"; then
ac_path_EGREP_found=false ac_path_EGREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST # Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
skipping to change at line 4368 skipping to change at line 4365
fi fi
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
$as_echo "$ac_cv_path_EGREP" >&6; } $as_echo "$ac_cv_path_EGREP" >&6; }
EGREP="$ac_cv_path_EGREP" EGREP="$ac_cv_path_EGREP"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
$as_echo_n "checking for fgrep... " >&6; } $as_echo_n "checking for fgrep... " >&6; }
if test "${ac_cv_path_FGREP+set}" = set; then : if ${ac_cv_path_FGREP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
then ac_cv_path_FGREP="$GREP -F" then ac_cv_path_FGREP="$GREP -F"
else else
if test -z "$FGREP"; then if test -z "$FGREP"; then
ac_path_FGREP_found=false ac_path_FGREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST # Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
skipping to change at line 4480 skipping to change at line 4477
with_gnu_ld=unknown with_gnu_ld=unknown
;; ;;
esac esac
elif test "$with_gnu_ld" = yes; then elif test "$with_gnu_ld" = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
$as_echo_n "checking for GNU ld... " >&6; } $as_echo_n "checking for GNU ld... " >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
$as_echo_n "checking for non-GNU ld... " >&6; } $as_echo_n "checking for non-GNU ld... " >&6; }
fi fi
if test "${lt_cv_path_LD+set}" = set; then : if ${lt_cv_path_LD+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -z "$LD"; then if test -z "$LD"; then
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
for ac_dir in $PATH; do for ac_dir in $PATH; do
IFS="$lt_save_ifs" IFS="$lt_save_ifs"
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
lt_cv_path_LD="$ac_dir/$ac_prog" lt_cv_path_LD="$ac_dir/$ac_prog"
# Check to see if the program is GNU ld. I'd rather use --version, # Check to see if the program is GNU ld. I'd rather use --version,
skipping to change at line 4520 skipping to change at line 4517
if test -n "$LD"; then if test -n "$LD"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
$as_echo "$LD" >&6; } $as_echo "$LD" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO " 5 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 GN U ld" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GN U ld" >&5
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
if test "${lt_cv_prog_gnu_ld+set}" = set; then : if ${lt_cv_prog_gnu_ld+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
# I'd rather use --version here, but apparently some GNU lds only accept -v. # I'd rather use --version here, but apparently some GNU lds only accept -v.
case `$LD -v 2>&1 </dev/null` in case `$LD -v 2>&1 </dev/null` in
*GNU* | *'with BFD'*) *GNU* | *'with BFD'*)
lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ld=yes
;; ;;
*) *)
lt_cv_prog_gnu_ld=no lt_cv_prog_gnu_ld=no
;; ;;
esac esac
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
$as_echo "$lt_cv_prog_gnu_ld" >&6; } $as_echo "$lt_cv_prog_gnu_ld" >&6; }
with_gnu_ld=$lt_cv_prog_gnu_ld with_gnu_ld=$lt_cv_prog_gnu_ld
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 { $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; } $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
if test "${lt_cv_path_NM+set}" = set; then : if ${lt_cv_path_NM+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$NM"; then if test -n "$NM"; then
# Let the user override the test. # Let the user override the test.
lt_cv_path_NM="$NM" lt_cv_path_NM="$NM"
else else
lt_nm_to_check="${ac_tool_prefix}nm" lt_nm_to_check="${ac_tool_prefix}nm"
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
lt_nm_to_check="$lt_nm_to_check nm" lt_nm_to_check="$lt_nm_to_check nm"
fi fi
skipping to change at line 4602 skipping to change at line 4599
if test -n "$DUMPBIN"; then : if test -n "$DUMPBIN"; then :
# Let the user override the test. # Let the user override the test.
else else
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
for ac_prog in dumpbin "link -dump" for ac_prog in dumpbin "link -dump"
do do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a p rogram name with args. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a p rogram name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_DUMPBIN+set}" = set; then : if ${ac_cv_prog_DUMPBIN+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$DUMPBIN"; then if test -n "$DUMPBIN"; then
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 4645 skipping to change at line 4642
done done
fi fi
if test -z "$DUMPBIN"; then if test -z "$DUMPBIN"; then
ac_ct_DUMPBIN=$DUMPBIN ac_ct_DUMPBIN=$DUMPBIN
for ac_prog in dumpbin "link -dump" for ac_prog in dumpbin "link -dump"
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_DUMPBIN"; then if test -n "$ac_ct_DUMPBIN"; then
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the tes t. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the tes t.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 4711 skipping to change at line 4708
fi fi
if test "$DUMPBIN" != ":"; then if test "$DUMPBIN" != ":"; then
NM="$DUMPBIN" NM="$DUMPBIN"
fi fi
fi fi
test -z "$NM" && NM=nm test -z "$NM" && NM=nm
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) int erface" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) int erface" >&5
$as_echo_n "checking the name lister ($NM) interface... " >&6; } $as_echo_n "checking the name lister ($NM) interface... " >&6; }
if test "${lt_cv_nm_interface+set}" = set; then : if ${lt_cv_nm_interface+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_nm_interface="BSD nm" lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext echo "int some_variable = 0;" > conftest.$ac_ext
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err) (eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5 cat conftest.err >&5
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5 cat conftest.err >&5
skipping to change at line 4746 skipping to change at line 4743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; } $as_echo "yes" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
$as_echo "no, using $LN_S" >&6; } $as_echo "no, using $LN_S" >&6; }
fi fi
# find the maximum length of command line arguments # find the maximum length of command line arguments
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of com mand line arguments" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of com mand line arguments" >&5
$as_echo_n "checking the maximum length of command line arguments... " >&6; } $as_echo_n "checking the maximum length of command line arguments... " >&6; }
if test "${lt_cv_sys_max_cmd_len+set}" = set; then : if ${lt_cv_sys_max_cmd_len+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
i=0 i=0
teststring="ABCD" teststring="ABCD"
case $build_os in case $build_os in
msdosdjgpp*) msdosdjgpp*)
# On DJGPP, this test can blow up pretty badly due to problems in libc # On DJGPP, this test can blow up pretty badly due to problems in libc
# (any single argument exceeding 2000 bytes causes a buffer overrun # (any single argument exceeding 2000 bytes causes a buffer overrun
# during glob expansion). Even if it were fixed, the result of this # during glob expansion). Even if it were fixed, the result of this
skipping to change at line 4886 skipping to change at line 4883
: ${CP="cp -f"} : ${CP="cp -f"}
: ${MV="mv -f"} : ${MV="mv -f"}
: ${RM="rm -f"} : ${RM="rm -f"}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell underst ands some XSI constructs" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell underst ands some XSI constructs" >&5
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
# Try some XSI features # Try some XSI features
xsi_shell=no xsi_shell=no
( _lt_dummy="a/b/c" ( _lt_dummy="a/b/c"
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_
= c,a/b,, \ dummy"}, \
= c,a/b,b/c, \
&& eval 'test $(( 1 + 1 )) -eq 2 \ && eval 'test $(( 1 + 1 )) -eq 2 \
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
&& xsi_shell=yes && xsi_shell=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
$as_echo "$xsi_shell" >&6; } $as_echo "$xsi_shell" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell underst ands \"+=\"" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell underst ands \"+=\"" >&5
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
lt_shell_append=no lt_shell_append=no
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
skipping to change at line 4922 skipping to change at line 4919
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
lt_SP2NL='tr \040 \012' lt_SP2NL='tr \040 \012'
lt_NL2SP='tr \015\012 \040\040' lt_NL2SP='tr \015\012 \040\040'
;; ;;
*) # EBCDIC based system *) # EBCDIC based system
lt_SP2NL='tr \100 \n' lt_SP2NL='tr \100 \n'
lt_NL2SP='tr \r\n \100\100' lt_NL2SP='tr \r\n \100\100'
;; ;;
esac esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build fil
e names to $host format" >&5
$as_echo_n "checking how to convert $build file names to $host format... "
>&6; }
if ${lt_cv_to_host_file_cmd+:} false; then :
$as_echo_n "(cached) " >&6
else
case $host in
*-*-mingw* )
case $build in
*-*-mingw* ) # actually msys
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
;;
*-*-cygwin* )
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
;;
* ) # otherwise, assume *nix
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
;;
esac
;;
*-*-cygwin* )
case $build in
*-*-mingw* ) # actually msys
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
;;
*-*-cygwin* )
lt_cv_to_host_file_cmd=func_convert_file_noop
;;
* ) # otherwise, assume *nix
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
;;
esac
;;
* ) # unhandled hosts (and "normal" native builds)
lt_cv_to_host_file_cmd=func_convert_file_noop
;;
esac
fi
to_host_file_cmd=$lt_cv_to_host_file_cmd
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >
&5
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build fil
e names to toolchain format" >&5
$as_echo_n "checking how to convert $build file names to toolchain format..
. " >&6; }
if ${lt_cv_to_tool_file_cmd+:} false; then :
$as_echo_n "(cached) " >&6
else
#assume ordinary cross tools, or native build.
lt_cv_to_tool_file_cmd=func_convert_file_noop
case $host in
*-*-mingw* )
case $build in
*-*-mingw* ) # actually msys
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
;;
esac
;;
esac
fi
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >
&5
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 { $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; } $as_echo_n "checking for $LD option to reload object files... " >&6; }
if test "${lt_cv_ld_reload_flag+set}" = set; then : if ${lt_cv_ld_reload_flag+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_ld_reload_flag='-r' lt_cv_ld_reload_flag='-r'
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
$as_echo "$lt_cv_ld_reload_flag" >&6; } $as_echo "$lt_cv_ld_reload_flag" >&6; }
reload_flag=$lt_cv_ld_reload_flag reload_flag=$lt_cv_ld_reload_flag
case $reload_flag in case $reload_flag in
"" | " "*) ;; "" | " "*) ;;
*) reload_flag=" $reload_flag" ;; *) reload_flag=" $reload_flag" ;;
esac esac
reload_cmds='$LD$reload_flag -o $output$reload_objs' reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in case $host_os in
cygwin* | mingw* | pw32* | cegcc*)
if test "$GCC" != yes; then
reload_cmds=false
fi
;;
darwin*) darwin*)
if test "$GCC" = yes; then if test "$GCC" = yes; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs ' reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs '
else else
reload_cmds='$LD$reload_flag -o $output$reload_objs' reload_cmds='$LD$reload_flag -o $output$reload_objs'
fi fi
;; ;;
esac esac
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a pr ogram name with args. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a pr ogram name with args.
set dummy ${ac_tool_prefix}objdump; ac_word=$2 set dummy ${ac_tool_prefix}objdump; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : if ${ac_cv_prog_OBJDUMP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$OBJDUMP"; then if test -n "$OBJDUMP"; then
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 4991 skipping to change at line 5059
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_OBJDUMP"; then if test -z "$ac_cv_prog_OBJDUMP"; then
ac_ct_OBJDUMP=$OBJDUMP ac_ct_OBJDUMP=$OBJDUMP
# Extract the first word of "objdump", so it can be a program name with a rgs. # Extract the first word of "objdump", so it can be a program name with a rgs.
set dummy objdump; ac_word=$2 set dummy objdump; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_OBJDUMP"; then if test -n "$ac_ct_OBJDUMP"; then
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the tes t. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the tes t.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 5042 skipping to change at line 5110
OBJDUMP=$ac_ct_OBJDUMP OBJDUMP=$ac_ct_OBJDUMP
fi fi
else else
OBJDUMP="$ac_cv_prog_OBJDUMP" OBJDUMP="$ac_cv_prog_OBJDUMP"
fi fi
test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$OBJDUMP" && OBJDUMP=objdump
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependen t libraries" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependen t libraries" >&5
$as_echo_n "checking how to recognize dependent libraries... " >&6; } $as_echo_n "checking how to recognize dependent libraries... " >&6; }
if test "${lt_cv_deplibs_check_method+set}" = set; then : if ${lt_cv_deplibs_check_method+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file= lt_cv_file_magic_test_file=
lt_cv_deplibs_check_method='unknown' lt_cv_deplibs_check_method='unknown'
# Need to set the preceding variable on all platforms that support # Need to set the preceding variable on all platforms that support
# interlibrary dependencies. # interlibrary dependencies.
# 'none' -- dependencies not supported. # 'none' -- dependencies not supported.
# `unknown' -- same as none, but documents that we really don't know. # `unknown' -- same as none, but documents that we really don't know.
# 'pass_all' -- all dependencies passed with no checks. # 'pass_all' -- all dependencies passed with no checks.
skipping to change at line 5244 skipping to change at line 5312
;; ;;
tpf*) tpf*)
lt_cv_deplibs_check_method=pass_all lt_cv_deplibs_check_method=pass_all
;; ;;
esac esac
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_metho d" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_metho d" >&5
$as_echo "$lt_cv_deplibs_check_method" >&6; } $as_echo "$lt_cv_deplibs_check_method" >&6; }
file_magic_glob=
want_nocaseglob=no
if test "$build" = "$host"; then
case $host_os in
mingw* | pw32*)
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
want_nocaseglob=yes
else
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWx
XyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
fi
;;
esac
fi
file_magic_cmd=$lt_cv_file_magic_cmd file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown test -z "$deplibs_check_method" && deplibs_check_method=unknown
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a pr
name with args. ogram name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_DLLTOOL+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$DLLTOOL"; then
ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_wo
rd$ac_exec_ext"; }; then
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e
xt" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
DLLTOOL=$ac_cv_prog_DLLTOOL
if test -n "$DLLTOOL"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
$as_echo "$DLLTOOL" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
fi
if test -z "$ac_cv_prog_DLLTOOL"; then
ac_ct_DLLTOOL=$DLLTOOL
# Extract the first word of "dlltool", so it can be a program name with a
rgs.
set dummy dlltool; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_DLLTOOL"; then
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the tes
t.
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_wo
rd$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e
xt" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
if test -n "$ac_ct_DLLTOOL"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
$as_echo "$ac_ct_DLLTOOL" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_ct_DLLTOOL" = x; then
DLLTOOL="false"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre
fixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet
" >&2;}
ac_tool_warned=yes ;;
esac
DLLTOOL=$ac_ct_DLLTOOL
fi
else
DLLTOOL="$ac_cv_prog_DLLTOOL"
fi
test -z "$DLLTOOL" && DLLTOOL=dlltool
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime
and link libraries" >&5
$as_echo_n "checking how to associate runtime and link libraries... " >&6;
}
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
$as_echo_n "(cached) " >&6
else
lt_cv_sharedlib_from_linklib_cmd='unknown'
case $host_os in
cygwin* | mingw* | pw32* | cegcc*)
# two different shell functions defined in ltmain.sh
# decide which to use based on capabilities of $DLLTOOL
case `$DLLTOOL --help 2>&1` in
*--identify-strict*)
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
;;
*)
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
;;
esac
;;
*)
# fallback: assume linklib IS sharedlib
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
;;
esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_link
lib_cmd" >&5
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
if test -n "$ac_tool_prefix"; then
for ac_prog in ar
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a p
rogram 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 "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_AR+set}" = set; then : if ${ac_cv_prog_AR+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$AR"; then if test -n "$AR"; then
ac_cv_prog_AR="$AR" # Let the user override the test. ac_cv_prog_AR="$AR" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do 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_wo rd$ac_exec_ext"; }; then if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_wo rd$ac_exec_ext"; }; then
ac_cv_prog_AR="${ac_tool_prefix}ar" ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
fi fi
fi fi
AR=$ac_cv_prog_AR AR=$ac_cv_prog_AR
if test -n "$AR"; then if test -n "$AR"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
$as_echo "$AR" >&6; } $as_echo "$AR" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
test -n "$AR" && break
done
fi fi
if test -z "$ac_cv_prog_AR"; then if test -z "$AR"; then
ac_ct_AR=$AR ac_ct_AR=$AR
# Extract the first word of "ar", so it can be a program name with args. for ac_prog in ar
set dummy ar; ac_word=$2 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 "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : if ${ac_cv_prog_ac_ct_AR+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_AR"; then if test -n "$ac_ct_AR"; then
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do 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_wo rd$ac_exec_ext"; }; then if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_wo rd$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_AR="ar" ac_cv_prog_ac_ct_AR="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
fi fi
fi fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then if test -n "$ac_ct_AR"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
$as_echo "$ac_ct_AR" >&6; } $as_echo "$ac_ct_AR" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
test -n "$ac_ct_AR" && break
done
if test "x$ac_ct_AR" = x; then if test "x$ac_ct_AR" = x; then
AR="false" AR="false"
else else
case $cross_compiling:$ac_tool_warned in case $cross_compiling:$ac_tool_warned in
yes:) yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre fixed with host triplet" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre fixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet " >&2;} $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet " >&2;}
ac_tool_warned=yes ;; ac_tool_warned=yes ;;
esac esac
AR=$ac_ct_AR AR=$ac_ct_AR
fi fi
fi
: ${AR=ar}
: ${AR_FLAGS=cru}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE suppor
t" >&5
$as_echo_n "checking for archiver @FILE support... " >&6; }
if ${lt_cv_ar_at_file+:} false; then :
$as_echo_n "(cached) " >&6
else else
AR="$ac_cv_prog_AR" lt_cv_ar_at_file=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
echo conftest.$ac_objext > conftest.lst
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >
&5
(eval $lt_ar_try) 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test "$ac_status" -eq 0; then
# Ensure the archiver fails upon bogus file names.
rm -f conftest.$ac_objext libconftest.a
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; }
>&5
(eval $lt_ar_try) 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test "$ac_status" -ne 0; then
lt_cv_ar_at_file=@
fi
fi
rm -f conftest.* libconftest.a
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
$as_echo "$lt_cv_ar_at_file" >&6; }
test -z "$AR" && AR=ar if test "x$lt_cv_ar_at_file" = xno; then
test -z "$AR_FLAGS" && AR_FLAGS=cru archiver_list_spec=
else
archiver_list_spec=$lt_cv_ar_at_file
fi
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}strip", so it can be a prog ram name with args. # Extract the first word of "${ac_tool_prefix}strip", so it can be a prog ram name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2 set dummy ${ac_tool_prefix}strip; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_STRIP+set}" = set; then : if ${ac_cv_prog_STRIP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$STRIP"; then if test -n "$STRIP"; then
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 5386 skipping to change at line 5653
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_STRIP"; then if test -z "$ac_cv_prog_STRIP"; then
ac_ct_STRIP=$STRIP ac_ct_STRIP=$STRIP
# Extract the first word of "strip", so it can be a program name with arg s. # Extract the first word of "strip", so it can be a program name with arg s.
set dummy strip; ac_word=$2 set dummy strip; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_STRIP"; then if test -n "$ac_ct_STRIP"; then
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 5440 skipping to change at line 5707
STRIP="$ac_cv_prog_STRIP" STRIP="$ac_cv_prog_STRIP"
fi fi
test -z "$STRIP" && STRIP=: test -z "$STRIP" && STRIP=:
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a pro gram name with args. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a pro gram name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_RANLIB+set}" = set; then : if ${ac_cv_prog_RANLIB+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$RANLIB"; then if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 5479 skipping to change at line 5746
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_RANLIB"; then if test -z "$ac_cv_prog_RANLIB"; then
ac_ct_RANLIB=$RANLIB ac_ct_RANLIB=$RANLIB
# Extract the first word of "ranlib", so it can be a program name with ar gs. # Extract the first word of "ranlib", so it can be a program name with ar gs.
set dummy ranlib; ac_word=$2 set dummy ranlib; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_RANLIB"; then if test -n "$ac_ct_RANLIB"; then
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 5564 skipping to change at line 5831
# If no C compiler flags were specified, use CFLAGS. # If no C compiler flags were specified, use CFLAGS.
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
# Allow CC to be a program name with arguments. # Allow CC to be a program name with arguments.
compiler=$CC compiler=$CC
# Check for command to grab the raw symbol name followed by C symbol from n m. # Check for command to grab the raw symbol name followed by C symbol from n m.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM outp ut from $compiler object" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM outp ut from $compiler object" >&5
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : if ${lt_cv_sys_global_symbol_pipe+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
# These are sane defaults that work on at least a few old systems. # These are sane defaults that work on at least a few old systems.
# [They come from Ultrix. What could be older than Ultrix?!! ;)] # [They come from Ultrix. What could be older than Ultrix?!! ;)]
# Character class describing NM global symbol codes. # Character class describing NM global symbol codes.
symcode='[BCDEGRST]' symcode='[BCDEGRST]'
# Regexp to match symbols that can be accessed directly from C. # Regexp to match symbols that can be accessed directly from C.
skipping to change at line 5625 skipping to change at line 5892
*GNU* | *'with BFD'*) *GNU* | *'with BFD'*)
symcode='[ABCDGIRSTW]' ;; symcode='[ABCDGIRSTW]' ;;
esac esac
# Transform an extracted symbol line into a proper C declaration. # Transform an extracted symbol line into a proper C declaration.
# Some systems (esp. on ia64) link data and code symbols differently, # Some systems (esp. on ia64) link data and code symbols differently,
# so use this general approach. # so use this general approach.
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1( );/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1( );/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
# Transform an extracted symbol line into symbol name and symbol address # Transform an extracted symbol line into symbol name and symbol address
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\ lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/
\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2
(void *) \&\2},/p'" \", (void *) \&\2},/p'"
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^
]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]* ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^
\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ { ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/
\"lib\2\", (void *) \&\2},/p'" {\"lib\2\", (void *) \&\2},/p'"
# Handle CRLF in mingw tool chain # Handle CRLF in mingw tool chain
opt_cr= opt_cr=
case $build_os in case $build_os in
mingw*) mingw*)
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
;; ;;
esac esac
# Try without a prefix underscore, then with it. # Try without a prefix underscore, then with it.
skipping to change at line 5662 skipping to change at line 5929
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
" {if(hide[section]) next};"\ " {if(hide[section]) next};"\
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
" s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx)) }"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx)) }"\
" ' prfx=^$ac_symprfx" " ' prfx=^$ac_symprfx"
else else
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode *\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode *\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
fi fi
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gn u_lto/d'"
# Check to see that the pipe works correctly. # Check to see that the pipe works correctly.
pipe_works=no pipe_works=no
rm -f conftest* rm -f conftest*
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
char nm_test_var; char nm_test_var;
skipping to change at line 5703 skipping to change at line 5971
if sort "$nlist" | uniq > "$nlist"T; then if sort "$nlist" | uniq > "$nlist"T; then
mv -f "$nlist"T "$nlist" mv -f "$nlist"T "$nlist"
else else
rm -f "$nlist"T rm -f "$nlist"T
fi fi
# Make sure that we snagged all the symbols we need. # Make sure that we snagged all the symbols we need.
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
cat <<_LT_EOF > conftest.$ac_ext cat <<_LT_EOF > conftest.$ac_ext
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and test
s. */
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
/* DATA imports from DLLs on WIN32 con't be const, because runtime
relocations are performed -- see ld's documentation on pseudo-relocs. *
/
# define LT_DLSYM_CONST
#elif defined(__osf__)
/* This system does not cope well with relocations in const data. */
# define LT_DLSYM_CONST
#else
# define LT_DLSYM_CONST const
#endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
_LT_EOF _LT_EOF
# Now generate the symbol file. # Now generate the symbol file.
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v ma in >> conftest.$ac_ext' eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v ma in >> conftest.$ac_ext'
cat <<_LT_EOF >> conftest.$ac_ext cat <<_LT_EOF >> conftest.$ac_ext
/* The mapping between symbol names and symbols. */ /* The mapping between symbol names and symbols. */
const struct { LT_DLSYM_CONST struct {
const char *name; const char *name;
void *address; void *address;
} }
lt__PROGRAM__LTX_preloaded_symbols[] = lt__PROGRAM__LTX_preloaded_symbols[] =
{ {
{ "@PROGRAM@", (void *) 0 }, { "@PROGRAM@", (void *) 0 },
_LT_EOF _LT_EOF
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2 },/" < "$nlist" | $GREP -v main >> conftest.$ac_ext $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2 },/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
cat <<\_LT_EOF >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext
{0, (void *) 0} {0, (void *) 0}
skipping to change at line 5740 skipping to change at line 6020
return lt__PROGRAM__LTX_preloaded_symbols; return lt__PROGRAM__LTX_preloaded_symbols;
} }
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
_LT_EOF _LT_EOF
# Now try linking the two files. # Now try linking the two files.
mv conftest.$ac_objext conftstm.$ac_objext mv conftest.$ac_objext conftstm.$ac_objext
lt_save_LIBS="$LIBS" lt_globsym_save_LIBS=$LIBS
lt_save_CFLAGS="$CFLAGS" lt_globsym_save_CFLAGS=$CFLAGS
LIBS="conftstm.$ac_objext" LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
(eval $ac_link) 2>&5 (eval $ac_link) 2>&5
ac_status=$? ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && test -s conftest${ac_exeext}; then test $ac_status = 0; } && test -s conftest${ac_exeext}; then
pipe_works=yes pipe_works=yes
fi fi
LIBS="$lt_save_LIBS" LIBS=$lt_globsym_save_LIBS
CFLAGS="$lt_save_CFLAGS" CFLAGS=$lt_globsym_save_CFLAGS
else else
echo "cannot find nm_test_func in $nlist" >&5 echo "cannot find nm_test_func in $nlist" >&5
fi fi
else else
echo "cannot find nm_test_var in $nlist" >&5 echo "cannot find nm_test_var in $nlist" >&5
fi fi
else else
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
fi fi
else else
skipping to change at line 5789 skipping to change at line 6069
lt_cv_sys_global_symbol_to_cdecl= lt_cv_sys_global_symbol_to_cdecl=
fi fi
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl" ; then 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 "$as_me:${as_lineno-$LINENO}: result: failed" >&5
$as_echo "failed" >&6; } $as_echo "failed" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
$as_echo "ok" >&6; } $as_echo "ok" >&6; }
fi fi
# Response file support.
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
nm_file_list_spec='@'
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
nm_file_list_spec='@'
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
$as_echo_n "checking for sysroot... " >&6; }
# Check whether --with-sysroot was given.
if test "${with_sysroot+set}" = set; then :
withval=$with_sysroot;
else
with_sysroot=no
fi
lt_sysroot=
case ${with_sysroot} in #(
yes)
if test "$GCC" = yes; then
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
fi
;; #(
/*)
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
;; #(
no|'')
;; #(
*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
$as_echo "${with_sysroot}" >&6; }
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
;;
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
$as_echo "${lt_sysroot:-no}" >&6; }
# Check whether --enable-libtool-lock was given. # Check whether --enable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then : if test "${enable_libtool_lock+set}" = set; then :
enableval=$enable_libtool_lock; enableval=$enable_libtool_lock;
fi fi
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
# Some flags need to be propagated to the compiler or linker for good # Some flags need to be propagated to the compiler or linker for good
# libtool support. # libtool support.
case $host in case $host in
skipping to change at line 5914 skipping to change at line 6233
fi fi
rm -rf conftest* rm -rf conftest*
;; ;;
*-*-sco3.2v5*) *-*-sco3.2v5*)
# On SCO OpenServer 5, we need -belf to get full-featured binaries. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
SAVE_CFLAGS="$CFLAGS" SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf" CFLAGS="$CFLAGS -belf"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 { $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; } $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
if test "${lt_cv_cc_needs_belf+set}" = set; then : if ${lt_cv_cc_needs_belf+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
skipping to change at line 5982 skipping to change at line 6301
esac esac
;; ;;
esac esac
fi fi
rm -rf conftest* rm -rf conftest*
;; ;;
esac esac
need_locks="$enable_libtool_lock" need_locks="$enable_libtool_lock"
case $host_os in if test -n "$ac_tool_prefix"; then
rhapsody* | darwin*) # Extract the first word of "${ac_tool_prefix}mt", so it can be a program
if test -n "$ac_tool_prefix"; then name with args.
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a p set dummy ${ac_tool_prefix}mt; ac_word=$2
rogram 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 "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$DSYMUTIL"; then if test -n "$MANIFEST_TOOL"; then
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the tes
t.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do 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_wo rd$ac_exec_ext"; }; then if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_wo rd$ac_exec_ext"; }; then
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
fi fi
fi fi
DSYMUTIL=$ac_cv_prog_DSYMUTIL MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
if test -n "$DSYMUTIL"; then if test -n "$MANIFEST_TOOL"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
$as_echo "$DSYMUTIL" >&6; } $as_echo "$MANIFEST_TOOL" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_DSYMUTIL"; then if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
ac_ct_DSYMUTIL=$DSYMUTIL ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
# Extract the first word of "dsymutil", so it can be a program name with # Extract the first word of "mt", so it can be a program name with args.
args. set dummy mt; ac_word=$2
set dummy dsymutil; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_DSYMUTIL"; then if test -n "$ac_ct_MANIFEST_TOOL"; then
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the t ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user over
est. ride the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do 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_wo rd$ac_exec_ext"; }; then if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_wo rd$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
fi fi
fi fi
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
if test -n "$ac_ct_DSYMUTIL"; then if test -n "$ac_ct_MANIFEST_TOOL"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&
$as_echo "$ac_ct_DSYMUTIL" >&6; } 5
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
if test "x$ac_ct_DSYMUTIL" = x; then if test "x$ac_ct_MANIFEST_TOOL" = x; then
DSYMUTIL=":" MANIFEST_TOOL=":"
else else
case $cross_compiling:$ac_tool_warned in case $cross_compiling:$ac_tool_warned in
yes:) yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre fixed with host triplet" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre fixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet " >&2;} $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet " >&2;}
ac_tool_warned=yes ;; ac_tool_warned=yes ;;
esac esac
DSYMUTIL=$ac_ct_DSYMUTIL MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
fi fi
else else
DSYMUTIL="$ac_cv_prog_DSYMUTIL" MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
fi
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a ma
nifest tool" >&5
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
if ${lt_cv_path_mainfest_tool+:} false; then :
$as_echo_n "(cached) " >&6
else
lt_cv_path_mainfest_tool=no
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
cat conftest.err >&5
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
lt_cv_path_mainfest_tool=yes
fi
rm -f conftest*
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool"
>&5
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
if test "x$lt_cv_path_mainfest_tool" != xyes; then
MANIFEST_TOOL=:
fi fi
case $host_os in
rhapsody* | darwin*)
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a pro # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a p
gram name with args. rogram name with args.
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_NMEDIT+set}" = set; then : if ${ac_cv_prog_DSYMUTIL+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$NMEDIT"; then if test -n "$DSYMUTIL"; then
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # 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_wo
rd$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_e
xt" >&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
fi
if test -z "$ac_cv_prog_DSYMUTIL"; then
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 ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_DSYMUTIL"; then
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the t
est.
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_wo
rd$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_e
xt" >&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
if test "x$ac_ct_DSYMUTIL" = x; then
DSYMUTIL=":"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre
fixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet
" >&2;}
ac_tool_warned=yes ;;
esac
DSYMUTIL=$ac_ct_DSYMUTIL
fi
else
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a pro
gram 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 ${ac_cv_prog_NMEDIT+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$NMEDIT"; then
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do 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_wo rd$ac_exec_ext"; }; then if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_wo rd$ac_exec_ext"; }; then
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
skipping to change at line 6119 skipping to change at line 6550
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_NMEDIT"; then if test -z "$ac_cv_prog_NMEDIT"; then
ac_ct_NMEDIT=$NMEDIT ac_ct_NMEDIT=$NMEDIT
# Extract the first word of "nmedit", so it can be a program name with ar gs. # Extract the first word of "nmedit", so it can be a program name with ar gs.
set dummy nmedit; ac_word=$2 set dummy nmedit; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_NMEDIT"; then if test -n "$ac_ct_NMEDIT"; then
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 6171 skipping to change at line 6602
fi fi
else else
NMEDIT="$ac_cv_prog_NMEDIT" NMEDIT="$ac_cv_prog_NMEDIT"
fi fi
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a progr am name with args. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a progr am name with args.
set dummy ${ac_tool_prefix}lipo; ac_word=$2 set dummy ${ac_tool_prefix}lipo; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_LIPO+set}" = set; then : if ${ac_cv_prog_LIPO+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$LIPO"; then if test -n "$LIPO"; then
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 6210 skipping to change at line 6641
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_LIPO"; then if test -z "$ac_cv_prog_LIPO"; then
ac_ct_LIPO=$LIPO ac_ct_LIPO=$LIPO
# Extract the first word of "lipo", so it can be a program name with args . # Extract the first word of "lipo", so it can be a program name with args .
set dummy lipo; ac_word=$2 set dummy lipo; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_LIPO"; then if test -n "$ac_ct_LIPO"; then
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 6262 skipping to change at line 6693
fi fi
else else
LIPO="$ac_cv_prog_LIPO" LIPO="$ac_cv_prog_LIPO"
fi fi
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}otool", so it can be a prog ram name with args. # Extract the first word of "${ac_tool_prefix}otool", so it can be a prog ram name with args.
set dummy ${ac_tool_prefix}otool; ac_word=$2 set dummy ${ac_tool_prefix}otool; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_OTOOL+set}" = set; then : if ${ac_cv_prog_OTOOL+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$OTOOL"; then if test -n "$OTOOL"; then
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 6301 skipping to change at line 6732
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_OTOOL"; then if test -z "$ac_cv_prog_OTOOL"; then
ac_ct_OTOOL=$OTOOL ac_ct_OTOOL=$OTOOL
# Extract the first word of "otool", so it can be a program name with arg s. # Extract the first word of "otool", so it can be a program name with arg s.
set dummy otool; ac_word=$2 set dummy otool; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_OTOOL"; then if test -n "$ac_ct_OTOOL"; then
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 6353 skipping to change at line 6784
fi fi
else else
OTOOL="$ac_cv_prog_OTOOL" OTOOL="$ac_cv_prog_OTOOL"
fi fi
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a pr ogram name with args. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a pr ogram name with args.
set dummy ${ac_tool_prefix}otool64; ac_word=$2 set dummy ${ac_tool_prefix}otool64; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_OTOOL64+set}" = set; then : if ${ac_cv_prog_OTOOL64+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$OTOOL64"; then if test -n "$OTOOL64"; then
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 6392 skipping to change at line 6823
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_prog_OTOOL64"; then if test -z "$ac_cv_prog_OTOOL64"; then
ac_ct_OTOOL64=$OTOOL64 ac_ct_OTOOL64=$OTOOL64
# Extract the first word of "otool64", so it can be a program name with a rgs. # Extract the first word of "otool64", so it can be a program name with a rgs.
set dummy otool64; ac_word=$2 set dummy otool64; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_OTOOL64"; then if test -n "$ac_ct_OTOOL64"; then
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the tes t. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the tes t.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 6441 skipping to change at line 6872
ac_tool_warned=yes ;; ac_tool_warned=yes ;;
esac esac
OTOOL64=$ac_ct_OTOOL64 OTOOL64=$ac_ct_OTOOL64
fi fi
else else
OTOOL64="$ac_cv_prog_OTOOL64" OTOOL64="$ac_cv_prog_OTOOL64"
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module li nker flag" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module li nker flag" >&5
$as_echo_n "checking for -single_module linker flag... " >&6; } $as_echo_n "checking for -single_module linker flag... " >&6; }
if test "${lt_cv_apple_cc_single_mod+set}" = set; then : if ${lt_cv_apple_cc_single_mod+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_apple_cc_single_mod=no lt_cv_apple_cc_single_mod=no
if test -z "${LT_MULTI_MODULE}"; then if test -z "${LT_MULTI_MODULE}"; then
# By default we will add the -single_module flag. You can override # By default we will add the -single_module flag. You can override
# by either setting the environment variable LT_MULTI_MODULE # by either setting the environment variable LT_MULTI_MODULE
# non-empty at configure time, or by adding -multi_module to the # non-empty at configure time, or by adding -multi_module to the
# link flags. # link flags.
rm -rf libconftest.dylib* rm -rf libconftest.dylib*
echo "int foo(void){return 1;}" > conftest.c echo "int foo(void){return 1;}" > conftest.c
skipping to change at line 6470 skipping to change at line 6901
cat conftest.err >&5 cat conftest.err >&5
fi fi
rm -rf libconftest.dylib* rm -rf libconftest.dylib*
rm -f conftest.* rm -f conftest.*
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod " >&5 { $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 "$lt_cv_apple_cc_single_mod" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols _list linker flag" >&5 { $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; } $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : if ${lt_cv_ld_exported_symbols_list+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_ld_exported_symbols_list=no lt_cv_ld_exported_symbols_list=no
save_LDFLAGS=$LDFLAGS save_LDFLAGS=$LDFLAGS
echo "_main" > conftest.sym echo "_main" > conftest.sym
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
skipping to change at line 6502 skipping to change at line 6933
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LDFLAGS="$save_LDFLAGS" LDFLAGS="$save_LDFLAGS"
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols _list" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols _list" >&5
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linke r flag" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linke r flag" >&5
$as_echo_n "checking for -force_load linker flag... " >&6; } $as_echo_n "checking for -force_load linker flag... " >&6; }
if test "${lt_cv_ld_force_load+set}" = set; then : if ${lt_cv_ld_force_load+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_ld_force_load=no lt_cv_ld_force_load=no
cat > conftest.c << _LT_EOF cat > conftest.c << _LT_EOF
int forced_loaded() { return 2;} int forced_loaded() { return 2;}
_LT_EOF _LT_EOF
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
echo "$AR cru libconftest.a conftest.o" >&5 echo "$AR cru libconftest.a conftest.o" >&5
$AR cru libconftest.a conftest.o 2>&5 $AR cru libconftest.a conftest.o 2>&5
skipping to change at line 6579 skipping to change at line 7010
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preproce ssor" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preproce ssor" >&5
$as_echo_n "checking how to run the C preprocessor... " >&6; } $as_echo_n "checking how to run the C preprocessor... " >&6; }
# On Suns, sometimes $CPP names a directory. # On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then if test -n "$CPP" && test -d "$CPP"; then
CPP= CPP=
fi fi
if test -z "$CPP"; then if test -z "$CPP"; then
if test "${ac_cv_prog_CPP+set}" = set; then : if ${ac_cv_prog_CPP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
# Double quotes because CPP needs to be expanded # Double quotes because CPP needs to be expanded
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
do do
ac_preproc_ok=false ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes for ac_c_preproc_warn_flag in '' yes
do do
# Use a header file that comes with gcc, so configuring glibc # Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works. # with a fresh cross-compiler works.
skipping to change at line 6609 skipping to change at line 7040
# include <assert.h> # include <assert.h>
#endif #endif
Syntax error Syntax error
_ACEOF _ACEOF
if ac_fn_c_try_cpp "$LINENO"; then : if ac_fn_c_try_cpp "$LINENO"; then :
else else
# Broken: fails on valid input. # Broken: fails on valid input.
continue continue
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.i conftest.$ac_ext
# OK, works on sane cases. Now check whether nonexistent headers # OK, works on sane cases. Now check whether nonexistent headers
# can be detected and how. # can be detected and how.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <ac_nonexistent.h> #include <ac_nonexistent.h>
_ACEOF _ACEOF
if ac_fn_c_try_cpp "$LINENO"; then : if ac_fn_c_try_cpp "$LINENO"; then :
# Broken: success on invalid input. # Broken: success on invalid input.
continue continue
else else
# Passes both tests. # Passes both tests.
ac_preproc_ok=: ac_preproc_ok=:
break break
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.i conftest.$ac_ext
done done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok; then : if $ac_preproc_ok; then :
break break
fi fi
done done
ac_cv_prog_CPP=$CPP ac_cv_prog_CPP=$CPP
fi fi
CPP=$ac_cv_prog_CPP CPP=$ac_cv_prog_CPP
else else
skipping to change at line 6668 skipping to change at line 7099
# include <assert.h> # include <assert.h>
#endif #endif
Syntax error Syntax error
_ACEOF _ACEOF
if ac_fn_c_try_cpp "$LINENO"; then : if ac_fn_c_try_cpp "$LINENO"; then :
else else
# Broken: fails on valid input. # Broken: fails on valid input.
continue continue
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.i conftest.$ac_ext
# OK, works on sane cases. Now check whether nonexistent headers # OK, works on sane cases. Now check whether nonexistent headers
# can be detected and how. # can be detected and how.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <ac_nonexistent.h> #include <ac_nonexistent.h>
_ACEOF _ACEOF
if ac_fn_c_try_cpp "$LINENO"; then : if ac_fn_c_try_cpp "$LINENO"; then :
# Broken: success on invalid input. # Broken: success on invalid input.
continue continue
else else
# Passes both tests. # Passes both tests.
ac_preproc_ok=: ac_preproc_ok=:
break break
fi fi
rm -f conftest.err conftest.$ac_ext rm -f conftest.err conftest.i conftest.$ac_ext
done done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok; then : if $ac_preproc_ok; then :
else else
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 { { $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: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details" "$LINENO" 5; } See \`config.log' for more details" "$LINENO" 5; }
fi fi
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; } $as_echo_n "checking for ANSI C header files... " >&6; }
if test "${ac_cv_header_stdc+set}" = set; then : if ${ac_cv_header_stdc+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <float.h> #include <float.h>
int int
skipping to change at line 6836 skipping to change at line 7267
_ACEOF _ACEOF
fi fi
done done
for ac_header in dlfcn.h for ac_header in dlfcn.h
do : do :
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" " $ac_includes_default 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 : if test "x$ac_cv_header_dlfcn_h" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_DLFCN_H 1 #define HAVE_DLFCN_H 1
_ACEOF _ACEOF
fi fi
done done
# Set options # Set options
skipping to change at line 6943 skipping to change at line 7374
LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIBTOOL='$(SHELL) $(top_builddir)/libtool'
test -z "$LN_S" && LN_S="ln -s" test -z "$LN_S" && LN_S="ln -s"
if test -n "${ZSH_VERSION+set}" ; then if test -n "${ZSH_VERSION+set}" ; then
setopt NO_GLOB_SUBST setopt NO_GLOB_SUBST
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
$as_echo_n "checking for objdir... " >&6; } $as_echo_n "checking for objdir... " >&6; }
if test "${lt_cv_objdir+set}" = set; then : if ${lt_cv_objdir+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
rm -f .libs 2>/dev/null rm -f .libs 2>/dev/null
mkdir .libs 2>/dev/null mkdir .libs 2>/dev/null
if test -d .libs; then if test -d .libs; then
lt_cv_objdir=.libs lt_cv_objdir=.libs
else else
# MS-DOS does not allow filenames that begin with a dot. # MS-DOS does not allow filenames that begin with a dot.
lt_cv_objdir=_libs lt_cv_objdir=_libs
fi fi
skipping to change at line 7013 skipping to change at line 7444
done done
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
# Only perform the check for file, if the check method requires it # Only perform the check for file, if the check method requires it
test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$MAGIC_CMD" && MAGIC_CMD=file
case $deplibs_check_method in case $deplibs_check_method in
file_magic*) file_magic*)
if test "$file_magic_cmd" = '$MAGIC_CMD'; then if test "$file_magic_cmd" = '$MAGIC_CMD'; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix} file" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix} file" >&5
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : if ${lt_cv_path_MAGIC_CMD+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
case $MAGIC_CMD in case $MAGIC_CMD in
[\\/*] | ?:[\\/]*) [\\/*] | ?:[\\/]*)
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
;; ;;
*) *)
lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_MAGIC_CMD="$MAGIC_CMD"
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
skipping to change at line 7075 skipping to change at line 7506
$as_echo "$MAGIC_CMD" >&6; } $as_echo "$MAGIC_CMD" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
if test -z "$lt_cv_path_MAGIC_CMD"; then if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
$as_echo_n "checking for file... " >&6; } $as_echo_n "checking for file... " >&6; }
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : if ${lt_cv_path_MAGIC_CMD+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
case $MAGIC_CMD in case $MAGIC_CMD in
[\\/*] | ?:[\\/]*) [\\/*] | ?:[\\/]*)
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
;; ;;
*) *)
lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_MAGIC_CMD="$MAGIC_CMD"
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
skipping to change at line 7208 skipping to change at line 7639
if test "$GCC" = yes; then if test "$GCC" = yes; then
case $cc_basename in case $cc_basename in
nvcc*) nvcc*)
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
*) *)
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
esac esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports - fno-rtti -fno-exceptions" >&5 { $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; } $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " > &6; }
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_rtti_exceptions=no
ac_outfile=conftest.$ac_objext ac_outfile=conftest.$ac_objext
echo "$lt_simple_compile_test_code" > conftest.$ac_ext echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="-fno-rtti -fno-exceptions" lt_compiler_flag="-fno-rtti -fno-exceptions"
# Insert the option either (1) after the last *FLAGS variable, or # Insert the option either (1) after the last *FLAGS variable, or
# (2) before a word containing "conftest.", or (3) at the end. # (2) before a word containing "conftest.", or (3) at the end.
# Note that $ac_compile itself does not contain backslashes and begins # Note that $ac_compile itself does not contain backslashes and begins
# with a dollar sign (not a hyphen), so the echo should work correctly. # with a dollar sign (not a hyphen), so the echo should work correctly.
skipping to change at line 7256 skipping to change at line 7687
else else
: :
fi fi
fi fi
lt_prog_compiler_wl= lt_prog_compiler_wl=
lt_prog_compiler_pic= lt_prog_compiler_pic=
lt_prog_compiler_static= lt_prog_compiler_static=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to p
roduce PIC" >&5
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
if test "$GCC" = yes; then if test "$GCC" = yes; then
lt_prog_compiler_wl='-Wl,' lt_prog_compiler_wl='-Wl,'
lt_prog_compiler_static='-static' lt_prog_compiler_static='-static'
case $host_os in case $host_os in
aix*) aix*)
# All AIX code is PIC. # All AIX code is PIC.
if test "$host_cpu" = ia64; then if test "$host_cpu" = ia64; then
# AIX 5 now supports IA64 processor # AIX 5 now supports IA64 processor
lt_prog_compiler_static='-Bstatic' lt_prog_compiler_static='-Bstatic'
skipping to change at line 7422 skipping to change at line 7850
lt_prog_compiler_wl='-Wl,' lt_prog_compiler_wl='-Wl,'
lt_prog_compiler_pic='-fPIC' lt_prog_compiler_pic='-fPIC'
lt_prog_compiler_static='-static' lt_prog_compiler_static='-static'
;; ;;
# Lahey Fortran 8.1. # Lahey Fortran 8.1.
lf95*) lf95*)
lt_prog_compiler_wl='-Wl,' lt_prog_compiler_wl='-Wl,'
lt_prog_compiler_pic='--shared' lt_prog_compiler_pic='--shared'
lt_prog_compiler_static='--static' lt_prog_compiler_static='--static'
;; ;;
nagfor*)
# NAG Fortran compiler
lt_prog_compiler_wl='-Wl,-Wl,,'
lt_prog_compiler_pic='-PIC'
lt_prog_compiler_static='-Bstatic'
;;
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group compilers (*not* the Pentium gcc compiler, # Portland Group compilers (*not* the Pentium gcc compiler,
# which looks to be a dead project) # which looks to be a dead project)
lt_prog_compiler_wl='-Wl,' lt_prog_compiler_wl='-Wl,'
lt_prog_compiler_pic='-fpic' lt_prog_compiler_pic='-fpic'
lt_prog_compiler_static='-Bstatic' lt_prog_compiler_static='-Bstatic'
;; ;;
ccc*) ccc*)
lt_prog_compiler_wl='-Wl,' lt_prog_compiler_wl='-Wl,'
# All Alpha code is PIC. # All Alpha code is PIC.
skipping to change at line 7541 skipping to change at line 7975
case $host_os in case $host_os in
# For platforms which do not support PIC, -DPIC is meaningless: # For platforms which do not support PIC, -DPIC is meaningless:
*djgpp*) *djgpp*)
lt_prog_compiler_pic= lt_prog_compiler_pic=
;; ;;
*) *)
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
;; ;;
esac esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
$as_echo "$lt_prog_compiler_pic" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to p
roduce PIC" >&5
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
if ${lt_cv_prog_compiler_pic+:} false; then :
$as_echo_n "(cached) " >&6
else
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic"
>&5
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
# #
# Check to make sure the PIC flag actually works. # Check to make sure the PIC flag actually works.
# #
if test -n "$lt_prog_compiler_pic"; then 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 "$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; } $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 : if ${lt_cv_prog_compiler_pic_works+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_prog_compiler_pic_works=no lt_cv_prog_compiler_pic_works=no
ac_outfile=conftest.$ac_objext ac_outfile=conftest.$ac_objext
echo "$lt_simple_compile_test_code" > conftest.$ac_ext echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
# Insert the option either (1) after the last *FLAGS variable, or # Insert the option either (1) after the last *FLAGS variable, or
# (2) before a word containing "conftest.", or (3) at the end. # (2) before a word containing "conftest.", or (3) at the end.
# Note that $ac_compile itself does not contain backslashes and begins # Note that $ac_compile itself does not contain backslashes and begins
# with a dollar sign (not a hyphen), so the echo should work correctly. # with a dollar sign (not a hyphen), so the echo should work correctly.
skipping to change at line 7604 skipping to change at line 8047
fi fi
fi fi
# #
# Check to make sure the static flag actually works. # Check to make sure the static flag actually works.
# #
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\ " 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 "$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; } $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 : if ${lt_cv_prog_compiler_static_works+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_prog_compiler_static_works=no lt_cv_prog_compiler_static_works=no
save_LDFLAGS="$LDFLAGS" save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
echo "$lt_simple_link_test_code" > conftest.$ac_ext echo "$lt_simple_link_test_code" > conftest.$ac_ext
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# The linker can only warn and ignore the option if not recognized # The linker can only warn and ignore the option if not recognized
# So say no if there are warnings # So say no if there are warnings
if test -s conftest.err; then if test -s conftest.err; then
skipping to change at line 7641 skipping to change at line 8084
$as_echo "$lt_cv_prog_compiler_static_works" >&6; } $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
if test x"$lt_cv_prog_compiler_static_works" = xyes; then if test x"$lt_cv_prog_compiler_static_works" = xyes; then
: :
else else
lt_prog_compiler_static= lt_prog_compiler_static=
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports - c -o file.$ac_objext" >&5 { $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; } $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : if ${lt_cv_prog_compiler_c_o+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_prog_compiler_c_o=no lt_cv_prog_compiler_c_o=no
$RM -r conftest 2>/dev/null $RM -r conftest 2>/dev/null
mkdir conftest mkdir conftest
cd conftest cd conftest
mkdir out mkdir out
echo "$lt_simple_compile_test_code" > conftest.$ac_ext echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="-o out/conftest2.$ac_objext" lt_compiler_flag="-o out/conftest2.$ac_objext"
skipping to change at line 7691 skipping to change at line 8134
cd .. cd ..
$RM -r conftest $RM -r conftest
$RM conftest* $RM conftest*
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
$as_echo "$lt_cv_prog_compiler_c_o" >&6; } $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports - c -o file.$ac_objext" >&5 { $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; } $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : if ${lt_cv_prog_compiler_c_o+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_prog_compiler_c_o=no lt_cv_prog_compiler_c_o=no
$RM -r conftest 2>/dev/null $RM -r conftest 2>/dev/null
mkdir conftest mkdir conftest
cd conftest cd conftest
mkdir out mkdir out
echo "$lt_simple_compile_test_code" > conftest.$ac_ext echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="-o out/conftest2.$ac_objext" lt_compiler_flag="-o out/conftest2.$ac_objext"
skipping to change at line 7929 skipping to change at line 8372
;; ;;
cygwin* | mingw* | pw32* | cegcc*) cygwin* | mingw* | pw32* | cegcc*)
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
# as there is no search path for DLLs. # as there is no search path for DLLs.
hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_flag_spec='-L$libdir'
export_dynamic_flag_spec='${wl}--export-all-symbols' export_dynamic_flag_spec='${wl}--export-all-symbols'
allow_undefined_flag=unsupported allow_undefined_flag=unsupported
always_export_symbols=no always_export_symbols=no
enable_shared_with_static_runtimes=yes enable_shared_with_static_runtimes=yes
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe
| $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[ | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*
AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' \)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $expor
t_symbols'
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+he
ad_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $out put_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xli nker $lib' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $out put_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xli nker $lib'
# If the export-symbols file already is a .def file (1st line # If the export-symbols file already is a .def file (1st line
# is EXPORTS), use it as is; otherwise, prepend... # is EXPORTS), use it as is; otherwise, prepend...
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS ; then archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS ; then
cp $export_symbols $output_objdir/$soname.def; cp $export_symbols $output_objdir/$soname.def;
else else
echo EXPORTS > $output_objdir/$soname.def; echo EXPORTS > $output_objdir/$soname.def;
cat $export_symbols >> $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def;
skipping to change at line 7977 skipping to change at line 8421
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
tmp_diet=no tmp_diet=no
if test "$host_os" = linux-dietlibc; then if test "$host_os" = linux-dietlibc; then
case $cc_basename in case $cc_basename in
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
esac esac
fi fi
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no && test "$tmp_diet" = no
then then
tmp_addflag= tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared' tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler pgcc*) # Portland Group C compiler
whole_archive_flag_spec='${wl}--whole-archive`for conv in $conveni ence\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv \"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' whole_archive_flag_spec='${wl}--whole-archive`for conv in $conveni ence\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv \"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
tmp_addflag=' $pic_flag' tmp_addflag=' $pic_flag'
;; ;;
pgf77* | pgf90* | pgf95* | pgfortran*) pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group f77 and f90 compile rs # Portland Group f77 and f90 compile rs
whole_archive_flag_spec='${wl}--whole-archive`for conv in $conveni ence\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv \"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' whole_archive_flag_spec='${wl}--whole-archive`for conv in $conveni ence\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv \"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
tmp_addflag=' $pic_flag -Mnomain' ;; tmp_addflag=' $pic_flag -Mnomain' ;;
skipping to change at line 8047 skipping to change at line 8491
else else
ld_shlibs=no ld_shlibs=no
fi fi
;; ;;
netbsd*) netbsd*)
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $li b' archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $li b'
wlarc= wlarc=
else else
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flag
name $wl$soname -o $lib' s ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compil
{wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib er_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbo
' ls -o $lib'
fi fi
;; ;;
solaris*) solaris*)
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
ld_shlibs=no ld_shlibs=no
cat <<_LT_EOF 1>&2 cat <<_LT_EOF 1>&2
*** Warning: The releases 2.8.* of the GNU linker cannot reliably *** Warning: The releases 2.8.* of the GNU linker cannot reliably
*** create shared libraries on Solaris systems. Therefore, libtool *** create shared libraries on Solaris systems. Therefore, libtool
*** is disabling shared libraries support. We urge you to upgrade GNU *** is disabling shared libraries support. We urge you to upgrade GNU
*** binutils to release 2.9.1 or newer. Another option is to modify *** binutils to release 2.9.1 or newer. Another option is to modify
*** your PATH or compiler configuration so that the native linker is *** your PATH or compiler configuration so that the native linker is
*** used, and then restart. *** used, and then restart.
_LT_EOF _LT_EOF
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null ; then elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null ; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flag
name $wl$soname -o $lib' s ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compil
{wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib er_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbo
' ls -o $lib'
else else
ld_shlibs=no ld_shlibs=no
fi fi
;; ;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
case `$LD -v 2>&1` in case `$LD -v 2>&1` in
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
ld_shlibs=no ld_shlibs=no
cat <<_LT_EOF 1>&2 cat <<_LT_EOF 1>&2
skipping to change at line 8113 skipping to change at line 8557
sunos4*) sunos4*)
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $dep libs $linker_flags' archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $dep libs $linker_flags'
wlarc= wlarc=
hardcode_direct=yes hardcode_direct=yes
hardcode_shlibpath_var=no hardcode_shlibpath_var=no
;; ;;
*) *)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flag
name $wl$soname -o $lib' s ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compil
{wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib er_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbo
' ls -o $lib'
else else
ld_shlibs=no ld_shlibs=no
fi fi
;; ;;
esac esac
if test "$ld_shlibs" = no; then if test "$ld_shlibs" = no; then
runpath_var= runpath_var=
hardcode_libdir_flag_spec= hardcode_libdir_flag_spec=
export_dynamic_flag_spec= export_dynamic_flag_spec=
skipping to change at line 8244 skipping to change at line 8688
export_dynamic_flag_spec='${wl}-bexpall' export_dynamic_flag_spec='${wl}-bexpall'
# It seems that -bexpall does not export symbols beginning with # It seems that -bexpall does not export symbols beginning with
# underscore (_), so it is better to generate a list of symbols to ex port. # underscore (_), so it is better to generate a list of symbols to ex port.
always_export_symbols=yes always_export_symbols=yes
if test "$aix_use_runtimelinking" = yes; then if test "$aix_use_runtimelinking" = yes; then
# Warning - without using the other runtime loading flags (-brtl), # Warning - without using the other runtime loading flags (-brtl),
# -berok will link without error, but may produce a broken library. # -berok will link without error, but may produce a broken library.
allow_undefined_flag='-berok' allow_undefined_flag='-berok'
# Determine the default libpath from the value encoded in an # Determine the default libpath from the value encoded in an
# empty executable. # empty executable.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext if test "${lt_cv_aix_libpath+set}" = set; then
aix_libpath=$lt_cv_aix_libpath
else
if ${lt_cv_aix_libpath_+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
lt_aix_libpath_sed=' lt_aix_libpath_sed='
/Import File Strings/,/^$/ { /Import File Strings/,/^$/ {
/^0/ { /^0/ {
s/^0 *\(.*\)$/\1/ s/^0 *\([^ ]*\) *$/\1/
p p
} }
}' }'
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_l lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "
ibpath_sed"` $lt_aix_libpath_sed"`
# Check for a 64-bit object if we didn't find anything. # Check for a 64-bit object if we didn't find anything.
if test -z "$aix_libpath"; then if test -z "$lt_cv_aix_libpath_"; then
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n
aix_libpath_sed"` -e "$lt_aix_libpath_sed"`
fi fi
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi if test -z "$lt_cv_aix_libpath_"; then
lt_cv_aix_libpath_="/usr/lib:/lib"
fi
fi
aix_libpath=$lt_cv_aix_libpath_
fi
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplib s '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_fla g}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplib s '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_fla g}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
else else
if test "$host_cpu" = ia64; then if test "$host_cpu" = ia64; then
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
allow_undefined_flag="-z nodefs" allow_undefined_flag="-z nodefs"
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_un defined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_un defined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
else else
# Determine the default libpath from the value encoded in an # Determine the default libpath from the value encoded in an
# empty executable. # empty executable.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext if test "${lt_cv_aix_libpath+set}" = set; then
aix_libpath=$lt_cv_aix_libpath
else
if ${lt_cv_aix_libpath_+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
lt_aix_libpath_sed=' lt_aix_libpath_sed='
/Import File Strings/,/^$/ { /Import File Strings/,/^$/ {
/^0/ { /^0/ {
s/^0 *\(.*\)$/\1/ s/^0 *\([^ ]*\) *$/\1/
p p
} }
}' }'
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_l lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "
ibpath_sed"` $lt_aix_libpath_sed"`
# Check for a 64-bit object if we didn't find anything. # Check for a 64-bit object if we didn't find anything.
if test -z "$aix_libpath"; then if test -z "$lt_cv_aix_libpath_"; then
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n
aix_libpath_sed"` -e "$lt_aix_libpath_sed"`
fi fi
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi if test -z "$lt_cv_aix_libpath_"; then
lt_cv_aix_libpath_="/usr/lib:/lib"
fi
fi
aix_libpath=$lt_cv_aix_libpath_
fi
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags, # Warning - without using the other run time loading flags,
# -berok will link without error, but may produce a broken library . # -berok will link without error, but may produce a broken library .
no_undefined_flag=' ${wl}-bernotok' no_undefined_flag=' ${wl}-bernotok'
allow_undefined_flag=' ${wl}-berok' allow_undefined_flag=' ${wl}-berok'
if test "$with_gnu_ld" = yes; then if test "$with_gnu_ld" = yes; then
# We only use this code for GNU lds that support --whole-archive . # We only use this code for GNU lds that support --whole-archive .
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}- -no-whole-archive' whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}- -no-whole-archive'
else else
skipping to change at line 8357 skipping to change at line 8827
bsdi[45]*) bsdi[45]*)
export_dynamic_flag_spec=-rdynamic export_dynamic_flag_spec=-rdynamic
;; ;;
cygwin* | mingw* | pw32* | cegcc*) cygwin* | mingw* | pw32* | cegcc*)
# When not using gcc, we currently assume that we are using # When not using gcc, we currently assume that we are using
# Microsoft Visual C++. # Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is # hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs. # no search path for DLLs.
hardcode_libdir_flag_spec=' ' case $cc_basename in
allow_undefined_flag=unsupported cl*)
# Tell ltmain to make .lib files, not .a files. # Native MSVC
libext=lib hardcode_libdir_flag_spec=' '
# Tell ltmain to make .dll files, not .so files. allow_undefined_flag=unsupported
shrext_cmds=".dll" always_export_symbols=yes
# FIXME: Setting linknames here is a bad hack. file_list_spec='@'
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$d # Tell ltmain to make .lib files, not .a files.
eplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' libext=lib
# The linker will automatically build a .lib file if we build a DLL. # Tell ltmain to make .dll files, not .so files.
old_archive_from_new_cmds='true' shrext_cmds=".dll"
# FIXME: Should let the user specify the lib program. # FIXME: Setting linknames here is a bad hack.
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags
fix_srcfile_path='`cygpath -w "$srcfile"`' $deplibs -Wl,-dll~linknames='
enable_shared_with_static_runtimes=yes archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS
; then
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '
1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
else
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $expo
rt_symbols > $output_objdir/$soname.exp;
fi~
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplib
s "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$l
ibname.dll.lib"~
linknames='
# The linker will not automatically build a static lib if we build a
DLL.
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
enable_shared_with_static_runtimes=yes
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe
| $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^
[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
# Don't use ranlib
old_postinstall_cmds='chmod 644 $oldlib'
postlink_cmds='lt_outputfile="@OUTPUT@"~
lt_tool_outputfile="@TOOL_OUTPUT@"~
case $lt_outputfile in
*.exe|*.EXE) ;;
*)
lt_outputfile="$lt_outputfile.exe"
lt_tool_outputfile="$lt_tool_outputfile.exe"
;;
esac~
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifes
t"; then
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputr
esource:"$lt_tool_outputfile" || exit 1;
$RM "$lt_outputfile.manifest";
fi'
;;
*)
# Assume MSVC wrapper
hardcode_libdir_flag_spec=' '
allow_undefined_flag=unsupported
# Tell ltmain to make .lib files, not .a files.
libext=lib
# Tell ltmain to make .dll files, not .so files.
shrext_cmds=".dll"
# FIXME: Setting linknames here is a bad hack.
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$
deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
# The linker will automatically build a .lib file if we build a DLL.
old_archive_from_new_cmds='true'
# FIXME: Should let the user specify the lib program.
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
enable_shared_with_static_runtimes=yes
;;
esac
;; ;;
darwin* | rhapsody*) darwin* | rhapsody*)
archive_cmds_need_lc=no archive_cmds_need_lc=no
hardcode_direct=no hardcode_direct=no
hardcode_automatic=yes hardcode_automatic=yes
hardcode_shlibpath_var=unsupported hardcode_shlibpath_var=unsupported
if test "$lt_cv_ld_force_load" = "yes"; then if test "$lt_cv_ld_force_load" = "yes"; then
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$ conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done ; func_echo_all \"$new_convenience\"`' whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$ conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done ; func_echo_all \"$new_convenience\"`'
skipping to change at line 8434 skipping to change at line 8947
# Unfortunately, older versions of FreeBSD 2 do not have this feature. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
freebsd2*) freebsd2*)
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags ' archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags '
hardcode_direct=yes hardcode_direct=yes
hardcode_minus_L=yes hardcode_minus_L=yes
hardcode_shlibpath_var=no hardcode_shlibpath_var=no
;; ;;
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
freebsd* | dragonfly*) freebsd* | dragonfly*)
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compil er_flags'
hardcode_libdir_flag_spec='-R$libdir' hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes hardcode_direct=yes
hardcode_shlibpath_var=no hardcode_shlibpath_var=no
;; ;;
hpux9*) hpux9*)
if test "$GCC" = yes; then if test "$GCC" = yes; then
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b $ {wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_f lags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl} +b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compil er_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $l ib'
else else
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir - o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdi r/$soname = $lib || mv $output_objdir/$soname $lib' archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir - o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdi r/$soname = $lib || mv $output_objdir/$soname $lib'
fi fi
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_separator=: hardcode_libdir_separator=:
hardcode_direct=yes hardcode_direct=yes
# hardcode_minus_L: Not really in the search PATH, # hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library. # but as the default location of the library.
hardcode_minus_L=yes hardcode_minus_L=yes
export_dynamic_flag_spec='${wl}-E' export_dynamic_flag_spec='${wl}-E'
;; ;;
hpux10*) hpux10*)
if test "$GCC" = yes && test "$with_gnu_ld" = no; then if test "$GCC" = yes && test "$with_gnu_ld" = no; then
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$i nstall_libdir -o $lib $libobjs $deplibs $compiler_flags' archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${w l}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
else else
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
fi fi
if test "$with_gnu_ld" = no; then if test "$with_gnu_ld" = no; then
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_flag_spec_ld='+b $libdir' hardcode_libdir_flag_spec_ld='+b $libdir'
hardcode_libdir_separator=: hardcode_libdir_separator=:
hardcode_direct=yes hardcode_direct=yes
hardcode_direct_absolute=yes hardcode_direct_absolute=yes
export_dynamic_flag_spec='${wl}-E' export_dynamic_flag_spec='${wl}-E'
skipping to change at line 8482 skipping to change at line 8995
fi fi
;; ;;
hpux11*) hpux11*)
if test "$GCC" = yes && test "$with_gnu_ld" = no; then if test "$GCC" = yes && test "$with_gnu_ld" = no; then
case $host_cpu in case $host_cpu in
hppa*64*) hppa*64*)
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $d eplibs $compiler_flags' archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $d eplibs $compiler_flags'
;; ;;
ia64*) ia64*)
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefau ltrpath -o $lib $libobjs $deplibs $compiler_flags' archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nod efaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;; ;;
*) *)
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl} $install_libdir -o $lib $libobjs $deplibs $compiler_flags' archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b $ {wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
;; ;;
esac esac
else else
case $host_cpu in case $host_cpu in
hppa*64*) hppa*64*)
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplib s $compiler_flags' archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplib s $compiler_flags'
;; ;;
ia64*) ia64*)
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;; ;;
*) *)
# Older versions of the 11.00 compiler do not understand -b yet # Older versions of the 11.00 compiler do not understand -b yet
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understan ds -b" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understan ds -b" >&5
$as_echo_n "checking if $CC understands -b... " >&6; } $as_echo_n "checking if $CC understands -b... " >&6; }
if test "${lt_cv_prog_compiler__b+set}" = set; then : if ${lt_cv_prog_compiler__b+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_prog_compiler__b=no lt_cv_prog_compiler__b=no
save_LDFLAGS="$LDFLAGS" save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -b" LDFLAGS="$LDFLAGS -b"
echo "$lt_simple_link_test_code" > conftest.$ac_ext echo "$lt_simple_link_test_code" > conftest.$ac_ext
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# The linker can only warn and ignore the option if not recognized # The linker can only warn and ignore the option if not recognized
# So say no if there are warnings # So say no if there are warnings
if test -s conftest.err; then if test -s conftest.err; then
skipping to change at line 8564 skipping to change at line 9077
# hardcode_minus_L: Not really in the search PATH, # hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library. # but as the default location of the library.
hardcode_minus_L=yes hardcode_minus_L=yes
;; ;;
esac esac
fi fi
;; ;;
irix5* | irix6* | nonstopux*) irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then if test "$GCC" = yes; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so name ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flag s ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-s et_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so _locations -o $lib'
# Try to use the -exported_symbol ld option, if it does not # Try to use the -exported_symbol ld option, if it does not
# work, assume that -exports_file does not work either and # work, assume that -exports_file does not work either and
# implicitly export all symbols. # implicitly export all symbols.
save_LDFLAGS="$LDFLAGS" # This should be the same for all languages, so no per-tag cache var
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-upda iable.
te_registry ${wl}/dev/null" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_
cat confdefs.h - <<_ACEOF >conftest.$ac_ext os linker accepts -exported_symbol" >&5
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol..
. " >&6; }
if ${lt_cv_irix_exported_symbol+:} false; then :
$as_echo_n "(cached) " >&6
else
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-up
date_registry ${wl}/dev/null"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int foo(void) {} int foo (void) { return 0; }
_ACEOF _ACEOF
if ac_fn_c_try_link "$LINENO"; then : if ac_fn_c_try_link "$LINENO"; then :
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}- lt_cv_irix_exported_symbol=yes
soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_versi else
on ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locatio lt_cv_irix_exported_symbol=no
ns ${wl}-exports_file ${wl}$export_symbols -o $lib'
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LDFLAGS="$save_LDFLAGS" LDFLAGS="$save_LDFLAGS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbo
l" >&5
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
if test "$lt_cv_irix_exported_symbol" = yes; then
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $com
piler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_al
l "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_
objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
fi
else else
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` - update_registry ${output_objdir}/so_locations -o $lib' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` - update_registry ${output_objdir}/so_locations -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags - soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstr ing"` -update_registry ${output_objdir}/so_locations -exports_file $export_ symbols -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags - soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstr ing"` -update_registry ${output_objdir}/so_locations -exports_file $export_ symbols -o $lib'
fi fi
archive_cmds_need_lc='no' archive_cmds_need_lc='no'
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=: hardcode_libdir_separator=:
inherit_rpath=yes inherit_rpath=yes
link_all_deplibs=yes link_all_deplibs=yes
;; ;;
skipping to change at line 8665 skipping to change at line 9191
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $ compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set _version $verstring"` -update_registry ${output_objdir}/so_locations -o $li b' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $ compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set _version $verstring"` -update_registry ${output_objdir}/so_locations -o $li b'
fi fi
archive_cmds_need_lc='no' archive_cmds_need_lc='no'
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=: hardcode_libdir_separator=:
;; ;;
osf4* | osf5*) # as osf3* with the addition of -msym flag osf4* | osf5*) # as osf3* with the addition of -msym flag
if test "$GCC" = yes; then if test "$GCC" = yes; then
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $ compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" & & func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$ve rstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update _registry ${wl}${output_objdir}/so_locations -o $lib'
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else else
allow_undefined_flag=' -expect_unresolved \*' allow_undefined_flag=' -expect_unresolved \*'
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $ compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $ compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s % s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s % s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compil er_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO " -set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compil er_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO " -set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
# Both c and cxx compiler support -rpath directly # Both c and cxx compiler support -rpath directly
hardcode_libdir_flag_spec='-rpath $libdir' hardcode_libdir_flag_spec='-rpath $libdir'
fi fi
archive_cmds_need_lc='no' archive_cmds_need_lc='no'
hardcode_libdir_separator=: hardcode_libdir_separator=:
;; ;;
solaris*) solaris*)
no_undefined_flag=' -z defs' no_undefined_flag=' -z defs'
if test "$GCC" = yes; then if test "$GCC" = yes; then
wlarc='${wl}' wlarc='${wl}'
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$ soname -o $lib $libobjs $deplibs $compiler_flags'
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$ soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl }-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
else else
case `$CC -V 2>&1` in case `$CC -V 2>&1` in
*"Compilers 5.0"*) *"Compilers 5.0"*)
wlarc='' wlarc=''
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $li bobjs $deplibs $linker_flags' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $li bobjs $deplibs $linker_flags'
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbo ls | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbo ls | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libo bjs $deplibs $linker_flags~$RM $lib.exp' $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libo bjs $deplibs $linker_flags~$RM $lib.exp'
;; ;;
*) *)
wlarc='${wl}' wlarc='${wl}'
skipping to change at line 8860 skipping to change at line 9386
case $archive_cmds in case $archive_cmds in
*'~'*) *'~'*)
# FIXME: we may have to deal with multi-command sequences. # FIXME: we may have to deal with multi-command sequences.
;; ;;
'$CC '*) '$CC '*)
# Test whether the compiler implicitly links with -lc since on some # Test whether the compiler implicitly links with -lc since on some
# systems, -lgcc has to come before -lc. If gcc already passes -lc # systems, -lgcc has to come before -lc. If gcc already passes -lc
# to ld, don't add -lc before -lgcc. # 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 "$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; } $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then : if ${lt_cv_archive_cmds_need_lc+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
$RM conftest* $RM conftest*
echo "$lt_simple_compile_test_code" > conftest.$ac_ext echo "$lt_simple_compile_test_code" > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\"" ; } >&5 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\"" ; } >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } 2>conftest.err; then test $ac_status = 0; } 2>conftest.err; then
skipping to change at line 9092 skipping to change at line 9618
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
# libtool to hard-code these into programs # libtool to hard-code these into programs
;; ;;
cygwin* | mingw* | pw32* | cegcc*) cygwin* | mingw* | pw32* | cegcc*)
version_type=windows version_type=windows
shrext_cmds=".dll" shrext_cmds=".dll"
need_version=no need_version=no
need_lib_prefix=no need_lib_prefix=no
case $GCC,$host_os in case $GCC,$cc_basename in
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) yes,*)
# gcc
library_names_spec='$libname.dll.a' library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds # DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~ postinstall_cmds='base_file=`basename \${file}`~
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlna me'\''`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlna me'\''`~
dldir=$destdir/`dirname \$dlpath`~ dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~ test -d \$dldir || mkdir -p \$dldir~
$install_prog $dir/$dlname \$dldir/$dlname~ $install_prog $dir/$dlname \$dldir/$dlname~
chmod a+x \$dldir/$dlname~ chmod a+x \$dldir/$dlname~
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
skipping to change at line 9126 skipping to change at line 9653
;; ;;
mingw* | cegcc*) mingw* | cegcc*)
# MinGW DLLs use traditional 'lib' prefix # MinGW DLLs use traditional 'lib' prefix
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versu ffix}${shared_ext}' soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versu ffix}${shared_ext}'
;; ;;
pw32*) pw32*)
# pw32 DLLs use 'pw' prefix rather than 'lib' # pw32 DLLs use 'pw' prefix rather than 'lib'
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${re lease} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${re lease} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
;; ;;
esac esac
dynamic_linker='Win32 ld.exe'
;;
*,cl*)
# Native MSVC
libname_spec='$name'
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuff
ix}${shared_ext}'
library_names_spec='${libname}.dll.lib'
case $build_os in
mingw*)
sys_lib_search_path_spec=
lt_save_ifs=$IFS
IFS=';'
for lt_path in $LIB
do
IFS=$lt_save_ifs
# Let DOS variable expansion print the short 8.3 style file name.
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @
echo %~si"`
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
done
IFS=$lt_save_ifs
# Convert to MSYS style.
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e
's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
;;
cygwin*)
# Convert to unix form, then to dos form, then back to unix form
# but this time dos style (no spaces!) so that the unix form looks
# like /cygdrive/c/PROGRA~1:/cygdr...
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_
spec" 2>/dev/null`
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path
_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
;;
*)
sys_lib_search_path_spec="$LIB"
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null
; then
# It is most probably a Windows format PATH.
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED
-e 's/;/ /g'`
else
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED
-e "s/$PATH_SEPARATOR/ /g"`
fi
# FIXME: find the short name or the path components, as spaces are
# common. (e.g. "Program Files" -> "PROGRA~1")
;;
esac
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlna
me'\''`~
dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~
$install_prog $dir/$dlname \$dldir/$dlname'
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\'
'`~
dlpath=$dir/\$dldll~
$RM \$dlpath'
shlibpath_overrides_runpath=yes
dynamic_linker='Win32 link.exe'
;; ;;
*) *)
# Assume MSVC wrapper
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${ versuffix}${shared_ext} $libname.lib' library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${ versuffix}${shared_ext} $libname.lib'
dynamic_linker='Win32 ld.exe'
;; ;;
esac esac
dynamic_linker='Win32 ld.exe'
# FIXME: first we should search . and the directory the executable is in # FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH shlibpath_var=PATH
;; ;;
darwin* | rhapsody*) darwin* | rhapsody*)
dynamic_linker="$host_os dyld" dynamic_linker="$host_os dyld"
version_type=darwin version_type=darwin
need_lib_prefix=no need_lib_prefix=no
need_version=no need_version=no
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$sh ared_ext' library_names_spec='${libname}${release}${major}$shared_ext ${libname}$sh ared_ext'
skipping to change at line 9346 skipping to change at line 9931
version_type=linux version_type=linux
need_lib_prefix=no need_lib_prefix=no
need_version=no need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname }${release}${shared_ext}$major $libname${shared_ext}' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname }${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major' soname_spec='${libname}${release}${shared_ext}$major'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
shlibpath_var=LD_LIBRARY_PATH shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no shlibpath_overrides_runpath=no
# Some binutils ld are patched to set DT_RUNPATH # Some binutils ld are patched to set DT_RUNPATH
if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_shlibpath_overrides_runpath=no lt_cv_shlibpath_overrides_runpath=no
save_LDFLAGS=$LDFLAGS save_LDFLAGS=$LDFLAGS
save_libdir=$libdir save_libdir=$libdir
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
skipping to change at line 9674 skipping to change at line 10259
cygwin*) cygwin*)
lt_cv_dlopen="dlopen" lt_cv_dlopen="dlopen"
lt_cv_dlopen_libs= lt_cv_dlopen_libs=
;; ;;
darwin*) darwin*)
# if libdl is installed we need to link against it # 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 "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" > &5
$as_echo_n "checking for dlopen in -ldl... " >&6; } $as_echo_n "checking for dlopen in -ldl... " >&6; }
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : if ${ac_cv_lib_dl_dlopen+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS" LIBS="-ldl $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
skipping to change at line 9708 skipping to change at line 10293
ac_cv_lib_dl_dlopen=yes ac_cv_lib_dl_dlopen=yes
else else
ac_cv_lib_dl_dlopen=no ac_cv_lib_dl_dlopen=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
else else
lt_cv_dlopen="dyld" lt_cv_dlopen="dyld"
lt_cv_dlopen_libs= lt_cv_dlopen_libs=
lt_cv_dlopen_self=yes lt_cv_dlopen_self=yes
fi fi
;; ;;
*) *)
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
if test "x$ac_cv_func_shl_load" = x""yes; then : if test "x$ac_cv_func_shl_load" = xyes; then :
lt_cv_dlopen="shl_load" lt_cv_dlopen="shl_load"
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
$as_echo_n "checking for shl_load in -ldld... " >&6; } $as_echo_n "checking for shl_load in -ldld... " >&6; }
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : if ${ac_cv_lib_dld_shl_load+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-ldld $LIBS" LIBS="-ldld $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
skipping to change at line 9761 skipping to change at line 10346
ac_cv_lib_dld_shl_load=yes ac_cv_lib_dld_shl_load=yes
else else
ac_cv_lib_dld_shl_load=no ac_cv_lib_dld_shl_load=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" > &5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" > &5
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
else else
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
if test "x$ac_cv_func_dlopen" = x""yes; then : if test "x$ac_cv_func_dlopen" = xyes; then :
lt_cv_dlopen="dlopen" lt_cv_dlopen="dlopen"
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
$as_echo_n "checking for dlopen in -ldl... " >&6; } $as_echo_n "checking for dlopen in -ldl... " >&6; }
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : if ${ac_cv_lib_dl_dlopen+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS" LIBS="-ldl $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
skipping to change at line 9804 skipping to change at line 10389
ac_cv_lib_dl_dlopen=yes ac_cv_lib_dl_dlopen=yes
else else
ac_cv_lib_dl_dlopen=no ac_cv_lib_dl_dlopen=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" > &5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" > &5
$as_echo_n "checking for dlopen in -lsvld... " >&6; } $as_echo_n "checking for dlopen in -lsvld... " >&6; }
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : if ${ac_cv_lib_svld_dlopen+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-lsvld $LIBS" LIBS="-lsvld $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
skipping to change at line 9843 skipping to change at line 10428
ac_cv_lib_svld_dlopen=yes ac_cv_lib_svld_dlopen=yes
else else
ac_cv_lib_svld_dlopen=no ac_cv_lib_svld_dlopen=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >& 5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >& 5
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
$as_echo_n "checking for dld_link in -ldld... " >&6; } $as_echo_n "checking for dld_link in -ldld... " >&6; }
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : if ${ac_cv_lib_dld_dld_link+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-ldld $LIBS" LIBS="-ldld $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
skipping to change at line 9882 skipping to change at line 10467
ac_cv_lib_dld_dld_link=yes ac_cv_lib_dld_dld_link=yes
else else
ac_cv_lib_dld_dld_link=no ac_cv_lib_dld_dld_link=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" > &5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" > &5
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
fi fi
fi fi
fi fi
fi fi
fi fi
skipping to change at line 9918 skipping to change at line 10503
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFC N_H" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFC N_H"
save_LDFLAGS="$LDFLAGS" save_LDFLAGS="$LDFLAGS"
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_s pec\" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_s pec\"
save_LIBS="$LIBS" save_LIBS="$LIBS"
LIBS="$lt_cv_dlopen_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 "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
$as_echo_n "checking whether a program can dlopen itself... " >&6; } $as_echo_n "checking whether a program can dlopen itself... " >&6; }
if test "${lt_cv_dlopen_self+set}" = set; then : if ${lt_cv_dlopen_self+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then : if test "$cross_compiling" = yes; then :
lt_cv_dlopen_self=cross lt_cv_dlopen_self=cross
else else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
#line $LINENO "configure" #line $LINENO "configure"
#include "confdefs.h" #include "confdefs.h"
skipping to change at line 9971 skipping to change at line 10556
# define LT_DLLAZY_OR_NOW 0 # define LT_DLLAZY_OR_NOW 0
# endif # endif
# endif # endif
# endif # endif
# endif # endif
#endif #endif
/* When -fvisbility=hidden is used, assume the code has been annotated /* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */ correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__ GNUC__ > 3)) #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__ GNUC__ > 3))
void fnord () __attribute__((visibility("default"))); int fnord () __attribute__((visibility("default")));
#endif #endif
void fnord () { int i=42; } int fnord () { return 42; }
int main () int main ()
{ {
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
int status = $lt_dlunknown; int status = $lt_dlunknown;
if (self) if (self)
{ {
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
else else
{ {
skipping to change at line 10023 skipping to change at line 10608
rm -fr conftest* rm -fr conftest*
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
$as_echo "$lt_cv_dlopen_self" >&6; } $as_echo "$lt_cv_dlopen_self" >&6; }
if test "x$lt_cv_dlopen_self" = xyes; then if test "x$lt_cv_dlopen_self" = xyes; then
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_st atic\" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_st atic\"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a staticall y linked program can dlopen itself" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a staticall y linked program can dlopen itself" >&5
$as_echo_n "checking whether a statically linked program can dlopen itself. .. " >&6; } $as_echo_n "checking whether a statically linked program can dlopen itself. .. " >&6; }
if test "${lt_cv_dlopen_self_static+set}" = set; then : if ${lt_cv_dlopen_self_static+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then : if test "$cross_compiling" = yes; then :
lt_cv_dlopen_self_static=cross lt_cv_dlopen_self_static=cross
else else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
#line $LINENO "configure" #line $LINENO "configure"
#include "confdefs.h" #include "confdefs.h"
skipping to change at line 10076 skipping to change at line 10661
# define LT_DLLAZY_OR_NOW 0 # define LT_DLLAZY_OR_NOW 0
# endif # endif
# endif # endif
# endif # endif
# endif # endif
#endif #endif
/* When -fvisbility=hidden is used, assume the code has been annotated /* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */ correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__ GNUC__ > 3)) #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__ GNUC__ > 3))
void fnord () __attribute__((visibility("default"))); int fnord () __attribute__((visibility("default")));
#endif #endif
void fnord () { int i=42; } int fnord () { return 42; }
int main () int main ()
{ {
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
int status = $lt_dlunknown; int status = $lt_dlunknown;
if (self) if (self)
{ {
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
else else
{ {
skipping to change at line 10263 skipping to change at line 10848
$as_echo "$as_me: building out of tree srcdir:$srcdir" >&6;} $as_echo "$as_me: building out of tree srcdir:$srcdir" >&6;}
fi fi
# Checks for programs. # Checks for programs.
# check stolen from gnulib/m4/gnu-make.m4 # check stolen from gnulib/m4/gnu-make.m4
if ! ${MAKE-make} --version /cannot/make/this >/dev/null 2>&1; then if ! ${MAKE-make} --version /cannot/make/this >/dev/null 2>&1; then
as_fn_error $? "you don't seem to have GNU make; it is required" "$L INENO" 5 as_fn_error $? "you don't seem to have GNU make; it is required" "$L INENO" 5
fi fi
ac_ext=c ac_ext=cpp
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$
ext $LIBS >&5' ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
if test -n "$ac_tool_prefix"; then if test -z "$CXX"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a progra if test -n "$CCC"; then
m name with args. CXX=$CCC
set dummy ${ac_tool_prefix}gcc; ac_word=$2 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 p
rogram 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 "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_CC+set}" = set; then : if ${ac_cv_prog_CXX+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$CC"; then if test -n "$CXX"; then
ac_cv_prog_CC="$CC" # Let the user override the test. ac_cv_prog_CXX="$CXX" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do 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_wo rd$ac_exec_ext"; }; then if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_wo rd$ac_exec_ext"; }; then
ac_cv_prog_CC="${ac_tool_prefix}gcc" ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
fi fi
fi fi
CC=$ac_cv_prog_CC CXX=$ac_cv_prog_CXX
if test -n "$CC"; then if test -n "$CXX"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
$as_echo "$CC" >&6; } $as_echo "$CXX" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
test -n "$CXX" && break
done
fi fi
if test -z "$ac_cv_prog_CC"; then if test -z "$CXX"; then
ac_ct_CC=$CC ac_ct_CXX=$CXX
# Extract the first word of "gcc", so it can be a program name with args. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
set dummy gcc; ac_word=$2 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 "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : if ${ac_cv_prog_ac_ct_CXX+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CXX"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do 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_wo rd$ac_exec_ext"; }; then if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_wo rd$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_CC="gcc" ac_cv_prog_ac_ct_CXX="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e xt" >&5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
fi fi
fi fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
if test -n "$ac_ct_CC"; then if test -n "$ac_ct_CXX"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
$as_echo "$ac_ct_CC" >&6; } $as_echo "$ac_ct_CXX" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
if test "x$ac_ct_CC" = x; then test -n "$ac_ct_CXX" && break
CC="" done
if test "x$ac_ct_CXX" = x; then
CXX="g++"
else else
case $cross_compiling:$ac_tool_warned in case $cross_compiling:$ac_tool_warned in
yes:) yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre fixed with host triplet" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre fixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet " >&2;} $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet " >&2;}
ac_tool_warned=yes ;; ac_tool_warned=yes ;;
esac esac
CC=$ac_ct_CC CXX=$ac_ct_CXX
fi fi
else
CC="$ac_cv_prog_CC"
fi fi
if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}cc", so it can be a progr
am 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
ac_cv_prog_CC="$CC" # 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_wo
rd$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_e
xt" >&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
fi
fi
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
ac_cv_prog_CC="$CC" # Let the user override the test.
else
ac_prog_rejected=no
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_wo
rd$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_e
xt" >&5
break 2
fi
done
done
IFS=$as_save_IFS
if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC
shift
if test $# != 0; then
# We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be chosen
# first if we set CC to just the basename; use the full file name.
shift
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
fi
fi
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
fi
if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
for ac_prog in cl.exe
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a p
rogram 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
ac_cv_prog_CC="$CC" # 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_wo
rd$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_e
xt" >&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
test -n "$CC" && break
done
fi
if test -z "$CC"; then
ac_ct_CC=$CC
for ac_prog in cl.exe
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
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_wo
rd$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_e
xt" >&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
test -n "$ac_ct_CC" && break
done
if test "x$ac_ct_CC" = x; then
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre
fixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet
" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi fi
fi fi
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. # Provide some information about the compiler.
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" > &5
set X $ac_compile set X $ac_compile
ac_compiler=$2 ac_compiler=$2
for ac_option in --version -v -V -qversion; do for ac_option in --version -v -V -qversion; do
{ { ac_try="$ac_compiler $ac_option >&5" { { ac_try="$ac_compiler $ac_option >&5"
case "(($ac_try" in case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;; *) ac_try_echo=$ac_try;;
esac esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5 $as_echo "$ac_try_echo"; } >&5
skipping to change at line 10585 skipping to change at line 10982
sed '10a\ sed '10a\
... rest of stderr output deleted ... ... rest of stderr output deleted ...
10q' conftest.err >conftest.er1 10q' conftest.err >conftest.er1
cat conftest.er1 >&5 cat conftest.er1 >&5
fi fi
rm -f conftest.er1 conftest.err rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } test $ac_status = 0; }
done done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the
GNU C compiler" >&5 GNU C++ compiler" >&5
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
if test "${ac_cv_c_compiler_gnu+set}" = set; then : if ${ac_cv_cxx_compiler_gnu+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
#ifndef __GNUC__ #ifndef __GNUC__
choke me choke me
#endif #endif
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_cxx_try_compile "$LINENO"; then :
ac_compiler_gnu=yes ac_compiler_gnu=yes
else else
ac_compiler_gnu=no ac_compiler_gnu=no
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >
$as_echo "$ac_cv_c_compiler_gnu" >&6; } &5
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
if test $ac_compiler_gnu = yes; then if test $ac_compiler_gnu = yes; then
GCC=yes GXX=yes
else else
GCC= GXX=
fi fi
ac_test_CFLAGS=${CFLAGS+set} ac_test_CXXFLAGS=${CXXFLAGS+set}
ac_save_CFLAGS=$CFLAGS ac_save_CXXFLAGS=$CXXFLAGS
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g"
&5 >&5
$as_echo_n "checking whether $CC accepts -g... " >&6; } $as_echo_n "checking whether $CXX accepts -g... " >&6; }
if test "${ac_cv_prog_cc_g+set}" = set; then : if ${ac_cv_prog_cxx_g+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_save_c_werror_flag=$ac_c_werror_flag ac_save_cxx_werror_flag=$ac_cxx_werror_flag
ac_c_werror_flag=yes ac_cxx_werror_flag=yes
ac_cv_prog_cc_g=no ac_cv_prog_cxx_g=no
CFLAGS="-g" CXXFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes
else else
CFLAGS="" CXXFLAGS=""
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_cxx_try_compile "$LINENO"; then :
else else
ac_c_werror_flag=$ac_save_c_werror_flag ac_cxx_werror_flag=$ac_save_cxx_werror_flag
CFLAGS="-g" CXXFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ac_c_werror_flag=$ac_save_c_werror_flag ac_cxx_werror_flag=$ac_save_cxx_werror_flag
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
$as_echo "$ac_cv_prog_cc_g" >&6; } $as_echo "$ac_cv_prog_cxx_g" >&6; }
if test "$ac_test_CFLAGS" = set; then if test "$ac_test_CXXFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cc_g = yes; then elif test $ac_cv_prog_cxx_g = yes; then
if test "$GCC" = yes; then if test "$GXX" = yes; then
CFLAGS="-g -O2" CXXFLAGS="-g -O2"
else else
CFLAGS="-g" CXXFLAGS="-g"
fi fi
else else
if test "$GCC" = yes; then if test "$GXX" = yes; then
CFLAGS="-O2" CXXFLAGS="-O2"
else else
CFLAGS= CXXFLAGS=
fi fi
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 <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
char **p;
int i;
{
return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
char *s;
va_list v;
va_start (v,p);
s = g (p, va_arg (v,int));
va_end (v);
return s;
}
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
function prototypes and stuff, but not '\xHH' hex character constants.
These don't provoke an error unfortunately, instead are silently treated
as 'x'. The following induces an error, until -std is added to get
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
array size at least. It's necessary to write '\x00'==0 to get something
that's true only with -std. */
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro paramet
ers
inside strings and character constants. */
#define FOO(x) 'x'
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), i
nt, int);
int argc;
char **argv;
int
main ()
{
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
;
return 0;
}
_ACEOF
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
-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
rm -f conftest.$ac_ext
CC=$ac_save_CC
fi
# 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_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
depcc="$CC" am_compiler_list= depcc="$CXX" am_compiler_list=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depc c" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depc c" >&5
$as_echo_n "checking dependency style of $depcc... " >&6; } $as_echo_n "checking dependency style of $depcc... " >&6; }
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up # 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 # 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 # 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 # making a dummy file named `D' -- because `-MD' means `put the output
# in D'. # in D'.
mkdir conftest.dir mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're # Copy depcomp to subdir because otherwise we won't find it if we're
skipping to change at line 10823 skipping to change at line 11129
cp "$am_depcomp" conftest.dir cp "$am_depcomp" conftest.dir
cd conftest.dir cd conftest.dir
# We will build objects and dependencies in a subdirectory because # We will build objects and dependencies in a subdirectory because
# it helps to detect inapplicable dependency modes. For instance # it helps to detect inapplicable dependency modes. For instance
# both Tru64's cc and ICC support -MD to output dependencies as a # both Tru64's cc and ICC support -MD to output dependencies as a
# side effect of compilation, but ICC will put the dependencies in # side effect of compilation, but ICC will put the dependencies in
# the current directory while Tru64 will put them in the object # the current directory while Tru64 will put them in the object
# directory. # directory.
mkdir sub mkdir sub
am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none
if test "$am_compiler_list" = ""; then if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
fi fi
am__universal=false am__universal=false
case " $depcc " in #( case " $depcc " in #(
*\ -arch\ *\ -arch\ *) am__universal=true ;; *\ -arch\ *\ -arch\ *) am__universal=true ;;
esac esac
for depmode in $am_compiler_list; do for depmode in $am_compiler_list; do
# Setup a source with many dependencies, because some compilers # Setup a source with many dependencies, because some compilers
skipping to change at line 10896 skipping to change at line 11202
${MAKE-make} -s -f confmf > /dev/null 2>&1; then ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings # icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message # or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported. # that says an option was ignored or not supported.
# When given -MP, icc 7.0 and 7.1 complain thusly: # When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument requ ired # icc: Command line warning: ignoring option '-M'; no argument requ ired
# The diagnosis changed in icc 8.0: # The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported # icc: Command line remark: option '-MP' not supported
if (grep 'ignoring option' conftest.err || if (grep 'ignoring option' conftest.err ||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
am_cv_CC_dependencies_compiler_type=$depmode am_cv_CXX_dependencies_compiler_type=$depmode
break break
fi fi
fi fi
done done
cd .. cd ..
rm -rf conftest.dir rm -rf conftest.dir
else else
am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_com { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_co
piler_type" >&5 mpiler_type" >&5
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
if if
test "x$enable_dependency_tracking" != xno \ test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
am__fastdepCC_TRUE= am__fastdepCXX_TRUE=
am__fastdepCC_FALSE='#' am__fastdepCXX_FALSE='#'
else else
am__fastdepCC_TRUE='#' am__fastdepCXX_TRUE='#'
am__fastdepCC_FALSE= am__fastdepCXX_FALSE=
fi fi
if test "x$CC" != xcc; then func_stripname_cnf ()
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc unde {
rstand -c and -o together" >&5 case ${2} in
$as_echo_n "checking whether $CC and cc understand -c and -o together... " .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%
>&6; } "`;;
else *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands esac
-c and -o together" >&5 } # func_stripname_cnf
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
fi if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
set dummy $CC; ac_cc=`$as_echo "$2" | ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` (test "X$CXX" != "Xg++"))) ; then
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then : 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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ prepro
cessor" >&5
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
if test -z "$CXXCPP"; then
if ${ac_cv_prog_CXXCPP+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
# Double quotes because CXXCPP needs to be expanded
for CXXCPP in "$CXX -E" "/lib/cpp"
do
ac_preproc_ok=false
for ac_cxx_preproc_warn_flag in '' yes
do
# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
# <limits.h> 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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
Syntax error
_ACEOF
if ac_fn_cxx_try_cpp "$LINENO"; then :
int else
main () # Broken: fails on valid input.
{ continue
fi
rm -f conftest.err conftest.i conftest.$ac_ext
; # OK, works on sane cases. Now check whether nonexistent headers
return 0; # can be detected and how.
} cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <ac_nonexistent.h>
_ACEOF _ACEOF
# Make sure it works both with $CC and with simple cc. if ac_fn_cxx_try_cpp "$LINENO"; then :
# We do the test twice because some compilers refuse to overwrite an # Broken: success on invalid input.
# existing .o file with -o, though they will create one. continue
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.
:
else
# cc exists but doesn't like -o.
eval ac_cv_prog_cc_${ac_cc}_c_o=no
fi
fi
fi
else else
eval ac_cv_prog_cc_${ac_cc}_c_o=no # Passes both tests.
ac_preproc_ok=:
break
fi fi
rm -f core conftest* rm -f conftest.err conftest.i conftest.$ac_ext
fi done
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 rm -f conftest.i conftest.err conftest.$ac_ext
$as_echo "yes" >&6; } if $ac_preproc_ok; then :
else break
{ $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
# FIXME: we rely on the cache variable name because
# there is no other way.
set dummy $CC
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
if test "$am_t" != yes; then
# Losing compiler, so override with the script.
# FIXME: It is wrong to rewrite CC.
# But if we don't then we get into trouble of one sort or another.
# A longer-term fix would be to have automake use am__CC in this case,
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
CC="$am_aux_dir/compile $CC"
fi fi
ac_ext=cpp done
ac_cpp='$CXXCPP $CPPFLAGS' ac_cv_prog_CXXCPP=$CXXCPP
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 p
rogram 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_wo
rd$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_e
xt" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi fi
fi CXXCPP=$ac_cv_prog_CXXCPP
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 else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ac_cv_prog_CXXCPP=$CXXCPP
$as_echo "no" >&6; }
fi
test -n "$CXX" && break
done
fi fi
if test -z "$CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
ac_ct_CXX=$CXX $as_echo "$CXXCPP" >&6; }
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC ac_preproc_ok=false
do for ac_cxx_preproc_warn_flag in '' yes
# 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 do
IFS=$as_save_IFS # Use a header file that comes with gcc, so configuring glibc
test -z "$as_dir" && as_dir=. # with a fresh cross-compiler works.
for ac_exec_ext in '' $ac_executable_extensions; do # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_wo # <limits.h> exists even on freestanding compilers.
rd$ac_exec_ext"; }; then # On the NeXT, cc -E runs the code through the compiler's parser,
ac_cv_prog_ac_ct_CXX="$ac_prog" # not just through cpp. "Syntax error" is here to catch this case.
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e cat confdefs.h - <<_ACEOF >conftest.$ac_ext
xt" >&5 /* end confdefs.h. */
break 2 #ifdef __STDC__
fi # include <limits.h>
done #else
done # include <assert.h>
IFS=$as_save_IFS #endif
Syntax error
_ACEOF
if ac_fn_cxx_try_cpp "$LINENO"; then :
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 else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 # Broken: fails on valid input.
$as_echo "no" >&6; } continue
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 pre
fixed 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 fi
# Provide some information about the compiler. rm -f conftest.err conftest.i conftest.$ac_ext
$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
fi
rm -f conftest.er1 conftest.err
$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 # OK, works on sane cases. Now check whether nonexistent headers
GNU C++ compiler" >&5 # can be detected and how.
$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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <ac_nonexistent.h>
int
main ()
{
#ifndef __GNUC__
choke me
#endif
;
return 0;
}
_ACEOF _ACEOF
if ac_fn_cxx_try_compile "$LINENO"; then : if ac_fn_cxx_try_cpp "$LINENO"; then :
ac_compiler_gnu=yes # Broken: success on invalid input.
continue
else else
ac_compiler_gnu=no # Passes both tests.
ac_preproc_ok=:
break
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f conftest.err conftest.i conftest.$ac_ext
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok; then :
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 else
GXX= { { $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 \"$CXXCPP\" fails sanity check
See \`config.log' for more details" "$LINENO" 5; }
fi 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 ac_ext=c
main () 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
;
return 0;
}
_ACEOF
if ac_fn_cxx_try_compile "$LINENO"; then :
ac_cv_prog_cxx_g=yes
else else
CXXFLAGS="" _lt_caught_CXX_error=yes
cat confdefs.h - <<_ACEOF >conftest.$ac_ext fi
/* end confdefs.h. */
int ac_ext=cpp
main () 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
; archive_cmds_need_lc_CXX=no
return 0; allow_undefined_flag_CXX=
} always_export_symbols_CXX=no
_ACEOF archive_expsym_cmds_CXX=
if ac_fn_cxx_try_compile "$LINENO"; then : compiler_needs_object_CXX=no
export_dynamic_flag_spec_CXX=
hardcode_direct_CXX=no
hardcode_direct_absolute_CXX=no
hardcode_libdir_flag_spec_CXX=
hardcode_libdir_flag_spec_ld_CXX=
hardcode_libdir_separator_CXX=
hardcode_minus_L_CXX=no
hardcode_shlibpath_var_CXX=unsupported
hardcode_automatic_CXX=no
inherit_rpath_CXX=no
module_cmds_CXX=
module_expsym_cmds_CXX=
link_all_deplibs_CXX=unknown
old_archive_cmds_CXX=$old_archive_cmds
reload_flag_CXX=$reload_flag
reload_cmds_CXX=$reload_cmds
no_undefined_flag_CXX=
whole_archive_flag_spec_CXX=
enable_shared_with_static_runtimes_CXX=no
else # Source file extension for C++ test sources.
ac_cxx_werror_flag=$ac_save_cxx_werror_flag ac_ext=cpp
CXXFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int # Object file extension for compiled C++ test sources.
main () objext=o
{ objext_CXX=$objext
; # No sense in running all these tests if we already determined that
return 0; # the CXX compiler isn't working. Some variables (like enable_shared)
} # are currently assumed to apply to all compilers on this platform,
_ACEOF # and will be corrupted by setting them based on a non-working compiler.
if ac_fn_cxx_try_compile "$LINENO"; then : if test "$_lt_caught_CXX_error" != yes; then
ac_cv_prog_cxx_g=yes # Code to be used in simple compile tests
fi lt_simple_compile_test_code="int some_variable = 0;"
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= # Code to be used in simple link tests
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depc # ltmain only uses $CC for tagged configurations so make sure $CC is set.
c" >&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 no C compiler was specified, use CC.
if test "$am_compiler_list" = ""; then LTCC=${LTCC-"$CC"}
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 # If no C compiler flags were specified, use CFLAGS.
# Setup a source with many dependencies, because some compilers LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
# 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" # Allow CC to be a program name with arguments.
# mode. It turns out that the SunPro C++ compiler does not properly compiler=$CC
# handle `-M -o', and we need to detect this. Also, some Intel
# versions had trouble with output in subdirs # save warnings/boilerplate of simple test code
am__obj=sub/conftest.${OBJEXT-o} ac_outfile=conftest.$ac_objext
am__minus_obj="-o $am__obj" echo "$lt_simple_compile_test_code" >conftest.$ac_ext
case $depmode in eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
gcc) _lt_compiler_boilerplate=`cat conftest.err`
# This depmode causes a compiler race in universal mode. $RM conftest*
test "$am__universal" = false || continue
;; ac_outfile=conftest.$ac_objext
nosideeffect) echo "$lt_simple_link_test_code" >conftest.$ac_ext
# after this tag, mechanisms are not by side-effect, so they'll eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
# only be used when explicitly requested _lt_linker_boilerplate=`cat conftest.err`
if test "x$enable_dependency_tracking" = xyes; then $RM -r conftest*
continue
else # Allow CC to be a program name with arguments.
break lt_save_CC=$CC
fi lt_save_CFLAGS=$CFLAGS
;; lt_save_LD=$LD
msvisualcpp | msvcmsys) lt_save_GCC=$GCC
# This compiler won't grok `-c -o', but also, the minuso test has GCC=$GXX
# not run yet. These depmodes are late enough in the game, and lt_save_with_gnu_ld=$with_gnu_ld
# so weak that their functioning should not be impacted. lt_save_path_LD=$lt_cv_path_LD
am__obj=conftest.${OBJEXT-o} if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
am__minus_obj= lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
;; else
none) break ;; $as_unset lt_cv_prog_gnu_ld
esac fi
if depmode=$depmode \ if test -n "${lt_cv_path_LDCXX+set}"; then
source=sub/conftest.c object=$am__obj \ lt_cv_path_LD=$lt_cv_path_LDCXX
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ else
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ $as_unset lt_cv_path_LD
>/dev/null 2>conftest.err && fi
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && test -z "${LDCXX+set}" || LD=$LDCXX
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && CC=${CXX-"c++"}
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && CFLAGS=$CXXFLAGS
${MAKE-make} -s -f confmf > /dev/null 2>&1; then compiler=$CC
# icc doesn't choke on unknown options, it will just issue warnings compiler_CXX=$CC
# or remarks (even with -Werror). So we grep stderr for any message for cc_temp in $compiler""; do
# that says an option was ignored or not supported. case $cc_temp in
# When given -MP, icc 7.0 and 7.1 complain thusly: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
# icc: Command line warning: ignoring option '-M'; no argument requ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
ired \-*) ;;
# The diagnosis changed in icc 8.0: *) break;;
# icc: Command line remark: option '-MP' not supported esac
if (grep 'ignoring option' conftest.err || done
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
am_cv_CXX_dependencies_compiler_type=$depmode
break if test -n "$compiler"; then
fi # We don't want -fno-exception when compiling C++ code, so set the
# no_builtin_flag separately
if test "$GXX" = yes; then
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
else
lt_prog_compiler_no_builtin_flag_CXX=
fi fi
done
cd .. if test "$GXX" = yes; then
rm -rf conftest.dir # Set up default GNU C++ configuration
# 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 else
am_cv_CXX_dependencies_compiler_type=none with_gnu_ld=no
fi fi
fi ac_prog=ld
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_co if test "$GCC" = yes; then
mpiler_type" >&5 # Check if gcc -print-prog-name=ld gives a path.
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type $as_echo_n "checking for ld used by $CC... " >&6; }
case $host in
if *-*-mingw*)
test "x$enable_dependency_tracking" != xno \ # gcc leaves a trailing carriage return which upsets mingw
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
am__fastdepCXX_TRUE= *)
am__fastdepCXX_FALSE='#' ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
esac
case $ac_prog in
# Accept absolute paths.
[\\/]* | ?:[\\/]*)
re_direlt='/[^/][^/]*/\.\./'
# Canonicalize the pathname 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 else
am__fastdepCXX_TRUE='#' { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
am__fastdepCXX_FALSE= $as_echo_n "checking for non-GNU ld... " >&6; }
fi fi
if ${lt_cv_path_LD+:} false; then :
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
(test "X$CXX" != "Xg++"))) ; then
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ prepro
cessor" >&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 $as_echo_n "(cached) " >&6
else else
# Double quotes because CXXCPP needs to be expanded if test -z "$LD"; then
for CXXCPP in "$CXX -E" "/lib/cpp" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
do for ac_dir in $PATH; do
ac_preproc_ok=false IFS="$lt_save_ifs"
for ac_cxx_preproc_warn_flag in '' yes test -z "$ac_dir" && ac_dir=.
do if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext";
# Use a header file that comes with gcc, so configuring glibc then
# with a fresh cross-compiler works. lt_cv_path_LD="$ac_dir/$ac_prog"
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since # Check to see if the program is GNU ld. I'd rather use --version,
# <limits.h> exists even on freestanding compilers. # but apparently some variants of GNU ld only accept -v.
# On the NeXT, cc -E runs the code through the compiler's parser, # Break only if it was the GNU/non-GNU ld that we prefer.
# not just through cpp. "Syntax error" is here to catch this case. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext *GNU* | *'with BFD'*)
/* end confdefs.h. */ test "$with_gnu_ld" != no && break
#ifdef __STDC__ ;;
# include <limits.h> *)
#else test "$with_gnu_ld" != yes && break
# include <assert.h> ;;
#endif esac
Syntax error fi
_ACEOF done
if ac_fn_cxx_try_cpp "$LINENO"; then : IFS="$lt_save_ifs"
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 <ac_nonexistent.h>
_ACEOF
if ac_fn_cxx_try_cpp "$LINENO"; then :
# Broken: success on invalid input.
continue
else else
# Passes both tests. lt_cv_path_LD="$LD" # Let the user override the test with a path.
ac_preproc_ok=:
break
fi 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 fi
done LD="$lt_cv_path_LD"
ac_cv_prog_CXXCPP=$CXXCPP if test -n "$LD"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
fi $as_echo "$LD" >&6; }
CXXCPP=$ac_cv_prog_CXXCPP
else else
ac_cv_prog_CXXCPP=$CXXCPP { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO
$as_echo "$CXXCPP" >&6; } " 5
ac_preproc_ok=false { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GN
for ac_cxx_preproc_warn_flag in '' yes U ld" >&5
do $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
# Use a header file that comes with gcc, so configuring glibc if ${lt_cv_prog_gnu_ld+:} false; then :
# with a fresh cross-compiler works. $as_echo_n "(cached) " >&6
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
# <limits.h> 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 <limits.h>
#else
# include <assert.h>
#endif
Syntax error
_ACEOF
if ac_fn_cxx_try_cpp "$LINENO"; then :
else else
# Broken: fails on valid input. # I'd rather use --version here, but apparently some GNU lds only accept
continue -v.
case `$LD -v 2>&1 </dev/null` in
*GNU* | *'with BFD'*)
lt_cv_prog_gnu_ld=yes
;;
*)
lt_cv_prog_gnu_ld=no
;;
esac
fi fi
rm -f conftest.err conftest.$ac_ext { $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
# OK, works on sane cases. Now check whether nonexistent headers # Check if GNU C++ uses GNU ld as the underlying linker, since the
# can be detected and how. # archiving commands below assume that GNU ld is being used.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext if test "$with_gnu_ld" = yes; then
/* end confdefs.h. */ archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $
#include <ac_nonexistent.h> libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -
_ACEOF o $lib'
if ac_fn_cxx_try_cpp "$LINENO"; then : archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_ob
# Broken: success on invalid input. jects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$s
continue oname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
else
# Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext
done hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then :
else # If archive_cmds runs LD, not CC, wlarc should be empty
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} # investigate it a little bit more. (MM)
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check wlarc='${wl}'
See \`config.log' for more details" "$LINENO" 5; }
fi
ac_ext=c # ancient GNU ld didn't support --whole-archive et. al.
ac_cpp='$CPP $CPPFLAGS' if eval "`$CC -print-prog-name=ld` --help 2>&1" |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' $GREP 'no-whole-archive' > /dev/null; then
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience
ext $LIBS >&5' '"$wlarc"'--no-whole-archive'
ac_compiler_gnu=$ac_cv_c_compiler_gnu else
whole_archive_flag_spec_CXX=
fi
else
with_gnu_ld=no
wlarc=
else # A generic and very simple default shared library creation
_lt_caught_CXX_error=yes # command for GNU C++ for the case where it uses the native
fi # linker, instead of GNU ld. If possible, this setting should
# overridden to take advantage of the native linker features on
# the platform it is being used on.
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $d
eplibs $postdep_objects $compiler_flags -o $lib'
fi
ac_ext=cpp # Commands to make compiler produce verbose output that lists
ac_cpp='$CXXCPP $CPPFLAGS' # what "hidden" libraries, object files and flags are used when
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' # linking a shared library.
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1
ac_ext $LIBS >&5' | $GREP -v "^Configured with:" | $GREP "\-L"'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
archive_cmds_need_lc_CXX=no
allow_undefined_flag_CXX=
always_export_symbols_CXX=no
archive_expsym_cmds_CXX=
compiler_needs_object_CXX=no
export_dynamic_flag_spec_CXX=
hardcode_direct_CXX=no
hardcode_direct_absolute_CXX=no
hardcode_libdir_flag_spec_CXX=
hardcode_libdir_flag_spec_ld_CXX=
hardcode_libdir_separator_CXX=
hardcode_minus_L_CXX=no
hardcode_shlibpath_var_CXX=unsupported
hardcode_automatic_CXX=no
inherit_rpath_CXX=no
module_cmds_CXX=
module_expsym_cmds_CXX=
link_all_deplibs_CXX=unknown
old_archive_cmds_CXX=$old_archive_cmds
reload_flag_CXX=$reload_flag
reload_cmds_CXX=$reload_cmds
no_undefined_flag_CXX=
whole_archive_flag_spec_CXX=
enable_shared_with_static_runtimes_CXX=no
# Source file extension for C++ test sources.
ac_ext=cpp
# Object file extension for compiled C++ test sources.
objext=o
objext_CXX=$objext
# No sense in running all these tests if we already determined that
# the CXX compiler isn't working. Some variables (like enable_shared)
# are currently assumed to apply to all compilers on this platform,
# and will be corrupted by setting them based on a non-working compiler.
if test "$_lt_caught_CXX_error" != yes; then
# Code to be used in simple compile tests
lt_simple_compile_test_code="int some_variable = 0;"
# Code to be used in simple link tests
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
# If no C compiler was specified, use CC.
LTCC=${LTCC-"$CC"}
# If no C compiler flags were specified, use CFLAGS.
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
# Allow CC to be a program name with arguments.
compiler=$CC
# save warnings/boilerplate of simple test code
ac_outfile=conftest.$ac_objext
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
_lt_compiler_boilerplate=`cat conftest.err`
$RM conftest*
ac_outfile=conftest.$ac_objext
echo "$lt_simple_link_test_code" >conftest.$ac_ext
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
_lt_linker_boilerplate=`cat conftest.err`
$RM -r conftest*
# Allow CC to be a program name with arguments.
lt_save_CC=$CC
lt_save_LD=$LD
lt_save_GCC=$GCC
GCC=$GXX
lt_save_with_gnu_ld=$with_gnu_ld
lt_save_path_LD=$lt_cv_path_LD
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
else
$as_unset lt_cv_prog_gnu_ld
fi
if test -n "${lt_cv_path_LDCXX+set}"; then
lt_cv_path_LD=$lt_cv_path_LDCXX
else
$as_unset lt_cv_path_LD
fi
test -z "${LDCXX+set}" || LD=$LDCXX
CC=${CXX-"c++"}
compiler=$CC
compiler_CXX=$CC
for cc_temp in $compiler""; do
case $cc_temp in
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\-*) ;;
*) break;;
esac
done
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
if test -n "$compiler"; then
# We don't want -fno-exception when compiling C++ code, so set the
# no_builtin_flag separately
if test "$GXX" = yes; then
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
else
lt_prog_compiler_no_builtin_flag_CXX=
fi
if test "$GXX" = yes; then
# Set up default GNU C++ configuration
# 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
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*)
# 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.
[\\/]* | ?:[\\/]*)
re_direlt='/[^/][^/]*/\.\./'
# Canonicalize the pathname 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 "${lt_cv_path_LD+set}" = set; then :
$as_echo_n "(cached) " >&6
else
if test -z "$LD"; then
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
for ac_dir in $PATH; do
IFS="$lt_save_ifs"
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext";
then
lt_cv_path_LD="$ac_dir/$ac_prog"
# Check to see if the program is GNU ld. I'd rather use --version,
# but apparently some variants of GNU ld only accept -v.
# Break only if it was the GNU/non-GNU ld that we prefer.
case `"$lt_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="$lt_save_ifs"
else
lt_cv_path_LD="$LD" # Let the user override the test with a path.
fi
fi
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 GN
U 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.
case `$LD -v 2>&1 </dev/null` in
*GNU* | *'with BFD'*)
lt_cv_prog_gnu_ld=yes
;;
*)
lt_cv_prog_gnu_ld=no
;;
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
# Check if GNU C++ uses GNU ld as the underlying linker, since the
# archiving commands below assume that GNU ld is being used.
if test "$with_gnu_ld" = yes; then
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $d
eplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $lib
objs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl
}-retain-symbols-file $wl$export_symbols -o $lib'
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
# If archive_cmds runs LD, not CC, wlarc should be empty
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
# investigate it a little bit more. (MM)
wlarc='${wl}'
# ancient GNU ld didn't support --whole-archive et. al.
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
$GREP 'no-whole-archive' > /dev/null; then
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience
'"$wlarc"'--no-whole-archive'
else
whole_archive_flag_spec_CXX=
fi
else
with_gnu_ld=no
wlarc=
# A generic and very simple default shared library creation
# command for GNU C++ for the case where it uses the native
# linker, instead of GNU ld. If possible, this setting should
# overridden to take advantage of the native linker features on
# the platform it is being used on.
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $d
eplibs $postdep_objects $compiler_flags -o $lib'
fi
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
# linking a shared library.
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1
| $GREP -v "^Configured with:" | $GREP "\-L"'
else else
GXX=no GXX=no
with_gnu_ld=no with_gnu_ld=no
wlarc= wlarc=
fi fi
# PORTME: fill in a description of your system's C++ link characteristi cs # PORTME: fill in a description of your system's C++ link characteristi cs
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 { $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 lib raries... " >&6; } $as_echo_n "checking whether the $compiler linker ($LD) supports shared lib raries... " >&6; }
skipping to change at line 11934 skipping to change at line 11744
# It seems that -bexpall does not export symbols beginning with # It seems that -bexpall does not export symbols beginning with
# underscore (_), so it is better to generate a list of symbols to # underscore (_), so it is better to generate a list of symbols to
# export. # export.
always_export_symbols_CXX=yes always_export_symbols_CXX=yes
if test "$aix_use_runtimelinking" = yes; then if test "$aix_use_runtimelinking" = yes; then
# Warning - without using the other runtime loading flags (-brtl) , # Warning - without using the other runtime loading flags (-brtl) ,
# -berok will link without error, but may produce a broken librar y. # -berok will link without error, but may produce a broken librar y.
allow_undefined_flag_CXX='-berok' allow_undefined_flag_CXX='-berok'
# Determine the default libpath from the value encoded in an empt y # Determine the default libpath from the value encoded in an empt y
# executable. # executable.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext if test "${lt_cv_aix_libpath+set}" = set; then
aix_libpath=$lt_cv_aix_libpath
else
if ${lt_cv_aix_libpath__CXX+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_cxx_try_link "$LINENO"; then : if ac_fn_cxx_try_link "$LINENO"; then :
lt_aix_libpath_sed=' lt_aix_libpath_sed='
/Import File Strings/,/^$/ { /Import File Strings/,/^$/ {
/^0/ { /^0/ {
s/^0 *\(.*\)$/\1/ s/^0 *\([^ ]*\) *$/\1/
p p
} }
}' }'
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_l lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n
ibpath_sed"` -e "$lt_aix_libpath_sed"`
# Check for a 64-bit object if we didn't find anything. # Check for a 64-bit object if we didn't find anything.
if test -z "$aix_libpath"; then if test -z "$lt_cv_aix_libpath__CXX"; then
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SE
aix_libpath_sed"` D -n -e "$lt_aix_libpath_sed"`
fi fi
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi if test -z "$lt_cv_aix_libpath__CXX"; then
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
fi
fi
aix_libpath=$lt_cv_aix_libpath__CXX
fi
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libp ath" hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libp ath"
archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $ deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefin ed_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else : ; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $ deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefin ed_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else : ; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
else else
if test "$host_cpu" = ia64; then if test "$host_cpu" = ia64; then
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
allow_undefined_flag_CXX="-z nodefs" allow_undefined_flag_CXX="-z nodefs"
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$ soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${al low_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$ soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${al low_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
else else
# Determine the default libpath from the value encoded in an # Determine the default libpath from the value encoded in an
# empty executable. # empty executable.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext if test "${lt_cv_aix_libpath+set}" = set; then
aix_libpath=$lt_cv_aix_libpath
else
if ${lt_cv_aix_libpath__CXX+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_cxx_try_link "$LINENO"; then : if ac_fn_cxx_try_link "$LINENO"; then :
lt_aix_libpath_sed=' lt_aix_libpath_sed='
/Import File Strings/,/^$/ { /Import File Strings/,/^$/ {
/^0/ { /^0/ {
s/^0 *\(.*\)$/\1/ s/^0 *\([^ ]*\) *$/\1/
p p
} }
}' }'
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_l lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n
ibpath_sed"` -e "$lt_aix_libpath_sed"`
# Check for a 64-bit object if we didn't find anything. # Check for a 64-bit object if we didn't find anything.
if test -z "$aix_libpath"; then if test -z "$lt_cv_aix_libpath__CXX"; then
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SE
aix_libpath_sed"` D -n -e "$lt_aix_libpath_sed"`
fi fi
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi if test -z "$lt_cv_aix_libpath__CXX"; then
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
fi
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_lib fi
path"
aix_libpath=$lt_cv_aix_libpath__CXX
fi
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_lib
path"
# Warning - without using the other run time loading flags, # Warning - without using the other run time loading flags,
# -berok will link without error, but may produce a broken libra ry. # -berok will link without error, but may produce a broken libra ry.
no_undefined_flag_CXX=' ${wl}-bernotok' no_undefined_flag_CXX=' ${wl}-bernotok'
allow_undefined_flag_CXX=' ${wl}-berok' allow_undefined_flag_CXX=' ${wl}-berok'
if test "$with_gnu_ld" = yes; then if test "$with_gnu_ld" = yes; then
# We only use this code for GNU lds that support --whole-archi ve. # We only use this code for GNU lds that support --whole-archi ve.
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
else else
# Exported symbols can be pulled into shared objects from arch ives # Exported symbols can be pulled into shared objects from arch ives
whole_archive_flag_spec_CXX='$convenience' whole_archive_flag_spec_CXX='$convenience'
skipping to change at line 12046 skipping to change at line 11882
chorus*) chorus*)
case $cc_basename in case $cc_basename in
*) *)
# FIXME: insert proper C++ library support # FIXME: insert proper C++ library support
ld_shlibs_CXX=no ld_shlibs_CXX=no
;; ;;
esac esac
;; ;;
cygwin* | mingw* | pw32* | cegcc*) cygwin* | mingw* | pw32* | cegcc*)
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningles case $GXX,$cc_basename in
s, ,cl* | no,cl*)
# as there is no search path for DLLs. # Native MSVC
hardcode_libdir_flag_spec_CXX='-L$libdir' # hardcode_libdir_flag_spec is actually meaningless, as there is
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' # no search path for DLLs.
allow_undefined_flag_CXX=unsupported hardcode_libdir_flag_spec_CXX=' '
always_export_symbols_CXX=no allow_undefined_flag_CXX=unsupported
enable_shared_with_static_runtimes_CXX=yes always_export_symbols_CXX=yes
file_list_spec_CXX='@'
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then # Tell ltmain to make .lib files, not .a files.
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs libext=lib
$deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}-- # Tell ltmain to make .dll files, not .so files.
enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' shrext_cmds=".dll"
# If the export-symbols file already is a .def file (1st line # FIXME: Setting linknames here is a bad hack.
# is EXPORTS), use it as is; otherwise, prepend... archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = x _flags $deplibs -Wl,-dll~linknames='
EXPORTS; then archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xE
cp $export_symbols $output_objdir/$soname.def; XPORTS; then
else $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -
echo EXPORTS > $output_objdir/$soname.def; e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
cat $export_symbols >> $output_objdir/$soname.def; else
fi~ $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $e
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects xport_symbols > $output_objdir/$soname.exp;
$libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$sonam fi~
e ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $depl
else ibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir
ld_shlibs_CXX=no $libname.dll.lib"~
fi linknames='
;; # The linker will not automatically build a static lib if we build
a DLL.
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
enable_shared_with_static_runtimes_CXX=yes
# Don't use ranlib
old_postinstall_cmds_CXX='chmod 644 $oldlib'
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
lt_tool_outputfile="@TOOL_OUTPUT@"~
case $lt_outputfile in
*.exe|*.EXE) ;;
*)
lt_outputfile="$lt_outputfile.exe"
lt_tool_outputfile="$lt_tool_outputfile.exe"
;;
esac~
func_to_tool_file "$lt_outputfile"~
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manif
est"; then
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outpu
tresource:"$lt_tool_outputfile" || exit 1;
$RM "$lt_outputfile.manifest";
fi'
;;
*)
# g++
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningle
ss,
# as there is no search path for DLLs.
hardcode_libdir_flag_spec_CXX='-L$libdir'
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
allow_undefined_flag_CXX=unsupported
always_export_symbols_CXX=no
enable_shared_with_static_runtimes_CXX=yes
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs
$deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}-
-enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# If the export-symbols file already is a .def file (1st line
# is EXPORTS), use it as is; otherwise, prepend...
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" =
xEXPORTS; then
cp $export_symbols $output_objdir/$soname.def;
else
echo EXPORTS > $output_objdir/$soname.def;
cat $export_symbols >> $output_objdir/$soname.def;
fi~
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects
$libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$sona
me ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
else
ld_shlibs_CXX=no
fi
;;
esac
;;
darwin* | rhapsody*) darwin* | rhapsody*)
archive_cmds_need_lc_CXX=no archive_cmds_need_lc_CXX=no
hardcode_direct_CXX=no hardcode_direct_CXX=no
hardcode_automatic_CXX=yes hardcode_automatic_CXX=yes
hardcode_shlibpath_var_CXX=unsupported hardcode_shlibpath_var_CXX=unsupported
if test "$lt_cv_ld_force_load" = "yes"; then if test "$lt_cv_ld_force_load" = "yes"; then
whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
else else
whole_archive_flag_spec_CXX='' whole_archive_flag_spec_CXX=''
skipping to change at line 12173 skipping to change at line 12055
# linking a shared library. # linking a shared library.
# #
# There doesn't appear to be a way to prevent this compiler fro m # There doesn't appear to be a way to prevent this compiler fro m
# explicitly linking system object files so we need to strip th em # explicitly linking system object files so we need to strip th em
# from the output so that they don't get included in the librar y # from the output so that they don't get included in the librar y
# dependencies. # dependencies.
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest. $objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in c onftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; d one; func_echo_all "$list"' output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest. $objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in c onftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; d one; func_echo_all "$list"'
;; ;;
*) *)
if test "$GXX" = yes; then if test "$GXX" = yes; then
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nos tdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_ objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_obj dir/$soname = $lib || mv $output_objdir/$soname $lib' archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nos tdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $pre dep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output _objdir/$soname = $lib || mv $output_objdir/$soname $lib'
else else
# FIXME: insert proper C++ library support # FIXME: insert proper C++ library support
ld_shlibs_CXX=no ld_shlibs_CXX=no
fi fi
;; ;;
esac esac
;; ;;
hpux10*|hpux11*) hpux10*|hpux11*)
if test $with_gnu_ld = no; then if test $with_gnu_ld = no; then
skipping to change at line 12244 skipping to change at line 12126
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$ objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in con ftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; don e; func_echo_all "$list"' output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$ objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in con ftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; don e; func_echo_all "$list"'
;; ;;
*) *)
if test "$GXX" = yes; then if test "$GXX" = yes; then
if test $with_gnu_ld = no; then if test $with_gnu_ld = no; then
case $host_cpu in case $host_cpu in
hppa*64*) hppa*64*)
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${ wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $comp iler_flags' archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${ wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $comp iler_flags'
;; ;;
ia64*) ia64*)
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${ wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $ postdep_objects $compiler_flags' archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+ h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $depli bs $postdep_objects $compiler_flags'
;; ;;
*) *)
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${ wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $d eplibs $postdep_objects $compiler_flags' archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+ h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobj s $deplibs $postdep_objects $compiler_flags'
;; ;;
esac esac
fi fi
else else
# FIXME: insert proper C++ library support # FIXME: insert proper C++ library support
ld_shlibs_CXX=no ld_shlibs_CXX=no
fi fi
;; ;;
esac esac
;; ;;
skipping to change at line 12288 skipping to change at line 12170
# Archives containing C++ object files must be created using # Archives containing C++ object files must be created using
# "CC -ar", where "CC" is the IRIX C++ compiler. This is # "CC -ar", where "CC" is the IRIX C++ compiler. This is
# necessary to make sure instantiated templates are included # necessary to make sure instantiated templates are included
# in the archive. # in the archive.
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
;; ;;
*) *)
if test "$GXX" = yes; then if test "$GXX" = yes; then
if test "$with_gnu_ld" = no; then if test "$with_gnu_ld" = no; then
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $lib objs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `t est -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` $ {wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_ob jects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl} $soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$ver string"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
else else
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $lib objs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `t est -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` - o $lib' archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_ob jects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl} $soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$ver string"` -o $lib'
fi fi
fi fi
link_all_deplibs_CXX=yes link_all_deplibs_CXX=yes
;; ;;
esac esac
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator_CXX=: hardcode_libdir_separator_CXX=:
inherit_rpath_CXX=yes inherit_rpath_CXX=yes
;; ;;
skipping to change at line 12568 skipping to change at line 12450
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v confte st.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$t emplist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templi st; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list= "$list $z";;esac; done; func_echo_all "$list"' output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v confte st.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$t emplist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templi st; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list= "$list $z";;esac; done; func_echo_all "$list"'
;; ;;
*) *)
if test "$GXX" = yes && test "$with_gnu_ld" = no; then if test "$GXX" = yes && test "$with_gnu_ld" = no; then
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
case $host in case $host in
osf3*) osf3*)
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_ flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${ wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_v ersion ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_loc ations -o $lib' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_ flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${ wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_v ersion ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_loc ations -o $lib'
;; ;;
*) *)
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_ flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${ wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all " ${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_obj dir}/so_locations -o $lib' archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_ undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compile r_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_ echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${ output_objdir}/so_locations -o $lib'
;; ;;
esac esac
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator_CXX=: hardcode_libdir_separator_CXX=:
# Commands to make compiler produce verbose output that lists # Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used whe n # what "hidden" libraries, object files and flags are used whe n
# linking a shared library. # linking a shared library.
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$obje xt 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$obje xt 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
skipping to change at line 12655 skipping to change at line 12537
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
# The C++ compiler must be used to create the archive. # The C++ compiler must be used to create the archive.
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
;; ;;
*) *)
# GNU C++ compiler with Solaris linker # GNU C++ compiler with Solaris linker
if test "$GXX" = yes && test "$with_gnu_ld" = no; then if test "$GXX" = yes && test "$with_gnu_ld" = no; then
no_undefined_flag_CXX=' ${wl}-z ${wl}defs' no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
if $CC --version | $GREP -v '^2\.7' > /dev/null; then if $CC --version | $GREP -v '^2\.7' > /dev/null; then
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_obj ects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $ predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $ wl$soname -o $lib'
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $ex port_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $ lib.exp~ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $ex port_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $ lib.exp~
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_ objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $li b $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $l ib.exp'
# Commands to make compiler produce verbose output that list s # Commands to make compiler produce verbose output that list s
# what "hidden" libraries, object files and flags are used w hen # what "hidden" libraries, object files and flags are used w hen
# linking a shared library. # linking a shared library.
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$ob jext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$ob jext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
else else
# g++ 2.7 appears to require `-G' NOT `-shared' on this # g++ 2.7 appears to require `-G' NOT `-shared' on this
# platform. # platform.
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $l ib' archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $l ib'
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $ex port_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $ lib.exp~ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $ex port_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $ lib.exp~
skipping to change at line 12792 skipping to change at line 12674
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
class Foo class Foo
{ {
public: public:
Foo (void) { a = 0; } Foo (void) { a = 0; }
private: private:
int a; int a;
}; };
_LT_EOF _LT_EOF
_lt_libdeps_save_CFLAGS=$CFLAGS
case "$CC $CFLAGS " in #(
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
esac
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then test $ac_status = 0; }; then
# Parse the compiler output and extract the necessary # Parse the compiler output and extract the necessary
# objects, libraries and library flags. # objects, libraries and library flags.
# Sentinel used to keep track of whether or not we are before # Sentinel used to keep track of whether or not we are before
# the conftest object file. # the conftest object file.
pre_test_object_deps_done=no pre_test_object_deps_done=no
for p in `eval "$output_verbose_link_cmd"`; do for p in `eval "$output_verbose_link_cmd"`; do
case $p in case ${prev}${p} in
-L* | -R* | -l*) -L* | -R* | -l*)
# Some compilers place space between "-{L,R}" and the path. # Some compilers place space between "-{L,R}" and the path.
# Remove the space. # Remove the space.
if test $p = "-L" || if test $p = "-L" ||
test $p = "-R"; then test $p = "-R"; then
prev=$p prev=$p
continue continue
else
prev=
fi fi
# Expand the sysroot to ease extracting the directories later.
if test -z "$prev"; then
case $p in
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_r
esult ;;
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_r
esult ;;
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_r
esult ;;
esac
fi
case $p in
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_res
ult ;;
esac
if test "$pre_test_object_deps_done" = no; then if test "$pre_test_object_deps_done" = no; then
case $p in case ${prev} in
-L* | -R*) -L | -R)
# Internal compiler library paths should come after those # Internal compiler library paths should come after those
# provided the user. The postdeps already come after the # provided the user. The postdeps already come after the
# user supplied libs so there is no need to process them. # user supplied libs so there is no need to process them.
if test -z "$compiler_lib_search_path_CXX"; then if test -z "$compiler_lib_search_path_CXX"; then
compiler_lib_search_path_CXX="${prev}${p}" compiler_lib_search_path_CXX="${prev}${p}"
else else
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $ {prev}${p}" compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $ {prev}${p}"
fi fi
;; ;;
# The "-l" case would never come before the object being # The "-l" case would never come before the object being
# linked, so don't bother handling this case. # linked, so don't bother handling this case.
esac esac
else else
if test -z "$postdeps_CXX"; then if test -z "$postdeps_CXX"; then
postdeps_CXX="${prev}${p}" postdeps_CXX="${prev}${p}"
else else
postdeps_CXX="${postdeps_CXX} ${prev}${p}" postdeps_CXX="${postdeps_CXX} ${prev}${p}"
fi fi
fi fi
prev=
;; ;;
*.lto.$objext) ;; # Ignore GCC LTO objects
*.$objext) *.$objext)
# This assumes that the test object file only shows up # This assumes that the test object file only shows up
# once in the compiler output. # once in the compiler output.
if test "$p" = "conftest.$objext"; then if test "$p" = "conftest.$objext"; then
pre_test_object_deps_done=yes pre_test_object_deps_done=yes
continue continue
fi fi
if test "$pre_test_object_deps_done" = no; then if test "$pre_test_object_deps_done" = no; then
if test -z "$predep_objects_CXX"; then if test -z "$predep_objects_CXX"; then
skipping to change at line 12877 skipping to change at line 12776
esac esac
done done
# Clean up. # Clean up.
rm -f a.out a.exe rm -f a.out a.exe
else else
echo "libtool.m4: error: problem compiling CXX test program" echo "libtool.m4: error: problem compiling CXX test program"
fi fi
$RM -f confest.$objext $RM -f confest.$objext
CFLAGS=$_lt_libdeps_save_CFLAGS
# PORTME: override above test on systems where it is broken # PORTME: override above test on systems where it is broken
case $host_os in case $host_os in
interix[3-9]*) interix[3-9]*)
# Interix 3.5 installs completely hosed .la files for C++, so rather than # Interix 3.5 installs completely hosed .la files for C++, so rather than
# hack all around it, let's just trust "g++" to DTRT. # hack all around it, let's just trust "g++" to DTRT.
predep_objects_CXX= predep_objects_CXX=
postdep_objects_CXX= postdep_objects_CXX=
postdeps_CXX= postdeps_CXX=
;; ;;
skipping to change at line 12946 skipping to change at line 12846
esac esac
compiler_lib_search_dirs_CXX= compiler_lib_search_dirs_CXX=
if test -n "${compiler_lib_search_path_CXX}"; then if test -n "${compiler_lib_search_path_CXX}"; then
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${ SED} -e 's! -L! !g' -e 's!^ !!'` compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${ SED} -e 's! -L! !g' -e 's!^ !!'`
fi fi
lt_prog_compiler_wl_CXX= lt_prog_compiler_wl_CXX=
lt_prog_compiler_pic_CXX= lt_prog_compiler_pic_CXX=
lt_prog_compiler_static_CXX= lt_prog_compiler_static_CXX=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to p
roduce PIC" >&5
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
# C++ specific cases for pic, static, wl, etc. # C++ specific cases for pic, static, wl, etc.
if test "$GXX" = yes; then if test "$GXX" = yes; then
lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_wl_CXX='-Wl,'
lt_prog_compiler_static_CXX='-static' lt_prog_compiler_static_CXX='-static'
case $host_os in case $host_os in
aix*) aix*)
# All AIX code is PIC. # All AIX code is PIC.
if test "$host_cpu" = ia64; then if test "$host_cpu" = ia64; then
# AIX 5 now supports IA64 processor # AIX 5 now supports IA64 processor
skipping to change at line 13051 skipping to change at line 12948
fi fi
;; ;;
chorus*) chorus*)
case $cc_basename in case $cc_basename in
cxch68*) cxch68*)
# Green Hills C++ Compiler # Green Hills C++ Compiler
# _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiatio n -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/ CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiatio n -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/ CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
;; ;;
esac esac
;; ;;
mingw* | cygwin* | os2* | pw32* | cegcc*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for exampl
e).
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
;;
dgux*) dgux*)
case $cc_basename in case $cc_basename in
ec++*) ec++*)
lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_pic_CXX='-KPIC'
;; ;;
ghcx*) ghcx*)
# Green Hills C++ Compiler # Green Hills C++ Compiler
lt_prog_compiler_pic_CXX='-pic' lt_prog_compiler_pic_CXX='-pic'
;; ;;
*) *)
skipping to change at line 13268 skipping to change at line 13170
case $host_os in case $host_os in
# For platforms which do not support PIC, -DPIC is meaningless: # For platforms which do not support PIC, -DPIC is meaningless:
*djgpp*) *djgpp*)
lt_prog_compiler_pic_CXX= lt_prog_compiler_pic_CXX=
;; ;;
*) *)
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
;; ;;
esac esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX"
>&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to p
$as_echo "$lt_prog_compiler_pic_CXX" >&6; } roduce PIC" >&5
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
$as_echo_n "(cached) " >&6
else
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_C
XX" >&5
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
# #
# Check to make sure the PIC flag actually works. # Check to make sure the PIC flag actually works.
# #
if test -n "$lt_prog_compiler_pic_CXX"; then 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 "$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; } $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 : if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_prog_compiler_pic_works_CXX=no lt_cv_prog_compiler_pic_works_CXX=no
ac_outfile=conftest.$ac_objext ac_outfile=conftest.$ac_objext
echo "$lt_simple_compile_test_code" > conftest.$ac_ext echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
# Insert the option either (1) after the last *FLAGS variable, or # Insert the option either (1) after the last *FLAGS variable, or
# (2) before a word containing "conftest.", or (3) at the end. # (2) before a word containing "conftest.", or (3) at the end.
# Note that $ac_compile itself does not contain backslashes and begins # Note that $ac_compile itself does not contain backslashes and begins
# with a dollar sign (not a hyphen), so the echo should work correctly. # with a dollar sign (not a hyphen), so the echo should work correctly.
skipping to change at line 13331 skipping to change at line 13242
fi fi
fi fi
# #
# Check to make sure the static flag actually works. # Check to make sure the static flag actually works.
# #
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_sta tic_CXX\" wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_sta tic_CXX\"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 { $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; } $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 : if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_prog_compiler_static_works_CXX=no lt_cv_prog_compiler_static_works_CXX=no
save_LDFLAGS="$LDFLAGS" save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
echo "$lt_simple_link_test_code" > conftest.$ac_ext echo "$lt_simple_link_test_code" > conftest.$ac_ext
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
# The linker can only warn and ignore the option if not recognized # The linker can only warn and ignore the option if not recognized
# So say no if there are warnings # So say no if there are warnings
if test -s conftest.err; then if test -s conftest.err; then
skipping to change at line 13368 skipping to change at line 13279
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
: :
else else
lt_prog_compiler_static_CXX= lt_prog_compiler_static_CXX=
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 { $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; } $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 : if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_prog_compiler_c_o_CXX=no lt_cv_prog_compiler_c_o_CXX=no
$RM -r conftest 2>/dev/null $RM -r conftest 2>/dev/null
mkdir conftest mkdir conftest
cd conftest cd conftest
mkdir out mkdir out
echo "$lt_simple_compile_test_code" > conftest.$ac_ext echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="-o out/conftest2.$ac_objext" lt_compiler_flag="-o out/conftest2.$ac_objext"
skipping to change at line 13418 skipping to change at line 13329
cd .. cd ..
$RM -r conftest $RM -r conftest
$RM conftest* $RM conftest*
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_C XX" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_C XX" >&5
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } $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 "$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; } $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 : if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_prog_compiler_c_o_CXX=no lt_cv_prog_compiler_c_o_CXX=no
$RM -r conftest 2>/dev/null $RM -r conftest 2>/dev/null
mkdir conftest mkdir conftest
cd conftest cd conftest
mkdir out mkdir out
echo "$lt_simple_compile_test_code" > conftest.$ac_ext echo "$lt_simple_compile_test_code" > conftest.$ac_ext
lt_compiler_flag="-o out/conftest2.$ac_objext" lt_compiler_flag="-o out/conftest2.$ac_objext"
skipping to change at line 13492 skipping to change at line 13403
need_locks=warn need_locks=warn
fi fi
else else
need_locks=no need_locks=no
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 { $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 lib raries... " >&6; } $as_echo_n "checking whether the $compiler linker ($LD) supports shared lib raries... " >&6; }
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
case $host_os in case $host_os in
aix[4-9]*) aix[4-9]*)
# If we're using GNU nm, then we don't want the "-C" option. # If we're using GNU nm, then we don't want the "-C" option.
# -C means demangle to AIX nm, but means don't demangle with GNU nm # -C means demangle to AIX nm, but means don't demangle with GNU nm
# Also, AIX nm treats weak defined symbols like other global defined # Also, AIX nm treats weak defined symbols like other global defined
# symbols, whereas GNU nm marks them as "W". # symbols, whereas GNU nm marks them as "W".
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ i f (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (s ubstr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ i f (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (s ubstr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
else else
export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
fi fi
;; ;;
pw32*) pw32*)
export_symbols_cmds_CXX="$ltdll_cmds" export_symbols_cmds_CXX="$ltdll_cmds"
;; ;;
cygwin* | mingw* | cegcc*) cygwin* | mingw* | cegcc*)
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pip case $cc_basename in
e | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.* cl*) ;;
[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort *)
| uniq > $export_symbols' export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_p
;; ipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([
^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $e
xport_symbols'
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_
]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
;;
esac
;;
*) *)
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pip e | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pip e | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
;; ;;
esac esac
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
$as_echo "$ld_shlibs_CXX" >&6; } $as_echo "$ld_shlibs_CXX" >&6; }
test "$ld_shlibs_CXX" = no && can_build_shared=no test "$ld_shlibs_CXX" = no && can_build_shared=no
with_gnu_ld_CXX=$with_gnu_ld with_gnu_ld_CXX=$with_gnu_ld
# #
# Do we need to explicitly link libc? # Do we need to explicitly link libc?
# #
skipping to change at line 13541 skipping to change at line 13458
case $archive_cmds_CXX in case $archive_cmds_CXX in
*'~'*) *'~'*)
# FIXME: we may have to deal with multi-command sequences. # FIXME: we may have to deal with multi-command sequences.
;; ;;
'$CC '*) '$CC '*)
# Test whether the compiler implicitly links with -lc since on some # Test whether the compiler implicitly links with -lc since on some
# systems, -lgcc has to come before -lc. If gcc already passes -lc # systems, -lgcc has to come before -lc. If gcc already passes -lc
# to ld, don't add -lc before -lgcc. # 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 "$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; } $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then : if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
$RM conftest* $RM conftest*
echo "$lt_simple_compile_test_code" > conftest.$ac_ext echo "$lt_simple_compile_test_code" > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\"" ; } >&5 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\"" ; } >&5
(eval $ac_compile) 2>&5 (eval $ac_compile) 2>&5
ac_status=$? ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } 2>conftest.err; then test $ac_status = 0; } 2>conftest.err; then
skipping to change at line 13709 skipping to change at line 13626
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
# libtool to hard-code these into programs # libtool to hard-code these into programs
;; ;;
cygwin* | mingw* | pw32* | cegcc*) cygwin* | mingw* | pw32* | cegcc*)
version_type=windows version_type=windows
shrext_cmds=".dll" shrext_cmds=".dll"
need_version=no need_version=no
need_lib_prefix=no need_lib_prefix=no
case $GCC,$host_os in case $GCC,$cc_basename in
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) yes,*)
# gcc
library_names_spec='$libname.dll.a' library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds # DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~ postinstall_cmds='base_file=`basename \${file}`~
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlna me'\''`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlna me'\''`~
dldir=$destdir/`dirname \$dlpath`~ dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~ test -d \$dldir || mkdir -p \$dldir~
$install_prog $dir/$dlname \$dldir/$dlname~ $install_prog $dir/$dlname \$dldir/$dlname~
chmod a+x \$dldir/$dlname~ chmod a+x \$dldir/$dlname~
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
skipping to change at line 13742 skipping to change at line 13660
;; ;;
mingw* | cegcc*) mingw* | cegcc*)
# MinGW DLLs use traditional 'lib' prefix # MinGW DLLs use traditional 'lib' prefix
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versu ffix}${shared_ext}' soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versu ffix}${shared_ext}'
;; ;;
pw32*) pw32*)
# pw32 DLLs use 'pw' prefix rather than 'lib' # pw32 DLLs use 'pw' prefix rather than 'lib'
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${re lease} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${re lease} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
;; ;;
esac esac
dynamic_linker='Win32 ld.exe'
;;
*,cl*)
# Native MSVC
libname_spec='$name'
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuff
ix}${shared_ext}'
library_names_spec='${libname}.dll.lib'
case $build_os in
mingw*)
sys_lib_search_path_spec=
lt_save_ifs=$IFS
IFS=';'
for lt_path in $LIB
do
IFS=$lt_save_ifs
# Let DOS variable expansion print the short 8.3 style file name.
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @
echo %~si"`
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
done
IFS=$lt_save_ifs
# Convert to MSYS style.
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e
's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
;;
cygwin*)
# Convert to unix form, then to dos form, then back to unix form
# but this time dos style (no spaces!) so that the unix form looks
# like /cygdrive/c/PROGRA~1:/cygdr...
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_
spec" 2>/dev/null`
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path
_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
;;
*)
sys_lib_search_path_spec="$LIB"
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null
; then
# It is most probably a Windows format PATH.
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED
-e 's/;/ /g'`
else
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED
-e "s/$PATH_SEPARATOR/ /g"`
fi
# FIXME: find the short name or the path components, as spaces are
# common. (e.g. "Program Files" -> "PROGRA~1")
;;
esac
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlna
me'\''`~
dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~
$install_prog $dir/$dlname \$dldir/$dlname'
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\'
'`~
dlpath=$dir/\$dldll~
$RM \$dlpath'
shlibpath_overrides_runpath=yes
dynamic_linker='Win32 link.exe'
;; ;;
*) *)
# Assume MSVC wrapper
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${ versuffix}${shared_ext} $libname.lib' library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${ versuffix}${shared_ext} $libname.lib'
dynamic_linker='Win32 ld.exe'
;; ;;
esac esac
dynamic_linker='Win32 ld.exe'
# FIXME: first we should search . and the directory the executable is in # FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH shlibpath_var=PATH
;; ;;
darwin* | rhapsody*) darwin* | rhapsody*)
dynamic_linker="$host_os dyld" dynamic_linker="$host_os dyld"
version_type=darwin version_type=darwin
need_lib_prefix=no need_lib_prefix=no
need_version=no need_version=no
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$sh ared_ext' library_names_spec='${libname}${release}${major}$shared_ext ${libname}$sh ared_ext'
skipping to change at line 13961 skipping to change at line 13937
version_type=linux version_type=linux
need_lib_prefix=no need_lib_prefix=no
need_version=no need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname }${release}${shared_ext}$major $libname${shared_ext}' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname }${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major' soname_spec='${libname}${release}${shared_ext}$major'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
shlibpath_var=LD_LIBRARY_PATH shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no shlibpath_overrides_runpath=no
# Some binutils ld are patched to set DT_RUNPATH # Some binutils ld are patched to set DT_RUNPATH
if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then : if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
lt_cv_shlibpath_overrides_runpath=no lt_cv_shlibpath_overrides_runpath=no
save_LDFLAGS=$LDFLAGS save_LDFLAGS=$LDFLAGS
save_libdir=$libdir save_libdir=$libdir
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int int
main () main ()
{ {
;
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 :
lt_cv_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
fi
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
# This implies no fast_install, which is unacceptable.
# Some rework will be needed to allow for fast_install
# before this can be enabled.
hardcode_into_libs=yes
# Add ABI-specific directories to the system library path.
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
# Append ld.so.conf contents to the search path
if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/
null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so
.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[
^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
fi
# We used to test for /lib/ld.so.1 and disable shared libraries on
# powerpc, because MkLinux only supported shared libraries with the
# GNU dynamic linker. Since this was broken with cross compilers,
# most powerpc-linux boxes support dynamic linking these days and
# people can always --disable-shared, the test was removed, and we
# assume the GNU/Linux dynamic linker is in use.
dynamic_linker='GNU/Linux ld.so'
;;
netbsd*)
version_type=sunos
need_lib_prefix=no
need_version=no
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libna
me}${shared_ext}$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
dynamic_linker='NetBSD (a.out) ld.so'
else
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libna
me}${release}${shared_ext}$major ${libname}${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
dynamic_linker='NetBSD ld.elf_so'
fi
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
hardcode_into_libs=yes
;;
newsos6)
version_type=linux
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext}$major $libname${shared_ext}'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
;;
*nto* | *qnx*)
version_type=qnx
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
hardcode_into_libs=yes
dynamic_linker='ldqnx.so'
;;
openbsd*)
version_type=sunos
sys_lib_dlsearch_path_spec="/usr/lib"
need_lib_prefix=no
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
case $host_os in
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
*) need_version=no ;;
esac
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${shared_ext}$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-
$host_cpu" = "openbsd2.8-powerpc"; then
case $host_os in
openbsd2.[89] | openbsd2.[89].*)
shlibpath_overrides_runpath=no
;;
*)
shlibpath_overrides_runpath=yes
;;
esac
else
shlibpath_overrides_runpath=yes
fi
;;
os2*)
libname_spec='$name'
shrext_cmds=".dll"
need_lib_prefix=no
library_names_spec='$libname${shared_ext} $libname.a'
dynamic_linker='OS/2 ld.exe'
shlibpath_var=LIBPATH
;;
osf3* | osf4* | osf5*)
version_type=osf
need_lib_prefix=no
need_version=no
soname_spec='${libname}${release}${shared_ext}$major'
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext}$major $libname${shared_ext}'
shlibpath_var=LD_LIBRARY_PATH
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr
/lib /usr/local/lib /var/shlib"
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
;;
rdos*)
dynamic_linker=no
;;
solaris*)
version_type=linux
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
hardcode_into_libs=yes
# ldd complains unless libraries are executable
postinstall_cmds='chmod +x $lib'
;;
sunos4*)
version_type=sunos
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${shared_ext}$versuffix'
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
if test "$with_gnu_ld" = yes; then
need_lib_prefix=no
fi
need_version=yes
;;
sysv4 | sysv4.3*)
version_type=linux
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
case $host_vendor in
sni)
shlibpath_overrides_runpath=no
need_lib_prefix=no
runpath_var=LD_RUN_PATH
;;
siemens)
need_lib_prefix=no
;;
motorola)
need_lib_prefix=no
need_version=no
shlibpath_overrides_runpath=no
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
;;
esac
;;
sysv4*MP*)
if test -d /usr/nec ;then
version_type=linux
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_e
xt}.$major $libname${shared_ext}'
soname_spec='$libname${shared_ext}.$major'
shlibpath_var=LD_LIBRARY_PATH
fi
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
version_type=freebsd-elf
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext} $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
hardcode_into_libs=yes
if test "$with_gnu_ld" = yes; then
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr
/lib /lib'
else
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
case $host_os in
sco3.2v5*)
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
;;
esac
fi
sys_lib_dlsearch_path_spec='/usr/lib'
;;
tpf*)
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
version_type=linux
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext}$major $libname${shared_ext}'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
hardcode_into_libs=yes
;;
uts4*)
version_type=linux
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
;;
*)
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
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
if test "$GCC" = yes; then
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX C
OMPILER_PATH LIBRARY_PATH"
fi
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
fi
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode libra
ry 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" ||
test -n "$runpath_var_CXX" ||
test "X$hardcode_automatic_CXX" = "Xyes" ; then
# We can hardcode non-existent directories.
if test "$hardcode_direct_CXX" != no &&
# If the only mechanism to avoid hardcoding is shlibpath_var, we
# have to relink, otherwise we might link with an installed library
# when we should be linking with a yet-to-be-installed one
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
test "$hardcode_minus_L_CXX" != no; then
# Linking always hardcodes the temporary library directory.
hardcode_action_CXX=relink
else
# We can link without hardcoding, and we can hardcode nonexisting dirs.
hardcode_action_CXX=immediate
fi
else
# We cannot hardcode anything, or else we can only hardcode existing
# 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 ||
test "$inherit_rpath_CXX" = yes; then
# Fast installation is not supported
enable_fast_install=no
elif test "$shlibpath_overrides_runpath" = yes ||
test "$enable_shared" = no; then
# Fast installation is not necessary
enable_fast_install=needless
fi
fi # test -n "$compiler"
CC=$lt_save_CC
CFLAGS=$lt_save_CFLAGS
LDCXX=$LD
LD=$lt_save_LD
GCC=$lt_save_GCC
with_gnu_ld=$lt_save_with_gnu_ld
lt_cv_path_LDCXX=$lt_cv_path_LD
lt_cv_path_LD=$lt_save_path_LD
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
fi # test "$_lt_caught_CXX_error" != yes
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
for ac_prog in gawk mawk nawk awk
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 ${ac_cv_prog_AWK+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$AWK"; then
ac_cv_prog_AWK="$AWK" # 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_wo
rd$ac_exec_ext"; }; then
ac_cv_prog_AWK="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e
xt" >&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
test -n "$AWK" && break
done
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 -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a progra
m 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 ${ac_cv_prog_CC+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # 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_wo
rd$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_e
xt" >&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
fi
if test -z "$ac_cv_prog_CC"; then
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 ${ac_cv_prog_ac_ct_CC+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_wo
rd$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_e
xt" >&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
if test "x$ac_ct_CC" = x; then
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre
fixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet
" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
else
CC="$ac_cv_prog_CC"
fi
if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}cc", so it can be a progr
am 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 ${ac_cv_prog_CC+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # 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_wo
rd$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_e
xt" >&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
fi
fi
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 ${ac_cv_prog_CC+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
ac_prog_rejected=no
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_wo
rd$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_e
xt" >&5
break 2
fi
done
done
IFS=$as_save_IFS
if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC
shift
if test $# != 0; then
# We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be chosen
# first if we set CC to just the basename; use the full file name.
shift
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
fi
fi
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
fi
if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
for ac_prog in cl.exe
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a p
rogram 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 ${ac_cv_prog_CC+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # 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_wo
rd$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_e
xt" >&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
test -n "$CC" && break
done
fi
if test -z "$CC"; then
ac_ct_CC=$CC
for ac_prog in cl.exe
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 ${ac_cv_prog_ac_ct_CC+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_wo
rd$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_e
xt" >&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
test -n "$ac_ct_CC" && break
done
if test "x$ac_ct_CC" = x; then
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not pre
fixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet
" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
fi
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
fi
rm -f conftest.er1 conftest.err
$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 ${ac_cv_c_compiler_gnu+:} false; 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_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
else
GCC=
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 ${ac_cv_prog_cc_g+:} false; 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
main ()
{
;
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
main ()
{
;
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
main ()
{
;
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
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
CFLAGS="-O2"
else
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 ${ac_cv_prog_cc_c89+:} false; 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 <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
char **p;
int i;
{
return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
char *s;
va_list v;
va_start (v,p);
s = g (p, va_arg (v,int));
va_end (v);
return s;
}
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
function prototypes and stuff, but not '\xHH' hex character constants.
These don't provoke an error unfortunately, instead are silently treated
as 'x'. The following induces an error, until -std is added to get
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
array size at least. It's necessary to write '\x00'==0 to get something
that's true only with -std. */
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro paramet
ers
inside strings and character constants. */
#define FOO(x) 'x'
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), i
nt, int);
int argc;
char **argv;
int
main ()
{
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_cxx_try_link "$LINENO"; then : for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
" >/dev/null; then : do
lt_cv_shlibpath_overrides_runpath=yes CC="$ac_save_CC $ac_arg"
fi if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_prog_cc_c89=$ac_arg
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext
conftest$ac_exeext conftest.$ac_ext test "x$ac_cv_prog_cc_c89" != "xno" && break
LDFLAGS=$save_LDFLAGS done
libdir=$save_libdir rm -f conftest.$ac_ext
CC=$ac_save_CC
fi fi
# 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 :
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath fi
# This implies no fast_install, which is unacceptable.
# Some rework will be needed to allow for fast_install
# before this can be enabled.
hardcode_into_libs=yes
# Add ABI-specific directories to the system library path.
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
# Append ld.so.conf contents to the search path
if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/
null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so
.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[
^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
fi
# We used to test for /lib/ld.so.1 and disable shared libraries on
# powerpc, because MkLinux only supported shared libraries with the
# GNU dynamic linker. Since this was broken with cross compilers,
# most powerpc-linux boxes support dynamic linking these days and
# people can always --disable-shared, the test was removed, and we
# assume the GNU/Linux dynamic linker is in use.
dynamic_linker='GNU/Linux ld.so'
;;
netbsd*) ac_ext=c
version_type=sunos ac_cpp='$CPP $CPPFLAGS'
need_lib_prefix=no ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
need_version=no ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then ext $LIBS >&5'
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libna ac_compiler_gnu=$ac_cv_c_compiler_gnu
me}${shared_ext}$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
dynamic_linker='NetBSD (a.out) ld.so'
else
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libna
me}${release}${shared_ext}$major ${libname}${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
dynamic_linker='NetBSD ld.elf_so'
fi
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
hardcode_into_libs=yes
;;
newsos6) depcc="$CC" am_compiler_list=
version_type=linux
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext}$major $libname${shared_ext}'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
;;
*nto* | *qnx*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depc
version_type=qnx c" >&5
need_lib_prefix=no $as_echo_n "checking dependency style of $depcc... " >&6; }
need_version=no if ${am_cv_CC_dependencies_compiler_type+:} false; then :
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname $as_echo_n "(cached) " >&6
}${release}${shared_ext}$major $libname${shared_ext}' else
soname_spec='${libname}${release}${shared_ext}$major' if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
shlibpath_var=LD_LIBRARY_PATH # We make a subdir and do the tests there. Otherwise we can end up
shlibpath_overrides_runpath=no # making bogus files that we don't know about and never remove. For
hardcode_into_libs=yes # instance it was reported that on HP-UX the gcc test will end up
dynamic_linker='ldqnx.so' # 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
openbsd*) am_cv_CC_dependencies_compiler_type=none
version_type=sunos if test "$am_compiler_list" = ""; then
sys_lib_dlsearch_path_spec="/usr/lib" am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
need_lib_prefix=no
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
case $host_os in
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
*) need_version=no ;;
esac
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${shared_ext}$versuffix'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-
$host_cpu" = "openbsd2.8-powerpc"; then
case $host_os in
openbsd2.[89] | openbsd2.[89].*)
shlibpath_overrides_runpath=no
;;
*)
shlibpath_overrides_runpath=yes
;;
esac
else
shlibpath_overrides_runpath=yes
fi fi
;; am__universal=false
case " $depcc " in #(
os2*) *\ -arch\ *\ -arch\ *) am__universal=true ;;
libname_spec='$name' esac
shrext_cmds=".dll"
need_lib_prefix=no
library_names_spec='$libname${shared_ext} $libname.a'
dynamic_linker='OS/2 ld.exe'
shlibpath_var=LIBPATH
;;
osf3* | osf4* | osf5*)
version_type=osf
need_lib_prefix=no
need_version=no
soname_spec='${libname}${release}${shared_ext}$major'
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext}$major $libname${shared_ext}'
shlibpath_var=LD_LIBRARY_PATH
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr
/lib /usr/local/lib /var/shlib"
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
;;
rdos*)
dynamic_linker=no
;;
solaris*)
version_type=linux
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext}$major $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
hardcode_into_libs=yes
# ldd complains unless libraries are executable
postinstall_cmds='chmod +x $lib'
;;
sunos4*) for depmode in $am_compiler_list; do
version_type=sunos # Setup a source with many dependencies, because some compilers
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname # like to wrap large dependency lists on column 80 (with \), and
}${shared_ext}$versuffix' # we should not choose a depcomp mode which is confused by this.
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' #
shlibpath_var=LD_LIBRARY_PATH # We need to recreate these files for each test, as the compiler may
shlibpath_overrides_runpath=yes # overwrite some of them when testing with obscure command lines.
if test "$with_gnu_ld" = yes; then # This happens at least with the AIX C compiler.
need_lib_prefix=no : > sub/conftest.c
fi for i in 1 2 3 4 5 6; do
need_version=yes 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
sysv4 | sysv4.3*) # We check with `-c' and `-o' for the sake of the "dashmstdout"
version_type=linux # mode. It turns out that the SunPro C++ compiler does not properly
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname # handle `-M -o', and we need to detect this. Also, some Intel
}${release}${shared_ext}$major $libname${shared_ext}' # versions had trouble with output in subdirs
soname_spec='${libname}${release}${shared_ext}$major' am__obj=sub/conftest.${OBJEXT-o}
shlibpath_var=LD_LIBRARY_PATH am__minus_obj="-o $am__obj"
case $host_vendor in case $depmode in
sni) gcc)
shlibpath_overrides_runpath=no # This depmode causes a compiler race in universal mode.
need_lib_prefix=no test "$am__universal" = false || continue
runpath_var=LD_RUN_PATH
;; ;;
siemens) nosideeffect)
need_lib_prefix=no # 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
;; ;;
motorola) msvisualcpp | msvcmsys)
need_lib_prefix=no # This compiler won't grok `-c -o', but also, the minuso test has
need_version=no # not run yet. These depmodes are late enough in the game, and
shlibpath_overrides_runpath=no # so weak that their functioning should not be impacted.
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' am__obj=conftest.${OBJEXT-o}
am__minus_obj=
;; ;;
esac none) break ;;
;;
sysv4*MP*)
if test -d /usr/nec ;then
version_type=linux
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_e
xt}.$major $libname${shared_ext}'
soname_spec='$libname${shared_ext}.$major'
shlibpath_var=LD_LIBRARY_PATH
fi
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
version_type=freebsd-elf
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext} $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=yes
hardcode_into_libs=yes
if test "$with_gnu_ld" = yes; then
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr
/lib /lib'
else
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
case $host_os in
sco3.2v5*)
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
;;
esac esac
fi if depmode=$depmode \
sys_lib_dlsearch_path_spec='/usr/lib' 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 requ
ired
# 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_CC_dependencies_compiler_type=$depmode
break
fi
fi
done
tpf*) cd ..
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. rm -rf conftest.dir
version_type=linux else
need_lib_prefix=no am_cv_CC_dependencies_compiler_type=none
need_version=no fi
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname
}${release}${shared_ext}$major $libname${shared_ext}'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
hardcode_into_libs=yes
;;
uts4*) fi
version_type=linux { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_com
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname piler_type" >&5
}${release}${shared_ext}$major $libname${shared_ext}' $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
soname_spec='${libname}${release}${shared_ext}$major' CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
shlibpath_var=LD_LIBRARY_PATH
;;
*) if
dynamic_linker=no test "x$enable_dependency_tracking" != xno \
;; && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
esac am__fastdepCC_TRUE=
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 am__fastdepCC_FALSE='#'
$as_echo "$dynamic_linker" >&6; } else
test "$dynamic_linker" = no && can_build_shared=no am__fastdepCC_TRUE='#'
am__fastdepCC_FALSE=
fi
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" ac_ext=c
if test "$GCC" = yes; then ac_cpp='$CPP $CPPFLAGS'
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX C ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
OMPILER_PATH LIBRARY_PATH" 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 preproce
ssor" >&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 fi
if test -z "$CPP"; then
if ${ac_cv_prog_CPP+:} false; 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 <limits.h> to <assert.h> if __STDC__ is defined, since
# <limits.h> 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 <limits.h>
#else
# include <assert.h>
#endif
Syntax error
_ACEOF
if ac_fn_c_try_cpp "$LINENO"; then :
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then else
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" # Broken: fails on valid input.
continue
fi fi
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then rm -f conftest.err conftest.i conftest.$ac_ext
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
# 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 <ac_nonexistent.h>
_ACEOF
if ac_fn_c_try_cpp "$LINENO"; then :
# Broken: success on invalid input.
continue
else
# Passes both tests.
ac_preproc_ok=:
break
fi fi
rm -f conftest.err conftest.i conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode libra done
ry paths into programs" >&5 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
$as_echo_n "checking how to hardcode library paths into programs... " >&6; rm -f conftest.i conftest.err conftest.$ac_ext
} if $ac_preproc_ok; then :
hardcode_action_CXX= break
if test -n "$hardcode_libdir_flag_spec_CXX" || fi
test -n "$runpath_var_CXX" ||
test "X$hardcode_automatic_CXX" = "Xyes" ; then
# We can hardcode non-existent directories. done
if test "$hardcode_direct_CXX" != no && ac_cv_prog_CPP=$CPP
# If the only mechanism to avoid hardcoding is shlibpath_var, we
# have to relink, otherwise we might link with an installed library fi
# when we should be linking with a yet-to-be-installed one CPP=$ac_cv_prog_CPP
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
test "$hardcode_minus_L_CXX" != no; then
# Linking always hardcodes the temporary library directory.
hardcode_action_CXX=relink
else
# We can link without hardcoding, and we can hardcode nonexisting dirs.
hardcode_action_CXX=immediate
fi
else else
# We cannot hardcode anything, or else we can only hardcode existing ac_cv_prog_CPP=$CPP
# directories.
hardcode_action_CXX=unsupported
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
$as_echo "$hardcode_action_CXX" >&6; } $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 <limits.h> to <assert.h> if __STDC__ is defined, since
# <limits.h> 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 <limits.h>
#else
# include <assert.h>
#endif
Syntax error
_ACEOF
if ac_fn_c_try_cpp "$LINENO"; then :
if test "$hardcode_action_CXX" = relink || else
test "$inherit_rpath_CXX" = yes; then # Broken: fails on valid input.
# Fast installation is not supported continue
enable_fast_install=no fi
elif test "$shlibpath_overrides_runpath" = yes || rm -f conftest.err conftest.i conftest.$ac_ext
test "$enable_shared" = no; then
# Fast installation is not necessary # OK, works on sane cases. Now check whether nonexistent headers
enable_fast_install=needless # can be detected and how.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <ac_nonexistent.h>
_ACEOF
if ac_fn_c_try_cpp "$LINENO"; then :
# Broken: success on invalid input.
continue
else
# Passes both tests.
ac_preproc_ok=:
break
fi fi
rm -f conftest.err conftest.i conftest.$ac_ext
fi # test -n "$compiler" done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok; then :
CC=$lt_save_CC else
LDCXX=$LD { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
LD=$lt_save_LD $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
GCC=$lt_save_GCC as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
with_gnu_ld=$lt_save_with_gnu_ld See \`config.log' for more details" "$LINENO" 5; }
lt_cv_path_LDCXX=$lt_cv_path_LD fi
lt_cv_path_LD=$lt_save_path_LD
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
fi # test "$_lt_caught_CXX_error" != yes
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_compiler_gnu=$ac_cv_c_compiler_gnu
for ac_prog in gawk mawk nawk awk if test "x$CC" != xcc; then
do { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc unde
# Extract the first word of "$ac_prog", so it can be a program name with rstand -c and -o together" >&5
args. $as_echo_n "checking whether $CC and cc understand -c and -o together... "
set dummy $ac_prog; ac_word=$2 >&6; }
{ $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 else
if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands
ac_cv_prog_AWK="$AWK" # Let the user override the test. -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 eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
$as_echo_n "(cached) " >&6
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cat confdefs.h - <<_ACEOF >conftest.$ac_ext
for as_dir in $PATH /* end confdefs.h. */
do
IFS=$as_save_IFS int
test -z "$as_dir" && as_dir=. main ()
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_wo
rd$ac_exec_ext"; }; then
ac_cv_prog_AWK="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_e
xt" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;
return 0;
}
_ACEOF
# Make sure it works both with $CC and with simple cc.
# We do the test twice because some compilers refuse to overwrite an
# 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.
:
else
# cc exists but doesn't like -o.
eval ac_cv_prog_cc_${ac_cc}_c_o=no
fi
fi
fi
else
eval ac_cv_prog_cc_${ac_cc}_c_o=no
fi fi
rm -f core conftest*
fi fi
AWK=$ac_cv_prog_AWK if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "yes" >&6; }
$as_echo "$AWK" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
fi fi
test -n "$AWK" && break # FIXME: we rely on the cache variable name because
done # there is no other way.
set dummy $CC
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
if test "$am_t" != yes; then
# Losing compiler, so override with the script.
# FIXME: It is wrong to rewrite CC.
# But if we don't then we get into trouble of one sort or another.
# A longer-term fix would be to have automake use am__CC in this case,
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
CC="$am_aux_dir/compile $CC"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
$as_echo_n "checking whether ln -s works... " >&6; } $as_echo_n "checking whether ln -s works... " >&6; }
LN_S=$as_ln_s LN_S=$as_ln_s
if test "$LN_S" = "ln -s"; then if test "$LN_S" = "ln -s"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; } $as_echo "yes" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
$as_echo "no, using $LN_S" >&6; } $as_echo "no, using $LN_S" >&6; }
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
set x ${MAKE-make} set x ${MAKE-make}
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat >conftest.make <<\_ACEOF cat >conftest.make <<\_ACEOF
SHELL = /bin/sh SHELL = /bin/sh
all: all:
@echo '@@@%%%=$(MAKE)=@@@%%%' @echo '@@@%%%=$(MAKE)=@@@%%%'
_ACEOF _ACEOF
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us . # GNU make sometimes prints "make[1]: Entering ...", which would confuse us .
case `${MAKE-make} -f conftest.make 2>/dev/null` in case `${MAKE-make} -f conftest.make 2>/dev/null` in
*@@@%%%=?*=@@@%%%*) *@@@%%%=?*=@@@%%%*)
skipping to change at line 14368 skipping to change at line 15267
$as_echo "no" >&6; } $as_echo "no" >&6; }
SET_MAKE="MAKE=${MAKE-make}" SET_MAKE="MAKE=${MAKE-make}"
fi fi
for ac_prog in pkg-config for ac_prog in pkg-config
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_PKGCONFIG+set}" = set; then : if ${ac_cv_prog_PKGCONFIG+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$PKGCONFIG"; then if test -n "$PKGCONFIG"; then
ac_cv_prog_PKGCONFIG="$PKGCONFIG" # Let the user override the test. ac_cv_prog_PKGCONFIG="$PKGCONFIG" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 14409 skipping to change at line 15308
test -n "$PKGCONFIG" && break test -n "$PKGCONFIG" && break
done done
for ac_prog in doxygen for ac_prog in doxygen
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_DOXYGEN+set}" = set; then : if ${ac_cv_prog_DOXYGEN+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$DOXYGEN"; then if test -n "$DOXYGEN"; then
ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test. ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 14458 skipping to change at line 15357
HAVE_DOXYGEN_TRUE='#' HAVE_DOXYGEN_TRUE='#'
HAVE_DOXYGEN_FALSE= HAVE_DOXYGEN_FALSE=
fi fi
for ac_prog in splint for ac_prog in splint
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_prog_SPLINT+set}" = set; then : if ${ac_cv_prog_SPLINT+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$SPLINT"; then if test -n "$SPLINT"; then
ac_cv_prog_SPLINT="$SPLINT" # Let the user override the test. ac_cv_prog_SPLINT="$SPLINT" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
skipping to change at line 14506 skipping to change at line 15405
else else
HAVE_SPLINT_TRUE='#' HAVE_SPLINT_TRUE='#'
HAVE_SPLINT_FALSE= HAVE_SPLINT_FALSE=
fi fi
## local helper functions ## local helper functions
# this function checks if CC support options passed as # this function checks if CC support options passed as
# args. Global CFLAGS are ignored during this test. # args. Global CFLAGS are ignored during this test.
cc_supports_flag() { cc_supports_flag() {
local CFLAGS="$@" local CPPFLAGS="$CPPFLAGS $@"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC suppor ts \"$@\"" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC suppor ts \"$@\"" >&5
$as_echo_n "checking whether $CC supports \"$@\"... " >&6; } $as_echo_n "checking whether $CC supports \"$@\"... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
int main(){return 0;}
int
main ()
{
;
return 0;
}
_ACEOF _ACEOF
if ac_fn_c_try_compile "$LINENO"; then : if ac_fn_c_try_cpp "$LINENO"; then :
RC=0; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 RC=0; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; } $as_echo "yes" >&6; }
else else
RC=1; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 RC=1; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f conftest.err conftest.i conftest.$ac_ext
return $RC return $RC
} }
## cleanup ## cleanup
{ $as_echo "$as_me:${as_lineno-$LINENO}: Sanitizing prefix: ${prefix}" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitizing prefix: ${prefix}" >&5
$as_echo "$as_me: Sanitizing prefix: ${prefix}" >&6;} $as_echo "$as_me: Sanitizing prefix: ${prefix}" >&6;}
case $prefix in case $prefix in
NONE) prefix=/usr/local;; NONE) prefix=/usr/local;;
esac esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: Sanitizing exec_prefix: ${exec_pre fix}" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitizing exec_prefix: ${exec_pre fix}" >&5
$as_echo "$as_me: Sanitizing exec_prefix: ${exec_prefix}" >&6;} $as_echo "$as_me: Sanitizing exec_prefix: ${exec_prefix}" >&6;}
case $exec_prefix in case $exec_prefix in
NONE) exec_prefix=$prefix;; NONE) exec_prefix=$prefix;;
prefix) exec_prefix=$prefix;; prefix) exec_prefix=$prefix;;
esac esac
# Checks for libraries. # Checks for libraries.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mq_open in -lrt" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mq_open in -lrt" >&5
$as_echo_n "checking for mq_open in -lrt... " >&6; } $as_echo_n "checking for mq_open in -lrt... " >&6; }
if test "${ac_cv_lib_rt_mq_open+set}" = set; then : if ${ac_cv_lib_rt_mq_open+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-lrt $LIBS" LIBS="-lrt $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
skipping to change at line 14575 skipping to change at line 15481
ac_cv_lib_rt_mq_open=yes ac_cv_lib_rt_mq_open=yes
else else
ac_cv_lib_rt_mq_open=no ac_cv_lib_rt_mq_open=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_mq_open" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_mq_open" >&5
$as_echo "$ac_cv_lib_rt_mq_open" >&6; } $as_echo "$ac_cv_lib_rt_mq_open" >&6; }
if test "x$ac_cv_lib_rt_mq_open" = x""yes; then : if test "x$ac_cv_lib_rt_mq_open" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_LIBRT 1 #define HAVE_LIBRT 1
_ACEOF _ACEOF
LIBS="-lrt $LIBS" LIBS="-lrt $LIBS"
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
$as_echo_n "checking for dlopen in -ldl... " >&6; }
if ${ac_cv_lib_dl_dlopen+:} false; 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
builtin and then its argument prototype would still apply. */
#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" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBDL 1
_ACEOF
LIBS="-ldl $LIBS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lp thread" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lp thread" >&5
$as_echo_n "checking for pthread_create in -lpthread... " >&6; } $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : if ${ac_cv_lib_pthread_pthread_create+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthread $LIBS" LIBS="-lpthread $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
skipping to change at line 14620 skipping to change at line 15571
ac_cv_lib_pthread_pthread_create=yes ac_cv_lib_pthread_pthread_create=yes
else else
ac_cv_lib_pthread_pthread_create=no ac_cv_lib_pthread_pthread_create=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread _create" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread _create" >&5
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPTHREAD 1 #define HAVE_LIBPTHREAD 1
_ACEOF _ACEOF
LIBS="-lpthread $LIBS" LIBS="-lpthread $LIBS"
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" > &5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" > &5
$as_echo_n "checking for socket in -lsocket... " >&6; } $as_echo_n "checking for socket in -lsocket... " >&6; }
if test "${ac_cv_lib_socket_socket+set}" = set; then : if ${ac_cv_lib_socket_socket+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-lsocket $LIBS" LIBS="-lsocket $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error. /* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
skipping to change at line 14665 skipping to change at line 15616
ac_cv_lib_socket_socket=yes ac_cv_lib_socket_socket=yes
else else
ac_cv_lib_socket_socket=no ac_cv_lib_socket_socket=no
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
$as_echo "$ac_cv_lib_socket_socket" >&6; } $as_echo "$ac_cv_lib_socket_socket" >&6; }
if test "x$ac_cv_lib_socket_socket" = x""yes; then : if test "x$ac_cv_lib_socket_socket" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_LIBSOCKET 1 #define HAVE_LIBSOCKET 1
_ACEOF _ACEOF
LIBS="-lsocket $LIBS" LIBS="-lsocket $LIBS"
fi fi
# look for testing harness "check" # look for testing harness "check"
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : if ${ac_cv_path_PKG_CONFIG+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
case $PKG_CONFIG in case $PKG_CONFIG in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
;; ;;
*) *)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
skipping to change at line 14724 skipping to change at line 15675
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
fi fi
if test -z "$ac_cv_path_PKG_CONFIG"; then if test -z "$ac_cv_path_PKG_CONFIG"; then
ac_pt_PKG_CONFIG=$PKG_CONFIG ac_pt_PKG_CONFIG=$PKG_CONFIG
# Extract the first word of "pkg-config", so it can be a program name wit h args. # Extract the first word of "pkg-config", so it can be a program name wit h args.
set dummy pkg-config; ac_word=$2 set dummy pkg-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
case $ac_pt_PKG_CONFIG in case $ac_pt_PKG_CONFIG in
[\\/]* | ?:[\\/]*) [\\/]* | ?:[\\/]*)
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override t he test with a path. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override t he test with a path.
;; ;;
*) *)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
skipping to change at line 14950 skipping to change at line 15901
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_GLIB 1 #define HAVE_GLIB 1
_ACEOF _ACEOF
fi fi
# Checks for header files. # Checks for header files.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; } $as_echo_n "checking for ANSI C header files... " >&6; }
if test "${ac_cv_header_stdc+set}" = set; then : if ${ac_cv_header_stdc+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <float.h> #include <float.h>
int int
skipping to change at line 15062 skipping to change at line 16013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
$as_echo "$ac_cv_header_stdc" >&6; } $as_echo "$ac_cv_header_stdc" >&6; }
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
$as_echo "#define STDC_HEADERS 1" >>confdefs.h $as_echo "#define STDC_HEADERS 1" >>confdefs.h
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is PO SIX.1 compatible" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is PO SIX.1 compatible" >&5
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
if test "${ac_cv_header_sys_wait_h+set}" = set; then : if ${ac_cv_header_sys_wait_h+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#ifndef WEXITSTATUS #ifndef WEXITSTATUS
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
#endif #endif
#ifndef WIFEXITED #ifndef WIFEXITED
skipping to change at line 15101 skipping to change at line 16052
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
$as_echo "$ac_cv_header_sys_wait_h" >&6; } $as_echo "$ac_cv_header_sys_wait_h" >&6; }
if test $ac_cv_header_sys_wait_h = yes; then if test $ac_cv_header_sys_wait_h = yes; then
$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
fi fi
for ac_header in arpa/inet.h fcntl.h inttypes.h limits.h netinet/in.h stdin for ac_header in arpa/inet.h link.h fcntl.h inttypes.h limits.h netinet/in.
t.h \ h stdint.h \
time.h sys/time.h stdlib.h string.h strings.h sys/types.h dlfcn.h time.h sys/time.h stdlib.h string.h strings.h sys/
sys/stat.h \ types.h sys/stat.h \
sys/param.h sys/socket.h sys/time.h sys/timerfd.h sys/epol sys/param.h sys/socket.h sys/time.h sys/timerfd.h sys/poll
l.h \ .h sys/epoll.h sys/uio.h \
sys/sockio.h sys/un.h syslog.h errno.h unistd.h sys/sockio.h sys/un.h sys/resource.h syslog.h errno.h unis
td.h sys/mman.h \
sys/sem.h sys/ipc.h sys/msg.h mqueue.h
do : do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_in cludes_default" ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_in cludes_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF _ACEOF
fi fi
done done
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
$as_echo_n "checking for uid_t in sys/types.h... " >&6; } $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
if test "${ac_cv_type_uid_t+set}" = set; then : if ${ac_cv_type_uid_t+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#include <sys/types.h> #include <sys/types.h>
_ACEOF _ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "uid_t" >/dev/null 2>&1; then : $EGREP "uid_t" >/dev/null 2>&1; then :
ac_cv_type_uid_t=yes ac_cv_type_uid_t=yes
skipping to change at line 15149 skipping to change at line 16101
if test $ac_cv_type_uid_t = no; then if test $ac_cv_type_uid_t = no; then
$as_echo "#define uid_t int" >>confdefs.h $as_echo "#define uid_t int" >>confdefs.h
$as_echo "#define gid_t int" >>confdefs.h $as_echo "#define gid_t int" >>confdefs.h
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
$as_echo_n "checking for inline... " >&6; } $as_echo_n "checking for inline... " >&6; }
if test "${ac_cv_c_inline+set}" = set; then : if ${ac_cv_c_inline+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
ac_cv_c_inline=no ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do for ac_kw in inline __inline__ __inline; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#ifndef __cplusplus #ifndef __cplusplus
typedef int foo_t; typedef int foo_t;
static $ac_kw foo_t static_foo () {return 0; } static $ac_kw foo_t static_foo () {return 0; }
$ac_kw foo_t foo () {return 0; } $ac_kw foo_t foo () {return 0; }
skipping to change at line 15223 skipping to change at line 16175
no|yes) ;; #( no|yes) ;; #(
*) *)
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define int8_t $ac_cv_c_int8_t #define int8_t $ac_cv_c_int8_t
_ACEOF _ACEOF
;; ;;
esac esac
ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_def ault" ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_def ault"
if test "x$ac_cv_type_mode_t" = x""yes; then : if test "x$ac_cv_type_mode_t" = xyes; then :
else else
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define mode_t int #define mode_t int
_ACEOF _ACEOF
fi fi
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_defau lt" ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_defau lt"
if test "x$ac_cv_type_pid_t" = x""yes; then : if test "x$ac_cv_type_pid_t" = xyes; then :
else else
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define pid_t int #define pid_t int
_ACEOF _ACEOF
fi fi
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_def ault" ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_def ault"
if test "x$ac_cv_type_size_t" = x""yes; then : if test "x$ac_cv_type_size_t" = xyes; then :
else else
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define size_t unsigned int #define size_t unsigned int
_ACEOF _ACEOF
fi fi
ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_d efault" ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_d efault"
if test "x$ac_cv_type_ssize_t" = x""yes; then : if test "x$ac_cv_type_ssize_t" = xyes; then :
else else
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define ssize_t int #define ssize_t int
_ACEOF _ACEOF
fi fi
ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
skipping to change at line 15292 skipping to change at line 16244
*) *)
$as_echo "#define _UINT64_T 1" >>confdefs.h $as_echo "#define _UINT64_T 1" >>confdefs.h
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define uint64_t $ac_cv_c_uint64_t #define uint64_t $ac_cv_c_uint64_t
_ACEOF _ACEOF
;; ;;
esac esac
ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
case $ac_cv_c_uint8_t in #(
no|yes) ;; #(
*)
$as_echo "#define _UINT8_T 1" >>confdefs.h
cat >>confdefs.h <<_ACEOF
#define uint8_t $ac_cv_c_uint8_t
_ACEOF
;;
esac
# Checks for library functions. # Checks for library functions.
for ac_header in unistd.h for ac_header in unistd.h
do : do :
ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
if test "x$ac_cv_header_unistd_h" = x""yes; then : if test "x$ac_cv_header_unistd_h" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1
_ACEOF _ACEOF
fi fi
done done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
$as_echo_n "checking for working chown... " >&6; } $as_echo_n "checking for working chown... " >&6; }
if test "${ac_cv_func_chown_works+set}" = set; then : if ${ac_cv_func_chown_works+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then : if test "$cross_compiling" = yes; then :
ac_cv_func_chown_works=no ac_cv_func_chown_works=no
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
$ac_includes_default $ac_includes_default
#include <fcntl.h> #include <fcntl.h>
skipping to change at line 15338 skipping to change at line 16303
if (chown (f, (uid_t) -1, (gid_t) -1) == -1) if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
return 1; return 1;
if (stat (f, &after) < 0) if (stat (f, &after) < 0)
return 1; return 1;
return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid) ; return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid) ;
; ;
return 0; return 0;
} }
_ACEOF _ACEOF
if ac_fn_c_try_run "$LINENO"; then : if ac_fn_c_try_run "$LINENO"; then :
ac_cv_func_chown_works=yes ac_cv_func_chown_works=yes
else
ac_cv_func_chown_works=no
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
rm -f conftest.chown
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >
&5
$as_echo "$ac_cv_func_chown_works" >&6; }
if test $ac_cv_func_chown_works = yes; then
$as_echo "#define HAVE_CHOWN 1" >>confdefs.h
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
$as_echo_n "checking for error_at_line... " >&6; }
if ${ac_cv_lib_error_at_line+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <error.h>
int
main ()
{
error_at_line (0, 0, "", 0, "an error occurred");
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_error_at_line=yes
else else
ac_cv_func_chown_works=no ac_cv_lib_error_at_line=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
rm -f core conftest.err conftest.$ac_objext \
rm -f conftest.chown conftest$ac_exeext conftest.$ac_ext
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line"
&5 >&5
$as_echo "$ac_cv_func_chown_works" >&6; } $as_echo "$ac_cv_lib_error_at_line" >&6; }
if test $ac_cv_func_chown_works = yes; then if test $ac_cv_lib_error_at_line = no; then
case " $LIBOBJS " in
$as_echo "#define HAVE_CHOWN 1" >>confdefs.h *" error.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS error.$ac_objext"
;;
esac
fi fi
for ac_header in vfork.h for ac_header in vfork.h
do : do :
ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" " $ac_includes_default" ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" " $ac_includes_default"
if test "x$ac_cv_header_vfork_h" = x""yes; then : if test "x$ac_cv_header_vfork_h" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_VFORK_H 1 #define HAVE_VFORK_H 1
_ACEOF _ACEOF
fi fi
done done
for ac_func in fork vfork for ac_func in fork vfork
do : do :
skipping to change at line 15385 skipping to change at line 16385
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF _ACEOF
fi fi
done done
if test "x$ac_cv_func_fork" = xyes; then if test "x$ac_cv_func_fork" = xyes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
$as_echo_n "checking for working fork... " >&6; } $as_echo_n "checking for working fork... " >&6; }
if test "${ac_cv_func_fork_works+set}" = set; then : if ${ac_cv_func_fork_works+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then : if test "$cross_compiling" = yes; then :
ac_cv_func_fork_works=cross ac_cv_func_fork_works=cross
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
$ac_includes_default $ac_includes_default
int int
main () main ()
skipping to change at line 15438 skipping to change at line 16438
ac_cv_func_fork_works=yes ac_cv_func_fork_works=yes
;; ;;
esac esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork _works guessed because of cross compilation" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork _works guessed because of cross compilation" >&5
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
fi fi
ac_cv_func_vfork_works=$ac_cv_func_vfork ac_cv_func_vfork_works=$ac_cv_func_vfork
if test "x$ac_cv_func_vfork" = xyes; then if test "x$ac_cv_func_vfork" = xyes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
$as_echo_n "checking for working vfork... " >&6; } $as_echo_n "checking for working vfork... " >&6; }
if test "${ac_cv_func_vfork_works+set}" = set; then : if ${ac_cv_func_vfork_works+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then : if test "$cross_compiling" = yes; then :
ac_cv_func_vfork_works=cross ac_cv_func_vfork_works=cross
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
/* Thanks to Paul Eggert for this test. */ /* Thanks to Paul Eggert for this test. */
$ac_includes_default $ac_includes_default
#include <sys/wait.h> #include <sys/wait.h>
skipping to change at line 15574 skipping to change at line 16574
fi fi
if test "x$ac_cv_func_fork_works" = xyes; then if test "x$ac_cv_func_fork_works" = xyes; then
$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
fi fi
for ac_header in stdlib.h for ac_header in stdlib.h
do : do :
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 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 : if test "x$ac_cv_header_stdlib_h" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1
_ACEOF _ACEOF
fi fi
done done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible m alloc" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible m alloc" >&5
$as_echo_n "checking for GNU libc compatible malloc... " >&6; } $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : if ${ac_cv_func_malloc_0_nonnull+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then : if test "$cross_compiling" = yes; then :
ac_cv_func_malloc_0_nonnull=no ac_cv_func_malloc_0_nonnull=no
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#if defined STDC_HEADERS || defined HAVE_STDLIB_H #if defined STDC_HEADERS || defined HAVE_STDLIB_H
# include <stdlib.h> # include <stdlib.h>
#else #else
skipping to change at line 15653 skipping to change at line 16653
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF _ACEOF
fi fi
done done
for ac_func in getpagesize for ac_func in getpagesize
do : do :
ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
if test "x$ac_cv_func_getpagesize" = x""yes; then : if test "x$ac_cv_func_getpagesize" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_GETPAGESIZE 1 #define HAVE_GETPAGESIZE 1
_ACEOF _ACEOF
fi fi
done done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
$as_echo_n "checking for working mmap... " >&6; } $as_echo_n "checking for working mmap... " >&6; }
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then : if test "$cross_compiling" = yes; then :
ac_cv_func_mmap_fixed_mapped=no ac_cv_func_mmap_fixed_mapped=no
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
$ac_includes_default $ac_includes_default
/* malloc might have been renamed as rpl_malloc. */ /* malloc might have been renamed as rpl_malloc. */
#undef malloc #undef malloc
skipping to change at line 15830 skipping to change at line 16830
if test $ac_cv_func_mmap_fixed_mapped = yes; then if test $ac_cv_func_mmap_fixed_mapped = yes; then
$as_echo "#define HAVE_MMAP 1" >>confdefs.h $as_echo "#define HAVE_MMAP 1" >>confdefs.h
fi fi
rm -f conftest.mmap conftest.txt rm -f conftest.mmap conftest.txt
for ac_header in stdlib.h for ac_header in stdlib.h
do : do :
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 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 : if test "x$ac_cv_header_stdlib_h" = xyes; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1
_ACEOF _ACEOF
fi fi
done done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible r ealloc" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible r ealloc" >&5
$as_echo_n "checking for GNU libc compatible realloc... " >&6; } $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then : if ${ac_cv_func_realloc_0_nonnull+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test "$cross_compiling" = yes; then : if test "$cross_compiling" = yes; then :
ac_cv_func_realloc_0_nonnull=no ac_cv_func_realloc_0_nonnull=no
else else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
#if defined STDC_HEADERS || defined HAVE_STDLIB_H #if defined STDC_HEADERS || defined HAVE_STDLIB_H
# include <stdlib.h> # include <stdlib.h>
#else #else
skipping to change at line 15892 skipping to change at line 16892
case " $LIBOBJS " in case " $LIBOBJS " in
*" realloc.$ac_objext "* ) ;; *" realloc.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS realloc.$ac_objext" *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
;; ;;
esac esac
$as_echo "#define realloc rpl_realloc" >>confdefs.h $as_echo "#define realloc rpl_realloc" >>confdefs.h
fi fi
ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac for ac_func in alarm clock_gettime ftruncate gettimeofday localtime localti
_includes_default" me_r \
if test "x$ac_cv_have_decl_strerror_r" = x""yes; then : memset munmap socket strchr strrchr strchrnul strdup strerro
ac_have_decl=1 r strstr \
else poll epoll_create epoll_create1 random rand getrlimit syscon
ac_have_decl=0 f \
fi pthread_spin_lock timerfd_create pthread_setschedparam \
sched_get_priority_max sched_setscheduler
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_STRERROR_R $ac_have_decl
_ACEOF
for ac_func in strerror_r
do :
ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
if test "x$ac_cv_func_strerror_r" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_STRERROR_R 1
_ACEOF
fi
done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r return
s char *" >&5
$as_echo_n "checking whether strerror_r returns char *... " >&6; }
if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_cv_func_strerror_r_char_p=no
if test $ac_cv_have_decl_strerror_r = yes; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
int
main ()
{
char buf[100];
char x = *strerror_r (0, buf, sizeof buf);
char *p = strerror_r (0, buf, sizeof buf);
return !p || x;
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_func_strerror_r_char_p=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
else
# strerror_r is not declared. Choose between
# systems that have relatively inaccessible declarations for the
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
# former has a strerror_r that returns char*, while the latter
# has a strerror_r that returns `int'.
# This test should segfault on the DEC system.
if test "$cross_compiling" = yes; then :
:
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
extern char *strerror_r ();
int
main ()
{
char buf[100];
char x = *strerror_r (0, buf, sizeof buf);
return ! isalpha (x);
;
return 0;
}
_ACEOF
if ac_fn_c_try_run "$LINENO"; then :
ac_cv_func_strerror_r_char_p=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_func_strerror_r_cha
r_p" >&5
$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
if test $ac_cv_func_strerror_r_char_p = yes; then
$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
fi
for ac_func in alarm clock_gettime ftruncate gettimeofday memset munmap \
socket strchr strerror strstr epoll_create epoll_create1 \
pthread_spin_lock timerfd_create
do : do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF _ACEOF
fi fi
done done
## local defines ## local defines
PACKAGE_FEATURES="" PACKAGE_FEATURES=""
if test $ac_cv_func_timerfd_create = yes; then if test x$ac_cv_func_timerfd_create = xyes; then
PACKAGE_FEATURES="$PACKAGE_FEATURES timerfd" PACKAGE_FEATURES="$PACKAGE_FEATURES timerfd"
fi fi
if test $ac_cv_func_epoll_create = yes; then if test x$ac_cv_func_epoll_create = xyes; then
PACKAGE_FEATURES="$PACKAGE_FEATURES epoll" PACKAGE_FEATURES="$PACKAGE_FEATURES epoll"
fi fi
# Check for atomic support nongcc_memory_barrier_needed=no
gcc_has_builtin_atomic_operations=no arch_force_shmlba=no
if test x"$GCC" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architecture in ${hos
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC suppor t_cpu}" >&5
ts build-in atomic intrinsics" >&5 $as_echo_n "checking for architecture in ${host_cpu}... " >&6; }
$as_echo_n "checking whether GCC supports build-in atomic intrinsics... " > case $host_cpu in
&6; } sparc*)
cat confdefs.h - <<_ACEOF >conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: sparc" >&5
/* end confdefs.h. */ $as_echo "sparc" >&6; }
int
main ()
{
int i;
__sync_synchronize ();
__sync_bool_compare_and_swap (&i, 0, 1);
__sync_fetch_and_add (&i, 1);
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
gcc_has_builtin_atomic_operations=yes
else
gcc_has_builtin_atomic_operations=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_has_builtin_at
omic_operations" >&5
$as_echo "$gcc_has_builtin_atomic_operations" >&6; }
if test $gcc_has_builtin_atomic_operations = yes; then
memory_barrier_needed=yes
PACKAGE_FEATURES="$PACKAGE_FEATURES gcc__sync"
else
case $host_cpu in
sparc*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: spa
rcv9" >&5
$as_echo "sparcv9" >&6; }
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define QB_ARCH_SPARCV9 1 #define QB_ARCH_SPARC 1
_ACEOF _ACEOF
memory_barrier_needed=yes nongcc_memory_barrier_needed=yes
;; arch_force_shmlba=yes
alpha*) ;;
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: alp alpha*)
ha" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: alpha" >&5
$as_echo "alpha" >&6; } $as_echo "alpha" >&6; }
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define QB_ARCH_ALPHA 1 #define QB_ARCH_ALPHA 1
_ACEOF _ACEOF
memory_barrier_needed=yes nongcc_memory_barrier_needed=yes
;; ;;
powerpc*) powerpc*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: pow { $as_echo "$as_me:${as_lineno-$LINENO}: result: powerpc" >&
erpc" >&5 5
$as_echo "powerpc" >&6; } $as_echo "powerpc" >&6; }
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define QB_ARCH_POWERPC 1 #define QB_ARCH_POWERPC 1
_ACEOF _ACEOF
memory_barrier_needed=yes nongcc_memory_barrier_needed=yes
;; arch_force_shmlba=yes
ia64) ;;
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ia6 ia64)
4" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ia64" >&5
$as_echo "ia64" >&6; } $as_echo "ia64" >&6; }
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define QB_ARCH_IA64 1 #define QB_ARCH_IA64 1
_ACEOF _ACEOF
memory_barrier_needed=yes nongcc_memory_barrier_needed=yes
;; ;;
*) arm*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: non { $as_echo "$as_me:${as_lineno-$LINENO}: result: ia64" >&5
e" >&5 $as_echo "ia64" >&6; }
$as_echo "none" >&6; }
memory_barrier_needed=no
;;
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ----------
-------------------" >&5
$as_echo "$as_me: WARNING: -----------------------------" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have g
cc but not __sync_bool_compare_and_swap" >&5
$as_echo "$as_me: WARNING: You have gcc but not __sync_bool_compare_and_swa
p" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: try CFLAGS
=\"-march=<your arch> -mtune=native\" ./configure" >&5
$as_echo "$as_me: WARNING: try CFLAGS=\"-march=<your arch> -mtune=native\"
./configure" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ----------
-------------------" >&5
$as_echo "$as_me: WARNING: -----------------------------" >&2;}
fi
fi
if test x"$memory_barrier_needed" != xno; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define QB_ATOMIC_OP_MEMORY_BARRIER_NEEDED 1 #define QB_ARCH_ARM 1
_ACEOF _ACEOF
fi arch_force_shmlba=yes
;;
if test $gcc_has_builtin_atomic_operations = yes; then mips*)
HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_TRUE= { $as_echo "$as_me:${as_lineno-$LINENO}: result: ia64" >&5
HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_FALSE='#' $as_echo "ia64" >&6; }
else
HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_TRUE='#'
HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_FALSE=
fi
LINT_FLAGS="-weak -unrecog +posixlib +ignoresigns -fcnuse \
-badflag -D__gnuc_va_list=va_list -D__attribute\(x\)= \
-warnposix +matchanyintegral"
# local options cat >>confdefs.h <<_ACEOF
# Check whether --enable-ansi was given. #define QB_ARCH_MIPS 1
if test "${enable_ansi+set}" = set; then : _ACEOF
enableval=$enable_ansi; default="no"
fi
# Check whether --enable-fatal-warnings was given. arch_force_shmlba=yes
if test "${enable_fatal_warnings+set}" = set; then : ;;
enableval=$enable_fatal_warnings; default="no" *)
fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${host_cpu}
" >&5
$as_echo "${host_cpu}" >&6; }
;;
esac
# Check whether --enable-debug was given. if test $arch_force_shmlba = yes; then
if test "${enable_debug+set}" = set; then :
enableval=$enable_debug; default="no"
fi
# Check whether --enable-coverage was given. cat >>confdefs.h <<_ACEOF
if test "${enable_coverage+set}" = set; then : #define QB_FORCE_SHM_ALIGN 1
enableval=$enable_coverage; default="no" _ACEOF
fi
# Check whether --with-socket-dir was given.
if test "${with_socket_dir+set}" = set; then :
withval=$with_socket_dir; SOCKETDIR="$withval"
else
SOCKETDIR="$localstatedir/run"
fi fi
# OS detection # OS detection
# THIS SECTION MUST DIE! # THIS SECTION MUST DIE!
CP=cp CP=cp
LIB_RT=-lrt
supports_sysv_mq="yes"
supports_posix_mq="yes"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for os in ${host_os}" >&5
$as_echo_n "checking for os in ${host_os}... " >&6; }
case "$host_os" in case "$host_os" in
*linux*) *linux*)
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define QB_LINUX 1 #define QB_LINUX 1
_ACEOF _ACEOF
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
$as_echo "Linux" >&6; }
;; ;;
darwin*) darwin*)
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define QB_DARWIN 1 #define QB_DARWIN 1
_ACEOF _ACEOF
CP=rsync CP=rsync
LIB_RT=
supports_sysv_mq="no"
supports_posix_mq="no"
ac_cv_link_attribute_section=no
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define MAP_ANONYMOUS MAP_ANON #define MAP_ANONYMOUS MAP_ANON
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define PATH_MAX 4096 #define PATH_MAX 4096
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define NAME_MAX 255 #define NAME_MAX 255
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define DISABLE_POSIX_THREAD_PROCESS_SHARED 1 #define DISABLE_POSIX_THREAD_PROCESS_SHARED 1
_ACEOF _ACEOF
;; { $as_echo "$as_me:${as_lineno-$LINENO}: result: Dawin" >&5
*bsd*) $as_echo "Dawin" >&6; }
;;
*bsd*)
cat >>confdefs.h <<_ACEOF
#define QB_BSD 1
_ACEOF
cat >>confdefs.h <<_ACEOF
#define MAP_ANONYMOUS MAP_ANON
_ACEOF
case "$host_os" in
*freebsd[234567]*)
;;
*freebsd*)
cat >>confdefs.h <<_ACEOF
#define QB_FREEBSD_GE_8 1
_ACEOF
;;
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: BSD" >&5
$as_echo "BSD" >&6; }
;;
*solaris*)
cat >>confdefs.h <<_ACEOF
#define QB_SOLARIS 1
_ACEOF
cat >>confdefs.h <<_ACEOF
#define TS_CLASS 1
_ACEOF
cat >>confdefs.h <<_ACEOF
#define _SEM_SEMUN_UNDEFINED 1
_ACEOF
CP=rsync
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris" >&
5
$as_echo "Solaris" >&6; }
;;
*)
as_fn_error $? "Unsupported OS? hmmmm" "$LINENO" 5
;;
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC supports buil
d-in atomic intrinsics" >&5
$as_echo_n "checking whether GCC supports build-in atomic intrinsics... " >
&6; }
if test -z "$gcc_has_builtin_atomic_operations"; then
gcc_has_builtin_atomic_operations=no
if test x"$GCC" = xyes && test x$have_mingw != xyes; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
int i;
__sync_synchronize ();
__sync_bool_compare_and_swap (&i, 0, 1);
__sync_fetch_and_add (&i, 1);
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
gcc_has_builtin_atomic_operations=yes
else
gcc_has_builtin_atomic_operations=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_has_builtin_atomic_op
erations" >&5
$as_echo "$gcc_has_builtin_atomic_operations" >&6; }
if test "x$gcc_has_builtin_atomic_operations" = xyes; then
HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_TRUE=
HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_FALSE='#'
else
HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_TRUE='#'
HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_FALSE=
fi
if test "x$gcc_has_builtin_atomic_operations" = xyes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS 1
_ACEOF
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomics need memo
ry barrier" >&5
$as_echo_n "checking whether atomics need memory barrier... " >&6; }
if test -n "$ac_cv_atomic_need_memory_barrier"; then
memory_barrier_needed=$ac_cv_atomic_need_memory_barrier
else
if test x$gcc_has_builtin_atomic_operations = xyes; then
memory_barrier_needed=yes
PACKAGE_FEATURES="$PACKAGE_FEATURES gcc__sync"
else
memory_barrier_needed=$nongcc_memory_barrier_needed
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ----------
-------------------" >&5
$as_echo "$as_me: WARNING: -----------------------------" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have g
cc but not __sync_bool_compare_and_swap" >&5
$as_echo "$as_me: WARNING: You have gcc but not __sync_bool_compare_and_swa
p" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: try CFLAGS
=\"-march=<your arch> -mtune=native\" ./configure" >&5
$as_echo "$as_me: WARNING: try CFLAGS=\"-march=<your arch> -mtune=native\"
./configure" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ----------
-------------------" >&5
$as_echo "$as_me: WARNING: -----------------------------" >&2;}
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $memory_barrier_needed" >&
5
$as_echo "$memory_barrier_needed" >&6; }
if test x"$memory_barrier_needed" != xno; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define QB_BSD 1 #define QB_ATOMIC_OP_MEMORY_BARRIER_NEEDED 1
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF fi
#define MAP_ANONYMOUS MAP_ANON
_ACEOF
case "$host_os" in LINT_FLAGS="-weak -unrecog +posixlib +ignoresigns -fcnuse \
*freebsd[234567]*) -badflag -D__gnuc_va_list=va_list -D__attribute\(x\)= \
;; -warnposix +matchanyintegral"
*freebsd*)
cat >>confdefs.h <<_ACEOF # local options
#define QB_FREEBSD_GE_8 1 # Check whether --enable-ansi was given.
_ACEOF if test "${enable_ansi+set}" = set; then :
enableval=$enable_ansi; default="no"
fi
;; # Check whether --enable-fatal-warnings was given.
esac if test "${enable_fatal_warnings+set}" = set; then :
;; enableval=$enable_fatal_warnings; default="no"
*solaris*) fi
cat >>confdefs.h <<_ACEOF # Check whether --enable-debug was given.
#define QB_SOLARIS 1 if test "${enable_debug+set}" = set; then :
_ACEOF enableval=$enable_debug; default="no"
fi
cat >>confdefs.h <<_ACEOF # Check whether --enable-coverage was given.
#define TS_CLASS 1 if test "${enable_coverage+set}" = set; then :
_ACEOF enableval=$enable_coverage; default="no"
fi
cat >>confdefs.h <<_ACEOF # Check whether --enable-slow-tests was given.
#define _SEM_SEMUN_UNDEFINED 1 if test "${enable_slow_tests+set}" = set; then :
_ACEOF enableval=$enable_slow_tests; default="no"
fi
CP=rsync # Check whether --with-socket-dir was given.
;; if test "${with_socket_dir+set}" = set; then :
*) withval=$with_socket_dir; SOCKETDIR="$withval"
as_fn_error $? "Unsupported OS? hmmmm" "$LINENO" 5 else
;; SOCKETDIR="$localstatedir/run"
esac fi
# *FLAGS handling goes here # *FLAGS handling goes here
ENV_CFLAGS="$CFLAGS" ENV_CFLAGS="$CFLAGS"
ENV_CPPFLAGS="$CPPFLAGS" ENV_CPPFLAGS="$CPPFLAGS"
ENV_LDFLAGS="$LDFLAGS" ENV_LDFLAGS="$LDFLAGS"
# debug build stuff # debug build stuff
if test "x${enable_debug}" = xyes; then if test "x${enable_debug}" = xyes; then
skipping to change at line 16266 skipping to change at line 17249
missing-declarations missing-declarations
strict-prototypes strict-prototypes
declaration-after-statement declaration-after-statement
pointer-arith pointer-arith
write-strings write-strings
cast-align cast-align
bad-function-cast bad-function-cast
missing-format-attribute missing-format-attribute
format=2 format=2
format-security format-security
format-nonliteral no-format-nonliteral
no-long-long no-long-long
unsigned-char unsigned-char
gnu89-inline gnu89-inline
no-strict-aliasing no-strict-aliasing
" "
for j in $WARNLIST; do for j in $WARNLIST; do
if cc_supports_flag -W$j; then if cc_supports_flag -W$j; then
EXTRA_WARNINGS="$EXTRA_WARNINGS -W$j"; EXTRA_WARNINGS="$EXTRA_WARNINGS -W$j";
fi fi
skipping to change at line 16294 skipping to change at line 17277
$as_echo "$as_me: Enabling Coverage (enable -O0 by default)" >&6;} $as_echo "$as_me: Enabling Coverage (enable -O0 by default)" >&6;}
OPT_CFLAGS="-O0" OPT_CFLAGS="-O0"
COVERAGE_CFLAGS="-ftest-coverage -fprofile-arcs" COVERAGE_CFLAGS="-ftest-coverage -fprofile-arcs"
COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs" COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs"
PACKAGE_FEATURES="$PACKAGE_FEATURES coverage" PACKAGE_FEATURES="$PACKAGE_FEATURES coverage"
else else
COVERAGE_CFLAGS="" COVERAGE_CFLAGS=""
COVERAGE_LDFLAGS="" COVERAGE_LDFLAGS=""
fi fi
if test "x${enable_slow_tests}" = xyes ; then
$as_echo "#define HAVE_SLOW_TESTS 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: Enabling Slow tests" >&5
$as_echo "$as_me: Enabling Slow tests" >&6;}
fi
if test "x${enable_slow_tests}" = xyes; then
HAVE_SLOW_TESTS_TRUE=
HAVE_SLOW_TESTS_FALSE='#'
else
HAVE_SLOW_TESTS_TRUE='#'
HAVE_SLOW_TESTS_FALSE=
fi
if test -n "$ac_cv_supports_sysv_mq"; then
supports_sysv_mq=$ac_cv_supports_sysv_mq
fi
if test "x${supports_sysv_mq}" = xyes ; then
$as_echo "#define HAVE_SYSV_MQ 1" >>confdefs.h
PACKAGE_FEATURES="$PACKAGE_FEATURES sysv_mq"
{ $as_echo "$as_me:${as_lineno-$LINENO}: Enabling SYSV Message Queue
s" >&5
$as_echo "$as_me: Enabling SYSV Message Queues" >&6;}
fi
if test "x${supports_sysv_mq}" = xyes; then
HAVE_SYSV_MQ_TRUE=
HAVE_SYSV_MQ_FALSE='#'
else
HAVE_SYSV_MQ_TRUE='#'
HAVE_SYSV_MQ_FALSE=
fi
if test -n "$ac_cv_supports_posix_mq"; then
supports_posix_mq=$ac_cv_supports_posix_mq
fi
if test "x${supports_posix_mq}" = xyes ; then
$as_echo "#define HAVE_POSIX_MQ 1" >>confdefs.h
PACKAGE_FEATURES="$PACKAGE_FEATURES posix_mq"
{ $as_echo "$as_me:${as_lineno-$LINENO}: Enabling POSIX Message Queu
es" >&5
$as_echo "$as_me: Enabling POSIX Message Queues" >&6;}
fi
if test "x${supports_posix_mq}" = xyes; then
HAVE_POSIX_MQ_TRUE=
HAVE_POSIX_MQ_FALSE='#'
else
HAVE_POSIX_MQ_TRUE='#'
HAVE_POSIX_MQ_FALSE=
fi
if test "x$ac_cv_func_timerfd_create" = xyes; then if test "x$ac_cv_func_timerfd_create" = xyes; then
USE_TIMERFD_TRUE= USE_TIMERFD_TRUE=
USE_TIMERFD_FALSE='#' USE_TIMERFD_FALSE='#'
else else
USE_TIMERFD_TRUE='#' USE_TIMERFD_TRUE='#'
USE_TIMERFD_FALSE= USE_TIMERFD_FALSE=
fi fi
# --- callsite sections ---
if test "x${GCC}" = xyes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC suppor
ts __attribute__((section())" >&5
$as_echo_n "checking whether GCC supports __attribute__((section())... " >&
6; }
if test "x${ac_cv_link_attribute_section}" = x ; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
static int my_var __attribute__((section("__verbose"))) = 5;
if (my_var == 5) return 0;
else return -1;
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
gcc_has_attribute_section=yes
else
gcc_has_attribute_section=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
else
gcc_has_attribute_section=${ac_cv_link_attribute_section}
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_has_attribute_
section" >&5
$as_echo "$gcc_has_attribute_section" >&6; }
if test $gcc_has_attribute_section = yes; then
$as_echo "#define QB_HAVE_ATTRIBUTE_SECTION 1" >>confdefs.h
PACKAGE_FEATURES="$PACKAGE_FEATURES attribute-section"
fi
fi
# --- ansi --- # --- ansi ---
if test "x${enable_ansi}" = xyes && \ if test "x${enable_ansi}" = xyes && \
cc_supports_flag -std=iso9899:199409 ; then cc_supports_flag -std=iso9899:199409 ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: Enabling ANSI Compatibility " >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling ANSI Compatibility " >&5
$as_echo "$as_me: Enabling ANSI Compatibility" >&6;} $as_echo "$as_me: Enabling ANSI Compatibility" >&6;}
ANSI_CPPFLAGS="-ansi -D_GNU_SOURCE -DANSI_ONLY" ANSI_CPPFLAGS="-ansi -D_GNU_SOURCE -DANSI_ONLY"
PACKAGE_FEATURES="$PACKAGE_FEATURES ansi" PACKAGE_FEATURES="$PACKAGE_FEATURES ansi"
else else
ANSI_CPPFLAGS="" ANSI_CPPFLAGS=""
fi fi
skipping to change at line 16330 skipping to change at line 17406
else else
WERROR_CFLAGS="" WERROR_CFLAGS=""
fi fi
# final build of *FLAGS # final build of *FLAGS
CFLAGS="$ENV_CFLAGS $OPT_CFLAGS $GDB_FLAGS \ CFLAGS="$ENV_CFLAGS $OPT_CFLAGS $GDB_FLAGS \
$COVERAGE_CFLAGS $EXTRA_WARNINGS $WERROR_CFLAGS" $COVERAGE_CFLAGS $EXTRA_WARNINGS $WERROR_CFLAGS"
CPPFLAGS="$ENV_CPPFLAGS $ANSI_CPPFLAGS" CPPFLAGS="$ENV_CPPFLAGS $ANSI_CPPFLAGS"
LDFLAGS="$ENV_LDFLAGS $COVERAGE_LDFLAGS" LDFLAGS="$ENV_LDFLAGS $COVERAGE_LDFLAGS"
if test -f /usr/share/dict/words ; then
HAVE_DICT_WORDS=yes
$as_echo "#define HAVE_DICT_WORDS 1" >>confdefs.h
fi
if test "x$HAVE_DICT_WORDS" = xyes; then
HAVE_DICT_WORDS_TRUE=
HAVE_DICT_WORDS_FALSE='#'
else
HAVE_DICT_WORDS_TRUE='#'
HAVE_DICT_WORDS_FALSE=
fi
# substitute what we need: # substitute what we need:
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define SOCKETDIR "$(eval echo ${SOCKETDIR})" #define SOCKETDIR "$(eval echo ${SOCKETDIR})"
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define LOCALSTATEDIR "$(eval echo ${localstatedir})" #define LOCALSTATEDIR "$(eval echo ${localstatedir})"
_ACEOF _ACEOF
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define PACKAGE_FEATURES "${PACKAGE_FEATURES}" #define PACKAGE_FEATURES "${PACKAGE_FEATURES}"
_ACEOF _ACEOF
ac_config_files="$ac_config_files Makefile include/Makefile include/qb/Make file lib/Makefile lib/libqb.pc tests/Makefile docs/Makefile docs/man.dox do cs/html.dox" ac_config_files="$ac_config_files Makefile include/Makefile include/qb/Make file lib/Makefile lib/libqb.pc tests/Makefile examples/Makefile docs/Makefi le docs/man.dox docs/html.dox"
cat >confcache <<\_ACEOF cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure # This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure # tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache. # scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems. If it contains results you don't # It is not useful on other systems. If it contains results you don't
# want to keep, you may remove or edit it. # want to keep, you may remove or edit it.
# #
# config.status only pays attention to the cache file if you give it # config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure. # the --recheck option to rerun configure.
skipping to change at line 16410 skipping to change at line 17500
sed ' sed '
/^ac_cv_env_/b end /^ac_cv_env_/b end
t clear t clear
:clear :clear
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
t end t end
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
:end' >>confcache :end' >>confcache
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
if test -w "$cache_file"; then if test -w "$cache_file"; then
test "x$cache_file" != "x/dev/null" && if test "x$cache_file" != "x/dev/null"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
$as_echo "$as_me: updating cache $cache_file" >&6;} $as_echo "$as_me: updating cache $cache_file" >&6;}
cat confcache >$cache_file if test ! -f "$cache_file" || test -h "$cache_file"; then
cat confcache >"$cache_file"
else
case $cache_file in #(
*/* | ?:*)
mv -f confcache "$cache_file"$$ &&
mv -f "$cache_file"$$ "$cache_file" ;; #(
*)
mv -f confcache "$cache_file" ;;
esac
fi
fi
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 { $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;} $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
fi fi
fi fi
rm -f confcache rm -f confcache
test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix. # Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
skipping to change at line 16459 skipping to change at line 17560
fi fi
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
as_fn_error $? "conditional \"AMDEP\" was never defined. as_fn_error $? "conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; the n if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; the n
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; the
n
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}"; t hen if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; t hen
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; the
n
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined. as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${HAVE_SPLINT_TRUE}" && test -z "${HAVE_SPLINT_FALSE}"; then if test -z "${HAVE_SPLINT_TRUE}" && test -z "${HAVE_SPLINT_FALSE}"; then
as_fn_error $? "conditional \"HAVE_SPLINT\" was never defined. as_fn_error $? "conditional \"HAVE_SPLINT\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
as_fn_error $? "conditional \"HAVE_CHECK\" was never defined. as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
as_fn_error $? "conditional \"HAVE_GLIB\" was never defined. as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_TRUE}" && test -z "${ HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_FALSE}"; then if test -z "${HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_TRUE}" && test -z "${ HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS_FALSE}"; then
as_fn_error $? "conditional \"HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS\" w as never defined. as_fn_error $? "conditional \"HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS\" w as never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${HAVE_SLOW_TESTS_TRUE}" && test -z "${HAVE_SLOW_TESTS_FALSE}";
then
as_fn_error $? "conditional \"HAVE_SLOW_TESTS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${HAVE_SYSV_MQ_TRUE}" && test -z "${HAVE_SYSV_MQ_FALSE}"; then
as_fn_error $? "conditional \"HAVE_SYSV_MQ\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${HAVE_POSIX_MQ_TRUE}" && test -z "${HAVE_POSIX_MQ_FALSE}"; the
n
as_fn_error $? "conditional \"HAVE_POSIX_MQ\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${USE_TIMERFD_TRUE}" && test -z "${USE_TIMERFD_FALSE}"; then if test -z "${USE_TIMERFD_TRUE}" && test -z "${USE_TIMERFD_FALSE}"; then
as_fn_error $? "conditional \"USE_TIMERFD\" was never defined. as_fn_error $? "conditional \"USE_TIMERFD\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${HAVE_DICT_WORDS_TRUE}" && test -z "${HAVE_DICT_WORDS_FALSE}";
then
as_fn_error $? "conditional \"HAVE_DICT_WORDS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
: ${CONFIG_STATUS=./config.status} : "${CONFIG_STATUS=./config.status}"
ac_write_fail=0 ac_write_fail=0
ac_clean_files_save=$ac_clean_files ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS" ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
as_write_fail=0 as_write_fail=0
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
#! $SHELL #! $SHELL
# Generated by $as_me. # Generated by $as_me.
# Run this file to recreate the current configuration. # Run this file to recreate the current configuration.
skipping to change at line 16591 skipping to change at line 17708
fi fi
# IFS # IFS
# We need space, tab and new line, in precisely that order. Quoting is # We need space, tab and new line, in precisely that order. Quoting is
# there to prevent editors from complaining about space-tab. # there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word # (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.) # splitting by setting IFS to empty value.)
IFS=" "" $as_nl" IFS=" "" $as_nl"
# Find who we are. Look in the path if we contain no directory separator. # Find who we are. Look in the path if we contain no directory separator.
as_myself=
case $0 in #(( case $0 in #((
*[\\/]* ) as_myself=$0 ;; *[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done done
IFS=$as_save_IFS IFS=$as_save_IFS
skipping to change at line 16891 skipping to change at line 18009
## Main body of $CONFIG_STATUS script. ## ## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ## ## ----------------------------------- ##
_ASEOF _ASEOF
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
cat >>$CONFIG_STATUS <<\_ACEOF || 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 # Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by libqb $as_me 0.4.1, which was This file was extended by libqb $as_me 0.8.1, which was
generated by GNU Autoconf 2.66. Invocation command line was generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS CONFIG_COMMANDS = $CONFIG_COMMANDS
$ $0 $@ $ $0 $@
on `(hostname || uname -n) 2>/dev/null | sed 1q` on `(hostname || uname -n) 2>/dev/null | sed 1q`
" "
skipping to change at line 16956 skipping to change at line 18074
Configuration commands: Configuration commands:
$config_commands $config_commands
Report bugs to <quarterback-devel@fedorahosted.org>." Report bugs to <quarterback-devel@fedorahosted.org>."
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\ \\&/g'`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\ \\&/g'`"
ac_cs_version="\\ ac_cs_version="\\
libqb config.status 0.4.1 libqb config.status 0.8.1
configured by $0, generated by GNU Autoconf 2.66, configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"
Copyright (C) 2010 Free Software Foundation, Inc. Copyright (C) 2010 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it." gives unlimited permission to copy, distribute and modify it."
ac_pwd='$ac_pwd' ac_pwd='$ac_pwd'
srcdir='$srcdir' srcdir='$srcdir'
INSTALL='$INSTALL' INSTALL='$INSTALL'
MKDIR_P='$MKDIR_P' MKDIR_P='$MKDIR_P'
AWK='$AWK' AWK='$AWK'
test -n "\$AWK" || AWK=awk test -n "\$AWK" || AWK=awk
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# The default lists apply if the user does not specify any file. # The default lists apply if the user does not specify any file.
ac_need_defaults=: ac_need_defaults=:
while test $# != 0 while test $# != 0
do do
case $1 in case $1 in
--*=*) --*=?*)
ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
ac_shift=: ac_shift=:
;; ;;
--*=)
ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=
ac_shift=:
;;
*) *)
ac_option=$1 ac_option=$1
ac_optarg=$2 ac_optarg=$2
ac_shift=shift ac_shift=shift
;; ;;
esac esac
case $ac_option in case $ac_option in
# Handling of the options. # Handling of the options.
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
skipping to change at line 17004 skipping to change at line 18127
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
$as_echo "$ac_cs_version"; exit ;; $as_echo "$ac_cs_version"; exit ;;
--config | --confi | --conf | --con | --co | --c ) --config | --confi | --conf | --con | --co | --c )
$as_echo "$ac_cs_config"; exit ;; $as_echo "$ac_cs_config"; exit ;;
--debug | --debu | --deb | --de | --d | -d ) --debug | --debu | --deb | --de | --d | -d )
debug=: ;; debug=: ;;
--file | --fil | --fi | --f ) --file | --fil | --fi | --f )
$ac_shift $ac_shift
case $ac_optarg in case $ac_optarg in
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
'') as_fn_error $? "missing file argument" ;;
esac esac
as_fn_append CONFIG_FILES " '$ac_optarg'" as_fn_append CONFIG_FILES " '$ac_optarg'"
ac_need_defaults=false;; ac_need_defaults=false;;
--header | --heade | --head | --hea ) --header | --heade | --head | --hea )
$ac_shift $ac_shift
case $ac_optarg in case $ac_optarg in
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac esac
as_fn_append CONFIG_HEADERS " '$ac_optarg'" as_fn_append CONFIG_HEADERS " '$ac_optarg'"
ac_need_defaults=false;; ac_need_defaults=false;;
skipping to change at line 17106 skipping to change at line 18230
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_sin
gle_quote_subst"`'
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_sin
gle_quote_subst"`'
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_ quote_subst"`' deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_ quote_subst"`'
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst" `' file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst" `'
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subs
t"`'
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subs
t"`'
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$d
elay_single_quote_subst"`'
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quot e_subst"`'
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_ quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_ quote_subst"`'
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_sin gle_quote_subst"`' old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_sin gle_quote_subst"`'
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_su bst"`' old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_su bst"`'
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED " $delay_single_quote_subst"`' lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED " $delay_single_quote_subst"`'
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl " | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl " | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol _to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol _to_c_name_address" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_gl obal_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst "`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_gl obal_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst "`'
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_
subst"`'
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag " | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag " | $SED "$delay_single_quote_subst"`'
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_qu ote_subst"`'
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_ quote_subst"`' lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_ quote_subst"`'
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_qu ote_subst"`'
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_s ingle_quote_subst"`' lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_s ingle_quote_subst"`'
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_s ingle_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_s ingle_quote_subst"`'
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_ quote_subst"`' extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_ quote_subst"`'
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_ quote_subst"`' archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_ quote_subst"`'
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runt imes" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runt imes" | $SED "$delay_single_quote_subst"`'
skipping to change at line 17167 skipping to change at line 18301
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$del ay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$del ay_single_quote_subst"`'
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$del ay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$del ay_single_quote_subst"`'
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subs t"`' hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subs t"`'
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay _single_quote_subst"`' hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay _single_quote_subst"`'
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_su bst"`' hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_su bst"`'
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_sin gle_quote_subst"`' hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_sin gle_quote_subst"`'
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quot e_subst"`' hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quot e_subst"`'
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_su bst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_su bst"`'
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_su bst"`'
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_singl e_quote_subst"`' always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_singl e_quote_subst"`'
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_qu ote_subst"`' export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_qu ote_subst"`'
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subs t"`' exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subs t"`'
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subs t"`' include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subs t"`'
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst" `' file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst" `'
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$d elay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$d elay_single_quote_subst"`'
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subs t"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subs t"`'
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED " $delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED " $delay_single_quote_subst"`'
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quot e_subst"`' library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quot e_subst"`'
skipping to change at line 17211 skipping to change at line 18345
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay _single_quote_subst"`' compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay _single_quote_subst"`'
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subs t"`' reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subs t"`'
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subs t"`' reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subs t"`'
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_ quote_subst"`' old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_ quote_subst"`'
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_ flag_CXX" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_ flag_CXX" | $SED "$delay_single_quote_subst"`'
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_s ingle_quote_subst"`'
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay _single_quote_subst"`' lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay _single_quote_subst"`'
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_s ingle_quote_subst"`'
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED " $delay_single_quote_subst"`' lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED " $delay_single_quote_subst"`'
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED " $delay_single_quote_subst"`' lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED " $delay_single_quote_subst"`'
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay _single_quote_subst"`' archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay _single_quote_subst"`'
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_ runtimes_CXX" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_ runtimes_CXX" | $SED "$delay_single_quote_subst"`'
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED " $delay_single_quote_subst"`' whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED " $delay_single_quote_subst"`'
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$del ay_single_quote_subst"`' compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$del ay_single_quote_subst"`'
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $S ED "$delay_single_quote_subst"`' old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $S ED "$delay_single_quote_subst"`'
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_C XX" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_C XX" | $SED "$delay_single_quote_subst"`'
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_su bst"`' archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_su bst"`'
skipping to change at line 17239 skipping to change at line 18373
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $S ED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $S ED "$delay_single_quote_subst"`'
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX " | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX " | $SED "$delay_single_quote_subst"`'
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $S ED "$delay_single_quote_subst"`' hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $S ED "$delay_single_quote_subst"`'
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_qu ote_subst"`' hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_qu ote_subst"`'
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_ quote_subst"`' hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_ quote_subst"`'
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$d elay_single_quote_subst"`' hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$d elay_single_quote_subst"`'
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_sin gle_quote_subst"`' hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_sin gle_quote_subst"`'
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_ subst"`' inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_ subst"`'
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_ quote_subst"`' link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_ quote_subst"`'
fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_ quote_subst"`'
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$del ay_single_quote_subst"`' always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$del ay_single_quote_subst"`'
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_s ingle_quote_subst"`' export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_s ingle_quote_subst"`'
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_qu ote_subst"`' exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_qu ote_subst"`'
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_qu ote_subst"`' include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_qu ote_subst"`'
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_su bst"`' prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_su bst"`'
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_ subst"`'
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quot e_subst"`' file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quot e_subst"`'
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_qu ote_subst"`' hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_qu ote_subst"`'
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quot e_subst"`' predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quot e_subst"`'
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_qu ote_subst"`' postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_qu ote_subst"`'
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
LTCC='$LTCC' LTCC='$LTCC'
skipping to change at line 17282 skipping to change at line 18416
FGREP \ FGREP \
LD \ LD \
NM \ NM \
LN_S \ LN_S \
lt_SP2NL \ lt_SP2NL \
lt_NL2SP \ lt_NL2SP \
reload_flag \ reload_flag \
OBJDUMP \ OBJDUMP \
deplibs_check_method \ deplibs_check_method \
file_magic_cmd \ file_magic_cmd \
file_magic_glob \
want_nocaseglob \
DLLTOOL \
sharedlib_from_linklib_cmd \
AR \ AR \
AR_FLAGS \ AR_FLAGS \
archiver_list_spec \
STRIP \ STRIP \
RANLIB \ RANLIB \
CC \ CC \
CFLAGS \ CFLAGS \
compiler \ compiler \
lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_pipe \
lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_cdecl \
lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address \
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
nm_file_list_spec \
lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_no_builtin_flag \
lt_prog_compiler_wl \
lt_prog_compiler_pic \ lt_prog_compiler_pic \
lt_prog_compiler_wl \
lt_prog_compiler_static \ lt_prog_compiler_static \
lt_cv_prog_compiler_c_o \ lt_cv_prog_compiler_c_o \
need_locks \ need_locks \
MANIFEST_TOOL \
DSYMUTIL \ DSYMUTIL \
NMEDIT \ NMEDIT \
LIPO \ LIPO \
OTOOL \ OTOOL \
OTOOL64 \ OTOOL64 \
shrext_cmds \ shrext_cmds \
export_dynamic_flag_spec \ export_dynamic_flag_spec \
whole_archive_flag_spec \ whole_archive_flag_spec \
compiler_needs_object \ compiler_needs_object \
with_gnu_ld \ with_gnu_ld \
allow_undefined_flag \ allow_undefined_flag \
no_undefined_flag \ no_undefined_flag \
hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec \
hardcode_libdir_flag_spec_ld \ hardcode_libdir_flag_spec_ld \
hardcode_libdir_separator \ hardcode_libdir_separator \
fix_srcfile_path \
exclude_expsyms \ exclude_expsyms \
include_expsyms \ include_expsyms \
file_list_spec \ file_list_spec \
variables_saved_for_relink \ variables_saved_for_relink \
libname_spec \ libname_spec \
library_names_spec \ library_names_spec \
soname_spec \ soname_spec \
install_override_mode \ install_override_mode \
finish_eval \ finish_eval \
old_striplib \ old_striplib \
skipping to change at line 17336 skipping to change at line 18476
compiler_lib_search_dirs \ compiler_lib_search_dirs \
predep_objects \ predep_objects \
postdep_objects \ postdep_objects \
predeps \ predeps \
postdeps \ postdeps \
compiler_lib_search_path \ compiler_lib_search_path \
LD_CXX \ LD_CXX \
reload_flag_CXX \ reload_flag_CXX \
compiler_CXX \ compiler_CXX \
lt_prog_compiler_no_builtin_flag_CXX \ lt_prog_compiler_no_builtin_flag_CXX \
lt_prog_compiler_wl_CXX \
lt_prog_compiler_pic_CXX \ lt_prog_compiler_pic_CXX \
lt_prog_compiler_wl_CXX \
lt_prog_compiler_static_CXX \ lt_prog_compiler_static_CXX \
lt_cv_prog_compiler_c_o_CXX \ lt_cv_prog_compiler_c_o_CXX \
export_dynamic_flag_spec_CXX \ export_dynamic_flag_spec_CXX \
whole_archive_flag_spec_CXX \ whole_archive_flag_spec_CXX \
compiler_needs_object_CXX \ compiler_needs_object_CXX \
with_gnu_ld_CXX \ with_gnu_ld_CXX \
allow_undefined_flag_CXX \ allow_undefined_flag_CXX \
no_undefined_flag_CXX \ no_undefined_flag_CXX \
hardcode_libdir_flag_spec_CXX \ hardcode_libdir_flag_spec_CXX \
hardcode_libdir_flag_spec_ld_CXX \ hardcode_libdir_flag_spec_ld_CXX \
hardcode_libdir_separator_CXX \ hardcode_libdir_separator_CXX \
fix_srcfile_path_CXX \
exclude_expsyms_CXX \ exclude_expsyms_CXX \
include_expsyms_CXX \ include_expsyms_CXX \
file_list_spec_CXX \ file_list_spec_CXX \
compiler_lib_search_dirs_CXX \ compiler_lib_search_dirs_CXX \
predep_objects_CXX \ predep_objects_CXX \
postdep_objects_CXX \ postdep_objects_CXX \
predeps_CXX \ predeps_CXX \
postdeps_CXX \ postdeps_CXX \
compiler_lib_search_path_CXX; do compiler_lib_search_path_CXX; do
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
skipping to change at line 17383 skipping to change at line 18522
old_archive_cmds \ old_archive_cmds \
extract_expsyms_cmds \ extract_expsyms_cmds \
old_archive_from_new_cmds \ old_archive_from_new_cmds \
old_archive_from_expsyms_cmds \ old_archive_from_expsyms_cmds \
archive_cmds \ archive_cmds \
archive_expsym_cmds \ archive_expsym_cmds \
module_cmds \ module_cmds \
module_expsym_cmds \ module_expsym_cmds \
export_symbols_cmds \ export_symbols_cmds \
prelink_cmds \ prelink_cmds \
postlink_cmds \
postinstall_cmds \ postinstall_cmds \
postuninstall_cmds \ postuninstall_cmds \
finish_cmds \ finish_cmds \
sys_lib_search_path_spec \ sys_lib_search_path_spec \
sys_lib_dlsearch_path_spec \ sys_lib_dlsearch_path_spec \
reload_cmds_CXX \ reload_cmds_CXX \
old_archive_cmds_CXX \ old_archive_cmds_CXX \
old_archive_from_new_cmds_CXX \ old_archive_from_new_cmds_CXX \
old_archive_from_expsyms_cmds_CXX \ old_archive_from_expsyms_cmds_CXX \
archive_cmds_CXX \ archive_cmds_CXX \
archive_expsym_cmds_CXX \ archive_expsym_cmds_CXX \
module_cmds_CXX \ module_cmds_CXX \
module_expsym_cmds_CXX \ module_expsym_cmds_CXX \
export_symbols_cmds_CXX \ export_symbols_cmds_CXX \
prelink_cmds_CXX; do prelink_cmds_CXX \
postlink_cmds_CXX; do
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
*[\\\\\\\`\\"\\\$]*) *[\\\\\\\`\\"\\\$]*)
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\ \$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variab le_subst\\"\\\`\\\\\\"" eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\ \$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variab le_subst\\"\\\`\\\\\\""
;; ;;
*) *)
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
;; ;;
esac esac
done done
skipping to change at line 17433 skipping to change at line 18574
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# Handling of arguments. # Handling of arguments.
for ac_config_target in $ac_config_targets for ac_config_target in $ac_config_targets
do do
case $ac_config_target in case $ac_config_target in
"include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ; ; "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ; ;
"include/qb/qbconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS include/qb/qbc onfig.h" ;;
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
"include/qb/Makefile") CONFIG_FILES="$CONFIG_FILES include/qb/Makefile" ;; "include/qb/Makefile") CONFIG_FILES="$CONFIG_FILES include/qb/Makefile" ;;
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
"lib/libqb.pc") CONFIG_FILES="$CONFIG_FILES lib/libqb.pc" ;; "lib/libqb.pc") CONFIG_FILES="$CONFIG_FILES lib/libqb.pc" ;;
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
"examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
"docs/man.dox") CONFIG_FILES="$CONFIG_FILES docs/man.dox" ;; "docs/man.dox") CONFIG_FILES="$CONFIG_FILES docs/man.dox" ;;
"docs/html.dox") CONFIG_FILES="$CONFIG_FILES docs/html.dox" ;; "docs/html.dox") CONFIG_FILES="$CONFIG_FILES docs/html.dox" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac esac
done done
# If the user did not use the arguments to specify the items to instantiate , # If the user did not use the arguments to specify the items to instantiate ,
# then the envvar interface is used. Set only those that are not. # then the envvar interface is used. Set only those that are not.
skipping to change at line 17467 skipping to change at line 18610
fi fi
# Have a temporary directory for convenience. Make it in the build tree # Have a temporary directory for convenience. Make it in the build tree
# simply because there is no reason against having it here, and in addition , # simply because there is no reason against having it here, and in addition ,
# creating and moving files from /tmp can sometimes cause problems. # creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging. # Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be clea ned: # Note that there is a small window in which the directory will not be clea ned:
# after its creation but before its name has been assigned to `$tmp'. # after its creation but before its name has been assigned to `$tmp'.
$debug || $debug ||
{ {
tmp= tmp= ac_tmp=
trap 'exit_status=$? trap 'exit_status=$?
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_st : "${ac_tmp:=$tmp}"
atus { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
' 0 ' 0
trap 'as_fn_exit 1' 1 2 13 15 trap 'as_fn_exit 1' 1 2 13 15
} }
# Create a (secure) tmp directory for tmp files. # Create a (secure) tmp directory for tmp files.
{ {
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
test -n "$tmp" && test -d "$tmp" test -d "$tmp"
} || } ||
{ {
tmp=./conf$$-$RANDOM tmp=./conf$$-$RANDOM
(umask 077 && mkdir "$tmp") (umask 077 && mkdir "$tmp")
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
ac_tmp=$tmp
# Set up the scripts for CONFIG_FILES section. # Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES. # No need to generate them if there are no CONFIG_FILES.
# This happens for instance with `./config.status config.h'. # This happens for instance with `./config.status config.h'.
if test -n "$CONFIG_FILES"; then if test -n "$CONFIG_FILES"; then
ac_cr=`echo X | tr X '\015'` ac_cr=`echo X | tr X '\015'`
# On cygwin, bash can eat \r inside `` if the user requested igncr. # 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 # 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. # point, so we can use a bashism as a fallback.
if test "x$ac_cr" = x; then if test "x$ac_cr" = x; then
eval ac_cr=\$\'\\r\' eval ac_cr=\$\'\\r\'
fi fi
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ac_cs_awk_cr='\\r' ac_cs_awk_cr='\\r'
else else
ac_cs_awk_cr=$ac_cr ac_cs_awk_cr=$ac_cr
fi fi
echo 'BEGIN {' >"$tmp/subs1.awk" && echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
_ACEOF _ACEOF
{ {
echo "cat >conf$$subs.awk <<_ACEOF" && echo "cat >conf$$subs.awk <<_ACEOF" &&
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
echo "_ACEOF" echo "_ACEOF"
} >conf$$subs.sh || } >conf$$subs.sh ||
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
ac_delim='%!_!# ' ac_delim='%!_!# '
skipping to change at line 17530 skipping to change at line 18675
break break
elif $ac_last_try; then elif $ac_last_try; then
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
else else
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fi fi
done done
rm -f conf$$subs.sh rm -f conf$$subs.sh
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
_ACEOF _ACEOF
sed -n ' sed -n '
h h
s/^/S["/; s/!.*/"]=/ s/^/S["/; s/!.*/"]=/
p p
g g
s/^[^!]*!// s/^[^!]*!//
:repl :repl
t repl t repl
s/'"$ac_delim"'$// s/'"$ac_delim"'$//
skipping to change at line 17578 skipping to change at line 18723
t delim t delim
' <conf$$subs.awk | sed ' ' <conf$$subs.awk | sed '
/^[^""]/{ /^[^""]/{
N N
s/\n// s/\n//
} }
' >>$CONFIG_STATUS || ac_write_fail=1 ' >>$CONFIG_STATUS || ac_write_fail=1
rm -f conf$$subs.awk rm -f conf$$subs.awk
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
_ACAWK _ACAWK
cat >>"\$tmp/subs1.awk" <<_ACAWK && cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
for (key in S) S_is_set[key] = 1 for (key in S) S_is_set[key] = 1
FS = "" FS = ""
} }
{ {
line = $ 0 line = $ 0
nfields = split(line, field, "@") nfields = split(line, field, "@")
substed = 0 substed = 0
len = length(field[1]) len = length(field[1])
for (i = 2; i < nfields; i++) { for (i = 2; i < nfields; i++) {
skipping to change at line 17610 skipping to change at line 18755
print line print line
} }
_ACAWK _ACAWK
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
else else
cat cat
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
_ACEOF _ACEOF
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty # trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers). # (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then if test "x$srcdir" = x.; then
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
h h
skipping to change at line 17644 skipping to change at line 18789
}' }'
fi fi
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
fi # test -n "$CONFIG_FILES" fi # test -n "$CONFIG_FILES"
# Set up the scripts for CONFIG_HEADERS section. # Set up the scripts for CONFIG_HEADERS section.
# No need to generate them if there are no CONFIG_HEADERS. # No need to generate them if there are no CONFIG_HEADERS.
# This happens for instance with `./config.status Makefile'. # This happens for instance with `./config.status Makefile'.
if test -n "$CONFIG_HEADERS"; then if test -n "$CONFIG_HEADERS"; then
cat >"$tmp/defines.awk" <<\_ACAWK || cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
BEGIN { BEGIN {
_ACEOF _ACEOF
# Transform confdefs.h into an awk script `defines.awk', embedded as # Transform confdefs.h into an awk script `defines.awk', embedded as
# here-document in config.status, that substitutes the proper values into # here-document in config.status, that substitutes the proper values into
# config.h.in to produce config.h. # config.h.in to produce config.h.
# Create a delimiter string that does not exist in confdefs.h, to ease # Create a delimiter string that does not exist in confdefs.h, to ease
# handling of long lines. # handling of long lines.
ac_delim='%!_!# ' ac_delim='%!_!# '
for ac_last_try in false false :; do for ac_last_try in false false :; do
ac_t=`sed -n "/$ac_delim/p" confdefs.h` ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
if test -z "$ac_t"; then if test -z "$ac_tt"; then
break break
elif $ac_last_try; then elif $ac_last_try; then
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
else else
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fi fi
done done
# For the awk script, D is an array of macro values keyed by name, # For the awk script, D is an array of macro values keyed by name,
# likewise P contains macro parameters if any. Preserve backslash # likewise P contains macro parameters if any. Preserve backslash
skipping to change at line 17776 skipping to change at line 18921
ac_file=$1 ac_file=$1
shift shift
case $ac_mode in case $ac_mode in
:L) ac_source=$1;; :L) ac_source=$1;;
:[FH]) :[FH])
ac_file_inputs= ac_file_inputs=
for ac_f for ac_f
do do
case $ac_f in case $ac_f in
-) ac_f="$tmp/stdin";; -) ac_f="$ac_tmp/stdin";;
*) # Look for the file first in the build tree, then in the source tr ee *) # Look for the file first in the build tree, then in the source tr ee
# (if the path is not absolute). The absolute path cannot be DOS-s tyle, # (if the path is not absolute). The absolute path cannot be DOS-s tyle,
# because $ac_f cannot contain `:'. # because $ac_f cannot contain `:'.
test -f "$ac_f" || test -f "$ac_f" ||
case $ac_f in case $ac_f in
[\\/$]*) false;; [\\/$]*) false;;
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
esac || esac ||
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
esac esac
skipping to change at line 17811 skipping to change at line 18956
fi fi
# Neutralize special characters interpreted by sed in replacement strin gs. # Neutralize special characters interpreted by sed in replacement strin gs.
case $configure_input in #( case $configure_input in #(
*\&* | *\|* | *\\* ) *\&* | *\|* | *\\* )
ac_sed_conf_input=`$as_echo "$configure_input" | ac_sed_conf_input=`$as_echo "$configure_input" |
sed 's/[\\\\&|]/\\\\&/g'`;; #( sed 's/[\\\\&|]/\\\\&/g'`;; #(
*) ac_sed_conf_input=$configure_input;; *) ac_sed_conf_input=$configure_input;;
esac esac
case $ac_tag in case $ac_tag in
*:-:* | *:-) cat >"$tmp/stdin" \ *:-:* | *:-) cat >"$ac_tmp/stdin" \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
esac esac
;; ;;
esac esac
ac_dir=`$as_dirname -- "$ac_file" || ac_dir=`$as_dirname -- "$ac_file" ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
skipping to change at line 17947 skipping to change at line 19092
s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t
s&@top_srcdir@&$ac_top_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
s&@builddir@&$ac_builddir&;t t s&@builddir@&$ac_builddir&;t t
s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
s&@INSTALL@&$ac_INSTALL&;t t s&@INSTALL@&$ac_INSTALL&;t t
s&@MKDIR_P@&$ac_MKDIR_P&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t
$ac_datarootdir_hack $ac_datarootdir_hack
" "
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$t eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk"
mp/out \ \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 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' "$ac_tmp/out"`; test -n "$ac_out";
& } &&
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
-z "$ac_out"; } && "$ac_tmp/out"`; test -z "$ac_out"; } &&
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a ref erence to the variable \`datarootdir' { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a ref erence to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined" >&5 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' $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;} which seems to be undefined. Please make sure it is defined" >&2;}
rm -f "$tmp/stdin" rm -f "$ac_tmp/stdin"
case $ac_file in case $ac_file in
-) cat "$tmp/out" && rm -f "$tmp/out";; -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
esac \ esac \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
;; ;;
:H) :H)
# #
# CONFIG_HEADER # CONFIG_HEADER
# #
if test x"$ac_file" != x-; then if test x"$ac_file" != x-; then
{ {
$as_echo "/* $configure_input */" \ $as_echo "/* $configure_input */" \
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
} >"$tmp/config.h" \ } >"$ac_tmp/config.h" \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
$as_echo "$as_me: $ac_file is unchanged" >&6;} $as_echo "$as_me: $ac_file is unchanged" >&6;}
else else
rm -f "$ac_file" rm -f "$ac_file"
mv "$tmp/config.h" "$ac_file" \ mv "$ac_tmp/config.h" "$ac_file" \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
fi fi
else else
$as_echo "/* $configure_input */" \ $as_echo "/* $configure_input */" \
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|| as_fn_error $? "could not create -" "$LINENO" 5 || as_fn_error $? "could not create -" "$LINENO" 5
fi fi
# Compute "$ac_file"'s index in $config_headers. # Compute "$ac_file"'s index in $config_headers.
_am_arg="$ac_file" _am_arg="$ac_file"
_am_stamp_count=1 _am_stamp_count=1
for _am_header in $config_headers :; do for _am_header in $config_headers :; do
case $_am_header in case $_am_header in
$_am_arg | $_am_arg:* ) $_am_arg | $_am_arg:* )
break ;; break ;;
* ) * )
skipping to change at line 18249 skipping to change at line 19395
# whether the shell understands "unset". # whether the shell understands "unset".
lt_unset=$lt_unset lt_unset=$lt_unset
# turn spaces into newlines. # turn spaces into newlines.
SP2NL=$lt_lt_SP2NL SP2NL=$lt_lt_SP2NL
# turn newlines into spaces. # turn newlines into spaces.
NL2SP=$lt_lt_NL2SP NL2SP=$lt_lt_NL2SP
# convert \$build file names to \$host format.
to_host_file_cmd=$lt_cv_to_host_file_cmd
# convert \$build files to toolchain format.
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
# An object symbol dumper. # An object symbol dumper.
OBJDUMP=$lt_OBJDUMP OBJDUMP=$lt_OBJDUMP
# Method to check whether dependent libraries are shared objects. # Method to check whether dependent libraries are shared objects.
deplibs_check_method=$lt_deplibs_check_method deplibs_check_method=$lt_deplibs_check_method
# Command to use when deplibs_check_method == "file_magic". # Command to use when deplibs_check_method = "file_magic".
file_magic_cmd=$lt_file_magic_cmd file_magic_cmd=$lt_file_magic_cmd
# How to find potential files when deplibs_check_method = "file_magic".
file_magic_glob=$lt_file_magic_glob
# Find potential files using nocaseglob when deplibs_check_method = "file_m
agic".
want_nocaseglob=$lt_want_nocaseglob
# DLL creation program.
DLLTOOL=$lt_DLLTOOL
# Command to associate shared and link libraries.
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
# The archiver. # The archiver.
AR=$lt_AR AR=$lt_AR
# Flags to create an archive.
AR_FLAGS=$lt_AR_FLAGS AR_FLAGS=$lt_AR_FLAGS
# How to feed a file listing to the archiver.
archiver_list_spec=$lt_archiver_list_spec
# A symbol stripping program. # A symbol stripping program.
STRIP=$lt_STRIP STRIP=$lt_STRIP
# Commands used to install an old-style archive. # Commands used to install an old-style archive.
RANLIB=$lt_RANLIB RANLIB=$lt_RANLIB
old_postinstall_cmds=$lt_old_postinstall_cmds old_postinstall_cmds=$lt_old_postinstall_cmds
old_postuninstall_cmds=$lt_old_postuninstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds
# Whether to use a lock for old archive extraction. # Whether to use a lock for old archive extraction.
lock_old_archive_extraction=$lock_old_archive_extraction lock_old_archive_extraction=$lock_old_archive_extraction
skipping to change at line 18291 skipping to change at line 19460
# Transform the output of nm in a proper C declaration. # Transform the output of nm in a proper C declaration.
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
# Transform the output of nm in a C name address pair. # Transform the output of nm in a C name address pair.
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_addre ss global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_addre ss
# Transform the output of nm in a C name address pair when lib prefix is ne eded. # Transform the output of nm in a C name address pair when lib prefix is ne eded.
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c _name_address_lib_prefix global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c _name_address_lib_prefix
# Specify filename containing input files for \$NM.
nm_file_list_spec=$lt_nm_file_list_spec
# The root where to search for dependent libraries,and in which our librari
es should be installed.
lt_sysroot=$lt_sysroot
# The name of the directory that contains temporary libtool files. # The name of the directory that contains temporary libtool files.
objdir=$objdir objdir=$objdir
# Used to examine libraries when file_magic_cmd begins with "file". # Used to examine libraries when file_magic_cmd begins with "file".
MAGIC_CMD=$MAGIC_CMD MAGIC_CMD=$MAGIC_CMD
# Must we lock files when doing compilation? # Must we lock files when doing compilation?
need_locks=$lt_need_locks need_locks=$lt_need_locks
# Manifest tool.
MANIFEST_TOOL=$lt_MANIFEST_TOOL
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=$lt_DSYMUTIL DSYMUTIL=$lt_DSYMUTIL
# Tool to change global to local symbols on Mac OS X. # Tool to change global to local symbols on Mac OS X.
NMEDIT=$lt_NMEDIT NMEDIT=$lt_NMEDIT
# Tool to manipulate fat objects and archives on Mac OS X. # Tool to manipulate fat objects and archives on Mac OS X.
LIPO=$lt_LIPO LIPO=$lt_LIPO
# ldd/readelf like tool for Mach-O binaries on Mac OS X. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
skipping to change at line 18413 skipping to change at line 19591
# A language specific compiler. # A language specific compiler.
CC=$lt_compiler CC=$lt_compiler
# Is the compiler the GNU compiler? # Is the compiler the GNU compiler?
with_gcc=$GCC with_gcc=$GCC
# Compiler flag to turn off builtin functions. # Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
# How to pass a linker flag through the compiler.
wl=$lt_lt_prog_compiler_wl
# Additional compiler flags for building library objects. # Additional compiler flags for building library objects.
pic_flag=$lt_lt_prog_compiler_pic pic_flag=$lt_lt_prog_compiler_pic
# How to pass a linker flag through the compiler.
wl=$lt_lt_prog_compiler_wl
# Compiler flag to prevent dynamic linking. # Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static link_static_flag=$lt_lt_prog_compiler_static
# Does compiler simultaneously support -c and -o options? # Does compiler simultaneously support -c and -o options?
compiler_c_o=$lt_lt_cv_prog_compiler_c_o compiler_c_o=$lt_lt_cv_prog_compiler_c_o
# Whether or not to add -lc for building shared libraries. # Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=$archive_cmds_need_lc build_libtool_need_lc=$archive_cmds_need_lc
# Whether or not to disallow shared libs when runtime libs are static. # Whether or not to disallow shared libs when runtime libs are static.
skipping to change at line 18505 skipping to change at line 19683
# against it. # against it.
hardcode_automatic=$hardcode_automatic hardcode_automatic=$hardcode_automatic
# Set to yes if linker adds runtime paths of dependent libraries # Set to yes if linker adds runtime paths of dependent libraries
# to runtime path list. # to runtime path list.
inherit_rpath=$inherit_rpath inherit_rpath=$inherit_rpath
# Whether libtool must link a program against all its dependency libraries. # Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs link_all_deplibs=$link_all_deplibs
# Fix the shell variable \$srcfile for the compiler.
fix_srcfile_path=$lt_fix_srcfile_path
# Set to "yes" if exported symbols are required. # Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols always_export_symbols=$always_export_symbols
# The commands to list exported symbols. # The commands to list exported symbols.
export_symbols_cmds=$lt_export_symbols_cmds export_symbols_cmds=$lt_export_symbols_cmds
# Symbols that should not be listed in the preloaded symbols. # Symbols that should not be listed in the preloaded symbols.
exclude_expsyms=$lt_exclude_expsyms exclude_expsyms=$lt_exclude_expsyms
# Symbols that must always be exported. # Symbols that must always be exported.
include_expsyms=$lt_include_expsyms include_expsyms=$lt_include_expsyms
# Commands necessary for linking programs (against libraries) with template s. # Commands necessary for linking programs (against libraries) with template s.
prelink_cmds=$lt_prelink_cmds prelink_cmds=$lt_prelink_cmds
# Commands necessary for finishing linking programs.
postlink_cmds=$lt_postlink_cmds
# Specify filename containing input files. # Specify filename containing input files.
file_list_spec=$lt_file_list_spec file_list_spec=$lt_file_list_spec
# How to hardcode a shared library path into an executable. # How to hardcode a shared library path into an executable.
hardcode_action=$hardcode_action hardcode_action=$hardcode_action
# The directories searched by this compiler when creating a shared library. # The directories searched by this compiler when creating a shared library.
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
# Dependencies to place before and after the objects being linked to # Dependencies to place before and after the objects being linked to
skipping to change at line 18567 skipping to change at line 19745
_LT_EOF _LT_EOF
;; ;;
esac esac
ltmain="$ac_aux_dir/ltmain.sh" ltmain="$ac_aux_dir/ltmain.sh"
# We use sed instead of cat because bash on DJGPP gets confused if # We use sed instead of cat because bash on DJGPP gets confused if
# if finds mixed CR/LF and LF-only lines. Since sed operates in # if finds mixed CR/LF and LF-only lines. Since sed operates in
# text mode, it properly converts lines to CR/LF. This bash problem # text mode, it properly converts lines to CR/LF. This bash problem
# is reportedly fixed, but why not run on old versions too? # is reportedly fixed, but why not run on old versions too?
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfil sed '$q' "$ltmain" >> "$cfgfile" \
e" \ || (rm -f "$cfgfile"; exit 1)
|| (rm -f "$cfgfile"; exit 1)
case $xsi_shell in
yes)
cat << \_LT_EOF >> "$cfgfile"
# func_dirname file append nondir_replacement
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
# otherwise set result to NONDIR_REPLACEMENT.
func_dirname ()
{
case ${1} in
*/*) func_dirname_result="${1%/*}${2}" ;;
* ) func_dirname_result="${3}" ;;
esac
}
# func_basename file
func_basename ()
{
func_basename_result="${1##*/}"
}
# func_dirname_and_basename file append nondir_replacement
# perform func_basename and func_dirname in a single function
# call:
# dirname: Compute the dirname of FILE. If nonempty,
# add APPEND to the result, otherwise set result
# to NONDIR_REPLACEMENT.
# value returned in "$func_dirname_result"
# basename: Compute filename of FILE.
# value retuned in "$func_basename_result"
# Implementation must be kept synchronized with func_dirname
# and func_basename. For efficiency, we do not delegate to
# those functions but instead duplicate the functionality here.
func_dirname_and_basename ()
{
case ${1} in
*/*) func_dirname_result="${1%/*}${2}" ;;
* ) func_dirname_result="${3}" ;;
esac
func_basename_result="${1##*/}"
}
# func_stripname prefix suffix name
# strip PREFIX and SUFFIX off of NAME.
# PREFIX and SUFFIX must not contain globbing or regex special
# characters, hashes, percent signs, but SUFFIX may contain a leading
# dot (in which case that matches only a dot).
func_stripname ()
{
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
# positional parameters, so assign one to ordinary parameter first.
func_stripname_result=${3}
func_stripname_result=${func_stripname_result#"${1}"}
func_stripname_result=${func_stripname_result%"${2}"}
}
# func_opt_split
func_opt_split ()
{
func_opt_split_opt=${1%%=*}
func_opt_split_arg=${1#*=}
}
# func_lo2o object
func_lo2o ()
{
case ${1} in
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
*) func_lo2o_result=${1} ;;
esac
}
# func_xform libobj-or-source
func_xform ()
{
func_xform_result=${1%.*}.lo
}
# func_arith arithmetic-term...
func_arith ()
{
func_arith_result=$(( $* ))
}
# func_len string
# STRING may not start with a hyphen.
func_len ()
{
func_len_result=${#1}
}
_LT_EOF
;;
*) # Bourne compatible functions.
cat << \_LT_EOF >> "$cfgfile"
# func_dirname file append nondir_replacement
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
# otherwise set result to NONDIR_REPLACEMENT.
func_dirname ()
{
# Extract subdirectory from the argument.
func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
if test "X$func_dirname_result" = "X${1}"; then
func_dirname_result="${3}"
else
func_dirname_result="$func_dirname_result${2}"
fi
}
# func_basename file
func_basename ()
{
func_basename_result=`$ECHO "${1}" | $SED "$basename"`
}
# func_stripname prefix suffix name
# strip PREFIX and SUFFIX off of NAME.
# PREFIX and SUFFIX must not contain globbing or regex special
# characters, hashes, percent signs, but SUFFIX may contain a leading
# dot (in which case that matches only a dot).
# func_strip_suffix prefix name
func_stripname ()
{
case ${2} in
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$
%%"`;;
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`
;;
esac
}
# sed scripts:
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
my_sed_long_arg='1s/^-[^=]*=//'
# func_opt_split
func_opt_split ()
{
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
}
# func_lo2o object
func_lo2o ()
{
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
}
# func_xform libobj-or-source
func_xform ()
{
func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
}
# func_arith arithmetic-term...
func_arith ()
{
func_arith_result=`expr "$@"`
}
# func_len string
# STRING may not start with a hyphen.
func_len ()
{
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
}
_LT_EOF
esac
case $lt_shell_append in
yes)
cat << \_LT_EOF >> "$cfgfile"
# func_append var value
# Append VALUE to the end of shell variable VAR.
func_append ()
{
eval "$1+=\$2"
}
_LT_EOF
;;
*)
cat << \_LT_EOF >> "$cfgfile"
# func_append var value if test x"$xsi_shell" = xyes; then
# Append VALUE to the end of shell variable VAR. sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
func_append () func_dirname ()\
{ {\
eval "$1=\$$1\$2" \ case ${1} in\
} \ */*) func_dirname_result="${1%/*}${2}" ;;\
\ * ) func_dirname_result="${3}" ;;\
_LT_EOF \ esac\
;; } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
esac && mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$c .tmp")
fgfile" \ test 0 -eq $? || _lt_function_replace_fail=:
|| (rm -f "$cfgfile"; exit 1)
sed -e '/^func_basename ()$/,/^} # func_basename /c\
func_basename ()\
{\
\ func_basename_result="${1##*/}"\
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp
\
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename
/c\
func_dirname_and_basename ()\
{\
\ case ${1} in\
\ */*) func_dirname_result="${1%/*}${2}" ;;\
\ * ) func_dirname_result="${3}" ;;\
\ esac\
\ func_basename_result="${1##*/}"\
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $
cfgfile.tmp \
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
func_stripname ()\
{\
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
\ # positional parameters, so assign one to ordinary parameter first.\
\ func_stripname_result=${3}\
\ func_stripname_result=${func_stripname_result#"${1}"}\
\ func_stripname_result=${func_stripname_result%"${2}"}\
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp
\
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
func_split_long_opt ()\
{\
\ func_split_long_opt_name=${1%%=*}\
\ func_split_long_opt_arg=${1#*=}\
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfil
e.tmp \
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
func_split_short_opt ()\
{\
\ func_split_short_opt_arg=${1#??}\
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfi
le.tmp \
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
func_lo2o ()\
{\
\ case ${1} in\
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
\ *) func_lo2o_result=${1} ;;\
\ esac\
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
sed -e '/^func_xform ()$/,/^} # func_xform /c\
func_xform ()\
{\
func_xform_result=${1%.*}.lo\
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
sed -e '/^func_arith ()$/,/^} # func_arith /c\
func_arith ()\
{\
func_arith_result=$(( $* ))\
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
sed -e '/^func_len ()$/,/^} # func_len /c\
func_len ()\
{\
func_len_result=${#1}\
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
fi
if test x"$lt_shell_append" = xyes; then
sed -e '/^func_append ()$/,/^} # func_append /c\
func_append ()\
{\
eval "${1}+=\\${2}"\
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
func_append_quoted ()\
{\
\ func_quote_for_eval "${2}"\
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile
.tmp \
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile
.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
# Save a `func_append' function call where possible by direct use of '+='
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.
tmp \
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfi
le.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
else
# Save a `func_append' function call even when '+=' is not available
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfil
e.tmp \
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfi
le.tmp")
test 0 -eq $? || _lt_function_replace_fail=:
fi
if test x"$_lt_function_replace_fail" = x":"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute ex
tended shell functions in $ofile" >&5
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in
$ofile" >&2;}
fi
mv -f "$cfgfile" "$ofile" || mv -f "$cfgfile" "$ofile" ||
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
chmod +x "$ofile" chmod +x "$ofile"
cat <<_LT_EOF >> "$ofile" cat <<_LT_EOF >> "$ofile"
# ### BEGIN LIBTOOL TAG CONFIG: CXX # ### BEGIN LIBTOOL TAG CONFIG: CXX
# The linker used to build libraries. # The linker used to build libraries.
LD=$lt_LD_CXX LD=$lt_LD_CXX
skipping to change at line 18795 skipping to change at line 19922
# A language specific compiler. # A language specific compiler.
CC=$lt_compiler_CXX CC=$lt_compiler_CXX
# Is the compiler the GNU compiler? # Is the compiler the GNU compiler?
with_gcc=$GCC_CXX with_gcc=$GCC_CXX
# Compiler flag to turn off builtin functions. # Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
# How to pass a linker flag through the compiler.
wl=$lt_lt_prog_compiler_wl_CXX
# Additional compiler flags for building library objects. # Additional compiler flags for building library objects.
pic_flag=$lt_lt_prog_compiler_pic_CXX pic_flag=$lt_lt_prog_compiler_pic_CXX
# How to pass a linker flag through the compiler.
wl=$lt_lt_prog_compiler_wl_CXX
# Compiler flag to prevent dynamic linking. # Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static_CXX link_static_flag=$lt_lt_prog_compiler_static_CXX
# Does compiler simultaneously support -c and -o options? # Does compiler simultaneously support -c and -o options?
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
# Whether or not to add -lc for building shared libraries. # Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=$archive_cmds_need_lc_CXX build_libtool_need_lc=$archive_cmds_need_lc_CXX
# Whether or not to disallow shared libs when runtime libs are static. # Whether or not to disallow shared libs when runtime libs are static.
skipping to change at line 18887 skipping to change at line 20014
# against it. # against it.
hardcode_automatic=$hardcode_automatic_CXX hardcode_automatic=$hardcode_automatic_CXX
# Set to yes if linker adds runtime paths of dependent libraries # Set to yes if linker adds runtime paths of dependent libraries
# to runtime path list. # to runtime path list.
inherit_rpath=$inherit_rpath_CXX inherit_rpath=$inherit_rpath_CXX
# Whether libtool must link a program against all its dependency libraries. # Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs_CXX link_all_deplibs=$link_all_deplibs_CXX
# Fix the shell variable \$srcfile for the compiler.
fix_srcfile_path=$lt_fix_srcfile_path_CXX
# Set to "yes" if exported symbols are required. # Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols_CXX always_export_symbols=$always_export_symbols_CXX
# The commands to list exported symbols. # The commands to list exported symbols.
export_symbols_cmds=$lt_export_symbols_cmds_CXX export_symbols_cmds=$lt_export_symbols_cmds_CXX
# Symbols that should not be listed in the preloaded symbols. # Symbols that should not be listed in the preloaded symbols.
exclude_expsyms=$lt_exclude_expsyms_CXX exclude_expsyms=$lt_exclude_expsyms_CXX
# Symbols that must always be exported. # Symbols that must always be exported.
include_expsyms=$lt_include_expsyms_CXX include_expsyms=$lt_include_expsyms_CXX
# Commands necessary for linking programs (against libraries) with template s. # Commands necessary for linking programs (against libraries) with template s.
prelink_cmds=$lt_prelink_cmds_CXX prelink_cmds=$lt_prelink_cmds_CXX
# Commands necessary for finishing linking programs.
postlink_cmds=$lt_postlink_cmds_CXX
# Specify filename containing input files. # Specify filename containing input files.
file_list_spec=$lt_file_list_spec_CXX file_list_spec=$lt_file_list_spec_CXX
# How to hardcode a shared library path into an executable. # How to hardcode a shared library path into an executable.
hardcode_action=$hardcode_action_CXX hardcode_action=$hardcode_action_CXX
# The directories searched by this compiler when creating a shared library. # The directories searched by this compiler when creating a shared library.
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
# Dependencies to place before and after the objects being linked to # Dependencies to place before and after the objects being linked to
 End of changes. 554 change blocks. 
2604 lines changed or deleted 3863 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/