version 1.64 | | version 1.65 |
---|
| | |
/^X\(\/\).*/{ s//\1/; q; } | | /^X\(\/\).*/{ s//\1/; q; } |
s/.*/./; q'` | | s/.*/./; q'` |
srcdir=$ac_confdir | | srcdir=$ac_confdir |
if test ! -r "$srcdir/$ac_unique_file"; then | | if test ! -r $srcdir/$ac_unique_file; then |
srcdir=.. | | srcdir=.. |
fi | | fi |
else | | else |
ac_srcdir_defaulted=no | | ac_srcdir_defaulted=no |
fi | | fi |
if test ! -r "$srcdir/$ac_unique_file"; then | | if test ! -r $srcdir/$ac_unique_file; then |
if test "$ac_srcdir_defaulted" = yes; then | | if test "$ac_srcdir_defaulted" = yes; then |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
{ (exit 1); exit 1; }; } | | { (exit 1); exit 1; }; } |
| | |
{ (exit 1); exit 1; }; } | | { (exit 1); exit 1; }; } |
fi | | fi |
fi | | fi |
(cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null || | | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
{ (exit 1); exit 1; }; } | | { (exit 1); exit 1; }; } |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
| | |
fi; | | fi; |
test -z "$pic_mode" && pic_mode=default | | test -z "$pic_mode" && pic_mode=default |
| | |
# Check if we have a version mismatch between libtool.m4 and ltmain.sh. | | |
# | | |
# Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined. | | |
# We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually | | |
# calls AC_LIBTOOL_CONFIG and creates libtool. | | |
# | | |
echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5 | | |
echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6 | | |
if test "x$ltmain" = "x" ; then | | |
echo "$as_me:$LINENO: result: no" >&5 | | |
echo "${ECHO_T}no" >&6 | | |
{ { echo "$as_me:$LINENO: error: | | |
| | |
*** [Gentoo] sanity check failed! *** | | |
*** \$ltmain is not defined, please check the patch for consistency! *** | | |
" >&5 | | |
echo "$as_me: error: | | |
| | |
*** [Gentoo] sanity check failed! *** | | |
*** \$ltmain is not defined, please check the patch for consistency! *** | | |
" >&2;} | | |
{ (exit 1); exit 1; }; } | | |
fi | | |
gentoo_lt_version="1.5.22" | | |
gentoo_ltmain_version=`sed -n '/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}' "$ltmain"` | | |
if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then | | |
echo "$as_me:$LINENO: result: no" >&5 | | |
echo "${ECHO_T}no" >&6 | | |
{ { echo "$as_me:$LINENO: error: | | |
| | |
*** [Gentoo] sanity check failed! *** | | |
*** libtool.m4 and ltmain.sh have a version mismatch! *** | | |
*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) *** | | |
| | |
Please run: | | |
| | |
libtoolize --copy --force | | |
| | |
if appropriate, please contact the maintainer of this | | |
package (or your distribution) for help. | | |
" >&5 | | |
echo "$as_me: error: | | |
| | |
*** [Gentoo] sanity check failed! *** | | |
*** libtool.m4 and ltmain.sh have a version mismatch! *** | | |
*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) *** | | |
| | |
Please run: | | |
| | |
libtoolize --copy --force | | |
| | |
if appropriate, please contact the maintainer of this | | |
package (or your distribution) for help. | | |
" >&2;} | | |
{ (exit 1); exit 1; }; } | | |
else | | |
echo "$as_me:$LINENO: result: yes" >&5 | | |
echo "${ECHO_T}yes" >&6 | | |
fi | | |
| | |
| | |
# Use C for the default configuration in the libtool script | | # Use C for the default configuration in the libtool script |
tagname= | | tagname= |
lt_save_CC="$CC" | | lt_save_CC="$CC" |
| | |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` | | -e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:6441: $lt_compile\"" >&5) | | (eval echo "\"\$as_me:6380: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) | | (eval "$lt_compile" 2>conftest.err) |
ac_status=$? | | ac_status=$? |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:6445: \$? = $ac_status" >&5 | | echo "$as_me:6384: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then | | if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized | | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. | | # So say no if there are warnings other than the usual output. |
| | |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` | | -e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:6709: $lt_compile\"" >&5) | | (eval echo "\"\$as_me:6648: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) | | (eval "$lt_compile" 2>conftest.err) |
ac_status=$? | | ac_status=$? |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:6713: \$? = $ac_status" >&5 | | echo "$as_me:6652: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then | | if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized | | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. | | # So say no if there are warnings other than the usual output. |
| | |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` | | -e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:6813: $lt_compile\"" >&5) | | (eval echo "\"\$as_me:6752: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>out/conftest.err) | | (eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? | | ac_status=$? |
cat out/conftest.err >&5 | | cat out/conftest.err >&5 |
echo "$as_me:6817: \$? = $ac_status" >&5 | | echo "$as_me:6756: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext | | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then | | then |
# The compiler can only warn and ignore the option if not recognized | | # The compiler can only warn and ignore the option if not recognized |
| | |
esac | | esac |
;; | | ;; |
| | |
linux*) | | |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | | |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | |
supports_anon_versioning=no | | |
case `$LD -v 2>/dev/null` in | | |
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | | |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | | |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | | |
*\ 2.11.*) ;; # other 2.11 versions | | |
*) supports_anon_versioning=yes ;; | | |
esac | | |
if test $supports_anon_versioning = yes; then | | |
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ | | |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | | |
$echo "local: *; };" >> $output_objdir/$libname.ver~ | | |
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | | |
else | | |
$archive_expsym_cmds="$archive_cmds" | | |
fi | | |
else | | |
ld_shlibs=no | | |
fi | | |
;; | | |
| | |
*) | | *) |
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' |
;; | | ;; |
| | |
*) objformat=elf ;; | | *) objformat=elf ;; |
esac | | esac |
fi | | fi |
# Handle Gentoo/FreeBSD as it was Linux | | version_type=freebsd-$objformat |
case $host_vendor in | | |
gentoo) | | |
version_type=linux ;; | | |
*) | | |
version_type=freebsd-$objformat ;; | | |
esac | | |
| | |
case $version_type in | | case $version_type in |
freebsd-elf*) | | freebsd-elf*) |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| | |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
need_version=yes | | need_version=yes |
;; | | ;; |
linux) | | |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | |
soname_spec='${libname}${release}${shared_ext}$major' | | |
need_lib_prefix=no | | |
need_version=no | | |
;; | | |
esac | | esac |
shlibpath_var=LD_LIBRARY_PATH | | shlibpath_var=LD_LIBRARY_PATH |
case $host_os in | | case $host_os in |
| | |
# before this can be enabled. | | # before this can be enabled. |
hardcode_into_libs=yes | | hardcode_into_libs=yes |
| | |
| | # find out which ABI we are using |
| | libsuff= |
| | case "$host_cpu" in |
| | x86_64*|s390x*|powerpc64*) |
| | echo '#line 8221 "configure"' > conftest.$ac_ext |
| | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | (eval $ac_compile) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; then |
| | case `/usr/bin/file conftest.$ac_objext` in |
| | *64-bit*) |
| | libsuff=64 |
| | sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| | ;; |
| | esac |
| | fi |
| | rm -rf conftest* |
| | ;; |
| | esac |
| | |
# Append ld.so.conf contents to the search path | | # Append ld.so.conf contents to the search path |
if test -f /etc/ld.so.conf; then | | if test -f /etc/ld.so.conf; then |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` | | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | | sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
fi | | fi |
| | |
# We used to test for /lib/ld.so.1 and disable shared libraries on | | # We used to test for /lib/ld.so.1 and disable shared libraries on |
| | |
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 <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 9195 "configure" | | #line 9118 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
#if HAVE_DLFCN_H | | #if HAVE_DLFCN_H |
| | |
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 <<EOF | | cat > conftest.$ac_ext <<EOF |
#line 9295 "configure" | | #line 9218 "configure" |
#include "confdefs.h" | | #include "confdefs.h" |
| | |
#if HAVE_DLFCN_H | | #if HAVE_DLFCN_H |
| | |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` | | -e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:11635: $lt_compile\"" >&5) | | (eval echo "\"\$as_me:11558: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) | | (eval "$lt_compile" 2>conftest.err) |
ac_status=$? | | ac_status=$? |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:11639: \$? = $ac_status" >&5 | | echo "$as_me:11562: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then | | if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized | | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. | | # So say no if there are warnings other than the usual output. |
| | |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` | | -e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:11739: $lt_compile\"" >&5) | | (eval echo "\"\$as_me:11662: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>out/conftest.err) | | (eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? | | ac_status=$? |
cat out/conftest.err >&5 | | cat out/conftest.err >&5 |
echo "$as_me:11743: \$? = $ac_status" >&5 | | echo "$as_me:11666: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext | | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then | | then |
# The compiler can only warn and ignore the option if not recognized | | # The compiler can only warn and ignore the option if not recognized |
| | |
esac | | esac |
;; | | ;; |
| | |
linux*) | | |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | | |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | |
supports_anon_versioning=no | | |
case `$LD -v 2>/dev/null` in | | |
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | | |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | | |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | | |
*\ 2.11.*) ;; # other 2.11 versions | | |
*) supports_anon_versioning=yes ;; | | |
esac | | |
if test $supports_anon_versioning = yes; then | | |
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ | | |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | | |
$echo "local: *; };" >> $output_objdir/$libname.ver~ | | |
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | | |
else | | |
$archive_expsym_cmds="$archive_cmds" | | |
fi | | |
else | | |
ld_shlibs=no | | |
fi | | |
;; | | |
| | |
*) | | *) |
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' |
;; | | ;; |
| | |
*) objformat=elf ;; | | *) objformat=elf ;; |
esac | | esac |
fi | | fi |
# Handle Gentoo/FreeBSD as it was Linux | | version_type=freebsd-$objformat |
case $host_vendor in | | |
gentoo) | | |
version_type=linux ;; | | |
*) | | |
version_type=freebsd-$objformat ;; | | |
esac | | |
| | |
case $version_type in | | case $version_type in |
freebsd-elf*) | | freebsd-elf*) |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| | |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
need_version=yes | | need_version=yes |
;; | | ;; |
linux) | | |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | |
soname_spec='${libname}${release}${shared_ext}$major' | | |
need_lib_prefix=no | | |
need_version=no | | |
;; | | |
esac | | esac |
shlibpath_var=LD_LIBRARY_PATH | | shlibpath_var=LD_LIBRARY_PATH |
case $host_os in | | case $host_os in |
| | |
# before this can be enabled. | | # before this can be enabled. |
hardcode_into_libs=yes | | hardcode_into_libs=yes |
| | |
| | # find out which ABI we are using |
| | libsuff= |
| | case "$host_cpu" in |
| | x86_64*|s390x*|powerpc64*) |
| | echo '#line 12198 "configure"' > conftest.$ac_ext |
| | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | (eval $ac_compile) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; then |
| | case `/usr/bin/file conftest.$ac_objext` in |
| | *64-bit*) |
| | libsuff=64 |
| | sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| | ;; |
| | esac |
| | fi |
| | rm -rf conftest* |
| | ;; |
| | esac |
| | |
# Append ld.so.conf contents to the search path | | # Append ld.so.conf contents to the search path |
if test -f /etc/ld.so.conf; then | | if test -f /etc/ld.so.conf; then |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` | | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | | sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
fi | | fi |
| | |
# We used to test for /lib/ld.so.1 and disable shared libraries on | | # We used to test for /lib/ld.so.1 and disable shared libraries on |
| | |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` | | -e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:13346: $lt_compile\"" >&5) | | (eval echo "\"\$as_me:13253: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) | | (eval "$lt_compile" 2>conftest.err) |
ac_status=$? | | ac_status=$? |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:13350: \$? = $ac_status" >&5 | | echo "$as_me:13257: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then | | if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized | | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. | | # So say no if there are warnings other than the usual output. |
| | |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` | | -e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:13450: $lt_compile\"" >&5) | | (eval echo "\"\$as_me:13357: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>out/conftest.err) | | (eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? | | ac_status=$? |
cat out/conftest.err >&5 | | cat out/conftest.err >&5 |
echo "$as_me:13454: \$? = $ac_status" >&5 | | echo "$as_me:13361: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext | | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then | | then |
# The compiler can only warn and ignore the option if not recognized | | # The compiler can only warn and ignore the option if not recognized |
| | |
esac | | esac |
;; | | ;; |
| | |
linux*) | | |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | | |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | |
supports_anon_versioning=no | | |
case `$LD -v 2>/dev/null` in | | |
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | | |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | | |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | | |
*\ 2.11.*) ;; # other 2.11 versions | | |
*) supports_anon_versioning=yes ;; | | |
esac | | |
if test $supports_anon_versioning = yes; then | | |
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ | | |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | | |
$echo "local: *; };" >> $output_objdir/$libname.ver~ | | |
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | | |
else | | |
$archive_expsym_cmds="$archive_cmds" | | |
fi | | |
else | | |
ld_shlibs=no | | |
fi | | |
;; | | |
| | |
*) | | *) |
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' |
;; | | ;; |
| | |
*) objformat=elf ;; | | *) objformat=elf ;; |
esac | | esac |
fi | | fi |
# Handle Gentoo/FreeBSD as it was Linux | | version_type=freebsd-$objformat |
case $host_vendor in | | |
gentoo) | | |
version_type=linux ;; | | |
*) | | |
version_type=freebsd-$objformat ;; | | |
esac | | |
| | |
case $version_type in | | case $version_type in |
freebsd-elf*) | | freebsd-elf*) |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| | |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
need_version=yes | | need_version=yes |
;; | | ;; |
linux) | | |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | |
soname_spec='${libname}${release}${shared_ext}$major' | | |
need_lib_prefix=no | | |
need_version=no | | |
;; | | |
esac | | esac |
shlibpath_var=LD_LIBRARY_PATH | | shlibpath_var=LD_LIBRARY_PATH |
case $host_os in | | case $host_os in |
| | |
# before this can be enabled. | | # before this can be enabled. |
hardcode_into_libs=yes | | hardcode_into_libs=yes |
| | |
| | # find out which ABI we are using |
| | libsuff= |
| | case "$host_cpu" in |
| | x86_64*|s390x*|powerpc64*) |
| | echo '#line 14806 "configure"' > conftest.$ac_ext |
| | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | (eval $ac_compile) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; then |
| | case `/usr/bin/file conftest.$ac_objext` in |
| | *64-bit*) |
| | libsuff=64 |
| | sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| | ;; |
| | esac |
| | fi |
| | rm -rf conftest* |
| | ;; |
| | esac |
| | |
# Append ld.so.conf contents to the search path | | # Append ld.so.conf contents to the search path |
if test -f /etc/ld.so.conf; then | | if test -f /etc/ld.so.conf; then |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` | | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | | sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
fi | | fi |
| | |
# We used to test for /lib/ld.so.1 and disable shared libraries on | | # We used to test for /lib/ld.so.1 and disable shared libraries on |
| | |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` | | -e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:15690: $lt_compile\"" >&5) | | (eval echo "\"\$as_me:15581: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) | | (eval "$lt_compile" 2>conftest.err) |
ac_status=$? | | ac_status=$? |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:15694: \$? = $ac_status" >&5 | | echo "$as_me:15585: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then | | if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized | | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. | | # So say no if there are warnings other than the usual output. |
| | |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` | | -e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:15958: $lt_compile\"" >&5) | | (eval echo "\"\$as_me:15849: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) | | (eval "$lt_compile" 2>conftest.err) |
ac_status=$? | | ac_status=$? |
cat conftest.err >&5 | | cat conftest.err >&5 |
echo "$as_me:15962: \$? = $ac_status" >&5 | | echo "$as_me:15853: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then | | if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized | | # The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. | | # So say no if there are warnings other than the usual output. |
| | |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` | | -e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:16062: $lt_compile\"" >&5) | | (eval echo "\"\$as_me:15953: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>out/conftest.err) | | (eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? | | ac_status=$? |
cat out/conftest.err >&5 | | cat out/conftest.err >&5 |
echo "$as_me:16066: \$? = $ac_status" >&5 | | echo "$as_me:15957: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext | | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then | | then |
# The compiler can only warn and ignore the option if not recognized | | # The compiler can only warn and ignore the option if not recognized |
| | |
esac | | esac |
;; | | ;; |
| | |
linux*) | | |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | | |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | | |
supports_anon_versioning=no | | |
case `$LD -v 2>/dev/null` in | | |
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | | |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | | |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | | |
*\ 2.11.*) ;; # other 2.11 versions | | |
*) supports_anon_versioning=yes ;; | | |
esac | | |
if test $supports_anon_versioning = yes; then | | |
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ | | |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | | |
$echo "local: *; };" >> $output_objdir/$libname.ver~ | | |
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | | |
else | | |
$archive_expsym_cmds="$archive_cmds" | | |
fi | | |
else | | |
ld_shlibs=no | | |
fi | | |
;; | | |
| | |
*) | | *) |
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' |
;; | | ;; |
| | |
*) objformat=elf ;; | | *) objformat=elf ;; |
esac | | esac |
fi | | fi |
# Handle Gentoo/FreeBSD as it was Linux | | version_type=freebsd-$objformat |
case $host_vendor in | | |
gentoo) | | |
version_type=linux ;; | | |
*) | | |
version_type=freebsd-$objformat ;; | | |
esac | | |
| | |
case $version_type in | | case $version_type in |
freebsd-elf*) | | freebsd-elf*) |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
| | |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
need_version=yes | | need_version=yes |
;; | | ;; |
linux) | | |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | | |
soname_spec='${libname}${release}${shared_ext}$major' | | |
need_lib_prefix=no | | |
need_version=no | | |
;; | | |
esac | | esac |
shlibpath_var=LD_LIBRARY_PATH | | shlibpath_var=LD_LIBRARY_PATH |
case $host_os in | | case $host_os in |
| | |
# before this can be enabled. | | # before this can be enabled. |
hardcode_into_libs=yes | | hardcode_into_libs=yes |
| | |
| | # find out which ABI we are using |
| | libsuff= |
| | case "$host_cpu" in |
| | x86_64*|s390x*|powerpc64*) |
| | echo '#line 17422 "configure"' > conftest.$ac_ext |
| | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | (eval $ac_compile) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; then |
| | case `/usr/bin/file conftest.$ac_objext` in |
| | *64-bit*) |
| | libsuff=64 |
| | sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| | ;; |
| | esac |
| | fi |
| | rm -rf conftest* |
| | ;; |
| | esac |
| | |
# Append ld.so.conf contents to the search path | | # Append ld.so.conf contents to the search path |
if test -f /etc/ld.so.conf; then | | if test -f /etc/ld.so.conf; then |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` | | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | | sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
fi | | fi |
| | |
# We used to test for /lib/ld.so.1 and disable shared libraries on | | # We used to test for /lib/ld.so.1 and disable shared libraries on |
| | |
/usr/openwin/share/include' | | /usr/openwin/share/include' |
| | |
if test "$ac_x_includes" = no; then | | if test "$ac_x_includes" = no; then |
# Guess where to find include files, by looking for Intrinsic.h. | | # Guess where to find include files, by looking for Xlib.h. |
# First, try using that file with no special directory specified. | | # First, try using that file with no special directory specified. |
cat >conftest.$ac_ext <<_ACEOF | | cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ | | /* confdefs.h. */ |
| | |
cat confdefs.h >>conftest.$ac_ext | | cat confdefs.h >>conftest.$ac_ext |
cat >>conftest.$ac_ext <<_ACEOF | | cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ | | /* end confdefs.h. */ |
#include <X11/Intrinsic.h> | | #include <X11/Xlib.h> |
_ACEOF | | _ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| | |
sed 's/^/| /' conftest.$ac_ext >&5 | | sed 's/^/| /' conftest.$ac_ext >&5 |
| | |
for ac_dir in $ac_x_header_dirs; do | | for ac_dir in $ac_x_header_dirs; do |
if test -r "$ac_dir/X11/Intrinsic.h"; then | | if test -r "$ac_dir/X11/Xlib.h"; then |
ac_x_includes=$ac_dir | | ac_x_includes=$ac_dir |
break | | break |
fi | | fi |
| | |
cat confdefs.h >>conftest.$ac_ext | | cat confdefs.h >>conftest.$ac_ext |
cat >>conftest.$ac_ext <<_ACEOF | | cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ | | /* end confdefs.h. */ |
#include <X11/Intrinsic.h> | | #include <X11/Xlib.h> |
int | | int |
main () | | main () |
{ | | { |
XtMalloc (0) | | XrmInitialize () |
; | | ; |
return 0; | | return 0; |
} | | } |
| | |
| | |
| | |
| | |
| | echo "$as_me:$LINENO: checking for compress in -lz" >&5 |
| | echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6 |
| | if test "${ac_cv_lib_z_compress+set}" = set; then |
| | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | else |
| | ac_check_lib_save_LIBS=$LIBS |
| | LIBS="-lz $LIBS" |
| | cat >conftest.$ac_ext <<_ACEOF |
| | /* confdefs.h. */ |
| | _ACEOF |
| | cat confdefs.h >>conftest.$ac_ext |
| | cat >>conftest.$ac_ext <<_ACEOF |
| | /* end confdefs.h. */ |
| | |
| | /* Override any gcc2 internal prototype to avoid an error. */ |
| | #ifdef __cplusplus |
| | extern "C" |
| | #endif |
| | /* We use char because int might match the return type of a gcc2 |
| | builtin and then its argument prototype would still apply. */ |
| | char compress (); |
| | int |
| | main () |
| | { |
| | compress (); |
| | ; |
| | return 0; |
| | } |
| | _ACEOF |
| | rm -f conftest.$ac_objext conftest$ac_exeext |
| | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| | (eval $ac_link) 2>conftest.er1 |
| | ac_status=$? |
| | grep -v '^ *+' conftest.er1 >conftest.err |
| | rm -f conftest.er1 |
| | cat conftest.err >&5 |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); } && |
| | { ac_try='test -z "$ac_c_werror_flag" |
| | || test ! -s conftest.err' |
| | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | (eval $ac_try) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; } && |
| | { ac_try='test -s conftest$ac_exeext' |
| | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | (eval $ac_try) 2>&5 |
| | ac_status=$? |
| | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | (exit $ac_status); }; }; then |
| | ac_cv_lib_z_compress=yes |
| | else |
| | echo "$as_me: failed program was:" >&5 |
| | sed 's/^/| /' conftest.$ac_ext >&5 |
| | |
| | ac_cv_lib_z_compress=no |
| | fi |
| | rm -f conftest.err conftest.$ac_objext \ |
| | conftest$ac_exeext conftest.$ac_ext |
| | LIBS=$ac_check_lib_save_LIBS |
| | fi |
| | echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5 |
| | echo "${ECHO_T}$ac_cv_lib_z_compress" >&6 |
| | if test $ac_cv_lib_z_compress = yes; then |
| | cat >>confdefs.h <<_ACEOF |
| | #define HAVE_LIBZ 1 |
| | _ACEOF |
| | |
| | LIBS="-lz $LIBS" |
| | |
| | fi |
| | |
| | |
| | |
if eval "test x$use_dmalloc = xyes"; then | | if eval "test x$use_dmalloc = xyes"; then |
| | |
echo "$as_me:$LINENO: checking for main in -ldmalloc" >&5 | | echo "$as_me:$LINENO: checking for main in -ldmalloc" >&5 |
| | |
| | |
| | |
| | |
for ac_header in fcntl.h limits.h malloc.h strings.h sys/file.h sys/ioctl.h sys/time.h time.h unistd.h stddef.h stdlib.h sys/ttycom.h sys/termios.h crypt.h arpa/inet.h des.h | | |
| | for ac_header in fcntl.h limits.h malloc.h strings.h sys/file.h sys/ioctl.h sys/time.h time.h unistd.h stddef.h stdlib.h sys/ttycom.h sys/termios.h crypt.h arpa/inet.h des.h zlib.h |
do | | do |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
if eval "test \"\${$as_ac_Header+set}\" = set"; then | | if eval "test \"\${$as_ac_Header+set}\" = set"; then |