1 |
# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*- |
# aclocal.m4t generated automatically by aclocal 1.6.3 -*- Autoconf -*- |
2 |
|
|
3 |
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
4 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
904 |
AC_REQUIRE([AC_PROG_LD])dnl |
AC_REQUIRE([AC_PROG_LD])dnl |
905 |
AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl |
AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl |
906 |
AC_REQUIRE([AC_PROG_NM])dnl |
AC_REQUIRE([AC_PROG_NM])dnl |
907 |
|
AC_REQUIRE([LT_AC_PROG_SED])dnl |
908 |
|
|
909 |
AC_REQUIRE([AC_PROG_LN_S])dnl |
AC_REQUIRE([AC_PROG_LN_S])dnl |
910 |
AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl |
AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl |
911 |
AC_REQUIRE([AC_OBJEXT])dnl |
AC_REQUIRE([AC_OBJEXT])dnl |
1073 |
lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
1074 |
lt_cv_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_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
1075 |
;; |
;; |
1076 |
irix*) |
irix* | nonstopux*) |
1077 |
symcode='[[BCDEGRST]]' |
symcode='[[BCDEGRST]]' |
1078 |
;; |
;; |
1079 |
|
osf*) |
1080 |
|
symcode='[[BCDEGQRST]]' |
1081 |
|
;; |
1082 |
solaris* | sysv5*) |
solaris* | sysv5*) |
1083 |
symcode='[[BDT]]' |
symcode='[[BDT]]' |
1084 |
;; |
;; |
1175 |
save_CFLAGS="$CFLAGS" |
save_CFLAGS="$CFLAGS" |
1176 |
LIBS="conftstm.$ac_objext" |
LIBS="conftstm.$ac_objext" |
1177 |
CFLAGS="$CFLAGS$no_builtin_flag" |
CFLAGS="$CFLAGS$no_builtin_flag" |
1178 |
if AC_TRY_EVAL(ac_link) && test -s conftest; then |
if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then |
1179 |
pipe_works=yes |
pipe_works=yes |
1180 |
fi |
fi |
1181 |
LIBS="$save_LIBS" |
LIBS="$save_LIBS" |
1719 |
# like `-m68040'. |
# like `-m68040'. |
1720 |
lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' |
lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' |
1721 |
;; |
;; |
1722 |
beos* | irix5* | irix6* | osf3* | osf4* | osf5*) |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
1723 |
# PIC is the default for these OSes. |
# PIC is the default for these OSes. |
1724 |
;; |
;; |
1725 |
darwin* | rhapsody*) |
darwin* | rhapsody*) |
1762 |
lt_cv_prog_cc_pic='+Z' |
lt_cv_prog_cc_pic='+Z' |
1763 |
;; |
;; |
1764 |
|
|
1765 |
irix5* | irix6*) |
irix5* | irix6* | nonstopux*) |
1766 |
lt_cv_prog_cc_wl='-Wl,' |
lt_cv_prog_cc_wl='-Wl,' |
1767 |
lt_cv_prog_cc_static='-non_shared' |
lt_cv_prog_cc_static='-non_shared' |
1768 |
# PIC (with -KPIC) is the default. |
# PIC (with -KPIC) is the default. |
1806 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
1807 |
lt_cv_prog_cc_pic='-KPIC' |
lt_cv_prog_cc_pic='-KPIC' |
1808 |
lt_cv_prog_cc_static='-Bstatic' |
lt_cv_prog_cc_static='-Bstatic' |
1809 |
if test "x$host_vendor" = xsni; then |
lt_cv_prog_cc_wl='-Wl,' |
|
lt_cv_prog_cc_wl='-LD' |
|
|
else |
|
|
lt_cv_prog_cc_wl='-Wl,' |
|
|
fi |
|
1810 |
;; |
;; |
1811 |
|
|
1812 |
uts4*) |
uts4*) |
2171 |
# If the export-symbols file already is a .def file (1st line |
# If the export-symbols file already is a .def file (1st line |
2172 |
# is EXPORTS), use it as is. |
# is EXPORTS), use it as is. |
2173 |
# If DATA tags from a recent dlltool are present, honour them! |
# If DATA tags from a recent dlltool are present, honour them! |
2174 |
archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then |
archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then |
2175 |
cp $export_symbols $output_objdir/$soname-def; |
cp $export_symbols $output_objdir/$soname-def; |
2176 |
else |
else |
2177 |
echo EXPORTS > $output_objdir/$soname-def; |
echo EXPORTS > $output_objdir/$soname-def; |
2180 |
set dummy \$symbol; |
set dummy \$symbol; |
2181 |
case \[$]# in |
case \[$]# in |
2182 |
2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; |
2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; |
2183 |
|
4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;; |
2184 |
*) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; |
*) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; |
2185 |
esac; |
esac; |
2186 |
_lt_hint=`expr 1 + \$_lt_hint`; |
_lt_hint=`expr 1 + \$_lt_hint`; |
2293 |
# need to do runtime linking. |
# need to do runtime linking. |
2294 |
case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) |
case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) |
2295 |
for ld_flag in $LDFLAGS; do |
for ld_flag in $LDFLAGS; do |
2296 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
case $ld_flag in |
2297 |
|
*-brtl*) |
2298 |
aix_use_runtimelinking=yes |
aix_use_runtimelinking=yes |
2299 |
break |
break |
2300 |
fi |
;; |
2301 |
|
esac |
2302 |
done |
done |
2303 |
esac |
esac |
2304 |
|
|
2412 |
esac |
esac |
2413 |
# FIXME: Relying on posixy $() will cause problems for |
# FIXME: Relying on posixy $() will cause problems for |
2414 |
# cross-compilation, but unfortunately the echo tests do not |
# cross-compilation, but unfortunately the echo tests do not |
2415 |
# yet detect zsh echo's removal of \ escapes. |
# yet detect zsh echo's removal of \ escapes. Also zsh mangles |
2416 |
archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' |
# `"' quotes if we put them in here... so don't! |
2417 |
|
archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' |
2418 |
# We need to add '_' to the symbols in $export_symbols first |
# We need to add '_' to the symbols in $export_symbols first |
2419 |
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' |
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' |
2420 |
hardcode_direct=yes |
hardcode_direct=yes |
2466 |
export_dynamic_flag_spec='${wl}-E' |
export_dynamic_flag_spec='${wl}-E' |
2467 |
;; |
;; |
2468 |
|
|
2469 |
irix5* | irix6*) |
irix5* | irix6* | nonstopux*) |
2470 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
2471 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
2472 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
2473 |
else |
else |
2474 |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
2475 |
|
hardcode_libdir_flag_spec='-rpath $libdir' |
2476 |
fi |
fi |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
2477 |
hardcode_libdir_separator=: |
hardcode_libdir_separator=: |
2478 |
link_all_deplibs=yes |
link_all_deplibs=yes |
2479 |
;; |
;; |
2501 |
hardcode_direct=yes |
hardcode_direct=yes |
2502 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
2503 |
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 |
2504 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
2505 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
2506 |
export_dynamic_flag_spec='${wl}-E' |
export_dynamic_flag_spec='${wl}-E' |
2507 |
else |
else |
2511 |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_libdir_flag_spec='-R$libdir' |
2512 |
;; |
;; |
2513 |
*) |
*) |
2514 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
2515 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
2516 |
;; |
;; |
2517 |
esac |
esac |
2623 |
;; |
;; |
2624 |
|
|
2625 |
sysv4) |
sysv4) |
2626 |
if test "x$host_vendor" = xsno; then |
case $host_vendor in |
2627 |
archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags' |
sni) |
2628 |
hardcode_direct=yes # is this really true??? |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
2629 |
else |
hardcode_direct=yes # is this really true??? |
2630 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
;; |
2631 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
siemens) |
2632 |
fi |
## LD is ld it makes a PLAMLIB |
2633 |
|
## CC just makes a GrossModule. |
2634 |
|
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
2635 |
|
reload_cmds='$CC -r -o $output$reload_objs' |
2636 |
|
hardcode_direct=no |
2637 |
|
;; |
2638 |
|
motorola) |
2639 |
|
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
2640 |
|
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
2641 |
|
;; |
2642 |
|
esac |
2643 |
runpath_var='LD_RUN_PATH' |
runpath_var='LD_RUN_PATH' |
2644 |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
2645 |
;; |
;; |
2780 |
|
|
2781 |
aix4* | aix5*) |
aix4* | aix5*) |
2782 |
version_type=linux |
version_type=linux |
2783 |
|
need_lib_prefix=no |
2784 |
|
need_version=no |
2785 |
|
hardcode_into_libs=yes |
2786 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
2787 |
# AIX 5 supports IA64 |
# AIX 5 supports IA64 |
2788 |
library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' |
library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' |
2821 |
fi |
fi |
2822 |
shlibpath_var=LIBPATH |
shlibpath_var=LIBPATH |
2823 |
fi |
fi |
2824 |
|
hardcode_into_libs=yes |
2825 |
;; |
;; |
2826 |
|
|
2827 |
amigaos*) |
amigaos*) |
2869 |
;; |
;; |
2870 |
yes,mingw*) |
yes,mingw*) |
2871 |
library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' |
library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' |
2872 |
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/;/ /g" -e "s,=/,/,g"` |
2873 |
;; |
;; |
2874 |
yes,pw32*) |
yes,pw32*) |
2875 |
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' |
2901 |
dynamic_linker=no |
dynamic_linker=no |
2902 |
;; |
;; |
2903 |
|
|
2904 |
|
freebsd*-gnu*) |
2905 |
|
version_type=linux |
2906 |
|
need_lib_prefix=no |
2907 |
|
need_version=no |
2908 |
|
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' |
2909 |
|
soname_spec='${libname}${release}.so$major' |
2910 |
|
shlibpath_var=LD_LIBRARY_PATH |
2911 |
|
shlibpath_overrides_runpath=no |
2912 |
|
hardcode_into_libs=yes |
2913 |
|
dynamic_linker='GNU/FreeBSD ld.so' |
2914 |
|
;; |
2915 |
|
|
2916 |
freebsd*) |
freebsd*) |
2917 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
2918 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
2964 |
postinstall_cmds='chmod 555 $lib' |
postinstall_cmds='chmod 555 $lib' |
2965 |
;; |
;; |
2966 |
|
|
2967 |
irix5* | irix6*) |
irix5* | irix6* | nonstopux*) |
2968 |
version_type=irix |
case $host_os in |
2969 |
|
nonstopux*) version_type=nonstopux ;; |
2970 |
|
*) version_type=irix ;; |
2971 |
|
esac |
2972 |
need_lib_prefix=no |
need_lib_prefix=no |
2973 |
need_version=no |
need_version=no |
2974 |
soname_spec='${libname}${release}.so$major' |
soname_spec='${libname}${release}.so$major' |
2975 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' |
2976 |
case $host_os in |
case $host_os in |
2977 |
irix5*) |
irix5* | nonstopux*) |
2978 |
libsuff= shlibsuff= |
libsuff= shlibsuff= |
2979 |
;; |
;; |
2980 |
*) |
*) |
3078 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
3079 |
version_type=osf |
version_type=osf |
3080 |
need_version=no |
need_version=no |
3081 |
soname_spec='${libname}${release}.so' |
need_lib_prefix=no |
3082 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' |
soname_spec='${libname}${release}.so$major' |
3083 |
|
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' |
3084 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
3085 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
3086 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
3087 |
|
hardcode_into_libs=yes |
3088 |
;; |
;; |
3089 |
|
|
3090 |
sco3.2v5*) |
sco3.2v5*) |
3127 |
case $host_vendor in |
case $host_vendor in |
3128 |
sni) |
sni) |
3129 |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
3130 |
|
need_lib_prefix=no |
3131 |
|
export_dynamic_flag_spec='${wl}-Blargedynsym' |
3132 |
|
runpath_var=LD_RUN_PATH |
3133 |
|
;; |
3134 |
|
siemens) |
3135 |
|
need_lib_prefix=no |
3136 |
;; |
;; |
3137 |
motorola) |
motorola) |
3138 |
need_lib_prefix=no |
need_lib_prefix=no |
3287 |
# Now quote all the things that may contain metacharacters while being |
# Now quote all the things that may contain metacharacters while being |
3288 |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
3289 |
# variables and quote the copies for generation of the libtool script. |
# variables and quote the copies for generation of the libtool script. |
3290 |
for var in echo old_CC old_CFLAGS \ |
for var in echo old_CC old_CFLAGS SED \ |
3291 |
AR AR_FLAGS CC LD LN_S NM SHELL \ |
AR AR_FLAGS CC LD LN_S NM SHELL \ |
3292 |
reload_flag reload_cmds wl \ |
reload_flag reload_cmds wl \ |
3293 |
pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ |
pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ |
3349 |
# configuration script generated by Autoconf, you may include it under |
# configuration script generated by Autoconf, you may include it under |
3350 |
# the same distribution terms that you use for the rest of that program. |
# the same distribution terms that you use for the rest of that program. |
3351 |
|
|
3352 |
|
# A sed that does not truncate output. |
3353 |
|
SED=$lt_SED |
3354 |
|
|
3355 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
3356 |
Xsed="sed -e s/^X//" |
Xsed="${SED} -e s/^X//" |
3357 |
|
|
3358 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
3359 |
# if CDPATH is set. |
# if CDPATH is set. |
4114 |
# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies |
# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies |
4115 |
# -- PORTME fill in with the dynamic library characteristics |
# -- PORTME fill in with the dynamic library characteristics |
4116 |
AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], |
AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], |
4117 |
[AC_CACHE_CHECK([how to recognise dependant libraries], |
[AC_CACHE_CHECK([how to recognise dependent libraries], |
4118 |
lt_cv_deplibs_check_method, |
lt_cv_deplibs_check_method, |
4119 |
[lt_cv_file_magic_cmd='$MAGIC_CMD' |
[lt_cv_file_magic_cmd='$MAGIC_CMD' |
4120 |
lt_cv_file_magic_test_file= |
lt_cv_file_magic_test_file= |
4189 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
4190 |
;; |
;; |
4191 |
|
|
4192 |
irix5* | irix6*) |
irix5* | irix6* | nonstopux*) |
4193 |
case $host_os in |
case $host_os in |
4194 |
irix5*) |
irix5* | nonstopux*) |
4195 |
# this will be overridden with pass_all, but let us keep it just in case |
# this will be overridden with pass_all, but let us keep it just in case |
4196 |
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" |
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" |
4197 |
;; |
;; |
4213 |
# This must be Linux ELF. |
# This must be Linux ELF. |
4214 |
linux-gnu*) |
linux-gnu*) |
4215 |
case $host_cpu in |
case $host_cpu in |
4216 |
alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* ) |
alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*) |
4217 |
lt_cv_deplibs_check_method=pass_all ;; |
lt_cv_deplibs_check_method=pass_all ;; |
4218 |
*) |
*) |
4219 |
# 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 |
4284 |
lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" |
lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" |
4285 |
lt_cv_file_magic_test_file=/lib/libc.so |
lt_cv_file_magic_test_file=/lib/libc.so |
4286 |
;; |
;; |
4287 |
|
siemens) |
4288 |
|
lt_cv_deplibs_check_method=pass_all |
4289 |
|
;; |
4290 |
esac |
esac |
4291 |
;; |
;; |
4292 |
esac |
esac |
4352 |
]) |
]) |
4353 |
|
|
4354 |
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for |
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for |
4355 |
# the libltdl convenience library and INCLTDL to the include flags for |
# the libltdl convenience library and LTDLINCL to the include flags for |
4356 |
# the libltdl header and adds --enable-ltdl-convenience to the |
# the libltdl header and adds --enable-ltdl-convenience to the |
4357 |
# configure arguments. Note that LIBLTDL and INCLTDL are not |
# configure arguments. Note that LIBLTDL and LTDLINCL are not |
4358 |
# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not |
# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not |
4359 |
# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed |
# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed |
4360 |
# with '${top_builddir}/' and INCLTDL will be prefixed with |
# with '${top_builddir}/' and LTDLINCL will be prefixed with |
4361 |
# '${top_srcdir}/' (note the single quotes!). If your package is not |
# '${top_srcdir}/' (note the single quotes!). If your package is not |
4362 |
# flat and you're not using automake, define top_builddir and |
# flat and you're not using automake, define top_builddir and |
4363 |
# top_srcdir appropriately in the Makefiles. |
# top_srcdir appropriately in the Makefiles. |
4369 |
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
4370 |
esac |
esac |
4371 |
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la |
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la |
4372 |
INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
4373 |
|
# For backwards non-gettext consistent compatibility... |
4374 |
|
INCLTDL="$LTDLINCL" |
4375 |
]) |
]) |
4376 |
|
|
4377 |
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for |
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for |
4378 |
# the libltdl installable library and INCLTDL to the include flags for |
# the libltdl installable library and LTDLINCL to the include flags for |
4379 |
# the libltdl header and adds --enable-ltdl-install to the configure |
# the libltdl header and adds --enable-ltdl-install to the configure |
4380 |
# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is |
# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is |
4381 |
# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed |
# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed |
4382 |
# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will |
# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will |
4383 |
# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed |
# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed |
4384 |
# with '${top_srcdir}/' (note the single quotes!). If your package is |
# with '${top_srcdir}/' (note the single quotes!). If your package is |
4385 |
# not flat and you're not using automake, define top_builddir and |
# not flat and you're not using automake, define top_builddir and |
4386 |
# top_srcdir appropriately in the Makefiles. |
# top_srcdir appropriately in the Makefiles. |
4398 |
if test x"$enable_ltdl_install" = x"yes"; then |
if test x"$enable_ltdl_install" = x"yes"; then |
4399 |
ac_configure_args="$ac_configure_args --enable-ltdl-install" |
ac_configure_args="$ac_configure_args --enable-ltdl-install" |
4400 |
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la |
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la |
4401 |
INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
4402 |
else |
else |
4403 |
ac_configure_args="$ac_configure_args --enable-ltdl-install=no" |
ac_configure_args="$ac_configure_args --enable-ltdl-install=no" |
4404 |
LIBLTDL="-lltdl" |
LIBLTDL="-lltdl" |
4405 |
INCLTDL= |
LTDLINCL= |
4406 |
fi |
fi |
4407 |
|
# For backwards non-gettext consistent compatibility... |
4408 |
|
INCLTDL="$LTDLINCL" |
4409 |
]) |
]) |
4410 |
|
|
4411 |
# old names |
# old names |
4420 |
# This is just to silence aclocal about the macro not being used |
# This is just to silence aclocal about the macro not being used |
4421 |
ifelse([AC_DISABLE_FAST_INSTALL]) |
ifelse([AC_DISABLE_FAST_INSTALL]) |
4422 |
|
|
4423 |
|
# NOTE: This macro has been submitted for inclusion into # |
4424 |
|
# GNU Autoconf as AC_PROG_SED. When it is available in # |
4425 |
|
# a released version of Autoconf we should remove this # |
4426 |
|
# macro and use it instead. # |
4427 |
|
# LT_AC_PROG_SED |
4428 |
|
# -------------- |
4429 |
|
# Check for a fully-functional sed program, that truncates |
4430 |
|
# as few characters as possible. Prefer GNU sed if found. |
4431 |
|
AC_DEFUN([LT_AC_PROG_SED], |
4432 |
|
[AC_MSG_CHECKING([for a sed that does not truncate output]) |
4433 |
|
AC_CACHE_VAL(lt_cv_path_SED, |
4434 |
|
[# Loop through the user's path and test for sed and gsed. |
4435 |
|
# Then use that list of sed's as ones to test for truncation. |
4436 |
|
as_executable_p="test -f" |
4437 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4438 |
|
for as_dir in $PATH |
4439 |
|
do |
4440 |
|
IFS=$as_save_IFS |
4441 |
|
test -z "$as_dir" && as_dir=. |
4442 |
|
for ac_prog in sed gsed; do |
4443 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4444 |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
4445 |
|
_sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext" |
4446 |
|
fi |
4447 |
|
done |
4448 |
|
done |
4449 |
|
done |
4450 |
|
|
4451 |
|
# Create a temporary directory, and hook for its removal unless debugging. |
4452 |
|
$debug || |
4453 |
|
{ |
4454 |
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
4455 |
|
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
4456 |
|
} |
4457 |
|
|
4458 |
|
# Create a (secure) tmp directory for tmp files. |
4459 |
|
: ${TMPDIR=/tmp} |
4460 |
|
{ |
4461 |
|
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` && |
4462 |
|
test -n "$tmp" && test -d "$tmp" |
4463 |
|
} || |
4464 |
|
{ |
4465 |
|
tmp=$TMPDIR/sed$$-$RANDOM |
4466 |
|
(umask 077 && mkdir $tmp) |
4467 |
|
} || |
4468 |
|
{ |
4469 |
|
echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
4470 |
|
{ (exit 1); exit 1; } |
4471 |
|
} |
4472 |
|
_max=0 |
4473 |
|
_count=0 |
4474 |
|
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
4475 |
|
# along with /bin/sed that truncates output. |
4476 |
|
for _sed in $_sed_list /usr/xpg4/bin/sed; do |
4477 |
|
test ! -f ${_sed} && break |
4478 |
|
cat /dev/null > "$tmp/sed.in" |
4479 |
|
_count=0 |
4480 |
|
echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in" |
4481 |
|
# Check for GNU sed and select it if it is found. |
4482 |
|
if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then |
4483 |
|
lt_cv_path_SED=${_sed} |
4484 |
|
break |
4485 |
|
fi |
4486 |
|
while true; do |
4487 |
|
cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" |
4488 |
|
mv "$tmp/sed.tmp" "$tmp/sed.in" |
4489 |
|
cp "$tmp/sed.in" "$tmp/sed.nl" |
4490 |
|
echo >>"$tmp/sed.nl" |
4491 |
|
${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break |
4492 |
|
cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break |
4493 |
|
# 40000 chars as input seems more than enough |
4494 |
|
test $_count -gt 10 && break |
4495 |
|
_count=`expr $_count + 1` |
4496 |
|
if test $_count -gt $_max; then |
4497 |
|
_max=$_count |
4498 |
|
lt_cv_path_SED=$_sed |
4499 |
|
fi |
4500 |
|
done |
4501 |
|
done |
4502 |
|
rm -rf "$tmp" |
4503 |
|
]) |
4504 |
|
if test "X$SED" != "X"; then |
4505 |
|
lt_cv_path_SED=$SED |
4506 |
|
else |
4507 |
|
SED=$lt_cv_path_SED |
4508 |
|
fi |
4509 |
|
AC_MSG_RESULT([$SED]) |
4510 |
|
]) |
4511 |
|
|