kopia lustrzana https://github.com/Hamlib/Hamlib
regenerated with newer version
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@624 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.2
rodzic
2d7b369c14
commit
07e145ed54
|
@ -125,24 +125,6 @@ for am_file in <<$1>>; do
|
||||||
done<<>>dnl>>)
|
done<<>>dnl>>)
|
||||||
changequote([,]))])
|
changequote([,]))])
|
||||||
|
|
||||||
#serial 1
|
|
||||||
# This test replaces the one in autoconf.
|
|
||||||
# Currently this macro should have the same name as the autoconf macro
|
|
||||||
# because gettext's gettext.m4 (distributed in the automake package)
|
|
||||||
# still uses it. Otherwise, the use in gettext.m4 makes autoheader
|
|
||||||
# give these diagnostics:
|
|
||||||
# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
|
|
||||||
# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
|
|
||||||
|
|
||||||
undefine([AC_ISC_POSIX])
|
|
||||||
|
|
||||||
AC_DEFUN([AC_ISC_POSIX],
|
|
||||||
[
|
|
||||||
dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
|
|
||||||
AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
# serial 1
|
# serial 1
|
||||||
|
|
||||||
|
@ -289,7 +271,7 @@ define([AC_PROG_LIBTOOL], [])
|
||||||
# AC_LIBTOOL_SETUP
|
# AC_LIBTOOL_SETUP
|
||||||
# ----------------
|
# ----------------
|
||||||
AC_DEFUN([AC_LIBTOOL_SETUP],
|
AC_DEFUN([AC_LIBTOOL_SETUP],
|
||||||
[AC_PREREQ(2.13)dnl
|
[AC_PREREQ(2.50)dnl
|
||||||
AC_REQUIRE([AC_ENABLE_SHARED])dnl
|
AC_REQUIRE([AC_ENABLE_SHARED])dnl
|
||||||
AC_REQUIRE([AC_ENABLE_STATIC])dnl
|
AC_REQUIRE([AC_ENABLE_STATIC])dnl
|
||||||
AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
|
AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
|
||||||
|
@ -399,13 +381,16 @@ ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
|
||||||
ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
|
ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
|
||||||
enable_win32_dll=yes, enable_win32_dll=no)
|
enable_win32_dll=yes, enable_win32_dll=no)
|
||||||
|
|
||||||
AC_ARG_ENABLE(libtool-lock,
|
AC_ARG_ENABLE([libtool-lock],
|
||||||
[ --disable-libtool-lock avoid locking (might break parallel builds)])
|
[AC_HELP_STRING([--disable-libtool-lock],
|
||||||
|
[avoid locking (might break parallel builds)])])
|
||||||
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
|
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
|
||||||
|
|
||||||
AC_ARG_WITH(pic,
|
AC_ARG_WITH([pic],
|
||||||
[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
|
[AC_HELP_STRING([--with-pic],
|
||||||
pic_mode="$withval", pic_mode=default)
|
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
|
||||||
|
[pic_mode="$withval"],
|
||||||
|
[pic_mode=default])
|
||||||
test -z "$pic_mode" && pic_mode=default
|
test -z "$pic_mode" && pic_mode=default
|
||||||
|
|
||||||
# Use C for the default configuration in the libtool script
|
# Use C for the default configuration in the libtool script
|
||||||
|
@ -624,13 +609,29 @@ AC_DIVERT_POP
|
||||||
# _LT_AC_LOCK
|
# _LT_AC_LOCK
|
||||||
# -----------
|
# -----------
|
||||||
AC_DEFUN([_LT_AC_LOCK],
|
AC_DEFUN([_LT_AC_LOCK],
|
||||||
[AC_ARG_ENABLE(libtool-lock,
|
[AC_ARG_ENABLE([libtool-lock],
|
||||||
[ --disable-libtool-lock avoid locking (might break parallel builds)])
|
[AC_HELP_STRING([--disable-libtool-lock],
|
||||||
|
[avoid locking (might break parallel builds)])])
|
||||||
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
|
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
|
||||||
|
|
||||||
# Some flags need to be propagated to the compiler or linker for good
|
# Some flags need to be propagated to the compiler or linker for good
|
||||||
# libtool support.
|
# libtool support.
|
||||||
case $host in
|
case $host in
|
||||||
|
ia64-*-hpux*)
|
||||||
|
# Find out which ABI we are using.
|
||||||
|
echo 'int i;' > conftest.$ac_ext
|
||||||
|
if AC_TRY_EVAL(ac_compile); then
|
||||||
|
case `/usr/bin/file conftest.$ac_objext` in
|
||||||
|
*ELF-32*)
|
||||||
|
HPUX_IA64_MODE="32"
|
||||||
|
;;
|
||||||
|
*ELF-64*)
|
||||||
|
HPUX_IA64_MODE="64"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
rm -rf conftest*
|
||||||
|
;;
|
||||||
*-*-irix6*)
|
*-*-irix6*)
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
|
||||||
|
@ -943,7 +944,7 @@ else
|
||||||
*)
|
*)
|
||||||
AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
|
AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
|
||||||
[AC_CHECK_LIB(dld, shl_load,
|
[AC_CHECK_LIB(dld, shl_load,
|
||||||
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"],
|
[lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
|
||||||
[AC_CHECK_LIB(dl, dlopen,
|
[AC_CHECK_LIB(dl, dlopen,
|
||||||
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
|
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
|
||||||
[AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
|
[AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
|
||||||
|
@ -1282,7 +1283,7 @@ cygwin* | mingw* | pw32*)
|
||||||
;;
|
;;
|
||||||
yes,mingw*)
|
yes,mingw*)
|
||||||
library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
|
library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
|
||||||
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
|
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/$PATH_SEPARATOR/ /g"`
|
||||||
;;
|
;;
|
||||||
yes,pw32*)
|
yes,pw32*)
|
||||||
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
|
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
|
||||||
|
@ -1366,14 +1367,29 @@ gnu*)
|
||||||
hpux9* | hpux10* | hpux11*)
|
hpux9* | hpux10* | hpux11*)
|
||||||
# Give a soname corresponding to the major version so that dld.sl refuses to
|
# Give a soname corresponding to the major version so that dld.sl refuses to
|
||||||
# link against other versions.
|
# link against other versions.
|
||||||
dynamic_linker="$host_os dld.sl"
|
|
||||||
version_type=sunos
|
version_type=sunos
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
shlibpath_var=SHLIB_PATH
|
if test "$host_cpu" = ia64; then
|
||||||
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
|
hardcode_into_libs=yes
|
||||||
library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
|
dynamic_linker="$host_os dld.so"
|
||||||
soname_spec='${libname}${release}.sl$major'
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
|
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
|
||||||
|
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
||||||
|
soname_spec='${libname}${release}.so$major'
|
||||||
|
if test "X$HPUX_IA64_MODE" = X32; then
|
||||||
|
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
|
||||||
|
else
|
||||||
|
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
|
||||||
|
fi
|
||||||
|
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
|
||||||
|
else
|
||||||
|
dynamic_linker="$host_os dld.sl"
|
||||||
|
shlibpath_var=SHLIB_PATH
|
||||||
|
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
|
||||||
|
library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
|
||||||
|
soname_spec='${libname}${release}.sl$major'
|
||||||
|
fi
|
||||||
# HP-UX runs *really* slowly unless shared libraries are mode 555.
|
# HP-UX runs *really* slowly unless shared libraries are mode 555.
|
||||||
postinstall_cmds='chmod 555 $lib'
|
postinstall_cmds='chmod 555 $lib'
|
||||||
;;
|
;;
|
||||||
|
@ -1578,10 +1594,11 @@ test "$dynamic_linker" = no && can_build_shared=no
|
||||||
# ----------------
|
# ----------------
|
||||||
AC_DEFUN([_LT_AC_TAGCONFIG],
|
AC_DEFUN([_LT_AC_TAGCONFIG],
|
||||||
[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
|
[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
|
||||||
AC_ARG_WITH(tags,
|
AC_ARG_WITH([tags],
|
||||||
[ --with-tags=TAGS include additional configurations [CXX,GCJ]],
|
[AC_HELP_STRING([--with-tags=TAGS],
|
||||||
[tagnames="$withval"],
|
[include additional configurations @<:@CXX,GCJ@:>@])],
|
||||||
[tagnames="CXX,GCJ"])
|
[tagnames="$withval"],
|
||||||
|
[tagnames="CXX,GCJ"])
|
||||||
|
|
||||||
if test -f "$ltmain" && test -n "$tagnames"; then
|
if test -f "$ltmain" && test -n "$tagnames"; then
|
||||||
if test ! -f "${ofile}"; then
|
if test ! -f "${ofile}"; then
|
||||||
|
@ -1675,28 +1692,27 @@ AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
|
||||||
AC_DEFUN([AC_ENABLE_SHARED],
|
AC_DEFUN([AC_ENABLE_SHARED],
|
||||||
[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
|
[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
|
||||||
define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
|
define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||||
AC_ARG_ENABLE(shared,
|
AC_ARG_ENABLE([shared],
|
||||||
changequote(<<, >>)dnl
|
[AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
|
||||||
<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
|
[build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
|
||||||
changequote([, ])dnl
|
[p=${PACKAGE-default}
|
||||||
[p=${PACKAGE-default}
|
case $enableval in
|
||||||
case $enableval in
|
yes) enable_shared=yes ;;
|
||||||
yes) enable_shared=yes ;;
|
no) enable_shared=no ;;
|
||||||
no) enable_shared=no ;;
|
*)
|
||||||
*)
|
enable_shared=no
|
||||||
enable_shared=no
|
# Look at the argument we got. We use all the common list separators.
|
||||||
# Look at the argument we got. We use all the common list separators.
|
IFS="${IFS= }"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
|
||||||
IFS="${IFS= }"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
|
for pkg in $enableval; do
|
||||||
for pkg in $enableval; do
|
IFS="$lt_save_ifs"
|
||||||
IFS="$lt_save_ifs"
|
if test "X$pkg" = "X$p"; then
|
||||||
if test "X$pkg" = "X$p"; then
|
enable_shared=yes
|
||||||
enable_shared=yes
|
fi
|
||||||
fi
|
done
|
||||||
done
|
IFS="$lt_save_ifs"
|
||||||
IFS="$lt_save_ifs"
|
;;
|
||||||
;;
|
esac],
|
||||||
esac],
|
[enable_shared=]AC_ENABLE_SHARED_DEFAULT)
|
||||||
enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
|
|
||||||
])# AC_ENABLE_SHARED
|
])# AC_ENABLE_SHARED
|
||||||
|
|
||||||
|
|
||||||
|
@ -1716,28 +1732,27 @@ AC_ENABLE_SHARED(no)
|
||||||
AC_DEFUN([AC_ENABLE_STATIC],
|
AC_DEFUN([AC_ENABLE_STATIC],
|
||||||
[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
|
[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
|
||||||
define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
|
define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||||
AC_ARG_ENABLE(static,
|
AC_ARG_ENABLE([static],
|
||||||
changequote(<<, >>)dnl
|
[AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
|
||||||
<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
|
[build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
|
||||||
changequote([, ])dnl
|
[p=${PACKAGE-default}
|
||||||
[p=${PACKAGE-default}
|
case $enableval in
|
||||||
case $enableval in
|
yes) enable_static=yes ;;
|
||||||
yes) enable_static=yes ;;
|
no) enable_static=no ;;
|
||||||
no) enable_static=no ;;
|
*)
|
||||||
*)
|
enable_static=no
|
||||||
enable_static=no
|
# Look at the argument we got. We use all the common list separators.
|
||||||
# Look at the argument we got. We use all the common list separators.
|
IFS="${IFS= }"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
|
||||||
IFS="${IFS= }"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
|
for pkg in $enableval; do
|
||||||
for pkg in $enableval; do
|
IFS="$lt_save_ifs"
|
||||||
IFS="$lt_save_ifs"
|
if test "X$pkg" = "X$p"; then
|
||||||
if test "X$pkg" = "X$p"; then
|
enable_static=yes
|
||||||
enable_static=yes
|
fi
|
||||||
fi
|
done
|
||||||
done
|
IFS="$lt_save_ifs"
|
||||||
IFS="$lt_save_ifs"
|
;;
|
||||||
;;
|
esac],
|
||||||
esac],
|
[enable_static=]AC_ENABLE_STATIC_DEFAULT)
|
||||||
enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
|
|
||||||
])# AC_ENABLE_STATIC
|
])# AC_ENABLE_STATIC
|
||||||
|
|
||||||
|
|
||||||
|
@ -1757,28 +1772,27 @@ AC_ENABLE_STATIC(no)
|
||||||
AC_DEFUN([AC_ENABLE_FAST_INSTALL],
|
AC_DEFUN([AC_ENABLE_FAST_INSTALL],
|
||||||
[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
|
[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
|
||||||
define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
|
define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
|
||||||
AC_ARG_ENABLE(fast-install,
|
AC_ARG_ENABLE([fast-install],
|
||||||
changequote(<<, >>)dnl
|
[AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
|
||||||
<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
|
[optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
|
||||||
changequote([, ])dnl
|
[p=${PACKAGE-default}
|
||||||
[p=${PACKAGE-default}
|
case $enableval in
|
||||||
case $enableval in
|
yes) enable_fast_install=yes ;;
|
||||||
yes) enable_fast_install=yes ;;
|
no) enable_fast_install=no ;;
|
||||||
no) enable_fast_install=no ;;
|
*)
|
||||||
*)
|
enable_fast_install=no
|
||||||
enable_fast_install=no
|
# Look at the argument we got. We use all the common list separators.
|
||||||
# Look at the argument we got. We use all the common list separators.
|
IFS="${IFS= }"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
|
||||||
IFS="${IFS= }"; lt_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:},"
|
for pkg in $enableval; do
|
||||||
for pkg in $enableval; do
|
IFS="$lt_save_ifs"
|
||||||
IFS="$lt_save_ifs"
|
if test "X$pkg" = "X$p"; then
|
||||||
if test "X$pkg" = "X$p"; then
|
enable_fast_install=yes
|
||||||
enable_fast_install=yes
|
fi
|
||||||
fi
|
done
|
||||||
done
|
IFS="$lt_save_ifs"
|
||||||
IFS="$lt_save_ifs"
|
;;
|
||||||
;;
|
esac],
|
||||||
esac],
|
[enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
|
||||||
enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
|
|
||||||
])# AC_ENABLE_FAST_INSTALL
|
])# AC_ENABLE_FAST_INSTALL
|
||||||
|
|
||||||
|
|
||||||
|
@ -1884,9 +1898,11 @@ fi
|
||||||
# ----------
|
# ----------
|
||||||
# find the path to the GNU or non-GNU linker
|
# find the path to the GNU or non-GNU linker
|
||||||
AC_DEFUN([AC_PROG_LD],
|
AC_DEFUN([AC_PROG_LD],
|
||||||
[AC_ARG_WITH(gnu-ld,
|
[AC_ARG_WITH([gnu-ld],
|
||||||
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
|
[AC_HELP_STRING([--with-gnu-ld],
|
||||||
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
|
[assume the C compiler uses GNU ld @<:@default=no@:>@])],
|
||||||
|
[test "$withval" = no || with_gnu_ld=yes],
|
||||||
|
[with_gnu_ld=no])
|
||||||
AC_REQUIRE([AC_PROG_CC])dnl
|
AC_REQUIRE([AC_PROG_CC])dnl
|
||||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||||
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
||||||
|
@ -2066,9 +2082,14 @@ gnu*)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
hpux10.20* | hpux11*)
|
hpux10.20* | hpux11*)
|
||||||
[lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
|
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=/usr/bin/file
|
||||||
lt_cv_file_magic_test_file=/usr/lib/libc.sl
|
if test "$host_cpu" = ia64; then
|
||||||
|
[lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64']
|
||||||
|
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
|
||||||
|
else
|
||||||
|
[lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
|
||||||
|
lt_cv_file_magic_test_file=/usr/lib/libc.sl
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
irix5* | irix6*)
|
irix5* | irix6*)
|
||||||
|
@ -2095,7 +2116,7 @@ irix5* | irix6*)
|
||||||
# This must be Linux ELF.
|
# This must be Linux ELF.
|
||||||
linux*)
|
linux*)
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* )
|
alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
|
||||||
lt_cv_deplibs_check_method=pass_all ;;
|
lt_cv_deplibs_check_method=pass_all ;;
|
||||||
*)
|
*)
|
||||||
# glibc up to 2.1.1 does not perform some relocations on ARM
|
# glibc up to 2.1.1 does not perform some relocations on ARM
|
||||||
|
@ -2138,10 +2159,6 @@ solaris*)
|
||||||
lt_cv_file_magic_test_file=/lib/libc.so
|
lt_cv_file_magic_test_file=/lib/libc.so
|
||||||
;;
|
;;
|
||||||
|
|
||||||
[sysv5uw[78]* | sysv4*uw2*)]
|
|
||||||
lt_cv_deplibs_check_method=pass_all
|
|
||||||
;;
|
|
||||||
|
|
||||||
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
||||||
case $host_vendor in
|
case $host_vendor in
|
||||||
motorola)
|
motorola)
|
||||||
|
@ -2162,6 +2179,10 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
|
||||||
|
lt_cv_deplibs_check_method=pass_all
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
])
|
])
|
||||||
file_magic_cmd=$lt_cv_file_magic_cmd
|
file_magic_cmd=$lt_cv_file_magic_cmd
|
||||||
|
@ -2705,11 +2726,20 @@ case $host_os in
|
||||||
;;
|
;;
|
||||||
hpux*)
|
hpux*)
|
||||||
if test $with_gnu_ld = no; then
|
if test $with_gnu_ld = no; then
|
||||||
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
|
if test "$host_cpu" = ia64; then
|
||||||
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
|
||||||
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
|
else
|
||||||
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
|
||||||
|
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
||||||
|
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if test "$host_cpu" = ia64; then
|
||||||
|
_LT_AC_TAGVAR(hardcode_direct, $1)=no
|
||||||
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||||
|
else
|
||||||
|
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
||||||
fi
|
fi
|
||||||
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
|
||||||
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, but as the default
|
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, but as the default
|
||||||
# location of the library.
|
# location of the library.
|
||||||
|
|
||||||
|
@ -2720,8 +2750,16 @@ case $host_os in
|
||||||
;;
|
;;
|
||||||
aCC)
|
aCC)
|
||||||
case $host_os in
|
case $host_os in
|
||||||
hpux9*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
|
hpux9*)
|
||||||
*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;;
|
_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
if test "$host_cpu" = ia64; then
|
||||||
|
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
|
||||||
|
else
|
||||||
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
# Commands to make compiler produce verbose output that lists
|
# Commands to make compiler produce verbose output that lists
|
||||||
# what "hidden" libraries, object files and flags are used when
|
# what "hidden" libraries, object files and flags are used when
|
||||||
|
@ -2737,8 +2775,16 @@ case $host_os in
|
||||||
if test $GXX = yes; then
|
if test $GXX = yes; then
|
||||||
if test $with_gnu_ld = no; then
|
if test $with_gnu_ld = no; then
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
hpux9*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
|
hpux9*)
|
||||||
*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;;
|
_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
if test "$host_cpu" = ia64; then
|
||||||
|
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
|
||||||
|
else
|
||||||
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
@ -3080,6 +3126,9 @@ case $host_os in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
|
||||||
|
_LT_AC_TAGVAR(archive_cmds_need_lc, $2)=no
|
||||||
|
;;
|
||||||
tandem*)
|
tandem*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
NCC)
|
NCC)
|
||||||
|
@ -3093,10 +3142,6 @@ case $host_os in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
unixware*)
|
|
||||||
# FIXME: insert proper C++ library support
|
|
||||||
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
|
||||||
;;
|
|
||||||
vxworks*)
|
vxworks*)
|
||||||
# FIXME: insert proper C++ library support
|
# FIXME: insert proper C++ library support
|
||||||
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
||||||
|
@ -3782,7 +3827,7 @@ AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
|
||||||
symxfrm='\1 \2\3 \3'
|
symxfrm='\1 \2\3 \3'
|
||||||
|
|
||||||
# Transform an extracted symbol line into a proper C declaration
|
# Transform an extracted symbol line into a proper C declaration
|
||||||
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
|
||||||
|
|
||||||
# Transform an extracted symbol line into symbol name and symbol address
|
# Transform an extracted symbol line into symbol name and symbol address
|
||||||
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
|
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
|
||||||
|
@ -3796,7 +3841,10 @@ cygwin* | mingw* | pw32*)
|
||||||
[symcode='[ABCDGISTW]']
|
[symcode='[ABCDGISTW]']
|
||||||
;;
|
;;
|
||||||
hpux*) # Its linker distinguishes data from code symbols
|
hpux*) # Its linker distinguishes data from code symbols
|
||||||
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
|
if test "$host_cpu" = ia64; then
|
||||||
|
[symcode='[ABCDEGRST]']
|
||||||
|
fi
|
||||||
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
|
||||||
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
|
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
|
||||||
;;
|
;;
|
||||||
irix*)
|
irix*)
|
||||||
|
@ -3987,6 +4035,12 @@ ifelse([$1],[CXX],[
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
hpux*)
|
||||||
|
# PIC is the default for IA64 HP-UX, but not for PA HP-UX.
|
||||||
|
if test "$host_cpu" != ia64; then
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
||||||
|
fi
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
||||||
;;
|
;;
|
||||||
|
@ -4031,12 +4085,16 @@ ifelse([$1],[CXX],[
|
||||||
CC)
|
CC)
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
|
if test "$host_cpu" != ia64; then
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
aCC)
|
aCC)
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
|
if test "$host_cpu" != ia64; then
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
|
@ -4180,8 +4238,6 @@ ifelse([$1],[CXX],[
|
||||||
if test "$host_cpu" = ia64; then
|
if test "$host_cpu" = ia64; then
|
||||||
# AIX 5 now supports IA64 processor
|
# AIX 5 now supports IA64 processor
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
||||||
else
|
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -4220,6 +4276,13 @@ ifelse([$1],[CXX],[
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
hpux*)
|
||||||
|
# PIC is the default for IA64 HP-UX, but not for PA HP-UX.
|
||||||
|
if test "$host_cpu" != ia64; then
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
||||||
|
@ -4246,7 +4309,9 @@ ifelse([$1],[CXX],[
|
||||||
|
|
||||||
hpux9* | hpux10* | hpux11*)
|
hpux9* | hpux10* | hpux11*)
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
|
if test "$host_cpu" != ia64; then
|
||||||
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
|
||||||
|
fi
|
||||||
# Is there a better lt_prog_compiler_static that works with the bundled CC?
|
# Is there a better lt_prog_compiler_static that works with the bundled CC?
|
||||||
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
|
||||||
;;
|
;;
|
||||||
|
@ -4796,20 +4861,43 @@ EOF
|
||||||
hpux9* | hpux10* | hpux11*)
|
hpux9* | hpux10* | hpux11*)
|
||||||
if test $GXX = yes; then
|
if test $GXX = yes; then
|
||||||
case $host_os in
|
case $host_os in
|
||||||
hpux9*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
|
hpux9*)
|
||||||
*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;;
|
_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
if test "$host_cpu" = ia64; then
|
||||||
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||||
|
else
|
||||||
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
case $host_os in
|
case $host_os in
|
||||||
hpux9*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
|
hpux9*)
|
||||||
*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
|
_LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
if test "$host_cpu" = ia64; then
|
||||||
|
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
|
||||||
|
else
|
||||||
|
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
|
if test "$host_cpu" = ia64; then
|
||||||
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
|
||||||
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
_LT_AC_TAGVAR(hardcode_direct, $1)=no
|
||||||
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, but as the default
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||||
# location of the library.
|
else
|
||||||
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
|
||||||
|
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
||||||
|
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
|
||||||
|
fi
|
||||||
|
# hardcode_minus_L: Not really in the search PATH,
|
||||||
|
# but as the default location of the library.
|
||||||
|
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
|
||||||
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
|
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -4979,7 +5067,7 @@ EOF
|
||||||
runpath_var=LD_RUN_PATH
|
runpath_var=LD_RUN_PATH
|
||||||
;;
|
;;
|
||||||
|
|
||||||
sysv5uw7* | unixware7*)
|
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
|
||||||
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
|
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
|
||||||
if test "$GCC" = yes; then
|
if test "$GCC" = yes; then
|
||||||
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||||
|
|
Plik diff jest za duży
Load Diff
Ładowanie…
Reference in New Issue