|
|
|
@ -772,9 +772,6 @@ support])
|
|
|
|
|
# more headers that need to be explicitly included on darwin
|
|
|
|
|
AC_CHECK_HEADERS(sys/types.h stdint.h)
|
|
|
|
|
|
|
|
|
|
# sys/bitypes.h is needed for uint32_t and friends on Tru64
|
|
|
|
|
AC_CHECK_HEADERS(sys/bitypes.h)
|
|
|
|
|
|
|
|
|
|
# darwin requires a poll emulation library
|
|
|
|
|
AC_CHECK_LIB(poll, poll, LIB_POLL="-lpoll")
|
|
|
|
|
|
|
|
|
@ -836,30 +833,6 @@ AH_VERBATIM(_AIX_STRINGS_H_BZERO,
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
AC_CHECK_FUNCS([vsnprintf snprintf])
|
|
|
|
|
|
|
|
|
|
AH_VERBATIM(_TRU64,[
|
|
|
|
|
/*
|
|
|
|
|
* On HP-UX, the declaration of vsnprintf() is needed every time !
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
|
|
|
|
|
#if __STDC__
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#else
|
|
|
|
|
#include <varargs.h>
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C"
|
|
|
|
|
#endif
|
|
|
|
|
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C"
|
|
|
|
|
#endif
|
|
|
|
|
int snprintf(char *str, size_t n, char const *fmt, ...);
|
|
|
|
|
#endif
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
dnl ------------------------------------------------------------------------
|
|
|
|
@ -4347,23 +4320,11 @@ AC_DEFUN([KDE_CHECK_LIBPTHREAD],
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
dnl Is this test really needed, in the face of the Tru64 test below?
|
|
|
|
|
dnl Is this test really needed?
|
|
|
|
|
if test -z "$LIBPTHREAD"; then
|
|
|
|
|
AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-lpthread"])
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
dnl This is a special Tru64 check, see BR 76171 issue #18.
|
|
|
|
|
if test -z "$LIBPTHREAD" ; then
|
|
|
|
|
AC_MSG_CHECKING([for pthread_create in -lpthread])
|
|
|
|
|
kde_safe_libs=$LIBS
|
|
|
|
|
LIBS="$LIBS -lpthread"
|
|
|
|
|
AC_TRY_LINK([#include <pthread.h>],[(void)pthread_create(0,0,0,0);],[
|
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
|
LIBPTHREAD="-lpthread"],[
|
|
|
|
|
AC_MSG_RESULT(no)])
|
|
|
|
|
LIBS=$kde_safe_libs
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
dnl Un-special-case for FreeBSD.
|
|
|
|
|
if test "x$LIBPTHREAD" = "xPTHREAD" ; then
|
|
|
|
|
LIBPTHREAD=""
|
|
|
|
@ -6477,19 +6438,6 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
*-*-sco3.2v5*)
|
|
|
|
|
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
|
|
|
|
SAVE_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS="$CFLAGS -belf"
|
|
|
|
|
AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
|
|
|
|
|
[AC_LANG_PUSH(C)
|
|
|
|
|
AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
|
|
|
|
|
AC_LANG_POP])
|
|
|
|
|
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
|
|
|
|
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
|
|
|
|
CFLAGS="$SAVE_CFLAGS"
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
|
|
|
|
|
[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
|
|
|
|
|
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
|
|
|
|
@ -7454,24 +7402,6 @@ os2*)
|
|
|
|
|
shlibpath_var=LIBPATH
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf3* | osf4* | osf5*)
|
|
|
|
|
version_type=osf
|
|
|
|
|
need_lib_prefix=no
|
|
|
|
|
need_version=no
|
|
|
|
|
soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
|
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
|
|
|
|
|
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
sco3.2v5*)
|
|
|
|
|
version_type=osf
|
|
|
|
|
soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
|
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
|
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
solaris*)
|
|
|
|
|
version_type=linux
|
|
|
|
|
need_lib_prefix=no
|
|
|
|
@ -8164,17 +8094,6 @@ openbsd*)
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf3* | osf4* | osf5*)
|
|
|
|
|
# this will be overridden with pass_all, but let us keep it just in case
|
|
|
|
|
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
|
|
|
|
|
lt_cv_file_magic_test_file=/shlib/libc.so
|
|
|
|
|
lt_cv_deplibs_check_method=pass_all
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
sco3.2v5*)
|
|
|
|
|
lt_cv_deplibs_check_method=pass_all
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
solaris*)
|
|
|
|
|
lt_cv_deplibs_check_method=pass_all
|
|
|
|
|
lt_cv_file_magic_test_file=/lib/libc.so
|
|
|
|
@ -8233,9 +8152,8 @@ else
|
|
|
|
|
# Check to see if the nm accepts a BSD-compat flag.
|
|
|
|
|
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
|
|
|
|
# nm: unknown option "B" ignored
|
|
|
|
|
# Tru64's nm complains that /dev/null is an invalid object file
|
|
|
|
|
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
|
|
|
|
|
*/dev/null* | *'Invalid file or object type'*)
|
|
|
|
|
*'Invalid file or object type'*)
|
|
|
|
|
lt_cv_path_NM="$tmp_nm -B"
|
|
|
|
|
break
|
|
|
|
|
;;
|
|
|
|
@ -8434,13 +8352,6 @@ _LT_AC_SYS_COMPILER
|
|
|
|
|
# Check for any special shared library compilation flags.
|
|
|
|
|
#
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
|
|
|
|
|
if test "$GCC" = no; then
|
|
|
|
|
case $host_os in
|
|
|
|
|
sco3.2v5*)
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
fi
|
|
|
|
|
if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
|
|
|
|
|
AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
|
|
|
|
|
if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then :
|
|
|
|
@ -9135,129 +9046,6 @@ case $host_os in
|
|
|
|
|
# Workaround some broken pre-1.5 toolchains
|
|
|
|
|
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
|
|
|
|
|
;;
|
|
|
|
|
osf3*)
|
|
|
|
|
case $cc_basename in
|
|
|
|
|
KCC)
|
|
|
|
|
# Kuck and Associates, Inc. (KAI) C++ Compiler
|
|
|
|
|
|
|
|
|
|
# KCC will only create a shared library if the output file
|
|
|
|
|
# ends with ".so" (or ".sl" for HP-UX), so rename the library
|
|
|
|
|
# to its proper name (with version) after linking.
|
|
|
|
|
_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
|
|
|
|
|
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
|
|
|
|
|
# Archives containing C++ object files must be created using
|
|
|
|
|
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
|
|
|
|
|
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
|
|
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
RCC)
|
|
|
|
|
# Rational C++ 2.4.1
|
|
|
|
|
# FIXME: insert proper C++ library support
|
|
|
|
|
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
|
|
|
|
;;
|
|
|
|
|
cxx)
|
|
|
|
|
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
|
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
|
|
|
|
|
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
|
|
|
|
|
# Commands to make compiler produce verbose output that lists
|
|
|
|
|
# what "hidden" libraries, object files and flags are used when
|
|
|
|
|
# linking a shared library.
|
|
|
|
|
#
|
|
|
|
|
# There doesn't appear to be a way to prevent this compiler from
|
|
|
|
|
# explicitly linking system object files so we need to strip them
|
|
|
|
|
# from the output so that they don't get included in the library
|
|
|
|
|
# dependencies.
|
|
|
|
|
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "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'
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
|
|
|
|
|
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
|
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
|
|
|
|
|
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
|
|
|
|
|
# Commands to make compiler produce verbose output that lists
|
|
|
|
|
# what "hidden" libraries, object files and flags are used when
|
|
|
|
|
# linking a shared library.
|
|
|
|
|
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
# FIXME: insert proper C++ library support
|
|
|
|
|
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
;;
|
|
|
|
|
osf4* | osf5*)
|
|
|
|
|
case $cc_basename in
|
|
|
|
|
KCC)
|
|
|
|
|
# Kuck and Associates, Inc. (KAI) C++ Compiler
|
|
|
|
|
|
|
|
|
|
# KCC will only create a shared library if the output file
|
|
|
|
|
# ends with ".so" (or ".sl" for HP-UX), so rename the library
|
|
|
|
|
# to its proper name (with version) after linking.
|
|
|
|
|
_LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
|
|
|
|
|
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
|
|
|
|
|
# Archives containing C++ object files must be created using
|
|
|
|
|
# the KAI C++ compiler.
|
|
|
|
|
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
|
|
|
|
|
;;
|
|
|
|
|
RCC)
|
|
|
|
|
# Rational C++ 2.4.1
|
|
|
|
|
# FIXME: insert proper C++ library support
|
|
|
|
|
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
|
|
|
|
;;
|
|
|
|
|
cxx)
|
|
|
|
|
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
|
|
|
|
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
|
|
|
|
|
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
|
|
|
|
|
echo "-hidden">> $lib.exp~
|
|
|
|
|
$CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
|
|
|
|
|
$rm $lib.exp'
|
|
|
|
|
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
|
|
|
|
|
# Commands to make compiler produce verbose output that lists
|
|
|
|
|
# what "hidden" libraries, object files and flags are used when
|
|
|
|
|
# linking a shared library.
|
|
|
|
|
#
|
|
|
|
|
# There doesn't appear to be a way to prevent this compiler from
|
|
|
|
|
# explicitly linking system object files so we need to strip them
|
|
|
|
|
# from the output so that they don't get included in the library
|
|
|
|
|
# dependencies.
|
|
|
|
|
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "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'
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
|
|
|
|
|
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
|
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
|
|
|
|
|
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
|
|
|
|
|
# Commands to make compiler produce verbose output that lists
|
|
|
|
|
# what "hidden" libraries, object files and flags are used when
|
|
|
|
|
# linking a shared library.
|
|
|
|
|
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
# FIXME: insert proper C++ library support
|
|
|
|
|
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
;;
|
|
|
|
|
psos*)
|
|
|
|
|
# FIXME: insert proper C++ library support
|
|
|
|
|
_LT_AC_TAGVAR(ld_shlibs, $1)=no
|
|
|
|
@ -10305,9 +10093,6 @@ hpux*) # Its linker distinguishes data from code symbols
|
|
|
|
|
irix* | nonstopux*)
|
|
|
|
|
symcode='[[BCDEGRST]]'
|
|
|
|
|
;;
|
|
|
|
|
osf*)
|
|
|
|
|
symcode='[[BCDEGQRST]]'
|
|
|
|
|
;;
|
|
|
|
|
solaris* | sysv5*)
|
|
|
|
|
symcode='[[BDT]]'
|
|
|
|
|
;;
|
|
|
|
@ -10473,7 +10258,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
|
|
|
|
# like `-m68040'.
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
|
|
|
|
;;
|
|
|
|
|
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
|
|
|
beos* | cygwin* | irix5* | irix6* | nonstopux*)
|
|
|
|
|
# PIC is the default for these OSes.
|
|
|
|
|
;;
|
|
|
|
|
mingw* | os2* | pw32*)
|
|
|
|
@ -10597,7 +10382,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
|
|
|
|
cxx)
|
|
|
|
|
# Compaq C++
|
|
|
|
|
# Make sure the PIC flag is empty. It appears that all Alpha
|
|
|
|
|
# Linux and Compaq Tru64 Unix objects are PIC.
|
|
|
|
|
# Linux objects are PIC.
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
|
|
|
|
;;
|
|
|
|
@ -10620,27 +10405,6 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
|
|
|
|
;;
|
|
|
|
|
netbsd*)
|
|
|
|
|
;;
|
|
|
|
|
osf3* | osf4* | osf5*)
|
|
|
|
|
case $cc_basename in
|
|
|
|
|
KCC)
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
|
|
|
|
|
;;
|
|
|
|
|
RCC)
|
|
|
|
|
# Rational C++ 2.4.1
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
|
|
|
|
|
;;
|
|
|
|
|
cxx)
|
|
|
|
|
# Digital/Compaq C++
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
|
|
|
|
# Make sure the PIC flag is empty. It appears that all Alpha
|
|
|
|
|
# Linux and Compaq Tru64 Unix objects are PIC.
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
;;
|
|
|
|
|
psos*)
|
|
|
|
|
;;
|
|
|
|
|
sco*)
|
|
|
|
@ -10724,7 +10488,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
|
|
|
beos* | cygwin* | irix5* | irix6* | nonstopux*)
|
|
|
|
|
# PIC is the default for these OSes.
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
@ -10831,17 +10595,6 @@ AC_MSG_CHECKING([for $compiler option to produce PIC])
|
|
|
|
|
esac
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf3* | osf4* | osf5*)
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
|
|
|
|
# All OSF/1 code is PIC.
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
sco3.2v5*)
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
solaris*)
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
|
|
|
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
|
|
|
@ -11487,43 +11240,6 @@ EOF
|
|
|
|
|
_LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf3*)
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
|
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
|
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
|
|
|
|
else
|
|
|
|
|
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
|
|
|
|
|
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
|
|
|
|
|
fi
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
osf4* | osf5*) # as osf3* with the addition of -msym flag
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
|
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
|
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
|
|
|
|
|
else
|
|
|
|
|
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
|
|
|
|
|
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
|
|
|
|
|
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
|
|
|
|
|
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
|
|
|
|
|
|
|
|
|
|
# Both c and cxx compiler support -rpath directly
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
|
|
|
|
|
fi
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
sco3.2v5*)
|
|
|
|
|
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
|
|
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
|
|
|
|
|
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
|
|
|
|
|
runpath_var=LD_RUN_PATH
|
|
|
|
|
hardcode_runpath_var=yes
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
solaris*)
|
|
|
|
|
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
|