mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
fix mkdir check.
git-svn-id: file:///svn/unbound/trunk@1119 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
afda1a8bcc
commit
39e4ba0e78
4 changed files with 6780 additions and 5797 deletions
447
aclocal.m4
vendored
447
aclocal.m4
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
|
# generated automatically by aclocal 1.10 -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||||
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
# 2005, 2006 Free Software Foundation, Inc.
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
||||||
|
|
||||||
# serial 51 AC_PROG_LIBTOOL
|
# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
|
||||||
|
|
||||||
|
|
||||||
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
|
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
|
||||||
|
|
@ -176,7 +176,7 @@ test -z "$STRIP" && STRIP=:
|
||||||
test -z "$ac_objext" && ac_objext=o
|
test -z "$ac_objext" && ac_objext=o
|
||||||
|
|
||||||
# Determine commands to create old-style static archives.
|
# Determine commands to create old-style static archives.
|
||||||
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
|
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
|
||||||
old_postinstall_cmds='chmod 644 $oldlib'
|
old_postinstall_cmds='chmod 644 $oldlib'
|
||||||
old_postuninstall_cmds=
|
old_postuninstall_cmds=
|
||||||
|
|
||||||
|
|
@ -263,9 +263,8 @@ cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
||||||
# Check for compiler boilerplate output or warnings with
|
# Check for compiler boilerplate output or warnings with
|
||||||
# the simple compiler test code.
|
# the simple compiler test code.
|
||||||
AC_DEFUN([_LT_COMPILER_BOILERPLATE],
|
AC_DEFUN([_LT_COMPILER_BOILERPLATE],
|
||||||
[AC_REQUIRE([LT_AC_PROG_SED])dnl
|
[ac_outfile=conftest.$ac_objext
|
||||||
ac_outfile=conftest.$ac_objext
|
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
|
||||||
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
|
|
||||||
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
||||||
_lt_compiler_boilerplate=`cat conftest.err`
|
_lt_compiler_boilerplate=`cat conftest.err`
|
||||||
$rm conftest*
|
$rm conftest*
|
||||||
|
|
@ -277,9 +276,8 @@ $rm conftest*
|
||||||
# Check for linker boilerplate output or warnings with
|
# Check for linker boilerplate output or warnings with
|
||||||
# the simple link test code.
|
# the simple link test code.
|
||||||
AC_DEFUN([_LT_LINKER_BOILERPLATE],
|
AC_DEFUN([_LT_LINKER_BOILERPLATE],
|
||||||
[AC_REQUIRE([LT_AC_PROG_SED])dnl
|
[ac_outfile=conftest.$ac_objext
|
||||||
ac_outfile=conftest.$ac_objext
|
printf "$lt_simple_link_test_code" >conftest.$ac_ext
|
||||||
echo "$lt_simple_link_test_code" >conftest.$ac_ext
|
|
||||||
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
||||||
_lt_linker_boilerplate=`cat conftest.err`
|
_lt_linker_boilerplate=`cat conftest.err`
|
||||||
$rm conftest*
|
$rm conftest*
|
||||||
|
|
@ -295,20 +293,12 @@ $rm conftest*
|
||||||
# If we don't find anything, use the default library path according
|
# If we don't find anything, use the default library path according
|
||||||
# to the aix ld manual.
|
# to the aix ld manual.
|
||||||
AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
|
AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
|
||||||
[AC_REQUIRE([LT_AC_PROG_SED])dnl
|
[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
|
||||||
AC_LINK_IFELSE(AC_LANG_PROGRAM,[
|
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||||
lt_aix_libpath_sed='
|
}'`
|
||||||
/Import File Strings/,/^$/ {
|
|
||||||
/^0/ {
|
|
||||||
s/^0 *\(.*\)$/\1/
|
|
||||||
p
|
|
||||||
}
|
|
||||||
}'
|
|
||||||
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -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 "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||||
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
}'`; fi],[])
|
||||||
fi],[])
|
|
||||||
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||||
])# _LT_AC_SYS_LIBPATH_AIX
|
])# _LT_AC_SYS_LIBPATH_AIX
|
||||||
|
|
||||||
|
|
@ -539,17 +529,13 @@ ia64-*-hpux*)
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
;;
|
;;
|
||||||
|
|
||||||
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
|
||||||
s390*-*linux*|sparc*-*linux*)
|
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo 'int i;' > conftest.$ac_ext
|
echo 'int i;' > conftest.$ac_ext
|
||||||
if AC_TRY_EVAL(ac_compile); then
|
if AC_TRY_EVAL(ac_compile); then
|
||||||
case `/usr/bin/file conftest.o` in
|
case `/usr/bin/file conftest.o` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
case $host in
|
case $host in
|
||||||
x86_64-*kfreebsd*-gnu)
|
|
||||||
LD="${LD-ld} -m elf_i386_fbsd"
|
|
||||||
;;
|
|
||||||
x86_64-*linux*)
|
x86_64-*linux*)
|
||||||
LD="${LD-ld} -m elf_i386"
|
LD="${LD-ld} -m elf_i386"
|
||||||
;;
|
;;
|
||||||
|
|
@ -565,11 +551,7 @@ s390*-*linux*|sparc*-*linux*)
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
*64-bit*)
|
*64-bit*)
|
||||||
libsuff=64
|
|
||||||
case $host in
|
case $host in
|
||||||
x86_64-*kfreebsd*-gnu)
|
|
||||||
LD="${LD-ld} -m elf_x86_64_fbsd"
|
|
||||||
;;
|
|
||||||
x86_64-*linux*)
|
x86_64-*linux*)
|
||||||
LD="${LD-ld} -m elf_x86_64"
|
LD="${LD-ld} -m elf_x86_64"
|
||||||
;;
|
;;
|
||||||
|
|
@ -641,7 +623,7 @@ AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
|
||||||
AC_CACHE_CHECK([$1], [$2],
|
AC_CACHE_CHECK([$1], [$2],
|
||||||
[$2=no
|
[$2=no
|
||||||
ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
|
ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
|
||||||
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
||||||
lt_compiler_flag="$3"
|
lt_compiler_flag="$3"
|
||||||
# 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.
|
||||||
|
|
@ -682,12 +664,11 @@ fi
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
# Check whether the given compiler option works
|
# Check whether the given compiler option works
|
||||||
AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
|
AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
|
||||||
[AC_REQUIRE([LT_AC_PROG_SED])dnl
|
[AC_CACHE_CHECK([$1], [$2],
|
||||||
AC_CACHE_CHECK([$1], [$2],
|
|
||||||
[$2=no
|
[$2=no
|
||||||
save_LDFLAGS="$LDFLAGS"
|
save_LDFLAGS="$LDFLAGS"
|
||||||
LDFLAGS="$LDFLAGS $3"
|
LDFLAGS="$LDFLAGS $3"
|
||||||
echo "$lt_simple_link_test_code" > conftest.$ac_ext
|
printf "$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
|
||||||
|
|
@ -801,11 +782,9 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
|
# If test is not a shell built-in, we'll probably end up computing a
|
||||||
if test -n "$lt_cv_sys_max_cmd_len"; then
|
# maximum length that is only half of the actual maximum length, but
|
||||||
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
|
# we can't tell.
|
||||||
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
|
|
||||||
else
|
|
||||||
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
|
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
|
||||||
while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
|
while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
|
||||||
= "XX$teststring") >/dev/null 2>&1 &&
|
= "XX$teststring") >/dev/null 2>&1 &&
|
||||||
|
|
@ -821,7 +800,6 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
||||||
# amounts of additional arguments before passing them to the linker.
|
# amounts of additional arguments before passing them to the linker.
|
||||||
# It appears as though 1/2 is a usable value.
|
# It appears as though 1/2 is a usable value.
|
||||||
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
])
|
])
|
||||||
|
|
@ -1048,8 +1026,7 @@ fi
|
||||||
# ---------------------------------
|
# ---------------------------------
|
||||||
# Check to see if options -c and -o are simultaneously supported by compiler
|
# Check to see if options -c and -o are simultaneously supported by compiler
|
||||||
AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
|
AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
|
||||||
[AC_REQUIRE([LT_AC_PROG_SED])dnl
|
[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
|
||||||
AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
|
|
||||||
AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
|
AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
|
||||||
[_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
|
[_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
|
||||||
[_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
|
[_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
|
||||||
|
|
@ -1057,7 +1034,7 @@ AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
|
||||||
mkdir conftest
|
mkdir conftest
|
||||||
cd conftest
|
cd conftest
|
||||||
mkdir out
|
mkdir out
|
||||||
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
||||||
|
|
||||||
lt_compiler_flag="-o out/conftest2.$ac_objext"
|
lt_compiler_flag="-o out/conftest2.$ac_objext"
|
||||||
# Insert the option either (1) after the last *FLAGS variable, or
|
# Insert the option either (1) after the last *FLAGS variable, or
|
||||||
|
|
@ -1197,7 +1174,6 @@ else
|
||||||
darwin*)
|
darwin*)
|
||||||
if test -n "$STRIP" ; then
|
if test -n "$STRIP" ; then
|
||||||
striplib="$STRIP -x"
|
striplib="$STRIP -x"
|
||||||
old_striplib="$STRIP -S"
|
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
|
|
@ -1215,8 +1191,7 @@ fi
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# PORTME Fill in your ld.so characteristics
|
# PORTME Fill in your ld.so characteristics
|
||||||
AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
|
AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
|
||||||
[AC_REQUIRE([LT_AC_PROG_SED])dnl
|
[AC_MSG_CHECKING([dynamic linker characteristics])
|
||||||
AC_MSG_CHECKING([dynamic linker characteristics])
|
|
||||||
library_names_spec=
|
library_names_spec=
|
||||||
libname_spec='lib$name'
|
libname_spec='lib$name'
|
||||||
soname_spec=
|
soname_spec=
|
||||||
|
|
@ -1230,58 +1205,20 @@ shlibpath_overrides_runpath=unknown
|
||||||
version_type=none
|
version_type=none
|
||||||
dynamic_linker="$host_os ld.so"
|
dynamic_linker="$host_os ld.so"
|
||||||
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
||||||
m4_if($1,[],[
|
|
||||||
if test "$GCC" = yes; then
|
if test "$GCC" = yes; then
|
||||||
case $host_os in
|
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
||||||
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
|
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
|
||||||
*) lt_awk_arg="/^libraries:/" ;;
|
|
||||||
esac
|
|
||||||
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
|
||||||
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
|
|
||||||
# if the path contains ";" then we assume it to be the separator
|
# if the path contains ";" then we assume it to be the separator
|
||||||
# otherwise default to the standard path separator (i.e. ":") - it is
|
# otherwise default to the standard path separator (i.e. ":") - it is
|
||||||
# assumed that no part of a normal pathname contains ";" but that should
|
# assumed that no part of a normal pathname contains ";" but that should
|
||||||
# okay in the real world where ";" in dirpaths is itself problematic.
|
# okay in the real world where ";" in dirpaths is itself problematic.
|
||||||
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
|
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
||||||
else
|
else
|
||||||
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
||||||
fi
|
fi
|
||||||
# Ok, now we have the path, separated by spaces, we can step through it
|
|
||||||
# and add multilib dir if necessary.
|
|
||||||
lt_tmp_lt_search_path_spec=
|
|
||||||
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
|
|
||||||
for lt_sys_path in $lt_search_path_spec; do
|
|
||||||
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
|
|
||||||
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
|
|
||||||
else
|
|
||||||
test -d "$lt_sys_path" && \
|
|
||||||
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
|
|
||||||
BEGIN {RS=" "; FS="/|\n";} {
|
|
||||||
lt_foo="";
|
|
||||||
lt_count=0;
|
|
||||||
for (lt_i = NF; lt_i > 0; lt_i--) {
|
|
||||||
if ($lt_i != "" && $lt_i != ".") {
|
|
||||||
if ($lt_i == "..") {
|
|
||||||
lt_count++;
|
|
||||||
} else {
|
|
||||||
if (lt_count == 0) {
|
|
||||||
lt_foo="/" $lt_i lt_foo;
|
|
||||||
} else {
|
|
||||||
lt_count--;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (lt_foo != "") { lt_freq[[lt_foo]]++; }
|
|
||||||
if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
|
|
||||||
}'`
|
|
||||||
sys_lib_search_path_spec=`echo $lt_search_path_spec`
|
|
||||||
else
|
else
|
||||||
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
||||||
fi])
|
fi
|
||||||
need_lib_prefix=unknown
|
need_lib_prefix=unknown
|
||||||
hardcode_into_libs=no
|
hardcode_into_libs=no
|
||||||
|
|
||||||
|
|
@ -1438,8 +1375,12 @@ darwin* | rhapsody*)
|
||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=yes
|
||||||
shlibpath_var=DYLD_LIBRARY_PATH
|
shlibpath_var=DYLD_LIBRARY_PATH
|
||||||
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
||||||
m4_if([$1], [],[
|
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
|
||||||
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
|
if test "$GCC" = yes; then
|
||||||
|
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
|
||||||
|
else
|
||||||
|
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
|
||||||
|
fi
|
||||||
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
@ -1493,7 +1434,7 @@ freebsd* | dragonfly*)
|
||||||
shlibpath_overrides_runpath=no
|
shlibpath_overrides_runpath=no
|
||||||
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
||||||
;;
|
;;
|
||||||
*) # from 4.6 on, and DragonFly
|
freebsd*) # from 4.6 on
|
||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=yes
|
||||||
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
||||||
;;
|
;;
|
||||||
|
|
@ -1556,7 +1497,7 @@ hpux9* | hpux10* | hpux11*)
|
||||||
postinstall_cmds='chmod 555 $lib'
|
postinstall_cmds='chmod 555 $lib'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
interix[[3-9]]*)
|
interix3*)
|
||||||
version_type=linux
|
version_type=linux
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
|
|
@ -1624,13 +1565,11 @@ linux* | k*bsd*-gnu)
|
||||||
# Some rework will be needed to allow for fast_install
|
# Some rework will be needed to allow for fast_install
|
||||||
# before this can be enabled.
|
# before this can be enabled.
|
||||||
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
||||||
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
|
||||||
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
|
||||||
|
|
||||||
# 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>/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;/^$/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="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $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
|
||||||
|
|
@ -1642,6 +1581,18 @@ linux* | k*bsd*-gnu)
|
||||||
dynamic_linker='GNU/Linux ld.so'
|
dynamic_linker='GNU/Linux ld.so'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
netbsdelf*-gnu)
|
||||||
|
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=no
|
||||||
|
hardcode_into_libs=yes
|
||||||
|
dynamic_linker='NetBSD ld.elf_so'
|
||||||
|
;;
|
||||||
|
|
||||||
netbsd*)
|
netbsd*)
|
||||||
version_type=sunos
|
version_type=sunos
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
|
|
@ -1723,10 +1674,6 @@ osf3* | osf4* | osf5*)
|
||||||
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
rdos*)
|
|
||||||
dynamic_linker=no
|
|
||||||
;;
|
|
||||||
|
|
||||||
solaris*)
|
solaris*)
|
||||||
version_type=linux
|
version_type=linux
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
|
|
@ -1832,8 +1779,7 @@ fi
|
||||||
# _LT_AC_TAGCONFIG
|
# _LT_AC_TAGCONFIG
|
||||||
# ----------------
|
# ----------------
|
||||||
AC_DEFUN([_LT_AC_TAGCONFIG],
|
AC_DEFUN([_LT_AC_TAGCONFIG],
|
||||||
[AC_REQUIRE([LT_AC_PROG_SED])dnl
|
[AC_ARG_WITH([tags],
|
||||||
AC_ARG_WITH([tags],
|
|
||||||
[AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
|
[AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
|
||||||
[include additional configurations @<:@automatic@:>@])],
|
[include additional configurations @<:@automatic@:>@])],
|
||||||
[tagnames="$withval"])
|
[tagnames="$withval"])
|
||||||
|
|
@ -2094,7 +2040,7 @@ m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
|
||||||
|
|
||||||
# AC_PATH_TOOL_PREFIX
|
# AC_PATH_TOOL_PREFIX
|
||||||
# -------------------
|
# -------------------
|
||||||
# find a file program which can recognize shared library
|
# find a file program which can recognise shared library
|
||||||
AC_DEFUN([AC_PATH_TOOL_PREFIX],
|
AC_DEFUN([AC_PATH_TOOL_PREFIX],
|
||||||
[AC_REQUIRE([AC_PROG_EGREP])dnl
|
[AC_REQUIRE([AC_PROG_EGREP])dnl
|
||||||
AC_MSG_CHECKING([for $1])
|
AC_MSG_CHECKING([for $1])
|
||||||
|
|
@ -2157,7 +2103,7 @@ fi
|
||||||
|
|
||||||
# AC_PATH_MAGIC
|
# AC_PATH_MAGIC
|
||||||
# -------------
|
# -------------
|
||||||
# find a file program which can recognize a shared library
|
# find a file program which can recognise a shared library
|
||||||
AC_DEFUN([AC_PATH_MAGIC],
|
AC_DEFUN([AC_PATH_MAGIC],
|
||||||
[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
|
[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
|
||||||
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
||||||
|
|
@ -2304,7 +2250,7 @@ esac
|
||||||
# how to check for library dependencies
|
# how to check for library dependencies
|
||||||
# -- PORTME fill in with the dynamic library characteristics
|
# -- PORTME fill in with the dynamic library characteristics
|
||||||
AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
|
AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
|
||||||
[AC_CACHE_CHECK([how to recognize dependent libraries],
|
[AC_CACHE_CHECK([how to recognise dependent libraries],
|
||||||
lt_cv_deplibs_check_method,
|
lt_cv_deplibs_check_method,
|
||||||
[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=
|
||||||
|
|
@ -2343,15 +2289,9 @@ cygwin*)
|
||||||
|
|
||||||
mingw* | pw32*)
|
mingw* | pw32*)
|
||||||
# Base MSYS/MinGW do not provide the 'file' command needed by
|
# Base MSYS/MinGW do not provide the 'file' command needed by
|
||||||
# func_win32_libid shell function, so use a weaker test based on 'objdump',
|
# func_win32_libid shell function, so use a weaker test based on 'objdump'.
|
||||||
# unless we find 'file', for example because we are cross-compiling.
|
|
||||||
if ( file / ) >/dev/null 2>&1; then
|
|
||||||
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
|
||||||
lt_cv_file_magic_cmd='func_win32_libid'
|
|
||||||
else
|
|
||||||
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
|
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
|
||||||
lt_cv_file_magic_cmd='$OBJDUMP -f'
|
lt_cv_file_magic_cmd='$OBJDUMP -f'
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
darwin* | rhapsody*)
|
darwin* | rhapsody*)
|
||||||
|
|
@ -2396,7 +2336,7 @@ hpux10.20* | hpux11*)
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
interix[[3-9]]*)
|
interix3*)
|
||||||
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
|
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
|
||||||
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
|
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
|
||||||
;;
|
;;
|
||||||
|
|
@ -2416,7 +2356,7 @@ linux* | k*bsd*-gnu)
|
||||||
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
|
|
||||||
netbsd*)
|
netbsd* | netbsdelf*-gnu)
|
||||||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
||||||
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
|
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
|
||||||
else
|
else
|
||||||
|
|
@ -2446,10 +2386,6 @@ osf3* | osf4* | osf5*)
|
||||||
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
|
|
||||||
rdos*)
|
|
||||||
lt_cv_deplibs_check_method=pass_all
|
|
||||||
;;
|
|
||||||
|
|
||||||
solaris*)
|
solaris*)
|
||||||
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
|
|
@ -2718,10 +2654,10 @@ objext=o
|
||||||
_LT_AC_TAGVAR(objext, $1)=$objext
|
_LT_AC_TAGVAR(objext, $1)=$objext
|
||||||
|
|
||||||
# Code to be used in simple compile tests
|
# Code to be used in simple compile tests
|
||||||
lt_simple_compile_test_code="int some_variable = 0;"
|
lt_simple_compile_test_code="int some_variable = 0;\n"
|
||||||
|
|
||||||
# Code to be used in simple link tests
|
# Code to be used in simple link tests
|
||||||
lt_simple_link_test_code='int main(){return(0);}'
|
lt_simple_link_test_code='int main(){return(0);}\n'
|
||||||
|
|
||||||
_LT_AC_SYS_COMPILER
|
_LT_AC_SYS_COMPILER
|
||||||
|
|
||||||
|
|
@ -2823,10 +2759,10 @@ objext=o
|
||||||
_LT_AC_TAGVAR(objext, $1)=$objext
|
_LT_AC_TAGVAR(objext, $1)=$objext
|
||||||
|
|
||||||
# Code to be used in simple compile tests
|
# Code to be used in simple compile tests
|
||||||
lt_simple_compile_test_code="int some_variable = 0;"
|
lt_simple_compile_test_code="int some_variable = 0;\n"
|
||||||
|
|
||||||
# Code to be used in simple link tests
|
# Code to be used in simple link tests
|
||||||
lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
|
lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
|
||||||
|
|
||||||
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
|
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
|
||||||
_LT_AC_SYS_COMPILER
|
_LT_AC_SYS_COMPILER
|
||||||
|
|
@ -2972,7 +2908,7 @@ case $host_os in
|
||||||
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
||||||
then
|
then
|
||||||
# We have reworked collect2
|
# We have reworked collect2
|
||||||
:
|
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
||||||
else
|
else
|
||||||
# We have old collect2
|
# We have old collect2
|
||||||
_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
|
_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
|
||||||
|
|
@ -3131,10 +3067,10 @@ case $host_os in
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
xlc*)
|
xlc*)
|
||||||
output_verbose_link_cmd='echo'
|
output_verbose_link_cmd='echo'
|
||||||
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
|
||||||
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
||||||
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
|
||||||
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
||||||
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
@ -3217,7 +3153,9 @@ case $host_os in
|
||||||
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
||||||
|
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
hppa*64*|ia64*) ;;
|
hppa*64*|ia64*)
|
||||||
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
|
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
|
||||||
;;
|
;;
|
||||||
|
|
@ -3285,7 +3223,7 @@ case $host_os in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
interix[[3-9]]*)
|
interix3*)
|
||||||
_LT_AC_TAGVAR(hardcode_direct, $1)=no
|
_LT_AC_TAGVAR(hardcode_direct, $1)=no
|
||||||
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||||
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
||||||
|
|
@ -3405,29 +3343,6 @@ case $host_os in
|
||||||
# dependencies.
|
# dependencies.
|
||||||
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
|
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
|
||||||
;;
|
;;
|
||||||
*)
|
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
|
||||||
*Sun\ C*)
|
|
||||||
# Sun C++ 5.9
|
|
||||||
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
|
|
||||||
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
|
||||||
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
|
|
||||||
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
|
|
||||||
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
|
|
||||||
|
|
||||||
# Not sure whether something based on
|
|
||||||
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
|
|
||||||
# would be better.
|
|
||||||
output_verbose_link_cmd='echo'
|
|
||||||
|
|
||||||
# Archives containing C++ object files must be created using
|
|
||||||
# "CC -xar", where "CC" is the Sun C++ compiler. This is
|
|
||||||
# necessary to make sure instantiated templates are included
|
|
||||||
# in the archive.
|
|
||||||
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
lynxos*)
|
lynxos*)
|
||||||
|
|
@ -3450,7 +3365,7 @@ case $host_os in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
netbsd*)
|
netbsd* | netbsdelf*-gnu)
|
||||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||||
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
|
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
|
||||||
wlarc=
|
wlarc=
|
||||||
|
|
@ -3466,7 +3381,6 @@ case $host_os in
|
||||||
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
||||||
;;
|
;;
|
||||||
openbsd*)
|
openbsd*)
|
||||||
if test -f /usr/libexec/ld.so; then
|
|
||||||
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
||||||
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||||
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
||||||
|
|
@ -3477,9 +3391,6 @@ case $host_os in
|
||||||
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
||||||
fi
|
fi
|
||||||
output_verbose_link_cmd='echo'
|
output_verbose_link_cmd='echo'
|
||||||
else
|
|
||||||
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
osf3*)
|
osf3*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
|
|
@ -3641,10 +3552,15 @@ case $host_os in
|
||||||
case $host_os in
|
case $host_os in
|
||||||
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
|
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
|
||||||
*)
|
*)
|
||||||
# The compiler driver will combine and reorder linker options,
|
# The C++ compiler is used as linker so we must use $wl
|
||||||
# but understands `-z linker_flag'.
|
# flag to pass the commands to the underlying system
|
||||||
|
# linker. We must also pass each convience library through
|
||||||
|
# to the system linker between allextract/defaultextract.
|
||||||
|
# The C++ compiler will combine linker options so we
|
||||||
|
# cannot just pass the convience library names through
|
||||||
|
# without $wl.
|
||||||
# Supported since Solaris 2.6 (maybe 2.5.1?)
|
# Supported since Solaris 2.6 (maybe 2.5.1?)
|
||||||
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
|
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
|
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
|
||||||
|
|
@ -3691,12 +3607,6 @@ case $host_os in
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
|
||||||
case $host_os in
|
|
||||||
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
|
|
||||||
*)
|
|
||||||
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
@ -3940,7 +3850,7 @@ $rm -f confest.$objext
|
||||||
# PORTME: override above test on systems where it is broken
|
# PORTME: override above test on systems where it is broken
|
||||||
ifelse([$1],[CXX],
|
ifelse([$1],[CXX],
|
||||||
[case $host_os in
|
[case $host_os in
|
||||||
interix[[3-9]]*)
|
interix3*)
|
||||||
# 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.
|
||||||
_LT_AC_TAGVAR(predep_objects,$1)=
|
_LT_AC_TAGVAR(predep_objects,$1)=
|
||||||
|
|
@ -3948,46 +3858,13 @@ interix[[3-9]]*)
|
||||||
_LT_AC_TAGVAR(postdeps,$1)=
|
_LT_AC_TAGVAR(postdeps,$1)=
|
||||||
;;
|
;;
|
||||||
|
|
||||||
linux*)
|
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
|
||||||
*Sun\ C*)
|
|
||||||
# Sun C++ 5.9
|
|
||||||
#
|
|
||||||
# The more standards-conforming stlport4 library is
|
|
||||||
# incompatible with the Cstd library. Avoid specifying
|
|
||||||
# it if it's in CXXFLAGS. Ignore libCrun as
|
|
||||||
# -library=stlport4 depends on it.
|
|
||||||
case " $CXX $CXXFLAGS " in
|
|
||||||
*" -library=stlport4 "*)
|
|
||||||
solaris_use_stlport4=yes
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
if test "$solaris_use_stlport4" != yes; then
|
|
||||||
_LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
|
|
||||||
solaris*)
|
solaris*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
CC*)
|
CC*)
|
||||||
# The more standards-conforming stlport4 library is
|
|
||||||
# incompatible with the Cstd library. Avoid specifying
|
|
||||||
# it if it's in CXXFLAGS. Ignore libCrun as
|
|
||||||
# -library=stlport4 depends on it.
|
|
||||||
case " $CXX $CXXFLAGS " in
|
|
||||||
*" -library=stlport4 "*)
|
|
||||||
solaris_use_stlport4=yes
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Adding this requires a known-good setup of shared libraries for
|
# Adding this requires a known-good setup of shared libraries for
|
||||||
# Sun compiler versions before 5.6, else PIC objects from an old
|
# Sun compiler versions before 5.6, else PIC objects from an old
|
||||||
# archive will be linked into the output, leading to subtle bugs.
|
# archive will be linked into the output, leading to subtle bugs.
|
||||||
if test "$solaris_use_stlport4" != yes; then
|
_LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
|
||||||
_LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
@ -4036,17 +3913,10 @@ objext=o
|
||||||
_LT_AC_TAGVAR(objext, $1)=$objext
|
_LT_AC_TAGVAR(objext, $1)=$objext
|
||||||
|
|
||||||
# Code to be used in simple compile tests
|
# Code to be used in simple compile tests
|
||||||
lt_simple_compile_test_code="\
|
lt_simple_compile_test_code=" subroutine t\n return\n end\n"
|
||||||
subroutine t
|
|
||||||
return
|
|
||||||
end
|
|
||||||
"
|
|
||||||
|
|
||||||
# Code to be used in simple link tests
|
# Code to be used in simple link tests
|
||||||
lt_simple_link_test_code="\
|
lt_simple_link_test_code=" program t\n end\n"
|
||||||
program t
|
|
||||||
end
|
|
||||||
"
|
|
||||||
|
|
||||||
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
|
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
|
||||||
_LT_AC_SYS_COMPILER
|
_LT_AC_SYS_COMPILER
|
||||||
|
|
@ -4125,10 +3995,10 @@ objext=o
|
||||||
_LT_AC_TAGVAR(objext, $1)=$objext
|
_LT_AC_TAGVAR(objext, $1)=$objext
|
||||||
|
|
||||||
# Code to be used in simple compile tests
|
# Code to be used in simple compile tests
|
||||||
lt_simple_compile_test_code="class foo {}"
|
lt_simple_compile_test_code="class foo {}\n"
|
||||||
|
|
||||||
# Code to be used in simple link tests
|
# Code to be used in simple link tests
|
||||||
lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
|
lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
|
||||||
|
|
||||||
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
|
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
|
||||||
_LT_AC_SYS_COMPILER
|
_LT_AC_SYS_COMPILER
|
||||||
|
|
@ -4181,7 +4051,7 @@ objext=o
|
||||||
_LT_AC_TAGVAR(objext, $1)=$objext
|
_LT_AC_TAGVAR(objext, $1)=$objext
|
||||||
|
|
||||||
# Code to be used in simple compile tests
|
# Code to be used in simple compile tests
|
||||||
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
|
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
|
||||||
|
|
||||||
# Code to be used in simple link tests
|
# Code to be used in simple link tests
|
||||||
lt_simple_link_test_code="$lt_simple_compile_test_code"
|
lt_simple_link_test_code="$lt_simple_compile_test_code"
|
||||||
|
|
@ -4270,7 +4140,6 @@ if test -f "$ltmain"; then
|
||||||
_LT_AC_TAGVAR(module_cmds, $1) \
|
_LT_AC_TAGVAR(module_cmds, $1) \
|
||||||
_LT_AC_TAGVAR(module_expsym_cmds, $1) \
|
_LT_AC_TAGVAR(module_expsym_cmds, $1) \
|
||||||
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
|
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
|
||||||
_LT_AC_TAGVAR(fix_srcfile_path, $1) \
|
|
||||||
_LT_AC_TAGVAR(exclude_expsyms, $1) \
|
_LT_AC_TAGVAR(exclude_expsyms, $1) \
|
||||||
_LT_AC_TAGVAR(include_expsyms, $1); do
|
_LT_AC_TAGVAR(include_expsyms, $1); do
|
||||||
|
|
||||||
|
|
@ -4317,7 +4186,7 @@ ifelse([$1], [],
|
||||||
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
|
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
|
||||||
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
||||||
#
|
#
|
||||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of GNU Libtool:
|
# This file is part of GNU Libtool:
|
||||||
|
|
@ -4642,7 +4511,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
||||||
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
||||||
|
|
||||||
# Fix the shell variable \$srcfile for the compiler.
|
# Fix the shell variable \$srcfile for the compiler.
|
||||||
fix_srcfile_path=$lt_fix_srcfile_path
|
fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
|
||||||
|
|
||||||
# Set to yes if exported symbols are required.
|
# Set to yes if exported symbols are required.
|
||||||
always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
|
always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
|
||||||
|
|
@ -4725,7 +4594,6 @@ fi
|
||||||
# ---------------------------------
|
# ---------------------------------
|
||||||
AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
|
AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
|
||||||
[AC_REQUIRE([AC_CANONICAL_HOST])
|
[AC_REQUIRE([AC_CANONICAL_HOST])
|
||||||
AC_REQUIRE([LT_AC_PROG_SED])
|
|
||||||
AC_REQUIRE([AC_PROG_NM])
|
AC_REQUIRE([AC_PROG_NM])
|
||||||
AC_REQUIRE([AC_OBJEXT])
|
AC_REQUIRE([AC_OBJEXT])
|
||||||
# Check for command to grab the raw symbol name followed by C symbol from nm.
|
# Check for command to grab the raw symbol name followed by C symbol from nm.
|
||||||
|
|
@ -4952,14 +4820,12 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
||||||
# like `-m68040'.
|
# like `-m68040'.
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
||||||
;;
|
;;
|
||||||
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||||
# PIC is the default for these OSes.
|
# PIC is the default for these OSes.
|
||||||
;;
|
;;
|
||||||
mingw* | cygwin* | os2* | pw32*)
|
mingw* | os2* | pw32*)
|
||||||
# This hack is so that the source file can tell whether it is being
|
# 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 example).
|
# built for inclusion in a dll (and should export symbols for example).
|
||||||
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
||||||
# (--disable-auto-import) libraries
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
|
||||||
;;
|
;;
|
||||||
darwin* | rhapsody*)
|
darwin* | rhapsody*)
|
||||||
|
|
@ -4971,7 +4837,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
||||||
# DJGPP does not support shared libraries at all
|
# DJGPP does not support shared libraries at all
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
|
||||||
;;
|
;;
|
||||||
interix[[3-9]]*)
|
interix3*)
|
||||||
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
||||||
# Instead, we relocate shared libraries at runtime.
|
# Instead, we relocate shared libraries at runtime.
|
||||||
;;
|
;;
|
||||||
|
|
@ -5107,14 +4973,6 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
|
||||||
*Sun\ C*)
|
|
||||||
# Sun C++ 5.9
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
@ -5131,7 +4989,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
netbsd*)
|
netbsd* | netbsdelf*-gnu)
|
||||||
;;
|
;;
|
||||||
osf3* | osf4* | osf5*)
|
osf3* | osf4* | osf5*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
|
|
@ -5235,15 +5093,13 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
||||||
# PIC is the default for these OSes.
|
# PIC is the default for these OSes.
|
||||||
;;
|
;;
|
||||||
|
|
||||||
mingw* | cygwin* | pw32* | os2*)
|
mingw* | pw32* | os2*)
|
||||||
# This hack is so that the source file can tell whether it is being
|
# 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 example).
|
# built for inclusion in a dll (and should export symbols for example).
|
||||||
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
||||||
# (--disable-auto-import) libraries
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
@ -5253,7 +5109,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
interix[[3-9]]*)
|
interix3*)
|
||||||
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
||||||
# Instead, we relocate shared libraries at runtime.
|
# Instead, we relocate shared libraries at runtime.
|
||||||
;;
|
;;
|
||||||
|
|
@ -5311,7 +5167,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
mingw* | cygwin* | pw32* | os2*)
|
mingw* | pw32* | os2*)
|
||||||
# This hack is so that the source file can tell whether it is being
|
# 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 example).
|
# built for inclusion in a dll (and should export symbols for example).
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
|
||||||
|
|
@ -5363,22 +5219,6 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
||||||
# All Alpha code is PIC.
|
# All Alpha code is PIC.
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
||||||
;;
|
;;
|
||||||
*)
|
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
|
||||||
*Sun\ C*)
|
|
||||||
# Sun C 5.9
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
|
||||||
;;
|
|
||||||
*Sun\ F*)
|
|
||||||
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
@ -5388,10 +5228,6 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
rdos*)
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
|
||||||
;;
|
|
||||||
|
|
||||||
solaris*)
|
solaris*)
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
||||||
|
|
@ -5486,8 +5322,7 @@ AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
|
||||||
# ------------------------------------
|
# ------------------------------------
|
||||||
# See if the linker supports building shared libraries.
|
# See if the linker supports building shared libraries.
|
||||||
AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
|
AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
|
||||||
[AC_REQUIRE([LT_AC_PROG_SED])dnl
|
[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
|
||||||
AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
|
|
||||||
ifelse([$1],[CXX],[
|
ifelse([$1],[CXX],[
|
||||||
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
||||||
case $host_os in
|
case $host_os in
|
||||||
|
|
@ -5504,7 +5339,10 @@ ifelse([$1],[CXX],[
|
||||||
_LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
|
_LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
|
||||||
;;
|
;;
|
||||||
cygwin* | mingw*)
|
cygwin* | mingw*)
|
||||||
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
|
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
|
||||||
|
;;
|
||||||
|
linux* | k*bsd*-gnu)
|
||||||
|
_LT_AC_TAGVAR(link_all_deplibs, $1)=no
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
||||||
|
|
@ -5643,7 +5481,7 @@ EOF
|
||||||
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
|
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
|
||||||
_LT_AC_TAGVAR(always_export_symbols, $1)=no
|
_LT_AC_TAGVAR(always_export_symbols, $1)=no
|
||||||
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
||||||
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
|
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
|
||||||
|
|
||||||
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
||||||
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
||||||
|
|
@ -5661,7 +5499,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
interix[[3-9]]*)
|
interix3*)
|
||||||
_LT_AC_TAGVAR(hardcode_direct, $1)=no
|
_LT_AC_TAGVAR(hardcode_direct, $1)=no
|
||||||
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||||
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
||||||
|
|
@ -5676,7 +5514,7 @@ EOF
|
||||||
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
gnu* | linux* | k*bsd*-gnu)
|
linux* | k*bsd*-gnu)
|
||||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||||
tmp_addflag=
|
tmp_addflag=
|
||||||
case $cc_basename,$host_cpu in
|
case $cc_basename,$host_cpu in
|
||||||
|
|
@ -5694,29 +5532,21 @@ EOF
|
||||||
ifc* | ifort*) # Intel Fortran compiler
|
ifc* | ifort*) # Intel Fortran compiler
|
||||||
tmp_addflag=' -nofor_main' ;;
|
tmp_addflag=' -nofor_main' ;;
|
||||||
esac
|
esac
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||||
*Sun\ C*) # Sun C 5.9
|
|
||||||
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
|
|
||||||
tmp_sharedflag='-G' ;;
|
|
||||||
*Sun\ F*) # Sun Fortran 8.3
|
|
||||||
tmp_sharedflag='-G' ;;
|
|
||||||
*)
|
|
||||||
tmp_sharedflag='-shared' ;;
|
|
||||||
esac
|
|
||||||
_LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
||||||
|
|
||||||
if test $supports_anon_versioning = yes; then
|
if test $supports_anon_versioning = yes; then
|
||||||
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
|
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
$echo "local: *; };" >> $output_objdir/$libname.ver~
|
$echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
|
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
|
||||||
fi
|
fi
|
||||||
|
_LT_AC_TAGVAR(link_all_deplibs, $1)=no
|
||||||
else
|
else
|
||||||
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
netbsd*)
|
netbsd* | netbsdelf*-gnu)
|
||||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||||
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
||||||
wlarc=
|
wlarc=
|
||||||
|
|
@ -5868,7 +5698,7 @@ _LT_EOF
|
||||||
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
||||||
then
|
then
|
||||||
# We have reworked collect2
|
# We have reworked collect2
|
||||||
:
|
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
||||||
else
|
else
|
||||||
# We have old collect2
|
# We have old collect2
|
||||||
_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
|
_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
|
||||||
|
|
@ -5961,7 +5791,7 @@ _LT_EOF
|
||||||
# The linker will automatically build a .lib file if we build a DLL.
|
# The linker will automatically build a .lib file if we build a DLL.
|
||||||
_LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
|
_LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
|
||||||
# FIXME: Should let the user specify the lib program.
|
# FIXME: Should let the user specify the lib program.
|
||||||
_LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
|
_LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
|
||||||
_LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
|
_LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
|
||||||
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
||||||
;;
|
;;
|
||||||
|
|
@ -6003,10 +5833,10 @@ _LT_EOF
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
xlc*)
|
xlc*)
|
||||||
output_verbose_link_cmd='echo'
|
output_verbose_link_cmd='echo'
|
||||||
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
|
||||||
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
||||||
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
|
||||||
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
||||||
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
@ -6148,7 +5978,7 @@ _LT_EOF
|
||||||
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
|
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
|
||||||
;;
|
;;
|
||||||
|
|
||||||
netbsd*)
|
netbsd* | netbsdelf*-gnu)
|
||||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||||
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
||||||
else
|
else
|
||||||
|
|
@ -6168,7 +5998,6 @@ _LT_EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
openbsd*)
|
openbsd*)
|
||||||
if test -f /usr/libexec/ld.so; then
|
|
||||||
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
||||||
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||||
|
|
@ -6188,9 +6017,6 @@ _LT_EOF
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
os2*)
|
os2*)
|
||||||
|
|
@ -6248,16 +6074,17 @@ _LT_EOF
|
||||||
case $host_os in
|
case $host_os in
|
||||||
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
|
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
|
||||||
*)
|
*)
|
||||||
# The compiler driver will combine and reorder linker options,
|
# The compiler driver will combine linker options so we
|
||||||
# but understands `-z linker_flag'. GCC discards it without `$wl',
|
# cannot just pass the convience library names through
|
||||||
# but is careful enough not to reorder.
|
# without $wl, iff we do not link with $LD.
|
||||||
|
# Luckily, gcc supports the same syntax we need for Sun Studio.
|
||||||
# Supported since Solaris 2.6 (maybe 2.5.1?)
|
# Supported since Solaris 2.6 (maybe 2.5.1?)
|
||||||
if test "$GCC" = yes; then
|
case $wlarc in
|
||||||
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
|
'')
|
||||||
else
|
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
|
||||||
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
|
*)
|
||||||
fi
|
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
|
||||||
;;
|
esac ;;
|
||||||
esac
|
esac
|
||||||
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
|
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
|
||||||
;;
|
;;
|
||||||
|
|
@ -6314,7 +6141,7 @@ _LT_EOF
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
|
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
|
||||||
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
|
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
|
||||||
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
|
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
|
||||||
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||||
|
|
@ -6389,7 +6216,7 @@ x|xyes)
|
||||||
# to ld, don't add -lc before -lgcc.
|
# to ld, don't add -lc before -lgcc.
|
||||||
AC_MSG_CHECKING([whether -lc should be explicitly linked in])
|
AC_MSG_CHECKING([whether -lc should be explicitly linked in])
|
||||||
$rm conftest*
|
$rm conftest*
|
||||||
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
||||||
|
|
||||||
if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
|
if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
|
||||||
soname=conftest
|
soname=conftest
|
||||||
|
|
@ -6492,30 +6319,6 @@ AC_DEFUN([LT_AC_PROG_RC],
|
||||||
[AC_CHECK_TOOL(RC, windres, no)
|
[AC_CHECK_TOOL(RC, windres, no)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
# Cheap backport of AS_EXECUTABLE_P and required macros
|
|
||||||
# from Autoconf 2.59; we should not use $as_executable_p directly.
|
|
||||||
|
|
||||||
# _AS_TEST_PREPARE
|
|
||||||
# ----------------
|
|
||||||
m4_ifndef([_AS_TEST_PREPARE],
|
|
||||||
[m4_defun([_AS_TEST_PREPARE],
|
|
||||||
[if test -x / >/dev/null 2>&1; then
|
|
||||||
as_executable_p='test -x'
|
|
||||||
else
|
|
||||||
as_executable_p='test -f'
|
|
||||||
fi
|
|
||||||
])])# _AS_TEST_PREPARE
|
|
||||||
|
|
||||||
# AS_EXECUTABLE_P
|
|
||||||
# ---------------
|
|
||||||
# Check whether a file is executable.
|
|
||||||
m4_ifndef([AS_EXECUTABLE_P],
|
|
||||||
[m4_defun([AS_EXECUTABLE_P],
|
|
||||||
[AS_REQUIRE([_AS_TEST_PREPARE])dnl
|
|
||||||
$as_executable_p $1[]dnl
|
|
||||||
])])# AS_EXECUTABLE_P
|
|
||||||
|
|
||||||
# NOTE: This macro has been submitted for inclusion into #
|
# NOTE: This macro has been submitted for inclusion into #
|
||||||
# GNU Autoconf as AC_PROG_SED. When it is available in #
|
# GNU Autoconf as AC_PROG_SED. When it is available in #
|
||||||
# a released version of Autoconf we should remove this #
|
# a released version of Autoconf we should remove this #
|
||||||
|
|
@ -6536,13 +6339,12 @@ do
|
||||||
test -z "$as_dir" && as_dir=.
|
test -z "$as_dir" && as_dir=.
|
||||||
for lt_ac_prog in sed gsed; do
|
for lt_ac_prog in sed gsed; do
|
||||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
|
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
|
||||||
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
|
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
IFS=$as_save_IFS
|
|
||||||
lt_ac_max=0
|
lt_ac_max=0
|
||||||
lt_ac_count=0
|
lt_ac_count=0
|
||||||
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
|
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
|
||||||
|
|
@ -6575,7 +6377,6 @@ for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
SED=$lt_cv_path_SED
|
SED=$lt_cv_path_SED
|
||||||
AC_SUBST([SED])
|
|
||||||
AC_MSG_RESULT([$SED])
|
AC_MSG_RESULT([$SED])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
|
||||||
11
config.h.in
11
config.h.in
|
|
@ -307,9 +307,11 @@
|
||||||
/* in_port_t */
|
/* in_port_t */
|
||||||
#undef in_port_t
|
#undef in_port_t
|
||||||
|
|
||||||
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||||
if it is not supported. */
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||||
|
#ifndef __cplusplus
|
||||||
#undef inline
|
#undef inline
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define to `short' if <sys/types.h> does not define. */
|
/* Define to `short' if <sys/types.h> does not define. */
|
||||||
#undef int16_t
|
#undef int16_t
|
||||||
|
|
@ -326,7 +328,7 @@
|
||||||
/* Define to rpl_malloc if the replacement function should be used. */
|
/* Define to rpl_malloc if the replacement function should be used. */
|
||||||
#undef malloc
|
#undef malloc
|
||||||
|
|
||||||
/* Define to `long' if <sys/types.h> does not define. */
|
/* Define to `long int' if <sys/types.h> does not define. */
|
||||||
#undef off_t
|
#undef off_t
|
||||||
|
|
||||||
/* Define to `int' if <sys/types.h> does not define. */
|
/* Define to `int' if <sys/types.h> does not define. */
|
||||||
|
|
@ -335,7 +337,7 @@
|
||||||
/* Define to 'int' if not defined */
|
/* Define to 'int' if not defined */
|
||||||
#undef rlim_t
|
#undef rlim_t
|
||||||
|
|
||||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||||
#undef size_t
|
#undef size_t
|
||||||
|
|
||||||
/* Define to 'int' if not defined */
|
/* Define to 'int' if not defined */
|
||||||
|
|
@ -527,6 +529,7 @@ struct sockaddr_storage;
|
||||||
#define srandom(x) srand(x) /* on win32, for tests only (bad random) */
|
#define srandom(x) srand(x) /* on win32, for tests only (bad random) */
|
||||||
#endif /* HAVE_SRANDOM */
|
#endif /* HAVE_SRANDOM */
|
||||||
|
|
||||||
|
/* detect if we need to cast to unsigned int for FD_SET to avoid warnings */
|
||||||
#ifdef HAVE_WINSOCK2_H
|
#ifdef HAVE_WINSOCK2_H
|
||||||
#define FD_SET_T (u_int)
|
#define FD_SET_T (u_int)
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
|
|
@ -734,6 +734,9 @@ AC_TRY_COMPILE([
|
||||||
#ifdef HAVE_WINSOCK2_H
|
#ifdef HAVE_WINSOCK2_H
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_SYS_STAT_H
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#endif
|
||||||
], [
|
], [
|
||||||
(void)mkdir("directory");
|
(void)mkdir("directory");
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue