1 diff -ruN icecast-2.3.0-old/aclocal.m4 icecast-2.3.0-new/aclocal.m4
2 --- icecast-2.3.0-old/aclocal.m4 2005-09-23 23:18:41.000000000 +0200
3 +++ icecast-2.3.0-new/aclocal.m4 2005-10-02 13:02:52.000000000 +0200
8 -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
9 +# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
11 -# serial 47 AC_PROG_LIBTOOL
12 +# serial 46 AC_PROG_LIBTOOL
16 -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
17 -# -----------------------------------------------------------
18 -# If this macro is not defined by Autoconf, define it here.
19 -m4_ifdef([AC_PROVIDE_IFELSE],
21 - [m4_define([AC_PROVIDE_IFELSE],
22 - [m4_ifdef([AC_PROVIDE_$1],
28 AC_DEFUN([AC_PROG_LIBTOOL],
29 -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
30 -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
31 -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
32 - AC_PROVIDE_IFELSE([AC_PROG_CXX],
34 - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
36 -dnl And a similar setup for Fortran 77 support
37 - AC_PROVIDE_IFELSE([AC_PROG_F77],
39 - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
42 -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
43 -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
44 -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
45 - AC_PROVIDE_IFELSE([AC_PROG_GCJ],
47 - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
49 - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
51 - [ifdef([AC_PROG_GCJ],
52 - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
53 - ifdef([A][M_PROG_GCJ],
54 - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
55 - ifdef([LT_AC_PROG_GCJ],
56 - [define([LT_AC_PROG_GCJ],
57 - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
58 -])])# AC_PROG_LIBTOOL
63 -AC_DEFUN([_AC_PROG_LIBTOOL],
64 [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
65 -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
66 -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
67 -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
69 # This can be used to rebuild libtool when needed
70 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
73 # Prevent multiple expansion
74 define([AC_PROG_LIBTOOL], [])
81 AC_DEFUN([AC_LIBTOOL_SETUP],
84 AC_REQUIRE([AC_ENABLE_SHARED])dnl
85 AC_REQUIRE([AC_ENABLE_STATIC])dnl
86 AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
87 @@ -954,294 +901,410 @@
88 AC_REQUIRE([AC_PROG_LD])dnl
89 AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
90 AC_REQUIRE([AC_PROG_NM])dnl
91 +AC_REQUIRE([LT_AC_PROG_SED])dnl
93 AC_REQUIRE([AC_PROG_LN_S])dnl
94 AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
95 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
96 AC_REQUIRE([AC_OBJEXT])dnl
97 AC_REQUIRE([AC_EXEEXT])dnl
100 -AC_LIBTOOL_SYS_MAX_CMD_LEN
101 -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
104 -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
105 _LT_AC_PROG_ECHO_BACKSLASH
109 - # AIX sometimes has problems with the GCC collect2 program. For some
110 - # reason, if we set the COLLECT_NAMES environment variable, the problems
111 - # vanish in a puff of smoke.
112 - if test "X${COLLECT_NAMES+set}" != Xset; then
114 - export COLLECT_NAMES
115 +# Only perform the check for file, if the check method requires it
116 +case $deplibs_check_method in
118 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
124 -# Sed substitution that helps us do robust quoting. It backslashifies
125 -# metacharacters that are still active within double-quoted strings.
126 -Xsed='sed -e 1s/^X//'
127 -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
129 -# Same as above, but do not quote variable references.
130 -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
132 -# Sed substitution to delay expansion of an escaped shell variable in a
133 -# double_quote_subst'ed string.
134 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
136 -# Sed substitution to avoid accidental globbing in evaled expressions
137 -no_glob_subst='s/\*/\\\*/g'
143 -default_ofile=libtool
144 -can_build_shared=yes
146 -# All known linkers require a `.a' archive for static linking (except MSVC,
147 -# which needs '.lib').
149 -ltmain="$ac_aux_dir/ltmain.sh"
150 -ofile="$default_ofile"
151 -with_gnu_ld="$lt_cv_prog_gnu_ld"
153 -AC_CHECK_TOOL(AR, ar, false)
154 AC_CHECK_TOOL(RANLIB, ranlib, :)
155 AC_CHECK_TOOL(STRIP, strip, :)
158 -old_CFLAGS="$CFLAGS"
159 +ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
160 +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
161 +enable_win32_dll=yes, enable_win32_dll=no)
163 -# Set sane defaults for various variables
164 -test -z "$AR" && AR=ar
165 -test -z "$AR_FLAGS" && AR_FLAGS=cru
166 -test -z "$AS" && AS=as
167 -test -z "$CC" && CC=cc
168 -test -z "$LTCC" && LTCC=$CC
169 -test -z "$DLLTOOL" && DLLTOOL=dlltool
170 -test -z "$LD" && LD=ld
171 -test -z "$LN_S" && LN_S="ln -s"
172 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
173 -test -z "$NM" && NM=nm
174 -test -z "$SED" && SED=sed
175 -test -z "$OBJDUMP" && OBJDUMP=objdump
176 -test -z "$RANLIB" && RANLIB=:
177 -test -z "$STRIP" && STRIP=:
178 -test -z "$ac_objext" && ac_objext=o
179 +AC_ARG_ENABLE(libtool-lock,
180 + [ --disable-libtool-lock avoid locking (might break parallel builds)])
181 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
183 -# Determine commands to create old-style static archives.
184 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
185 -old_postinstall_cmds='chmod 644 $oldlib'
186 -old_postuninstall_cmds=
187 +# Some flags need to be propagated to the compiler or linker for good
191 + # Find out which ABI we are using.
192 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
193 + if AC_TRY_EVAL(ac_compile); then
194 + case `/usr/bin/file conftest.$ac_objext` in
209 -if test -n "$RANLIB"; then
212 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
215 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
218 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
221 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
222 + SAVE_CFLAGS="$CFLAGS"
223 + CFLAGS="$CFLAGS -belf"
224 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
227 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
229 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
230 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
231 + CFLAGS="$SAVE_CFLAGS"
235 -_LT_CC_BASENAME([$compiler])
236 +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
237 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
238 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
239 + AC_CHECK_TOOL(AS, as, false)
240 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
242 -# Only perform the check for file, if the check method requires it
243 -case $deplibs_check_method in
245 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
248 + # recent cygwin and mingw systems supply a stub DllMain which the user
249 + # can override, but on older systems we have to supply one
250 + AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
252 + [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
253 + DllMain (0, 0, 0);],
254 + [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
257 + *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
258 + # old mingw systems require "-dll" to link a DLL, while more recent ones
260 + SAVE_CFLAGS="$CFLAGS"
261 + CFLAGS="$CFLAGS -mdll"
262 + AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
263 + [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
264 + CFLAGS="$SAVE_CFLAGS" ;;
265 + *-*-cygwin* | *-*-pw32*)
266 + # cygwin systems need to pass --dll to the linker, and not link
267 + # crt.o which will require a WinMain@16 definition.
268 + lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
274 -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
275 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
276 -enable_win32_dll=yes, enable_win32_dll=no)
278 -AC_ARG_ENABLE([libtool-lock],
279 - [AC_HELP_STRING([--disable-libtool-lock],
280 - [avoid locking (might break parallel builds)])])
281 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
282 +_LT_AC_LTCONFIG_HACK
285 - [AC_HELP_STRING([--with-pic],
286 - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
287 - [pic_mode="$withval"],
288 - [pic_mode=default])
289 -test -z "$pic_mode" && pic_mode=default
292 -# Use C for the default configuration in the libtool script
294 -AC_LIBTOOL_LANG_C_CONFIG
296 -])# AC_LIBTOOL_SETUP
297 +# AC_LIBTOOL_HEADER_ASSERT
298 +# ------------------------
299 +AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
300 +[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
301 + [lt_cv_func_assert_works],
304 + if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
305 + case `$CC --version 2>/dev/null` in
306 + [[12]].*) lt_cv_func_assert_works=no ;;
307 + *) lt_cv_func_assert_works=yes ;;
313 +if test "x$lt_cv_func_assert_works" = xyes; then
314 + AC_CHECK_HEADERS(assert.h)
316 +])# AC_LIBTOOL_HEADER_ASSERT
318 -# _LT_AC_SYS_COMPILER
319 -# -------------------
320 -AC_DEFUN([_LT_AC_SYS_COMPILER],
321 -[AC_REQUIRE([AC_PROG_CC])dnl
322 +# _LT_AC_CHECK_DLFCN
323 +# --------------------
324 +AC_DEFUN([_LT_AC_CHECK_DLFCN],
325 +[AC_CHECK_HEADERS(dlfcn.h)
326 +])# _LT_AC_CHECK_DLFCN
328 -# If no C compiler was specified, use CC.
330 +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
331 +# ---------------------------------
332 +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
333 +[AC_REQUIRE([AC_CANONICAL_HOST])
334 +AC_REQUIRE([AC_PROG_NM])
335 +AC_REQUIRE([AC_OBJEXT])
336 +# Check for command to grab the raw symbol name followed by C symbol from nm.
337 +AC_MSG_CHECKING([command to parse $NM output])
338 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [dnl
340 -# Allow CC to be a program name with arguments.
342 -])# _LT_AC_SYS_COMPILER
343 +# These are sane defaults that work on at least a few old systems.
344 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
346 +# Character class describing NM global symbol codes.
347 +symcode='[[BCDEGRST]]'
349 -# _LT_CC_BASENAME(CC)
350 -# -------------------
351 -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
352 -AC_DEFUN([_LT_CC_BASENAME],
353 -[for cc_temp in $1""; do
355 - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
356 - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
361 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
363 +# Regexp to match symbols that can be accessed directly from C.
364 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
366 +# Transform the above into a raw symbol and a C symbol.
367 +symxfrm='\1 \2\3 \3'
369 -# _LT_COMPILER_BOILERPLATE
370 -# ------------------------
371 -# Check for compiler boilerplate output or warnings with
372 -# the simple compiler test code.
373 -AC_DEFUN([_LT_COMPILER_BOILERPLATE],
374 -[ac_outfile=conftest.$ac_objext
375 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
376 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
377 -_lt_compiler_boilerplate=`cat conftest.err`
379 -])# _LT_COMPILER_BOILERPLATE
382 -# _LT_LINKER_BOILERPLATE
383 -# ----------------------
384 -# Check for linker boilerplate output or warnings with
385 -# the simple link test code.
386 -AC_DEFUN([_LT_LINKER_BOILERPLATE],
387 -[ac_outfile=conftest.$ac_objext
388 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
389 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
390 -_lt_linker_boilerplate=`cat conftest.err`
392 -])# _LT_LINKER_BOILERPLATE
395 -# _LT_AC_SYS_LIBPATH_AIX
396 -# ----------------------
397 -# Links a minimal program and checks the executable
398 -# for the system default hardcoded library path. In most cases,
399 -# this is /usr/lib:/lib, but when the MPI compilers are used
400 -# the location of the communication and MPI libs are included too.
401 -# If we don't find anything, use the default library path according
402 -# to the aix ld manual.
403 -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
404 -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
405 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
407 -# Check for a 64-bit object if we didn't find anything.
408 -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; }
410 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
411 -])# _LT_AC_SYS_LIBPATH_AIX
414 -# _LT_AC_SHELL_INIT(ARG)
415 -# ----------------------
416 -AC_DEFUN([_LT_AC_SHELL_INIT],
417 -[ifdef([AC_DIVERSION_NOTICE],
418 - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
419 - [AC_DIVERT_PUSH(NOTICE)])
422 -])# _LT_AC_SHELL_INIT
423 +# Transform an extracted symbol line into a proper C declaration
424 +lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
426 +# Transform an extracted symbol line into symbol name and symbol address
427 +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'"
429 -# _LT_AC_PROG_ECHO_BACKSLASH
430 -# --------------------------
431 -# Add some code to the start of the generated configure script which
432 -# will find an echo command which doesn't interpret backslashes.
433 -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
434 -[_LT_AC_SHELL_INIT([
435 -# Check that we are running under the correct shell.
436 -SHELL=${CONFIG_SHELL-/bin/sh}
437 +# Define system-specific variables.
442 +cygwin* | mingw* | pw32*)
443 + symcode='[[ABCDGISTW]]'
445 +hpux*) # Its linker distinguishes data from code symbols
446 + lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
447 + 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'"
450 + symcode='[[BCDEGRST]]'
453 + symcode='[[BCDEGQRST]]'
459 + symcode='[[DFNSTU]]'
465 - # Remove one level of quotation (which was required for Make).
466 - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
467 +# Handle CRLF in mingw tool chain
471 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
476 -if test "X[$]1" = X--no-reexec; then
477 - # Discard the --no-reexec flag, and continue.
479 -elif test "X[$]1" = X--fallback-echo; then
480 - # Avoid inline document here, it may be left over
482 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
483 - # Yippee, $echo works!
486 - # Restart under the correct shell.
487 - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
488 +# If we're using GNU nm, then use its standard symbol codes.
489 +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
490 + symcode='[[ABCDGISTW]]'
493 -if test "X[$]1" = X--fallback-echo; then
494 - # used as fallback echo
501 +# Try without a prefix undercore, then with it.
502 +for ac_symprfx in "" "_"; do
504 -# The HP-UX ksh and POSIX shell print the target directory to stdout
506 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
507 + # Write the raw and C identifiers.
508 +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
510 -if test -z "$ECHO"; then
511 -if test "X${echo_test_string+set}" != Xset; then
512 -# find a string as large as possible, as long as the shell can cope with it
513 - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
514 - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
515 - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
516 - echo_test_string=`eval $cmd` &&
517 - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
523 + # Check to see that the pipe works correctly.
526 + cat > conftest.$ac_ext <<EOF
531 +void nm_test_func(){}
535 +int main(){nm_test_var='a';nm_test_func();return(0);}
538 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
539 - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
540 - test "X$echo_testing_string" = "X$echo_test_string"; then
543 - # The Solaris, AIX, and Digital Unix default echo programs unquote
544 - # backslashes. This makes it impossible to quote backslashes using
545 - # echo "$something" | sed 's/\\/\\\\/g'
547 + if AC_TRY_EVAL(ac_compile); then
548 + # Now try to grab the symbols.
550 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
551 + # Try sorting and uniquifying the output.
552 + if sort "$nlist" | uniq > "$nlist"T; then
553 + mv -f "$nlist"T "$nlist"
558 + # Make sure that we snagged all the symbols we need.
559 + if egrep ' nm_test_var$' "$nlist" >/dev/null; then
560 + if egrep ' nm_test_func$' "$nlist" >/dev/null; then
561 + cat <<EOF > conftest.$ac_ext
567 + # Now generate the symbol file.
568 + eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
570 + cat <<EOF >> conftest.$ac_ext
571 +#if defined (__STDC__) && __STDC__
572 +# define lt_ptr void *
574 +# define lt_ptr char *
578 +/* The mapping between symbol names and symbols. */
583 +lt_preloaded_symbols[[]] =
586 + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
587 + cat <<\EOF >> conftest.$ac_ext
595 + # Now try linking the two files.
596 + mv conftest.$ac_objext conftstm.$ac_objext
598 + save_CFLAGS="$CFLAGS"
599 + LIBS="conftstm.$ac_objext"
600 + CFLAGS="$CFLAGS$no_builtin_flag"
601 + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
605 + CFLAGS="$save_CFLAGS"
607 + echo "cannot find nm_test_func in $nlist" >&AC_FD_CC
610 + echo "cannot find nm_test_var in $nlist" >&AC_FD_CC
613 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC
616 + echo "$progname: failed program was:" >&AC_FD_CC
617 + cat conftest.$ac_ext >&5
619 + rm -f conftest* conftst*
621 + # Do not use the global_symbol_pipe unless it works.
622 + if test "$pipe_works" = yes; then
625 + lt_cv_sys_global_symbol_pipe=
629 +global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
630 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
631 + global_symbol_to_cdecl=
632 + global_symbol_to_c_name_address=
634 + global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
635 + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
637 +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
639 + AC_MSG_RESULT(failed)
643 +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
645 +# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
646 +# ---------------------------------
647 +AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],
648 +[# Find the correct PATH separator. Usually this is `:', but
649 +# DJGPP uses `;' like DOS.
650 +if test "X${PATH_SEPARATOR+set}" != Xset; then
651 + UNAME=${UNAME-`uname 2>/dev/null`}
653 + *-DOS) lt_cv_sys_path_separator=';' ;;
654 + *) lt_cv_sys_path_separator=':' ;;
656 + PATH_SEPARATOR=$lt_cv_sys_path_separator
658 +])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
660 +# _LT_AC_PROG_ECHO_BACKSLASH
661 +# --------------------------
662 +# Add some code to the start of the generated configure script which
663 +# will find an echo command which doesn't interpret backslashes.
664 +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
665 +[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
666 + [AC_DIVERT_PUSH(NOTICE)])
667 +_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
669 +# Check that we are running under the correct shell.
670 +SHELL=${CONFIG_SHELL-/bin/sh}
674 + # Remove one level of quotation (which was required for Make).
675 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
680 +if test "X[$]1" = X--no-reexec; then
681 + # Discard the --no-reexec flag, and continue.
683 +elif test "X[$]1" = X--fallback-echo; then
684 + # Avoid inline document here, it may be left over
686 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
687 + # Yippee, $echo works!
690 + # Restart under the correct shell.
691 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
694 +if test "X[$]1" = X--fallback-echo; then
695 + # used as fallback echo
703 +# The HP-UX ksh and POSIX shell print the target directory to stdout
705 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
707 +if test -z "$ECHO"; then
708 +if test "X${echo_test_string+set}" != Xset; then
709 +# find a string as large as possible, as long as the shell can cope with it
710 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
711 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
712 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
713 + echo_test_string="`eval $cmd`" &&
714 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
721 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
722 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
723 + test "X$echo_testing_string" = "X$echo_test_string"; then
726 + # The Solaris, AIX, and Digital Unix default echo programs unquote
727 + # backslashes. This makes it impossible to quote backslashes using
728 + # echo "$something" | sed 's/\\/\\\\/g'
730 # So, first we look for a working echo in the user's PATH.
732 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
733 + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
734 for dir in $PATH /usr/ucb; do
736 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
737 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
738 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
739 @@ -1250,7 +1313,7 @@
746 if test "X$echo" = Xecho; then
747 # We didn't find a better echo, so look for alternatives.
748 @@ -1323,353 +1386,38 @@
752 -])])# _LT_AC_PROG_ECHO_BACKSLASH
757 -AC_DEFUN([_LT_AC_LOCK],
758 -[AC_ARG_ENABLE([libtool-lock],
759 - [AC_HELP_STRING([--disable-libtool-lock],
760 - [avoid locking (might break parallel builds)])])
761 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
763 -# Some flags need to be propagated to the compiler or linker for good
767 - # Find out which ABI we are using.
768 - echo 'int i;' > conftest.$ac_ext
769 - if AC_TRY_EVAL(ac_compile); then
770 - case `/usr/bin/file conftest.$ac_objext` in
772 - HPUX_IA64_MODE="32"
775 - HPUX_IA64_MODE="64"
782 - # Find out which ABI we are using.
783 - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
784 - if AC_TRY_EVAL(ac_compile); then
785 - if test "$lt_cv_prog_gnu_ld" = yes; then
786 - case `/usr/bin/file conftest.$ac_objext` in
788 - LD="${LD-ld} -melf32bsmip"
791 - LD="${LD-ld} -melf32bmipn32"
794 - LD="${LD-ld} -melf64bmip"
798 - case `/usr/bin/file conftest.$ac_objext` in
814 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
815 - # Find out which ABI we are using.
816 - echo 'int i;' > conftest.$ac_ext
817 - if AC_TRY_EVAL(ac_compile); then
818 - case `/usr/bin/file conftest.o` in
822 - LD="${LD-ld} -m elf_i386"
824 - ppc64-*linux*|powerpc64-*linux*)
825 - LD="${LD-ld} -m elf32ppclinux"
828 - LD="${LD-ld} -m elf_s390"
831 - LD="${LD-ld} -m elf32_sparc"
838 - LD="${LD-ld} -m elf_x86_64"
840 - ppc*-*linux*|powerpc*-*linux*)
841 - LD="${LD-ld} -m elf64ppc"
844 - LD="${LD-ld} -m elf64_s390"
847 - LD="${LD-ld} -m elf64_sparc"
857 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
858 - SAVE_CFLAGS="$CFLAGS"
859 - CFLAGS="$CFLAGS -belf"
860 - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
862 - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
864 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
865 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
866 - CFLAGS="$SAVE_CFLAGS"
869 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
870 -[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
871 - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
872 - AC_CHECK_TOOL(AS, as, false)
873 - AC_CHECK_TOOL(OBJDUMP, objdump, false)
878 -need_locks="$enable_libtool_lock"
883 -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
884 -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
885 -# ----------------------------------------------------------------
886 -# Check whether the given compiler option works
887 -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
888 -[AC_REQUIRE([LT_AC_PROG_SED])
889 -AC_CACHE_CHECK([$1], [$2],
891 - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
892 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
893 - lt_compiler_flag="$3"
894 - # Insert the option either (1) after the last *FLAGS variable, or
895 - # (2) before a word containing "conftest.", or (3) at the end.
896 - # Note that $ac_compile itself does not contain backslashes and begins
897 - # with a dollar sign (not a hyphen), so the echo should work correctly.
898 - # The option is referenced via a variable to avoid confusing sed.
899 - lt_compile=`echo "$ac_compile" | $SED \
900 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
901 - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
902 - -e 's:$: $lt_compiler_flag:'`
903 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
904 - (eval "$lt_compile" 2>conftest.err)
906 - cat conftest.err >&AS_MESSAGE_LOG_FD
907 - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
908 - if (exit $ac_status) && test -s "$ac_outfile"; then
909 - # The compiler can only warn and ignore the option if not recognized
910 - # So say no if there are warnings other than the usual output.
911 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
912 - $SED '/^$/d' conftest.err >conftest.er2
913 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
920 +])# _LT_AC_PROG_ECHO_BACKSLASH
922 -if test x"[$]$2" = xyes; then
923 - ifelse([$5], , :, [$5])
924 +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
925 +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
926 +# ------------------------------------------------------------------
927 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
928 +[if test "$cross_compiling" = yes; then :
931 - ifelse([$6], , :, [$6])
933 -])# AC_LIBTOOL_COMPILER_OPTION
936 -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
937 -# [ACTION-SUCCESS], [ACTION-FAILURE])
938 -# ------------------------------------------------------------
939 -# Check whether the given compiler option works
940 -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
941 -[AC_CACHE_CHECK([$1], [$2],
943 - save_LDFLAGS="$LDFLAGS"
944 - LDFLAGS="$LDFLAGS $3"
945 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
946 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
947 - # The linker can only warn and ignore the option if not recognized
948 - # So say no if there are warnings
949 - if test -s conftest.err; then
950 - # Append any errors to the config.log.
951 - cat conftest.err 1>&AS_MESSAGE_LOG_FD
952 - $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
953 - $SED '/^$/d' conftest.err >conftest.er2
954 - if diff conftest.exp conftest.er2 >/dev/null; then
962 - LDFLAGS="$save_LDFLAGS"
964 + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
965 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
966 + lt_status=$lt_dlunknown
967 + cat > conftest.$ac_ext <<EOF
968 +[#line __oline__ "configure"
969 +#include "confdefs.h"
971 -if test x"[$]$2" = xyes; then
972 - ifelse([$4], , :, [$4])
974 - ifelse([$5], , :, [$5])
976 -])# AC_LIBTOOL_LINKER_OPTION
983 -# AC_LIBTOOL_SYS_MAX_CMD_LEN
984 -# --------------------------
985 -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
986 -[# find the maximum length of command line arguments
987 -AC_MSG_CHECKING([the maximum length of command line arguments])
988 -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
994 - # On DJGPP, this test can blow up pretty badly due to problems in libc
995 - # (any single argument exceeding 2000 bytes causes a buffer overrun
996 - # during glob expansion). Even if it were fixed, the result of this
997 - # check would be larger than it should be.
998 - lt_cv_sys_max_cmd_len=12288; # 12K is about right
1002 - # Under GNU Hurd, this test is not required because there is
1003 - # no limit to the length of command line arguments.
1004 - # Libtool will interpret -1 as no limit whatsoever
1005 - lt_cv_sys_max_cmd_len=-1;
1009 - # On Win9x/ME, this test blows up -- it succeeds, but takes
1010 - # about 5 minutes as the teststring grows exponentially.
1011 - # Worse, since 9x/ME are not pre-emptively multitasking,
1012 - # you end up with a "frozen" computer, even though with patience
1013 - # the test eventually succeeds (with a max line length of 256k).
1014 - # Instead, let's just punt: use the minimum linelength reported by
1015 - # all of the supported platforms: 8192 (on NT/2K/XP).
1016 - lt_cv_sys_max_cmd_len=8192;
1020 - # On AmigaOS with pdksh, this test takes hours, literally.
1021 - # So we just punt and use a minimum line length of 8192.
1022 - lt_cv_sys_max_cmd_len=8192;
1025 - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
1026 - # This has been around since 386BSD, at least. Likely further.
1027 - if test -x /sbin/sysctl; then
1028 - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1029 - elif test -x /usr/sbin/sysctl; then
1030 - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1032 - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1034 - # And add a safety zone
1035 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1036 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1039 - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1040 - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1041 - # nice to cause kernel panics so lets avoid the loop below.
1042 - # First set a reasonable default.
1043 - lt_cv_sys_max_cmd_len=16384
1045 - if test -x /sbin/sysconfig; then
1046 - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1047 - *1*) lt_cv_sys_max_cmd_len=-1 ;;
1052 - # If test is not a shell built-in, we'll probably end up computing a
1053 - # maximum length that is only half of the actual maximum length, but
1055 - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1056 - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1057 - = "XX$teststring") >/dev/null 2>&1 &&
1058 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
1059 - lt_cv_sys_max_cmd_len=$new_result &&
1060 - test $i != 17 # 1/2 MB should be enough
1063 - teststring=$teststring$teststring
1066 - # Add a significant safety factor because C++ compilers can tack on massive
1067 - # amounts of additional arguments before passing them to the linker.
1068 - # It appears as though 1/2 is a usable value.
1069 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1073 -if test -n $lt_cv_sys_max_cmd_len ; then
1074 - AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
1076 - AC_MSG_RESULT(none)
1078 -])# AC_LIBTOOL_SYS_MAX_CMD_LEN
1081 -# _LT_AC_CHECK_DLFCN
1082 -# --------------------
1083 -AC_DEFUN([_LT_AC_CHECK_DLFCN],
1084 -[AC_CHECK_HEADERS(dlfcn.h)dnl
1085 -])# _LT_AC_CHECK_DLFCN
1088 -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1089 -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1090 -# ------------------------------------------------------------------
1091 -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
1092 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1093 -if test "$cross_compiling" = yes; then :
1096 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1097 - lt_status=$lt_dlunknown
1098 - cat > conftest.$ac_ext <<EOF
1099 -[#line __oline__ "configure"
1100 -#include "confdefs.h"
1109 -# define LT_DLGLOBAL RTLD_GLOBAL
1112 -# define LT_DLGLOBAL DL_GLOBAL
1114 -# define LT_DLGLOBAL 0
1118 +# define LT_DLGLOBAL RTLD_GLOBAL
1121 +# define LT_DLGLOBAL DL_GLOBAL
1123 +# define LT_DLGLOBAL 0
1127 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
1128 find out it does not work in some platform. */
1129 @@ -1714,7 +1462,7 @@
1132 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1133 - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
1134 + (./conftest; exit; ) 2>/dev/null
1137 x$lt_dlno_uscore) $1 ;;
1138 @@ -1729,12 +1477,10 @@
1140 ])# _LT_AC_TRY_DLOPEN_SELF
1143 # AC_LIBTOOL_DLOPEN_SELF
1144 # -------------------
1145 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
1146 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1147 -if test "x$enable_dlopen" != xyes; then
1148 +[if test "x$enable_dlopen" != xyes; then
1149 enable_dlopen=unknown
1150 enable_dlopen_self=unknown
1151 enable_dlopen_self_static=unknown
1152 @@ -1749,39 +1495,24 @@
1153 lt_cv_dlopen_self=yes
1157 + cygwin* | mingw* | pw32*)
1158 lt_cv_dlopen="LoadLibrary"
1163 - lt_cv_dlopen="dlopen"
1164 - lt_cv_dlopen_libs=
1168 - # if libdl is installed we need to link against it
1169 - AC_CHECK_LIB([dl], [dlopen],
1170 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
1171 - lt_cv_dlopen="dyld"
1172 - lt_cv_dlopen_libs=
1173 - lt_cv_dlopen_self=yes
1178 AC_CHECK_FUNC([shl_load],
1179 - [lt_cv_dlopen="shl_load"],
1180 + [lt_cv_dlopen="shl_load"],
1181 [AC_CHECK_LIB([dld], [shl_load],
1182 - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
1183 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
1184 [AC_CHECK_FUNC([dlopen],
1185 [lt_cv_dlopen="dlopen"],
1186 [AC_CHECK_LIB([dl], [dlopen],
1187 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1188 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1189 [AC_CHECK_LIB([svld], [dlopen],
1190 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1191 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1192 [AC_CHECK_LIB([dld], [dld_link],
1193 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
1194 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
1198 @@ -1799,6 +1530,7 @@
1199 case $lt_cv_dlopen in
1201 save_CPPFLAGS="$CPPFLAGS"
1202 + AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
1203 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1205 save_LDFLAGS="$LDFLAGS"
1206 @@ -1842,1833 +1574,707 @@
1208 ])# AC_LIBTOOL_DLOPEN_SELF
1210 +AC_DEFUN([_LT_AC_LTCONFIG_HACK],
1211 +[AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])dnl
1212 +# Sed substitution that helps us do robust quoting. It backslashifies
1213 +# metacharacters that are still active within double-quoted strings.
1214 +Xsed='sed -e s/^X//'
1215 +sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
1217 -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1218 -# ---------------------------------
1219 -# Check to see if options -c and -o are simultaneously supported by compiler
1220 -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1221 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1222 -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1223 - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1224 - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1225 - $rm -r conftest 2>/dev/null
1229 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1231 - lt_compiler_flag="-o out/conftest2.$ac_objext"
1232 - # Insert the option either (1) after the last *FLAGS variable, or
1233 - # (2) before a word containing "conftest.", or (3) at the end.
1234 - # Note that $ac_compile itself does not contain backslashes and begins
1235 - # with a dollar sign (not a hyphen), so the echo should work correctly.
1236 - lt_compile=`echo "$ac_compile" | $SED \
1237 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1238 - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1239 - -e 's:$: $lt_compiler_flag:'`
1240 - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1241 - (eval "$lt_compile" 2>out/conftest.err)
1243 - cat out/conftest.err >&AS_MESSAGE_LOG_FD
1244 - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1245 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
1247 - # The compiler can only warn and ignore the option if not recognized
1248 - # So say no if there are warnings
1249 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
1250 - $SED '/^$/d' out/conftest.err >out/conftest.er2
1251 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1252 - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1255 - chmod u+w . 2>&AS_MESSAGE_LOG_FD
1257 - # SGI C++ compiler will create directory out/ii_files/ for
1258 - # template instantiation
1259 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1260 - $rm out/* && rmdir out
1265 -])# AC_LIBTOOL_PROG_CC_C_O
1267 +# Same as above, but do not quote variable references.
1268 +double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
1270 -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
1271 -# -----------------------------------------
1272 -# Check to see if we can do hard links to lock some files if needed
1273 -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
1274 -[AC_REQUIRE([_LT_AC_LOCK])dnl
1275 +# Sed substitution to delay expansion of an escaped shell variable in a
1276 +# double_quote_subst'ed string.
1277 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1279 -hard_links="nottested"
1280 -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1281 - # do not overwrite the value of need_locks provided by the user
1282 - AC_MSG_CHECKING([if we can lock with hard links])
1285 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1287 - ln conftest.a conftest.b 2>&5 || hard_links=no
1288 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
1289 - AC_MSG_RESULT([$hard_links])
1290 - if test "$hard_links" = no; then
1291 - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
1297 -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
1301 +# Global variables:
1302 +default_ofile=libtool
1303 +can_build_shared=yes
1305 -# AC_LIBTOOL_OBJDIR
1306 -# -----------------
1307 -AC_DEFUN([AC_LIBTOOL_OBJDIR],
1308 -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1309 -[rm -f .libs 2>/dev/null
1310 -mkdir .libs 2>/dev/null
1311 -if test -d .libs; then
1312 - lt_cv_objdir=.libs
1314 - # MS-DOS does not allow filenames that begin with a dot.
1315 - lt_cv_objdir=_libs
1317 -rmdir .libs 2>/dev/null])
1318 -objdir=$lt_cv_objdir
1319 -])# AC_LIBTOOL_OBJDIR
1320 +# All known linkers require a `.a' archive for static linking (except M$VC,
1321 +# which needs '.lib').
1323 +ltmain="$ac_aux_dir/ltmain.sh"
1324 +ofile="$default_ofile"
1325 +with_gnu_ld="$lt_cv_prog_gnu_ld"
1326 +need_locks="$enable_libtool_lock"
1329 +old_CFLAGS="$CFLAGS"
1331 -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
1332 -# ----------------------------------------------
1333 -# Check hardcoding attributes.
1334 -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
1335 -[AC_MSG_CHECKING([how to hardcode library paths into programs])
1336 -_LT_AC_TAGVAR(hardcode_action, $1)=
1337 -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
1338 - test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
1339 - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
1340 +# Set sane defaults for various variables
1341 +test -z "$AR" && AR=ar
1342 +test -z "$AR_FLAGS" && AR_FLAGS=cru
1343 +test -z "$AS" && AS=as
1344 +test -z "$CC" && CC=cc
1345 +test -z "$DLLTOOL" && DLLTOOL=dlltool
1346 +test -z "$LD" && LD=ld
1347 +test -z "$LN_S" && LN_S="ln -s"
1348 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
1349 +test -z "$NM" && NM=nm
1350 +test -z "$OBJDUMP" && OBJDUMP=objdump
1351 +test -z "$RANLIB" && RANLIB=:
1352 +test -z "$STRIP" && STRIP=:
1353 +test -z "$ac_objext" && ac_objext=o
1355 - # We can hardcode non-existant directories.
1356 - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
1357 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
1358 - # have to relink, otherwise we might link with an installed library
1359 - # when we should be linking with a yet-to-be-installed one
1360 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
1361 - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
1362 - # Linking always hardcodes the temporary library directory.
1363 - _LT_AC_TAGVAR(hardcode_action, $1)=relink
1365 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
1366 - _LT_AC_TAGVAR(hardcode_action, $1)=immediate
1368 +if test x"$host" != x"$build"; then
1369 + ac_tool_prefix=${host_alias}-
1371 - # We cannot hardcode anything, or else we can only hardcode existing
1373 - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
1376 -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
1378 -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
1379 - # Fast installation is not supported
1380 - enable_fast_install=no
1381 -elif test "$shlibpath_overrides_runpath" = yes ||
1382 - test "$enable_shared" = no; then
1383 - # Fast installation is not necessary
1384 - enable_fast_install=needless
1386 -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
1387 +# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
1390 +linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
1395 + # AIX sometimes has problems with the GCC collect2 program. For some
1396 + # reason, if we set the COLLECT_NAMES environment variable, the problems
1397 + # vanish in a puff of smoke.
1398 + if test "X${COLLECT_NAMES+set}" != Xset; then
1400 + export COLLECT_NAMES
1405 -# AC_LIBTOOL_SYS_LIB_STRIP
1406 -# ------------------------
1407 -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
1410 -AC_MSG_CHECKING([whether stripping libraries is possible])
1411 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1412 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1413 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1414 - AC_MSG_RESULT([yes])
1416 -# FIXME - insert some real tests, host_os isn't really good enough
1417 +# Determine commands to create old-style static archives.
1418 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
1419 +old_postinstall_cmds='chmod 644 $oldlib'
1420 +old_postuninstall_cmds=
1422 +if test -n "$RANLIB"; then
1425 - if test -n "$STRIP" ; then
1426 - striplib="$STRIP -x"
1427 - AC_MSG_RESULT([yes])
1429 - AC_MSG_RESULT([no])
1433 - AC_MSG_RESULT([no])
1435 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
1438 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
1441 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1443 -])# AC_LIBTOOL_SYS_LIB_STRIP
1445 +# Allow CC to be a program name with arguments.
1449 -# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1450 -# -----------------------------
1451 -# PORTME Fill in your ld.so characteristics
1452 -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
1453 -[AC_MSG_CHECKING([dynamic linker characteristics])
1454 -library_names_spec=
1455 -libname_spec='lib$name'
1459 -postuninstall_cmds=
1463 -shlibpath_overrides_runpath=unknown
1465 -dynamic_linker="$host_os ld.so"
1466 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
1467 -if test "$GCC" = yes; then
1468 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1469 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1470 - # if the path contains ";" then we assume it to be the separator
1471 - # otherwise default to the standard path separator (i.e. ":") - it is
1472 - # assumed that no part of a normal pathname contains ";" but that should
1473 - # okay in the real world where ";" in dirpaths is itself problematic.
1474 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1476 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1478 +AC_MSG_CHECKING([for objdir])
1479 +rm -f .libs 2>/dev/null
1480 +mkdir .libs 2>/dev/null
1481 +if test -d .libs; then
1484 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1485 + # MS-DOS does not allow filenames that begin with a dot.
1488 -need_lib_prefix=unknown
1489 -hardcode_into_libs=no
1490 +rmdir .libs 2>/dev/null
1491 +AC_MSG_RESULT($objdir)
1493 -# when you set need_version to no, make sure it does not cause -set_version
1494 -# flags to be left without arguments
1495 -need_version=unknown
1499 - version_type=linux
1500 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1501 - shlibpath_var=LIBPATH
1503 +[ --with-pic try to use only PIC/non-PIC objects [default=use both]],
1504 +pic_mode="$withval", pic_mode=default)
1505 +test -z "$pic_mode" && pic_mode=default
1507 - # AIX 3 has no versioning support, so we append a major version to the name.
1508 - soname_spec='${libname}${release}${shared_ext}$major'
1510 +# We assume here that the value for lt_cv_prog_cc_pic will not be cached
1511 +# in isolation, and that seeing it set (from the cache) indicates that
1512 +# the associated values are set (in the cache) correctly too.
1513 +AC_MSG_CHECKING([for $compiler option to produce PIC])
1514 +AC_CACHE_VAL(lt_cv_prog_cc_pic,
1515 +[ lt_cv_prog_cc_pic=
1516 + lt_cv_prog_cc_shlib=
1518 + lt_cv_prog_cc_static=
1519 + lt_cv_prog_cc_no_builtin=
1520 + lt_cv_prog_cc_can_build_shared=$can_build_shared
1523 - version_type=linux
1524 - need_lib_prefix=no
1526 - hardcode_into_libs=yes
1527 - if test "$host_cpu" = ia64; then
1528 - # AIX 5 supports IA64
1529 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1530 - shlibpath_var=LD_LIBRARY_PATH
1531 + if test "$GCC" = yes; then
1532 + lt_cv_prog_cc_wl='-Wl,'
1533 + lt_cv_prog_cc_static='-static'
1537 + # Below there is a dirty hack to force normal static linking with -ldl
1538 + # The problem is because libdl dynamically linked with both libc and
1539 + # libC (AIX C++ library), which obviously doesn't included in libraries
1540 + # list by gcc. This cause undefined symbols with -static flags.
1541 + # This hack allows C programs to be linked with "-static -ldl", but
1542 + # not sure about C++ programs.
1543 + lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
1546 + # FIXME: we need at least 68020 code to build shared libraries, but
1547 + # adding the `-m68020' flag to GCC prevents building anything better,
1549 + lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
1551 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1552 + # PIC is the default for these OSes.
1554 + darwin* | rhapsody*)
1555 + # PIC is the default on this platform
1556 + # Common symbols not allowed in MH_DYLIB files
1557 + lt_cv_prog_cc_pic='-fno-common'
1559 + cygwin* | mingw* | pw32* | os2*)
1560 + # This hack is so that the source file can tell whether it is being
1561 + # built for inclusion in a dll (and should export symbols for example).
1562 + lt_cv_prog_cc_pic='-DDLL_EXPORT'
1565 + if test -d /usr/nec; then
1566 + lt_cv_prog_cc_pic=-Kconform_pic
1570 + lt_cv_prog_cc_pic='-fPIC'
1574 - # With GCC up to 2.95.x, collect2 would create an import file
1575 - # for dependence libraries. The import file would start with
1576 - # the line `#! .'. This would cause the generated library to
1577 - # depend on `.', always an invalid library. This was fixed in
1578 - # development snapshots of GCC prior to 3.0.
1579 + # PORTME Check for PIC flags for the system compiler.
1581 - aix4 | aix4.[[01]] | aix4.[[01]].*)
1582 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1584 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1586 + aix3* | aix4* | aix5*)
1587 + lt_cv_prog_cc_wl='-Wl,'
1588 + # All AIX code is PIC.
1589 + if test "$host_cpu" = ia64; then
1590 + # AIX 5 now supports IA64 processor
1591 + lt_cv_prog_cc_static='-Bstatic'
1593 - can_build_shared=no
1594 + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
1598 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1599 - # soname into executable. Probably we can add versioning support to
1600 - # collect2, so additional links can be useful in future.
1601 - if test "$aix_use_runtimelinking" = yes; then
1602 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1603 - # instead of lib<name>.a to let people know that these are not
1604 - # typical AIX shared libraries.
1605 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1607 - # We preserve .a as extension for shared libraries through AIX4.2
1608 - # and later when we are not doing run time linking.
1609 - library_names_spec='${libname}${release}.a $libname.a'
1610 - soname_spec='${libname}${release}${shared_ext}$major'
1612 - shlibpath_var=LIBPATH
1617 - library_names_spec='$libname.ixlibrary $libname.a'
1618 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
1619 - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
1621 + hpux9* | hpux10* | hpux11*)
1622 + # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
1623 + lt_cv_prog_cc_wl='-Wl,'
1624 + lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
1625 + lt_cv_prog_cc_pic='+Z'
1629 - library_names_spec='${libname}${shared_ext}'
1630 - dynamic_linker="$host_os ld.so"
1631 - shlibpath_var=LIBRARY_PATH
1633 + irix5* | irix6* | nonstopux*)
1634 + lt_cv_prog_cc_wl='-Wl,'
1635 + lt_cv_prog_cc_static='-non_shared'
1636 + # PIC (with -KPIC) is the default.
1640 - version_type=linux
1642 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1643 - soname_spec='${libname}${release}${shared_ext}$major'
1644 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1645 - shlibpath_var=LD_LIBRARY_PATH
1646 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1647 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1648 - # the default ld.so.conf also contains /usr/contrib/lib and
1649 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1650 - # libtool to hard-code these into programs
1652 + cygwin* | mingw* | pw32* | os2*)
1653 + # This hack is so that the source file can tell whether it is being
1654 + # built for inclusion in a dll (and should export symbols for example).
1655 + lt_cv_prog_cc_pic='-DDLL_EXPORT'
1658 -cygwin* | mingw* | pw32*)
1659 - version_type=windows
1660 - shrext_cmds=".dll"
1662 - need_lib_prefix=no
1664 + lt_cv_prog_cc_pic='-KPIC'
1665 + lt_cv_prog_cc_static='-Bstatic'
1668 - case $GCC,$host_os in
1669 - yes,cygwin* | yes,mingw* | yes,pw32*)
1670 - library_names_spec='$libname.dll.a'
1671 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
1672 - postinstall_cmds='base_file=`basename \${file}`~
1673 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1674 - dldir=$destdir/`dirname \$dlpath`~
1675 - test -d \$dldir || mkdir -p \$dldir~
1676 - $install_prog $dir/$dlname \$dldir/$dlname~
1677 - chmod a+x \$dldir/$dlname'
1678 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1679 - dlpath=$dir/\$dldll~
1681 - shlibpath_overrides_runpath=yes
1682 + osf3* | osf4* | osf5*)
1683 + # All OSF/1 code is PIC.
1684 + lt_cv_prog_cc_wl='-Wl,'
1685 + lt_cv_prog_cc_static='-non_shared'
1690 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1691 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1692 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1694 + lt_cv_prog_cc_pic='-Kpic'
1695 + lt_cv_prog_cc_static='-dn'
1696 + lt_cv_prog_cc_shlib='-belf'
1699 - # MinGW DLLs use traditional 'lib' prefix
1700 - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1701 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1702 - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
1703 - # It is most probably a Windows format PATH printed by
1704 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
1705 - # path with ; separators, and with drive letters. We can handle the
1706 - # drive letters (cygwin fileutils understands them), so leave them,
1707 - # especially as we might pass files found there to a mingw objdump,
1708 - # which wouldn't understand a cygwinified path. Ahh.
1709 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1711 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1714 + lt_cv_prog_cc_pic='-KPIC'
1715 + lt_cv_prog_cc_static='-Bstatic'
1716 + lt_cv_prog_cc_wl='-Wl,'
1720 + lt_cv_prog_cc_pic='-PIC'
1721 + lt_cv_prog_cc_static='-Bstatic'
1722 + lt_cv_prog_cc_wl='-Qoption ld '
1725 + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1726 + lt_cv_prog_cc_pic='-KPIC'
1727 + lt_cv_prog_cc_static='-Bstatic'
1728 + lt_cv_prog_cc_wl='-Wl,'
1732 + lt_cv_prog_cc_pic='-pic'
1733 + lt_cv_prog_cc_static='-Bstatic'
1737 + if test -d /usr/nec ;then
1738 + lt_cv_prog_cc_pic='-Kconform_pic'
1739 + lt_cv_prog_cc_static='-Bstatic'
1743 - # pw32 DLLs use 'pw' prefix rather than 'lib'
1744 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1747 + lt_cv_prog_cc_can_build_shared=no
1753 +if test -z "$lt_cv_prog_cc_pic"; then
1754 + AC_MSG_RESULT([none])
1756 + AC_MSG_RESULT([$lt_cv_prog_cc_pic])
1759 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
1762 - dynamic_linker='Win32 ld.exe'
1763 - # FIXME: first we should search . and the directory the executable is in
1764 - shlibpath_var=PATH
1766 + # Check to make sure the pic_flag actually works.
1767 + AC_MSG_CHECKING([if $compiler PIC flag $lt_cv_prog_cc_pic works])
1768 + AC_CACHE_VAL(lt_cv_prog_cc_pic_works, [dnl
1769 + save_CFLAGS="$CFLAGS"
1770 + CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
1771 + AC_TRY_COMPILE([], [], [dnl
1773 + hpux9* | hpux10* | hpux11*)
1774 + # On HP-UX, both CC and GCC only warn that PIC is supported... then
1775 + # they create non-PIC objects. So, if there were any warnings, we
1776 + # assume that PIC is not supported.
1777 + if test -s conftest.err; then
1778 + lt_cv_prog_cc_pic_works=no
1780 + lt_cv_prog_cc_pic_works=yes
1784 + lt_cv_prog_cc_pic_works=yes
1788 + lt_cv_prog_cc_pic_works=no
1790 + CFLAGS="$save_CFLAGS"
1793 -darwin* | rhapsody*)
1794 - dynamic_linker="$host_os dyld"
1795 - version_type=darwin
1796 - need_lib_prefix=no
1798 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1799 - soname_spec='${libname}${release}${major}$shared_ext'
1800 - shlibpath_overrides_runpath=yes
1801 - shlibpath_var=DYLD_LIBRARY_PATH
1802 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1803 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1804 - if test "$GCC" = yes; then
1805 - 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"`
1806 + if test "X$lt_cv_prog_cc_pic_works" = Xno; then
1807 + lt_cv_prog_cc_pic=
1808 + lt_cv_prog_cc_can_build_shared=no
1810 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1811 + lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
1813 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1817 - version_type=linux
1818 - need_lib_prefix=no
1820 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1821 - soname_spec='${libname}${release}${shared_ext}$major'
1822 - shlibpath_var=LD_LIBRARY_PATH
1824 + AC_MSG_RESULT([$lt_cv_prog_cc_pic_works])
1830 +# Check for any special shared library compilation flags.
1831 +if test -n "$lt_cv_prog_cc_shlib"; then
1832 + AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
1833 + if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then :
1835 + AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
1836 + lt_cv_prog_cc_can_build_shared=no
1841 - version_type=linux
1842 - need_lib_prefix=no
1844 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1845 - soname_spec='${libname}${release}${shared_ext}$major'
1846 - shlibpath_var=LD_LIBRARY_PATH
1847 - shlibpath_overrides_runpath=no
1848 - hardcode_into_libs=yes
1849 - dynamic_linker='GNU ld.so'
1851 +AC_MSG_CHECKING([if $compiler static flag $lt_cv_prog_cc_static works])
1852 +AC_CACHE_VAL([lt_cv_prog_cc_static_works], [dnl
1853 + lt_cv_prog_cc_static_works=no
1854 + save_LDFLAGS="$LDFLAGS"
1855 + LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
1856 + AC_TRY_LINK([], [], [lt_cv_prog_cc_static_works=yes])
1857 + LDFLAGS="$save_LDFLAGS"
1860 -freebsd* | dragonfly*)
1861 - # DragonFly does not have aout. When/if they implement a new
1862 - # versioning mechanism, adjust this.
1863 - if test -x /usr/bin/objformat; then
1864 - objformat=`/usr/bin/objformat`
1865 +# Belt *and* braces to stop my trousers falling down:
1866 +test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
1867 +AC_MSG_RESULT([$lt_cv_prog_cc_static_works])
1869 +pic_flag="$lt_cv_prog_cc_pic"
1870 +special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
1871 +wl="$lt_cv_prog_cc_wl"
1872 +link_static_flag="$lt_cv_prog_cc_static"
1873 +no_builtin_flag="$lt_cv_prog_cc_no_builtin"
1874 +can_build_shared="$lt_cv_prog_cc_can_build_shared"
1877 +# Check to see if options -o and -c are simultaneously supported by compiler
1878 +AC_MSG_CHECKING([if $compiler supports -c -o file.$ac_objext])
1879 +AC_CACHE_VAL([lt_cv_compiler_c_o], [
1880 +$rm -r conftest 2>/dev/null
1883 +echo "int some_variable = 0;" > conftest.$ac_ext
1885 +# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
1886 +# that will create temporary files in the current directory regardless of
1887 +# the output directory. Thus, making CWD read-only will cause this test
1888 +# to fail, enabling locking or at least warning the user not to do parallel
1891 +save_CFLAGS="$CFLAGS"
1892 +CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
1894 +if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
1895 + # The compiler can only warn and ignore the option if not recognized
1896 + # So say no if there are warnings
1897 + if test -s out/conftest.err; then
1898 + lt_cv_compiler_c_o=no
1901 - freebsd[[123]]*) objformat=aout ;;
1902 - *) objformat=elf ;;
1904 + lt_cv_compiler_c_o=yes
1906 - version_type=freebsd-$objformat
1907 - case $version_type in
1909 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1911 - need_lib_prefix=no
1914 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1918 - shlibpath_var=LD_LIBRARY_PATH
1920 + # Append any errors to the config.log.
1921 + cat out/conftest.err 1>&AC_FD_CC
1922 + lt_cv_compiler_c_o=no
1924 +CFLAGS="$save_CFLAGS"
1926 +$rm conftest* out/*
1930 +$rm -r conftest 2>/dev/null
1932 +compiler_c_o=$lt_cv_compiler_c_o
1933 +AC_MSG_RESULT([$compiler_c_o])
1935 +if test x"$compiler_c_o" = x"yes"; then
1936 + # Check to see if we can write to a .lo
1937 + AC_MSG_CHECKING([if $compiler supports -c -o file.lo])
1938 + AC_CACHE_VAL([lt_cv_compiler_o_lo], [
1939 + lt_cv_compiler_o_lo=no
1940 + save_CFLAGS="$CFLAGS"
1941 + CFLAGS="$CFLAGS -c -o conftest.lo"
1942 + save_objext="$ac_objext"
1944 + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
1945 + # The compiler can only warn and ignore the option if not recognized
1946 + # So say no if there are warnings
1947 + if test -s conftest.err; then
1948 + lt_cv_compiler_o_lo=no
1950 + lt_cv_compiler_o_lo=yes
1953 + ac_objext="$save_objext"
1954 + CFLAGS="$save_CFLAGS"
1956 + compiler_o_lo=$lt_cv_compiler_o_lo
1957 + AC_MSG_RESULT([$compiler_o_lo])
1962 +# Check to see if we can do hard links to lock some files if needed
1963 +hard_links="nottested"
1964 +if test "$compiler_c_o" = no && test "$need_locks" != no; then
1965 + # do not overwrite the value of need_locks provided by the user
1966 + AC_MSG_CHECKING([if we can lock with hard links])
1969 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
1971 + ln conftest.a conftest.b 2>&5 || hard_links=no
1972 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
1973 + AC_MSG_RESULT([$hard_links])
1974 + if test "$hard_links" = no; then
1975 + AC_MSG_WARN([\`$CC' does not support \`-c -o', so \`make -j' may be unsafe])
1982 +if test "$GCC" = yes; then
1983 + # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
1984 + AC_MSG_CHECKING([if $compiler supports -fno-rtti -fno-exceptions])
1985 + echo "int some_variable = 0;" > conftest.$ac_ext
1986 + save_CFLAGS="$CFLAGS"
1987 + CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
1988 + compiler_rtti_exceptions=no
1989 + AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
1990 + # The compiler can only warn and ignore the option if not recognized
1991 + # So say no if there are warnings
1992 + if test -s conftest.err; then
1993 + compiler_rtti_exceptions=no
1995 + compiler_rtti_exceptions=yes
1998 + CFLAGS="$save_CFLAGS"
1999 + AC_MSG_RESULT([$compiler_rtti_exceptions])
2001 + if test "$compiler_rtti_exceptions" = "yes"; then
2002 + no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
2004 + no_builtin_flag=' -fno-builtin'
2008 +# See if the linker supports building shared libraries.
2009 +AC_MSG_CHECKING([whether the linker ($LD) supports shared libraries])
2011 +allow_undefined_flag=
2013 +need_lib_prefix=unknown
2014 +need_version=unknown
2015 +# when you set need_version to no, make sure it does not cause -set_version
2016 +# flags to be left without arguments
2018 +archive_expsym_cmds=
2019 +old_archive_from_new_cmds=
2020 +old_archive_from_expsyms_cmds=
2021 +export_dynamic_flag_spec=
2022 +whole_archive_flag_spec=
2023 +thread_safe_flag_spec=
2024 +hardcode_into_libs=no
2025 +hardcode_libdir_flag_spec=
2026 +hardcode_libdir_separator=
2028 +hardcode_minus_L=no
2029 +hardcode_shlibpath_var=unsupported
2031 +link_all_deplibs=unknown
2032 +always_export_symbols=no
2033 +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
2034 +# include_expsyms should be a list of space-separated symbols to be *always*
2035 +# included in the symbol list
2037 +# exclude_expsyms can be an egrep regular expression of symbols to exclude
2038 +# it will be wrapped by ` (' and `)$', so one must not match beginning or
2039 +# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
2040 +# as well as any symbol that contains `d'.
2041 +exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
2042 +# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
2043 +# platforms (ab)use it in PIC code, but their linkers get confused if
2044 +# the symbol is explicitly referenced. Since portable code cannot
2045 +# rely on this symbol name, it's probably fine to never include it in
2046 +# preloaded symbol tables.
2047 +extract_expsyms_cmds=
2050 +cygwin* | mingw* | pw32*)
2051 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
2052 + # When not using gcc, we currently assume that we are using
2053 + # Microsoft Visual C++.
2054 + if test "$GCC" != yes; then
2064 +if test "$with_gnu_ld" = yes; then
2065 + # If archive_cmds runs LD, not CC, wlarc should be empty
2068 + # See if GNU ld supports shared libraries.
2071 - shlibpath_overrides_runpath=yes
2072 + aix3* | aix4* | aix5*)
2073 + # On AIX, the GNU linker is very broken
2074 + # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
2078 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
2079 +*** to be unable to reliably create shared libraries on AIX.
2080 +*** Therefore, libtool is disabling shared libraries support. If you
2081 +*** really care for shared libraries, you may want to modify your PATH
2082 +*** so that a non-GNU linker is found, and then restart.
2086 - freebsd3.[[01]]* | freebsdelf3.[[01]]*)
2087 - shlibpath_overrides_runpath=yes
2088 - hardcode_into_libs=yes
2091 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
2092 + hardcode_libdir_flag_spec='-L$libdir'
2093 + hardcode_minus_L=yes
2095 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
2096 + # that the semantics of dynamic libraries on AmigaOS, at least up
2097 + # to version 4, is to share data among multiple programs linked
2098 + # with the same dynamic library. Since this doesn't match the
2099 + # behavior of shared libraries on other platforms, we can use
2104 - shlibpath_overrides_runpath=no
2105 - hardcode_into_libs=yes
2108 + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
2109 + allow_undefined_flag=unsupported
2110 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
2111 + # support --undefined. This deserves some investigation. FIXME
2112 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2121 - version_type=linux
2122 - need_lib_prefix=no
2124 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2125 - soname_spec='${libname}${release}${shared_ext}$major'
2126 - shlibpath_var=LD_LIBRARY_PATH
2127 - hardcode_into_libs=yes
2129 + cygwin* | mingw* | pw32*)
2130 + # hardcode_libdir_flag_spec is actually meaningless, as there is
2131 + # no search path for DLLs.
2132 + hardcode_libdir_flag_spec='-L$libdir'
2133 + allow_undefined_flag=unsupported
2134 + always_export_symbols=yes
2136 + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
2137 + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
2138 + test -f $output_objdir/impgen.exe || (cd $output_objdir && \
2139 + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
2140 + else $CC -o impgen impgen.c ; fi)~
2141 + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
2143 + old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
2145 + # cygwin and mingw dlls have different entry points and sets of symbols
2147 + # FIXME: what about values for MSVC?
2148 + dll_entry=__cygwin_dll_entry@12
2149 + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
2153 + dll_entry=_DllMainCRTStartup@12
2154 + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
2158 -hpux9* | hpux10* | hpux11*)
2159 - # Give a soname corresponding to the major version so that dld.sl refuses to
2160 - # link against other versions.
2161 - version_type=sunos
2162 - need_lib_prefix=no
2167 - hardcode_into_libs=yes
2168 - dynamic_linker="$host_os dld.so"
2169 - shlibpath_var=LD_LIBRARY_PATH
2170 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2171 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2172 - soname_spec='${libname}${release}${shared_ext}$major'
2173 - if test "X$HPUX_IA64_MODE" = X32; then
2174 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
2175 + # mingw and cygwin differ, and it's simplest to just exclude the union
2176 + # of the two symbol sets.
2177 + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
2179 + # recent cygwin and mingw systems supply a stub DllMain which the user
2180 + # can override, but on older systems we have to supply one (in ltdll.c)
2181 + if test "x$lt_cv_need_dllmain" = "xyes"; then
2182 + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
2183 + ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
2184 + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
2186 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
2190 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2192 + # Extract the symbol export list from an `--export-all' def file,
2193 + # then regenerate the def file from the symbol export list, so that
2194 + # the compiled dll only exports the symbol export list.
2195 + # Be careful not to strip the DATA tag left be newer dlltools.
2196 + export_symbols_cmds="$ltdll_cmds"'
2197 + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
2198 + sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
2200 + # If the export-symbols file already is a .def file (1st line
2201 + # is EXPORTS), use it as is.
2202 + # If DATA tags from a recent dlltool are present, honour them!
2203 + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
2204 + cp $export_symbols $output_objdir/$soname-def;
2206 + echo EXPORTS > $output_objdir/$soname-def;
2208 + cat $export_symbols | while read symbol; do
2209 + set dummy \$symbol;
2211 + 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
2212 + 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
2213 + *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
2215 + _lt_hint=`expr 1 + \$_lt_hint`;
2219 + $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
2220 + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
2221 + $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
2222 + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
2223 + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
2227 - hardcode_into_libs=yes
2228 - dynamic_linker="$host_os dld.sl"
2229 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
2230 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
2231 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2232 - soname_spec='${libname}${release}${shared_ext}$major'
2233 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
2234 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
2238 - dynamic_linker="$host_os dld.sl"
2239 - shlibpath_var=SHLIB_PATH
2240 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
2241 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2242 - soname_spec='${libname}${release}${shared_ext}$major'
2244 + netbsd* | knetbsd*-gnu)
2245 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2246 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
2249 + archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2250 + archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
2254 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
2255 - postinstall_cmds='chmod 555 $lib'
2258 -irix5* | irix6* | nonstopux*)
2260 - nonstopux*) version_type=nonstopux ;;
2262 - if test "$lt_cv_prog_gnu_ld" = yes; then
2263 - version_type=linux
2268 - need_lib_prefix=no
2270 - soname_spec='${libname}${release}${shared_ext}$major'
2271 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
2273 - irix5* | nonstopux*)
2274 - libsuff= shlibsuff=
2277 - case $LD in # libtool.m4 will add one of these switches to LD
2278 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
2279 - libsuff= shlibsuff= libmagic=32-bit;;
2280 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
2281 - libsuff=32 shlibsuff=N32 libmagic=N32;;
2282 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
2283 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
2284 - *) libsuff= shlibsuff= libmagic=never-match;;
2288 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
2289 - shlibpath_overrides_runpath=no
2290 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
2291 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
2292 - hardcode_into_libs=yes
2295 -# No shared lib support for Linux oldld, aout, or coff.
2296 -linux*oldld* | linux*aout* | linux*coff*)
2300 -# This must be Linux ELF.
2302 - version_type=linux
2303 - need_lib_prefix=no
2305 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2306 - soname_spec='${libname}${release}${shared_ext}$major'
2307 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2308 - shlibpath_var=LD_LIBRARY_PATH
2309 - shlibpath_overrides_runpath=no
2310 - # This implies no fast_install, which is unacceptable.
2311 - # Some rework will be needed to allow for fast_install
2312 - # before this can be enabled.
2313 - hardcode_into_libs=yes
2315 - # Append ld.so.conf contents to the search path
2316 - if test -f /etc/ld.so.conf; then
2317 - 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' ' '`
2318 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2321 - # We used to test for /lib/ld.so.1 and disable shared libraries on
2322 - # powerpc, because MkLinux only supported shared libraries with the
2323 - # GNU dynamic linker. Since this was broken with cross compilers,
2324 - # most powerpc-linux boxes support dynamic linking these days and
2325 - # people can always --disable-shared, the test was removed, and we
2326 - # assume the GNU/Linux dynamic linker is in use.
2327 - dynamic_linker='GNU/Linux ld.so'
2331 - version_type=linux
2332 - need_lib_prefix=no
2334 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2335 - soname_spec='${libname}${release}${shared_ext}$major'
2336 - shlibpath_var=LD_LIBRARY_PATH
2337 - shlibpath_overrides_runpath=no
2338 - hardcode_into_libs=yes
2339 - dynamic_linker='GNU ld.so'
2343 - version_type=sunos
2344 - need_lib_prefix=no
2346 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2347 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2348 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2349 - dynamic_linker='NetBSD (a.out) ld.so'
2351 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2352 - soname_spec='${libname}${release}${shared_ext}$major'
2353 - dynamic_linker='NetBSD ld.elf_so'
2355 - shlibpath_var=LD_LIBRARY_PATH
2356 - shlibpath_overrides_runpath=yes
2357 - hardcode_into_libs=yes
2361 - version_type=linux
2362 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2363 - shlibpath_var=LD_LIBRARY_PATH
2364 - shlibpath_overrides_runpath=yes
2368 - version_type=linux
2369 - need_lib_prefix=no
2371 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2372 - soname_spec='${libname}${release}${shared_ext}$major'
2373 - shlibpath_var=LD_LIBRARY_PATH
2374 - shlibpath_overrides_runpath=yes
2378 - version_type=sunos
2379 - need_lib_prefix=no
2380 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
2382 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
2383 - *) need_version=no ;;
2385 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2386 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2387 - shlibpath_var=LD_LIBRARY_PATH
2388 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2390 - openbsd2.[[89]] | openbsd2.[[89]].*)
2391 - shlibpath_overrides_runpath=no
2394 - shlibpath_overrides_runpath=yes
2398 - shlibpath_overrides_runpath=yes
2403 - libname_spec='$name'
2404 - shrext_cmds=".dll"
2405 - need_lib_prefix=no
2406 - library_names_spec='$libname${shared_ext} $libname.a'
2407 - dynamic_linker='OS/2 ld.exe'
2408 - shlibpath_var=LIBPATH
2411 -osf3* | osf4* | osf5*)
2413 - need_lib_prefix=no
2415 - soname_spec='${libname}${release}${shared_ext}$major'
2416 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2417 - shlibpath_var=LD_LIBRARY_PATH
2418 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
2419 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
2424 - soname_spec='${libname}${release}${shared_ext}$major'
2425 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2426 - shlibpath_var=LD_LIBRARY_PATH
2430 - version_type=linux
2431 - need_lib_prefix=no
2433 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2434 - soname_spec='${libname}${release}${shared_ext}$major'
2435 - shlibpath_var=LD_LIBRARY_PATH
2436 - shlibpath_overrides_runpath=yes
2437 - hardcode_into_libs=yes
2438 - # ldd complains unless libraries are executable
2439 - postinstall_cmds='chmod +x $lib'
2443 - version_type=sunos
2444 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2445 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
2446 - shlibpath_var=LD_LIBRARY_PATH
2447 - shlibpath_overrides_runpath=yes
2448 - if test "$with_gnu_ld" = yes; then
2449 - need_lib_prefix=no
2454 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2455 - version_type=linux
2456 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2457 - soname_spec='${libname}${release}${shared_ext}$major'
2458 - shlibpath_var=LD_LIBRARY_PATH
2459 - case $host_vendor in
2461 - shlibpath_overrides_runpath=no
2462 - need_lib_prefix=no
2463 - export_dynamic_flag_spec='${wl}-Blargedynsym'
2464 - runpath_var=LD_RUN_PATH
2467 - need_lib_prefix=no
2470 - need_lib_prefix=no
2472 - shlibpath_overrides_runpath=no
2473 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
2479 - if test -d /usr/nec ;then
2480 - version_type=linux
2481 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2482 - soname_spec='$libname${shared_ext}.$major'
2483 - shlibpath_var=LD_LIBRARY_PATH
2488 - version_type=linux
2489 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2490 - soname_spec='${libname}${release}${shared_ext}$major'
2491 - shlibpath_var=LD_LIBRARY_PATH
2498 -AC_MSG_RESULT([$dynamic_linker])
2499 -test "$dynamic_linker" = no && can_build_shared=no
2500 -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
2505 -AC_DEFUN([_LT_AC_TAGCONFIG],
2506 -[AC_ARG_WITH([tags],
2507 - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
2508 - [include additional configurations @<:@automatic@:>@])],
2509 - [tagnames="$withval"])
2511 -if test -f "$ltmain" && test -n "$tagnames"; then
2512 - if test ! -f "${ofile}"; then
2513 - AC_MSG_WARN([output file `$ofile' does not exist])
2516 - if test -z "$LTCC"; then
2517 - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
2518 - if test -z "$LTCC"; then
2519 - AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
2521 - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
2525 - # Extract list of available tagged configurations in $ofile.
2526 - # Note that this assumes the entire list is on one line.
2527 - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
2529 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2530 - for tagname in $tagnames; do
2531 - IFS="$lt_save_ifs"
2532 - # Check whether tagname contains only valid characters
2533 - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
2535 - *) AC_MSG_ERROR([invalid tag name: $tagname])
2539 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
2541 - AC_MSG_ERROR([tag name \"$tagname\" already exists])
2544 - # Update the list of available tags.
2545 - if test -n "$tagname"; then
2546 - echo appending configuration tag \"$tagname\" to $ofile
2550 - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
2551 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
2552 - (test "X$CXX" != "Xg++"))) ; then
2553 - AC_LIBTOOL_LANG_CXX_CONFIG
2560 - if test -n "$F77" && test "X$F77" != "Xno"; then
2561 - AC_LIBTOOL_LANG_F77_CONFIG
2568 - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
2569 - AC_LIBTOOL_LANG_GCJ_CONFIG
2576 - AC_LIBTOOL_LANG_RC_CONFIG
2580 - AC_MSG_ERROR([Unsupported tag name: $tagname])
2584 - # Append the new tag name to the list of available tags.
2585 - if test -n "$tagname" ; then
2586 - available_tags="$available_tags $tagname"
2590 - IFS="$lt_save_ifs"
2592 - # Now substitute the updated list of available tags.
2593 - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
2594 - mv "${ofile}T" "$ofile"
2598 - AC_MSG_ERROR([unable to update list of available tagged configurations.])
2601 -])# _LT_AC_TAGCONFIG
2604 -# AC_LIBTOOL_DLOPEN
2605 -# -----------------
2606 -# enable checks for dlopen support
2607 -AC_DEFUN([AC_LIBTOOL_DLOPEN],
2608 - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
2609 -])# AC_LIBTOOL_DLOPEN
2612 -# AC_LIBTOOL_WIN32_DLL
2613 -# --------------------
2614 -# declare package support for building win32 DLLs
2615 -AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
2616 -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
2617 -])# AC_LIBTOOL_WIN32_DLL
2620 -# AC_ENABLE_SHARED([DEFAULT])
2621 -# ---------------------------
2622 -# implement the --enable-shared flag
2623 -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2624 -AC_DEFUN([AC_ENABLE_SHARED],
2625 -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
2626 -AC_ARG_ENABLE([shared],
2627 - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
2628 - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
2629 - [p=${PACKAGE-default}
2630 - case $enableval in
2631 - yes) enable_shared=yes ;;
2632 - no) enable_shared=no ;;
2635 - # Look at the argument we got. We use all the common list separators.
2636 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2637 - for pkg in $enableval; do
2638 - IFS="$lt_save_ifs"
2639 - if test "X$pkg" = "X$p"; then
2643 - IFS="$lt_save_ifs"
2646 - [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
2647 -])# AC_ENABLE_SHARED
2650 -# AC_DISABLE_SHARED
2651 -# -----------------
2652 -#- set the default shared flag to --disable-shared
2653 -AC_DEFUN([AC_DISABLE_SHARED],
2654 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2655 -AC_ENABLE_SHARED(no)
2656 -])# AC_DISABLE_SHARED
2659 -# AC_ENABLE_STATIC([DEFAULT])
2660 -# ---------------------------
2661 -# implement the --enable-static flag
2662 -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2663 -AC_DEFUN([AC_ENABLE_STATIC],
2664 -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
2665 -AC_ARG_ENABLE([static],
2666 - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
2667 - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
2668 - [p=${PACKAGE-default}
2669 - case $enableval in
2670 - yes) enable_static=yes ;;
2671 - no) enable_static=no ;;
2674 - # Look at the argument we got. We use all the common list separators.
2675 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2676 - for pkg in $enableval; do
2677 - IFS="$lt_save_ifs"
2678 - if test "X$pkg" = "X$p"; then
2682 - IFS="$lt_save_ifs"
2685 - [enable_static=]AC_ENABLE_STATIC_DEFAULT)
2686 -])# AC_ENABLE_STATIC
2689 -# AC_DISABLE_STATIC
2690 -# -----------------
2691 -# set the default static flag to --disable-static
2692 -AC_DEFUN([AC_DISABLE_STATIC],
2693 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2694 -AC_ENABLE_STATIC(no)
2695 -])# AC_DISABLE_STATIC
2698 -# AC_ENABLE_FAST_INSTALL([DEFAULT])
2699 -# ---------------------------------
2700 -# implement the --enable-fast-install flag
2701 -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2702 -AC_DEFUN([AC_ENABLE_FAST_INSTALL],
2703 -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
2704 -AC_ARG_ENABLE([fast-install],
2705 - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
2706 - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
2707 - [p=${PACKAGE-default}
2708 - case $enableval in
2709 - yes) enable_fast_install=yes ;;
2710 - no) enable_fast_install=no ;;
2712 - enable_fast_install=no
2713 - # Look at the argument we got. We use all the common list separators.
2714 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2715 - for pkg in $enableval; do
2716 - IFS="$lt_save_ifs"
2717 - if test "X$pkg" = "X$p"; then
2718 - enable_fast_install=yes
2721 - IFS="$lt_save_ifs"
2724 - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
2725 -])# AC_ENABLE_FAST_INSTALL
2728 -# AC_DISABLE_FAST_INSTALL
2729 -# -----------------------
2730 -# set the default to --disable-fast-install
2731 -AC_DEFUN([AC_DISABLE_FAST_INSTALL],
2732 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2733 -AC_ENABLE_FAST_INSTALL(no)
2734 -])# AC_DISABLE_FAST_INSTALL
2737 -# AC_LIBTOOL_PICMODE([MODE])
2738 -# --------------------------
2739 -# implement the --with-pic flag
2740 -# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
2741 -AC_DEFUN([AC_LIBTOOL_PICMODE],
2742 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2743 -pic_mode=ifelse($#,1,$1,default)
2744 -])# AC_LIBTOOL_PICMODE
2749 -# This is predefined starting with Autoconf 2.54, so this conditional
2750 -# definition can be removed once we require Autoconf 2.54 or later.
2751 -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
2752 -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
2753 - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2754 - then ac_cv_prog_egrep='grep -E'
2755 - else ac_cv_prog_egrep='egrep'
2757 - EGREP=$ac_cv_prog_egrep
2762 -# AC_PATH_TOOL_PREFIX
2763 -# -------------------
2764 -# find a file program which can recognise shared library
2765 -AC_DEFUN([AC_PATH_TOOL_PREFIX],
2766 -[AC_REQUIRE([AC_PROG_EGREP])dnl
2767 -AC_MSG_CHECKING([for $1])
2768 -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
2769 -[case $MAGIC_CMD in
2770 -[[\\/*] | ?:[\\/]*])
2771 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2774 - lt_save_MAGIC_CMD="$MAGIC_CMD"
2775 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2776 -dnl $ac_dummy forces splitting on constant user-supplied paths.
2777 -dnl POSIX.2 word splitting is done only on the output of word expansions,
2778 -dnl not every word. This closes a longstanding sh security hole.
2779 - ac_dummy="ifelse([$2], , $PATH, [$2])"
2780 - for ac_dir in $ac_dummy; do
2781 - IFS="$lt_save_ifs"
2782 - test -z "$ac_dir" && ac_dir=.
2783 - if test -f $ac_dir/$1; then
2784 - lt_cv_path_MAGIC_CMD="$ac_dir/$1"
2785 - if test -n "$file_magic_test_file"; then
2786 - case $deplibs_check_method in
2788 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2789 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2790 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2791 - $EGREP "$file_magic_regex" > /dev/null; then
2796 -*** Warning: the command libtool uses to detect shared libraries,
2797 -*** $file_magic_cmd, produces output that libtool cannot recognize.
2798 -*** The result is that libtool may fail to recognize shared libraries
2799 -*** as such. This will affect the creation of libtool libraries that
2800 -*** depend on shared libraries, but programs linked with such libtool
2801 -*** libraries will work regardless of this problem. Nevertheless, you
2802 -*** may want to report the problem to your system manager and/or to
2803 -*** bug-libtool@gnu.org
2812 - IFS="$lt_save_ifs"
2813 - MAGIC_CMD="$lt_save_MAGIC_CMD"
2816 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2817 -if test -n "$MAGIC_CMD"; then
2818 - AC_MSG_RESULT($MAGIC_CMD)
2822 -])# AC_PATH_TOOL_PREFIX
2827 -# find a file program which can recognise a shared library
2828 -AC_DEFUN([AC_PATH_MAGIC],
2829 -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
2830 -if test -z "$lt_cv_path_MAGIC_CMD"; then
2831 - if test -n "$ac_tool_prefix"; then
2832 - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
2842 -# find the pathname to the GNU or non-GNU linker
2843 -AC_DEFUN([AC_PROG_LD],
2844 -[AC_ARG_WITH([gnu-ld],
2845 - [AC_HELP_STRING([--with-gnu-ld],
2846 - [assume the C compiler uses GNU ld @<:@default=no@:>@])],
2847 - [test "$withval" = no || with_gnu_ld=yes],
2849 -AC_REQUIRE([LT_AC_PROG_SED])dnl
2850 -AC_REQUIRE([AC_PROG_CC])dnl
2851 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
2852 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2854 -if test "$GCC" = yes; then
2855 - # Check if gcc -print-prog-name=ld gives a path.
2856 - AC_MSG_CHECKING([for ld used by $CC])
2859 - # gcc leaves a trailing carriage return which upsets mingw
2860 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2862 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2865 - # Accept absolute paths.
2866 - [[\\/]]* | ?:[[\\/]]*)
2867 - re_direlt='/[[^/]][[^/]]*/\.\./'
2868 - # Canonicalize the pathname of ld
2869 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
2870 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2871 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
2873 - test -z "$LD" && LD="$ac_prog"
2876 - # If it fails, then pretend we aren't using GCC.
2880 - # If it is relative, then search for the first ld in PATH.
2881 - with_gnu_ld=unknown
2884 -elif test "$with_gnu_ld" = yes; then
2885 - AC_MSG_CHECKING([for GNU ld])
2887 - AC_MSG_CHECKING([for non-GNU ld])
2889 -AC_CACHE_VAL(lt_cv_path_LD,
2890 -[if test -z "$LD"; then
2891 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2892 - for ac_dir in $PATH; do
2893 - IFS="$lt_save_ifs"
2894 - test -z "$ac_dir" && ac_dir=.
2895 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2896 - lt_cv_path_LD="$ac_dir/$ac_prog"
2897 - # Check to see if the program is GNU ld. I'd rather use --version,
2898 - # but apparently some variants of GNU ld only accept -v.
2899 - # Break only if it was the GNU/non-GNU ld that we prefer.
2900 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2901 - *GNU* | *'with BFD'*)
2902 - test "$with_gnu_ld" != no && break
2905 - test "$with_gnu_ld" != yes && break
2910 - IFS="$lt_save_ifs"
2912 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
2914 -LD="$lt_cv_path_LD"
2915 -if test -n "$LD"; then
2916 - AC_MSG_RESULT($LD)
2920 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2927 -AC_DEFUN([AC_PROG_LD_GNU],
2928 -[AC_REQUIRE([AC_PROG_EGREP])dnl
2929 -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
2930 -[# I'd rather use --version here, but apparently some GNU lds only accept -v.
2931 -case `$LD -v 2>&1 </dev/null` in
2932 -*GNU* | *'with BFD'*)
2933 - lt_cv_prog_gnu_ld=yes
2936 - lt_cv_prog_gnu_ld=no
2939 -with_gnu_ld=$lt_cv_prog_gnu_ld
2943 -# AC_PROG_LD_RELOAD_FLAG
2944 -# ----------------------
2945 -# find reload flag for linker
2946 -# -- PORTME Some linkers may need a different reload flag.
2947 -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
2948 -[AC_CACHE_CHECK([for $LD option to reload object files],
2949 - lt_cv_ld_reload_flag,
2950 - [lt_cv_ld_reload_flag='-r'])
2951 -reload_flag=$lt_cv_ld_reload_flag
2952 -case $reload_flag in
2954 -*) reload_flag=" $reload_flag" ;;
2956 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
2959 - if test "$GCC" = yes; then
2960 - reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
2962 - reload_cmds='$LD$reload_flag -o $output$reload_objs'
2966 -])# AC_PROG_LD_RELOAD_FLAG
2969 -# AC_DEPLIBS_CHECK_METHOD
2970 -# -----------------------
2971 -# how to check for library dependencies
2972 -# -- PORTME fill in with the dynamic library characteristics
2973 -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
2974 -[AC_CACHE_CHECK([how to recognise dependent libraries],
2975 -lt_cv_deplibs_check_method,
2976 -[lt_cv_file_magic_cmd='$MAGIC_CMD'
2977 -lt_cv_file_magic_test_file=
2978 -lt_cv_deplibs_check_method='unknown'
2979 -# Need to set the preceding variable on all platforms that support
2980 -# interlibrary dependencies.
2981 -# 'none' -- dependencies not supported.
2982 -# `unknown' -- same as none, but documents that we really don't know.
2983 -# 'pass_all' -- all dependencies passed with no checks.
2984 -# 'test_compile' -- check by making test program.
2985 -# 'file_magic [[regex]]' -- check by looking for files in library path
2986 -# which responds to the $file_magic_cmd with a given extended regex.
2987 -# If you have `file' or equivalent on your system and you're not sure
2988 -# whether `pass_all' will *always* work, you probably want this one.
2992 - lt_cv_deplibs_check_method=pass_all
2996 - lt_cv_deplibs_check_method=pass_all
3000 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
3001 - lt_cv_file_magic_cmd='/usr/bin/file -L'
3002 - lt_cv_file_magic_test_file=/shlib/libc.so
3006 - # func_win32_libid is a shell function defined in ltmain.sh
3007 - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3008 - lt_cv_file_magic_cmd='func_win32_libid'
3012 - # Base MSYS/MinGW do not provide the 'file' command needed by
3013 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3014 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3015 - lt_cv_file_magic_cmd='$OBJDUMP -f'
3018 -darwin* | rhapsody*)
3019 - lt_cv_deplibs_check_method=pass_all
3022 -freebsd* | kfreebsd*-gnu | dragonfly*)
3023 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3026 - # Not sure whether the presence of OpenBSD here was a mistake.
3027 - # Let's accept both of them until this is cleared up.
3028 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
3029 - lt_cv_file_magic_cmd=/usr/bin/file
3030 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3034 - lt_cv_deplibs_check_method=pass_all
3039 - lt_cv_deplibs_check_method=pass_all
3042 -hpux10.20* | hpux11*)
3043 - lt_cv_file_magic_cmd=/usr/bin/file
3046 - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
3047 - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3050 - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
3051 - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3054 - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
3055 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
3060 -irix5* | irix6* | nonstopux*)
3062 - *-32|*"-32 ") libmagic=32-bit;;
3063 - *-n32|*"-n32 ") libmagic=N32;;
3064 - *-64|*"-64 ") libmagic=64-bit;;
3065 - *) libmagic=never-match;;
3067 - lt_cv_deplibs_check_method=pass_all
3070 -# This must be Linux ELF.
3072 - lt_cv_deplibs_check_method=pass_all
3076 - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3077 - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3079 - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
3084 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
3085 - lt_cv_file_magic_cmd=/usr/bin/file
3086 - lt_cv_file_magic_test_file=/usr/lib/libnls.so
3090 - lt_cv_deplibs_check_method=unknown
3094 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3095 - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
3097 - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3101 -osf3* | osf4* | osf5*)
3102 - lt_cv_deplibs_check_method=pass_all
3106 - lt_cv_deplibs_check_method=pass_all
3110 - lt_cv_deplibs_check_method=pass_all
3113 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3114 - case $host_vendor in
3116 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
3117 - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3120 - lt_cv_deplibs_check_method=pass_all
3123 - lt_cv_file_magic_cmd='/bin/file'
3124 - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
3127 - lt_cv_file_magic_cmd='/bin/file'
3128 - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
3129 - lt_cv_file_magic_test_file=/lib/libc.so
3132 - lt_cv_deplibs_check_method=pass_all
3137 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
3138 - lt_cv_deplibs_check_method=pass_all
3142 -file_magic_cmd=$lt_cv_file_magic_cmd
3143 -deplibs_check_method=$lt_cv_deplibs_check_method
3144 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
3145 -])# AC_DEPLIBS_CHECK_METHOD
3150 -# find the pathname to a BSD-compatible name lister
3151 -AC_DEFUN([AC_PROG_NM],
3152 -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
3153 -[if test -n "$NM"; then
3154 - # Let the user override the test.
3155 - lt_cv_path_NM="$NM"
3157 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3158 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3159 - IFS="$lt_save_ifs"
3160 - test -z "$ac_dir" && ac_dir=.
3161 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3162 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3163 - # Check to see if the nm accepts a BSD-compat flag.
3164 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3165 - # nm: unknown option "B" ignored
3166 - # Tru64's nm complains that /dev/null is an invalid object file
3167 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3168 - */dev/null* | *'Invalid file or object type'*)
3169 - lt_cv_path_NM="$tmp_nm -B"
3173 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3175 - lt_cv_path_NM="$tmp_nm -p"
3179 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3180 - continue # so that we can try to find one that supports BSD flags
3186 - IFS="$lt_save_ifs"
3187 - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3189 -NM="$lt_cv_path_NM"
3195 -# check for math library
3196 -AC_DEFUN([AC_CHECK_LIBM],
3197 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3200 -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3201 - # These system don't have libm, or don't need it
3204 - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
3205 - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3208 - AC_CHECK_LIB(m, cos, LIBM="-lm")
3214 -# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
3215 -# -----------------------------------
3216 -# sets LIBLTDL to the link flags for the libltdl convenience library and
3217 -# LTDLINCL to the include flags for the libltdl header and adds
3218 -# --enable-ltdl-convenience to the configure arguments. Note that
3219 -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
3220 -# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
3221 -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
3222 -# (note the single quotes!). If your package is not flat and you're not
3223 -# using automake, define top_builddir and top_srcdir appropriately in
3225 -AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
3226 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3227 - case $enable_ltdl_convenience in
3228 - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
3229 - "") enable_ltdl_convenience=yes
3230 - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
3232 - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
3233 - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3234 - # For backwards non-gettext consistent compatibility...
3235 - INCLTDL="$LTDLINCL"
3236 -])# AC_LIBLTDL_CONVENIENCE
3239 -# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
3240 -# -----------------------------------
3241 -# sets LIBLTDL to the link flags for the libltdl installable library and
3242 -# LTDLINCL to the include flags for the libltdl header and adds
3243 -# --enable-ltdl-install to the configure arguments. Note that
3244 -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
3245 -# and an installed libltdl is not found, it is assumed to be `libltdl'.
3246 -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
3247 -# '${top_srcdir}/' (note the single quotes!). If your package is not
3248 -# flat and you're not using automake, define top_builddir and top_srcdir
3249 -# appropriately in the Makefiles.
3250 -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
3251 -AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
3252 -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3253 - AC_CHECK_LIB(ltdl, lt_dlinit,
3254 - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
3255 - [if test x"$enable_ltdl_install" = xno; then
3256 - AC_MSG_WARN([libltdl not installed, but installation disabled])
3258 - enable_ltdl_install=yes
3261 - if test x"$enable_ltdl_install" = x"yes"; then
3262 - ac_configure_args="$ac_configure_args --enable-ltdl-install"
3263 - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
3264 - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
3266 - ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
3270 - # For backwards non-gettext consistent compatibility...
3271 - INCLTDL="$LTDLINCL"
3272 -])# AC_LIBLTDL_INSTALLABLE
3277 -# enable support for C++ libraries
3278 -AC_DEFUN([AC_LIBTOOL_CXX],
3279 -[AC_REQUIRE([_LT_AC_LANG_CXX])
3285 -AC_DEFUN([_LT_AC_LANG_CXX],
3286 -[AC_REQUIRE([AC_PROG_CXX])
3287 -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
3288 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
3289 -])# _LT_AC_LANG_CXX
3291 -# _LT_AC_PROG_CXXCPP
3293 -AC_DEFUN([_LT_AC_PROG_CXXCPP],
3295 -AC_REQUIRE([AC_PROG_CXX])
3296 -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
3297 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
3298 - (test "X$CXX" != "Xg++"))) ; then
3301 -])# _LT_AC_PROG_CXXCPP
3305 -# enable support for Fortran 77 libraries
3306 -AC_DEFUN([AC_LIBTOOL_F77],
3307 -[AC_REQUIRE([_LT_AC_LANG_F77])
3313 -AC_DEFUN([_LT_AC_LANG_F77],
3314 -[AC_REQUIRE([AC_PROG_F77])
3315 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
3316 -])# _LT_AC_LANG_F77
3321 -# enable support for GCJ libraries
3322 -AC_DEFUN([AC_LIBTOOL_GCJ],
3323 -[AC_REQUIRE([_LT_AC_LANG_GCJ])
3329 -AC_DEFUN([_LT_AC_LANG_GCJ],
3330 -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
3331 - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
3332 - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
3333 - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
3334 - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
3335 - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
3336 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
3337 -])# _LT_AC_LANG_GCJ
3342 -# enable support for Windows resource files
3343 -AC_DEFUN([AC_LIBTOOL_RC],
3344 -[AC_REQUIRE([LT_AC_PROG_RC])
3345 -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
3348 + solaris* | sysv5*)
3349 + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
3353 -# AC_LIBTOOL_LANG_C_CONFIG
3354 -# ------------------------
3355 -# Ensure that the configuration vars for the C compiler are
3356 -# suitably defined. Those variables are subsequently used by
3357 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3358 -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
3359 -AC_DEFUN([_LT_AC_LANG_C_CONFIG],
3363 -# Source file extension for C test sources.
3366 -# Object file extension for compiled C test sources.
3368 -_LT_AC_TAGVAR(objext, $1)=$objext
3370 -# Code to be used in simple compile tests
3371 -lt_simple_compile_test_code="int some_variable = 0;\n"
3373 -# Code to be used in simple link tests
3374 -lt_simple_link_test_code='int main(){return(0);}\n'
3376 -_LT_AC_SYS_COMPILER
3378 -# save warnings/boilerplate of simple test code
3379 -_LT_COMPILER_BOILERPLATE
3380 -_LT_LINKER_BOILERPLATE
3381 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
3382 +*** create shared libraries on Solaris systems. Therefore, libtool
3383 +*** is disabling shared libraries support. We urge you to upgrade GNU
3384 +*** binutils to release 2.9.1 or newer. Another option is to modify
3385 +*** your PATH or compiler configuration so that the native linker is
3386 +*** used, and then restart.
3389 -# Check for any special shared library compilation flags.
3391 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
3392 -if test "$GCC" = no; then
3395 - _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
3397 + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
3398 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3399 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3406 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
3407 - AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
3408 - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
3410 - AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
3411 - _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
3417 -# Check to make sure the static flag actually works.
3419 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
3420 - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
3421 - $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
3423 - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
3426 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
3427 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
3428 -AC_LIBTOOL_PROG_CC_C_O($1)
3429 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3430 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
3431 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3432 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3433 -AC_LIBTOOL_SYS_LIB_STRIP
3434 -AC_LIBTOOL_DLOPEN_SELF($1)
3436 -# Report which librarie types wil actually be built
3437 -AC_MSG_CHECKING([if libtool supports shared libraries])
3438 -AC_MSG_RESULT([$can_build_shared])
3440 -AC_MSG_CHECKING([whether to build shared libraries])
3441 -test "$can_build_shared" = "no" && enable_shared=no
3443 -# On AIX, shared libraries and static libraries use the same namespace, and
3444 -# are all built from PIC.
3447 - test "$enable_shared" = yes && enable_static=no
3448 - if test -n "$RANLIB"; then
3449 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
3450 - postinstall_cmds='$RANLIB $lib'
3455 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3456 - test "$enable_shared" = yes && enable_static=no
3459 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3461 + hardcode_direct=yes
3462 + hardcode_shlibpath_var=no
3465 -AC_MSG_RESULT([$enable_shared])
3467 -AC_MSG_CHECKING([whether to build static libraries])
3468 -# Make sure either enable_shared or enable_static is yes.
3469 -test "$enable_shared" = yes || enable_static=yes
3470 -AC_MSG_RESULT([$enable_static])
3472 -AC_LIBTOOL_CONFIG($1)
3476 -])# AC_LIBTOOL_LANG_C_CONFIG
3479 -# AC_LIBTOOL_LANG_CXX_CONFIG
3480 -# --------------------------
3481 -# Ensure that the configuration vars for the C compiler are
3482 -# suitably defined. Those variables are subsequently used by
3483 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3484 -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
3485 -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
3487 -AC_REQUIRE([AC_PROG_CXX])
3488 -AC_REQUIRE([_LT_AC_PROG_CXXCPP])
3490 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3491 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
3492 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
3493 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
3494 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3495 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
3496 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3497 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
3498 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3499 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3500 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
3501 -_LT_AC_TAGVAR(module_cmds, $1)=
3502 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
3503 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
3504 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3505 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
3506 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3507 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
3509 -# Dependencies to place before and after the object being linked:
3510 -_LT_AC_TAGVAR(predep_objects, $1)=
3511 -_LT_AC_TAGVAR(postdep_objects, $1)=
3512 -_LT_AC_TAGVAR(predeps, $1)=
3513 -_LT_AC_TAGVAR(postdeps, $1)=
3514 -_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
3516 -# Source file extension for C++ test sources.
3519 -# Object file extension for compiled C++ test sources.
3521 -_LT_AC_TAGVAR(objext, $1)=$objext
3523 -# Code to be used in simple compile tests
3524 -lt_simple_compile_test_code="int some_variable = 0;\n"
3526 -# Code to be used in simple link tests
3527 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
3529 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3530 -_LT_AC_SYS_COMPILER
3532 -# save warnings/boilerplate of simple test code
3533 -_LT_COMPILER_BOILERPLATE
3534 -_LT_LINKER_BOILERPLATE
3536 -# Allow CC to be a program name with arguments.
3541 -lt_save_with_gnu_ld=$with_gnu_ld
3542 -lt_save_path_LD=$lt_cv_path_LD
3543 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
3544 - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
3546 - unset lt_cv_prog_gnu_ld
3548 -if test -n "${lt_cv_path_LDCXX+set}"; then
3549 - lt_cv_path_LD=$lt_cv_path_LDCXX
3551 - unset lt_cv_path_LD
3553 -test -z "${LDCXX+set}" || LD=$LDCXX
3556 -_LT_AC_TAGVAR(compiler, $1)=$CC
3557 -_LT_CC_BASENAME([$compiler])
3559 -# We don't want -fno-exception wen compiling C++ code, so set the
3560 -# no_builtin_flag separately
3561 -if test "$GXX" = yes; then
3562 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
3564 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3567 -if test "$GXX" = yes; then
3568 - # Set up default GNU C++ configuration
3572 - # Check if GNU C++ uses GNU ld as the underlying linker, since the
3573 - # archiving commands below assume that GNU ld is being used.
3574 - if test "$with_gnu_ld" = yes; then
3575 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3576 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3578 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3579 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3581 - # If archive_cmds runs LD, not CC, wlarc should be empty
3582 - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
3583 - # investigate it a little bit more. (MM)
3586 - # ancient GNU ld didn't support --whole-archive et. al.
3587 - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
3588 - grep 'no-whole-archive' > /dev/null; then
3589 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3591 + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
3592 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3593 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3595 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3604 - # A generic and very simple default shared library creation
3605 - # command for GNU C++ for the case where it uses the native
3606 - # linker, instead of GNU ld. If possible, this setting should
3607 - # overridden to take advantage of the native linker features on
3608 - # the platform it is being used on.
3609 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3610 + if test "$ld_shlibs" = yes; then
3611 + runpath_var=LD_RUN_PATH
3612 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
3613 + export_dynamic_flag_spec='${wl}--export-dynamic'
3615 + cygwin* | mingw* | pw32*)
3616 + # dlltool doesn't understand --whole-archive et. al.
3617 + whole_archive_flag_spec=
3620 + # ancient GNU ld didn't support --whole-archive et. al.
3621 + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
3622 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3624 + whole_archive_flag_spec=
3630 - # Commands to make compiler produce verbose output that lists
3631 - # what "hidden" libraries, object files and flags are used when
3632 - # linking a shared library.
3633 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3641 -# PORTME: fill in a description of your system's C++ link characteristics
3642 -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
3643 -_LT_AC_TAGVAR(ld_shlibs, $1)=yes
3645 + # PORTME fill in a description of your system's linker (not GNU ld)
3648 - # FIXME: insert proper C++ library support
3649 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3650 + allow_undefined_flag=unsupported
3651 + always_export_symbols=yes
3652 + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
3653 + # Note: this linker hardcodes the directories in LIBPATH if there
3654 + # are no directories specified by -L.
3655 + hardcode_minus_L=yes
3656 + if test "$GCC" = yes && test -z "$link_static_flag"; then
3657 + # Neither direct hardcoding nor static linking is supported with a
3658 + # broken collect2.
3659 + hardcode_direct=unsupported
3664 if test "$host_cpu" = ia64; then
3665 # On IA64, the linker does run time linking by default, so we don't
3666 @@ -3688,7 +2294,7 @@
3668 aix_use_runtimelinking=yes
3675 @@ -3703,42 +2309,34 @@
3676 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
3677 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
3679 - _LT_AC_TAGVAR(archive_cmds, $1)=''
3680 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3681 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3682 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3684 - if test "$GXX" = yes; then
3685 + hardcode_direct=yes
3687 + hardcode_libdir_separator=':'
3688 + if test "$GCC" = yes; then
3689 case $host_os in aix4.[[012]]|aix4.[[012]].*)
3690 - # We only want to do this on AIX 4.2 and lower, the check
3691 - # below for broken collect2 doesn't work under 4.3+
3692 collect2name=`${CC} -print-prog-name=collect2`
3693 if test -f "$collect2name" && \
3694 - strings "$collect2name" | grep resolve_lib_name >/dev/null
3695 + strings "$collect2name" | grep resolve_lib_name >/dev/null
3697 # We have reworked collect2
3698 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3699 + hardcode_direct=yes
3701 # We have old collect2
3702 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3703 + hardcode_direct=unsupported
3704 # It fails to find uninstalled libraries when the uninstalled
3705 # path is not listed in the libpath. Setting hardcode_minus_L
3706 # to unsupported forces relinking
3707 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
3708 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3709 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3710 + hardcode_minus_L=yes
3711 + hardcode_libdir_flag_spec='-L$libdir'
3712 + hardcode_libdir_separator=
3716 shared_flag='-shared'
3717 - if test "$aix_use_runtimelinking" = yes; then
3718 - shared_flag="$shared_flag "'${wl}-G'
3722 if test "$host_cpu" = ia64; then
3723 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
3724 - # chokes on -Wl,-G. The following line is correct:
3726 + shared_flag='${wl}-G'
3728 if test "$aix_use_runtimelinking" = yes; then
3729 shared_flag='${wl}-G'
3730 @@ -3748,935 +2346,845 @@
3734 - # It seems that -bexpall does not export symbols beginning with
3735 - # underscore (_), so it is better to generate a list of symbols to export.
3736 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3737 + # It seems that -bexpall can do strange things, so it is better to
3738 + # generate a list of symbols to export.
3739 + always_export_symbols=yes
3740 if test "$aix_use_runtimelinking" = yes; then
3741 # Warning - without using the other runtime loading flags (-brtl),
3742 # -berok will link without error, but may produce a broken library.
3743 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
3744 - # Determine the default libpath from the value encoded in an empty executable.
3745 - _LT_AC_SYS_LIBPATH_AIX
3746 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3748 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3750 + allow_undefined_flag='-berok'
3751 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
3752 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3754 if test "$host_cpu" = ia64; then
3755 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3756 - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3757 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
3758 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
3759 + allow_undefined_flag="-z nodefs"
3760 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
3762 - # Determine the default libpath from the value encoded in an empty executable.
3763 - _LT_AC_SYS_LIBPATH_AIX
3764 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3765 + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
3766 # Warning - without using the other run time loading flags,
3767 # -berok will link without error, but may produce a broken library.
3768 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3769 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3770 - # -bexpall does not export symbols beginning with underscore (_)
3771 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
3772 - # Exported symbols can be pulled into shared objects from archives
3773 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3774 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3775 - # This is similar to how AIX traditionally builds its shared libraries.
3776 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
3777 + allow_undefined_flag='${wl}-berok'
3778 + # This is a bit strange, but is similar to how AIX traditionally builds
3779 + # it's shared libraries.
3780 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname'
3785 - case $cc_basename in
3787 - # FIXME: insert proper C++ library support
3788 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3792 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
3793 + hardcode_libdir_flag_spec='-L$libdir'
3794 + hardcode_minus_L=yes
3795 + # see comment about different semantics on the GNU ld section
3799 + cygwin* | mingw* | pw32*)
3800 + # When not using gcc, we currently assume that we are using
3801 + # Microsoft Visual C++.
3802 + # hardcode_libdir_flag_spec is actually meaningless, as there is
3803 + # no search path for DLLs.
3804 + hardcode_libdir_flag_spec=' '
3805 + allow_undefined_flag=unsupported
3806 + # Tell ltmain to make .lib files, not .a files.
3808 + # FIXME: Setting linknames here is a bad hack.
3809 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
3810 + # The linker will automatically build a .lib file if we build a DLL.
3811 + old_archive_from_new_cmds='true'
3812 + # FIXME: Should let the user specify the lib program.
3813 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
3814 + fix_srcfile_path='`cygpath -w "$srcfile"`'
3817 + darwin* | rhapsody*)
3818 + case "$host_os" in
3819 + rhapsody* | darwin1.[[012]])
3820 + allow_undefined_flag='-undefined suppress'
3822 + *) # Darwin 1.3 on
3823 + allow_undefined_flag='-flat_namespace -undefined suppress'
3826 + # FIXME: Relying on posixy $() will cause problems for
3827 + # cross-compilation, but unfortunately the echo tests do not
3828 + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
3829 + # `"' quotes if we put them in here... so don't!
3830 + 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)'
3831 + # We need to add '_' to the symbols in $export_symbols first
3832 + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
3833 + hardcode_direct=yes
3834 + hardcode_shlibpath_var=no
3835 + whole_archive_flag_spec='-all_load $convenience'
3842 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
3843 + # support. Future versions do this automatically, but an explicit c++rt0.o
3844 + # does not break anything, and helps significantly (at the cost of a little
3847 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
3848 + hardcode_libdir_flag_spec='-R$libdir'
3849 + hardcode_direct=yes
3850 + hardcode_shlibpath_var=no
3853 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
3855 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
3856 + hardcode_direct=yes
3857 + hardcode_minus_L=yes
3858 + hardcode_shlibpath_var=no
3861 - cygwin* | mingw* | pw32*)
3862 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
3863 - # as there is no search path for DLLs.
3864 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3865 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3866 - _LT_AC_TAGVAR(always_export_symbols, $1)=no
3867 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3869 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3870 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3871 - # If the export-symbols file already is a .def file (1st line
3872 - # is EXPORTS), use it as is; otherwise, prepend...
3873 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3874 - cp $export_symbols $output_objdir/$soname.def;
3876 - echo EXPORTS > $output_objdir/$soname.def;
3877 - cat $export_symbols >> $output_objdir/$soname.def;
3879 - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
3880 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
3882 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
3883 + hardcode_libdir_flag_spec='-R$libdir'
3884 + hardcode_direct=yes
3885 + hardcode_shlibpath_var=no
3888 + hpux9* | hpux10* | hpux11*)
3890 + hpux9*) archive_cmds='$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' ;;
3891 + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
3893 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
3894 + hardcode_libdir_separator=:
3895 + hardcode_direct=yes
3896 + hardcode_minus_L=yes # Not in the search PATH, but as the default
3897 + # location of the library.
3898 + export_dynamic_flag_spec='${wl}-E'
3901 + irix5* | irix6* | nonstopux*)
3902 + if test "$GCC" = yes; then
3903 + 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'
3904 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
3906 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3907 + 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'
3908 + hardcode_libdir_flag_spec='-rpath $libdir'
3911 - darwin* | rhapsody*)
3913 - rhapsody* | darwin1.[[012]])
3914 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3916 - *) # Darwin 1.3 on
3917 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3918 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3920 - case ${MACOSX_DEPLOYMENT_TARGET} in
3922 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3925 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3931 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3932 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
3933 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3934 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3935 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3936 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3938 - if test "$GXX" = yes ; then
3939 - lt_int_apple_cc_single_mod=no
3940 - output_verbose_link_cmd='echo'
3941 - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
3942 - lt_int_apple_cc_single_mod=yes
3944 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3945 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3947 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3949 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3950 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3951 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3952 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3954 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3956 - _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}'
3958 - case $cc_basename in
3960 - output_verbose_link_cmd='echo'
3961 - _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'
3962 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3963 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3964 - _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}'
3965 - _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}'
3968 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3973 + hardcode_libdir_separator=:
3974 + link_all_deplibs=yes
3978 - case $cc_basename in
3980 - # FIXME: insert proper C++ library support
3981 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3984 - # Green Hills C++ Compiler
3985 - # FIXME: insert proper C++ library support
3986 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3989 - # FIXME: insert proper C++ library support
3990 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
3993 + netbsd* | knetbsd*-gnu)
3994 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3995 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
3997 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
3999 + hardcode_libdir_flag_spec='-R$libdir'
4000 + hardcode_direct=yes
4001 + hardcode_shlibpath_var=no
4004 - # C++ shared libraries reported to be fairly broken before switch to ELF
4005 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4008 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4010 - freebsd* | kfreebsd*-gnu | dragonfly*)
4011 - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
4013 - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
4018 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4019 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4020 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4021 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4022 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4023 - # but as the default
4024 - # location of the library.
4026 - case $cc_basename in
4028 - # FIXME: insert proper C++ library support
4029 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4032 - _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'
4033 - # Commands to make compiler produce verbose output that lists
4034 - # what "hidden" libraries, object files and flags are used when
4035 - # linking a shared library.
4037 - # There doesn't appear to be a way to prevent this compiler from
4038 - # explicitly linking system object files so we need to strip them
4039 - # from the output so that they don't get included in the library
4041 - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4044 - if test "$GXX" = yes; then
4045 - _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'
4047 - # FIXME: insert proper C++ library support
4048 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4054 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4055 + hardcode_direct=yes
4056 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
4057 + hardcode_libdir_separator=:
4058 + hardcode_shlibpath_var=no
4061 - if test $with_gnu_ld = no; then
4064 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4065 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4066 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4069 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4072 + hardcode_direct=yes
4073 + hardcode_shlibpath_var=no
4074 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4075 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4076 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
4077 + export_dynamic_flag_spec='${wl}-E'
4079 + case "$host_os" in
4080 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
4081 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
4082 + hardcode_libdir_flag_spec='-R$libdir'
4085 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4086 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4087 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4088 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
4089 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
4095 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
4096 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4099 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
4100 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4101 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4102 - # but as the default
4103 - # location of the library.
4106 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4107 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4108 - # but as the default
4109 - # location of the library.
4115 + hardcode_libdir_flag_spec='-L$libdir'
4116 + hardcode_minus_L=yes
4117 + allow_undefined_flag=unsupported
4118 + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
4119 + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
4123 + if test "$GCC" = yes; then
4124 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
4125 + archive_cmds='$CC -shared${allow_undefined_flag} $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'
4127 + allow_undefined_flag=' -expect_unresolved \*'
4128 + archive_cmds='$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'
4130 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
4131 + hardcode_libdir_separator=:
4134 + osf4* | osf5*) # as osf3* with the addition of -msym flag
4135 + if test "$GCC" = yes; then
4136 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
4137 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${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'
4138 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
4140 + allow_undefined_flag=' -expect_unresolved \*'
4141 + archive_cmds='$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'
4142 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
4143 + $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'
4145 + #Both c and cxx compiler support -rpath directly
4146 + hardcode_libdir_flag_spec='-rpath $libdir'
4148 + hardcode_libdir_separator=:
4152 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4153 + hardcode_shlibpath_var=no
4154 + runpath_var=LD_RUN_PATH
4155 + hardcode_runpath_var=yes
4156 + export_dynamic_flag_spec='${wl}-Bexport'
4159 - case $cc_basename in
4161 - # FIXME: insert proper C++ library support
4162 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4167 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4170 - _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'
4173 - # Commands to make compiler produce verbose output that lists
4174 - # what "hidden" libraries, object files and flags are used when
4175 - # linking a shared library.
4177 - # There doesn't appear to be a way to prevent this compiler from
4178 - # explicitly linking system object files so we need to strip them
4179 - # from the output so that they don't get included in the library
4181 - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4184 - if test "$GXX" = yes; then
4185 - if test $with_gnu_ld = no; then
4188 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
4191 - _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'
4196 - # FIXME: insert proper C++ library support
4197 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4200 + # gcc --version < 3.0 without binutils cannot create self contained
4201 + # shared libraries reliably, requiring libgcc.a to resolve some of
4202 + # the object symbols generated in some cases. Libraries that use
4203 + # assert need libgcc.a to resolve __eprintf, for example. Linking
4204 + # a copy of libgcc.a into every shared library to guarantee resolving
4205 + # such symbols causes other problems: According to Tim Van Holder
4206 + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
4207 + # (to the application) exception stack for one thing.
4208 + no_undefined_flag=' -z defs'
4209 + if test "$GCC" = yes; then
4210 + case `$CC --version 2>/dev/null` in
4214 +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
4215 +*** create self contained shared libraries on Solaris systems, without
4216 +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
4217 +*** -no-undefined support, which will at least allow you to build shared
4218 +*** libraries. However, you may find that when you link such libraries
4219 +*** into an application without using GCC, you have to manually add
4220 +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
4221 +*** upgrade to a newer version of GCC. Another option is to rebuild your
4222 +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
4225 + no_undefined_flag=
4229 + # $CC -shared without GNU ld will not create a library from C++
4230 + # object files and a static libstdc++, better avoid it by now
4231 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4232 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4233 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4234 + hardcode_libdir_flag_spec='-R$libdir'
4235 + hardcode_shlibpath_var=no
4237 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4238 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
4239 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
4241 + link_all_deplibs=yes
4244 - case $cc_basename in
4247 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4249 - # Archives containing C++ object files must be created using
4250 - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
4251 - # necessary to make sure instantiated templates are included
4253 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
4256 - if test "$GXX" = yes; then
4257 - if test "$with_gnu_ld" = no; then
4258 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
4260 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
4263 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4266 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4267 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4270 + if test "x$host_vendor" = xsequent; then
4271 + # Use $CC to link under sequent, because it throws in some extra .o
4272 + # files that make .init and .fini sections work.
4273 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
4275 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
4277 + hardcode_libdir_flag_spec='-L$libdir'
4278 + hardcode_direct=yes
4279 + hardcode_minus_L=yes
4280 + hardcode_shlibpath_var=no
4283 - case $cc_basename in
4285 - # Kuck and Associates, Inc. (KAI) C++ Compiler
4287 - # KCC will only create a shared library if the output file
4288 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
4289 - # to its proper name (with version) after linking.
4290 - _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 $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4291 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
4292 - # Commands to make compiler produce verbose output that lists
4293 - # what "hidden" libraries, object files and flags are used when
4294 - # linking a shared library.
4296 - # There doesn't appear to be a way to prevent this compiler from
4297 - # explicitly linking system object files so we need to strip them
4298 - # from the output so that they don't get included in the library
4300 - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4302 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
4303 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4305 - # Archives containing C++ object files must be created using
4306 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
4307 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
4312 - # version 8.0 and above of icpc choke on multiply defined symbols
4313 - # if we add $predep_objects and $postdep_objects, however 7.1 and
4314 - # earlier do not add the objects themselves.
4315 - case `$CC -V 2>&1` in
4317 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4318 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4320 - *) # Version 8.0 or newer
4323 - ia64*) tmp_idyn=' -i_dynamic';;
4325 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4326 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4329 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4330 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4331 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4332 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
4335 - # Portland Group C++ compiler
4336 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
4337 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
4339 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
4340 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4341 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
4344 + case $host_vendor in
4346 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4347 + hardcode_direct=yes # is this really true???
4350 + ## LD is ld it makes a PLAMLIB
4351 + ## CC just makes a GrossModule.
4352 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
4353 + reload_cmds='$CC -r -o $output$reload_objs'
4354 + hardcode_direct=no
4357 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4358 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
4362 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4363 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
4365 - runpath_var=LD_RUN_PATH
4366 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4367 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4369 - # Commands to make compiler produce verbose output that lists
4370 - # what "hidden" libraries, object files and flags are used when
4371 - # linking a shared library.
4373 - # There doesn't appear to be a way to prevent this compiler from
4374 - # explicitly linking system object files so we need to strip them
4375 - # from the output so that they don't get included in the library
4377 - 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'
4380 + runpath_var='LD_RUN_PATH'
4381 + hardcode_shlibpath_var=no
4384 - # FIXME: insert proper C++ library support
4385 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4388 - # FIXME: insert proper C++ library support
4389 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4392 - case $cc_basename in
4394 - # FIXME: insert proper C++ library support
4395 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4398 - # FIXME: insert proper C++ library support
4399 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4404 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4405 + hardcode_shlibpath_var=no
4406 + export_dynamic_flag_spec='-Bexport'
4410 + no_undefined_flag=' -z text'
4411 + # $CC -shared without GNU ld will not create a library from C++
4412 + # object files and a static libstdc++, better avoid it by now
4413 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
4414 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4415 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
4416 + hardcode_libdir_flag_spec=
4417 + hardcode_shlibpath_var=no
4418 + runpath_var='LD_RUN_PATH'
4422 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4423 + hardcode_libdir_flag_spec='-L$libdir'
4424 + hardcode_shlibpath_var=no
4427 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
4428 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
4430 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4431 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4432 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4435 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4436 + hardcode_libdir_flag_spec='-L$libdir'
4437 + hardcode_shlibpath_var=no
4441 + if test -d /usr/nec; then
4442 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
4443 + hardcode_shlibpath_var=no
4444 + runpath_var=LD_RUN_PATH
4445 + hardcode_runpath_var=yes
4448 - # Workaround some broken pre-1.5 toolchains
4449 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
4452 - # C++ shared libraries are fairly broken
4453 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4456 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
4457 + hardcode_direct=yes
4458 + hardcode_minus_L=no
4459 + hardcode_shlibpath_var=no
4460 + hardcode_runpath_var=yes
4461 + runpath_var=LD_RUN_PATH
4464 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4465 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4466 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
4467 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4468 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4469 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
4470 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4471 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4473 + sysv5uw7* | unixware7*)
4474 + no_undefined_flag='${wl}-z ${wl}text'
4475 + if test "$GCC" = yes; then
4476 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4478 + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4480 - output_verbose_link_cmd='echo'
4481 + runpath_var='LD_RUN_PATH'
4482 + hardcode_shlibpath_var=no
4485 - case $cc_basename in
4487 - # Kuck and Associates, Inc. (KAI) C++ Compiler
4489 - # KCC will only create a shared library if the output file
4490 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
4491 - # to its proper name (with version) after linking.
4492 - _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 $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4494 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4495 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4497 - # Archives containing C++ object files must be created using
4498 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
4499 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
4503 - # Rational C++ 2.4.1
4504 - # FIXME: insert proper C++ library support
4505 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4508 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4509 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4511 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4512 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4514 - # Commands to make compiler produce verbose output that lists
4515 - # what "hidden" libraries, object files and flags are used when
4516 - # linking a shared library.
4518 - # There doesn't appear to be a way to prevent this compiler from
4519 - # explicitly linking system object files so we need to strip them
4520 - # from the output so that they don't get included in the library
4522 - 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'
4525 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4526 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4527 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
4529 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4530 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4532 - # Commands to make compiler produce verbose output that lists
4533 - # what "hidden" libraries, object files and flags are used when
4534 - # linking a shared library.
4535 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4538 - # FIXME: insert proper C++ library support
4539 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4547 - case $cc_basename in
4549 - # Kuck and Associates, Inc. (KAI) C++ Compiler
4551 - # KCC will only create a shared library if the output file
4552 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
4553 - # to its proper name (with version) after linking.
4554 - _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 $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4556 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4557 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4559 - # Archives containing C++ object files must be created using
4560 - # the KAI C++ compiler.
4561 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
4564 - # Rational C++ 2.4.1
4565 - # FIXME: insert proper C++ library support
4566 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4569 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
4570 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4571 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
4572 - echo "-hidden">> $lib.exp~
4573 - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
4576 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
4577 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4579 - # Commands to make compiler produce verbose output that lists
4580 - # what "hidden" libraries, object files and flags are used when
4581 - # linking a shared library.
4583 - # There doesn't appear to be a way to prevent this compiler from
4584 - # explicitly linking system object files so we need to strip them
4585 - # from the output so that they don't get included in the library
4587 - 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'
4590 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4591 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
4592 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${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'
4594 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4595 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4597 - # Commands to make compiler produce verbose output that lists
4598 - # what "hidden" libraries, object files and flags are used when
4599 - # linking a shared library.
4600 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4603 +AC_MSG_RESULT([$ld_shlibs])
4604 +test "$ld_shlibs" = no && can_build_shared=no
4606 +# Check hardcoding attributes.
4607 +AC_MSG_CHECKING([how to hardcode library paths into programs])
4609 +if test -n "$hardcode_libdir_flag_spec" || \
4610 + test -n "$runpath_var"; then
4612 + # We can hardcode non-existant directories.
4613 + if test "$hardcode_direct" != no &&
4614 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
4615 + # have to relink, otherwise we might link with an installed library
4616 + # when we should be linking with a yet-to-be-installed one
4617 + ## test "$hardcode_shlibpath_var" != no &&
4618 + test "$hardcode_minus_L" != no; then
4619 + # Linking always hardcodes the temporary library directory.
4620 + hardcode_action=relink
4622 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
4623 + hardcode_action=immediate
4626 + # We cannot hardcode anything, or else we can only hardcode existing
4628 + hardcode_action=unsupported
4630 +AC_MSG_RESULT([$hardcode_action])
4634 +AC_MSG_CHECKING([whether stripping libraries is possible])
4635 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
4636 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
4637 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
4638 + AC_MSG_RESULT([yes])
4640 + AC_MSG_RESULT([no])
4643 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
4644 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
4646 +# PORTME Fill in your ld.so characteristics
4647 +AC_MSG_CHECKING([dynamic linker characteristics])
4648 +library_names_spec=
4649 +libname_spec='lib$name'
4652 +postuninstall_cmds=
4656 +shlibpath_overrides_runpath=unknown
4658 +dynamic_linker="$host_os ld.so"
4659 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
4660 +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
4664 + version_type=linux
4665 + library_names_spec='${libname}${release}.so$versuffix $libname.a'
4666 + shlibpath_var=LIBPATH
4668 + # AIX has no versioning support, so we append a major version to the name.
4669 + soname_spec='${libname}${release}.so$major'
4673 + version_type=linux
4674 + need_lib_prefix=no
4676 + hardcode_into_libs=yes
4677 + if test "$host_cpu" = ia64; then
4678 + # AIX 5 supports IA64
4679 + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
4680 + shlibpath_var=LD_LIBRARY_PATH
4682 + # With GCC up to 2.95.x, collect2 would create an import file
4683 + # for dependence libraries. The import file would start with
4684 + # the line `#! .'. This would cause the generated library to
4685 + # depend on `.', always an invalid library. This was fixed in
4686 + # development snapshots of GCC prior to 3.0.
4688 + aix4 | aix4.[[01]] | aix4.[[01]].*)
4689 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4691 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
4694 - # FIXME: insert proper C++ library support
4695 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4696 + can_build_shared=no
4700 + # AIX (on Power*) has no versioning support, so currently we can
4701 + # not hardcode correct soname into executable. Probably we can
4702 + # add versioning support to collect2, so additional links can
4703 + # be useful in future.
4704 + if test "$aix_use_runtimelinking" = yes; then
4705 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4706 + # instead of lib<name>.a to let people know that these are not
4707 + # typical AIX shared libraries.
4708 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
4710 + # We preserve .a as extension for shared libraries through AIX4.2
4711 + # and later when we are not doing run time linking.
4712 + library_names_spec='${libname}${release}.a $libname.a'
4713 + soname_spec='${libname}${release}.so$major'
4715 + shlibpath_var=LIBPATH
4717 + hardcode_into_libs=yes
4721 + library_names_spec='$libname.ixlibrary $libname.a'
4722 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
4723 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
4727 + library_names_spec='${libname}.so'
4728 + dynamic_linker="$host_os ld.so"
4729 + shlibpath_var=LIBRARY_PATH
4733 + version_type=linux
4735 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
4736 + soname_spec='${libname}${release}.so$major'
4737 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
4738 + shlibpath_var=LD_LIBRARY_PATH
4739 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4740 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
4741 + export_dynamic_flag_spec=-rdynamic
4742 + # the default ld.so.conf also contains /usr/contrib/lib and
4743 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4744 + # libtool to hard-code these into programs
4747 +cygwin* | mingw* | pw32*)
4748 + version_type=windows
4750 + need_lib_prefix=no
4751 + case $GCC,$host_os in
4753 + library_names_spec='$libname.dll.a'
4754 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
4755 + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
4756 + dldir=$destdir/`dirname \$dlpath`~
4757 + test -d \$dldir || mkdir -p \$dldir~
4758 + $install_prog .libs/$dlname \$dldir/$dlname'
4759 + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
4760 + dlpath=$dir/\$dldll~
4764 - # FIXME: insert proper C++ library support
4765 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4768 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4769 - case $cc_basename in
4771 - # FIXME: insert proper C++ library support
4772 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4775 - # FIXME: insert proper C++ library support
4776 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4780 + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
4781 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
4784 - case $cc_basename in
4787 - # FIXME: insert proper C++ library support
4788 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4792 - # FIXME: insert proper C++ library support
4793 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4796 - # FIXME: insert proper C++ library support
4797 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4801 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
4804 - case $cc_basename in
4806 - # Sun C++ 4.2, 5.x and Centerline C++
4807 - _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
4808 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
4809 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4810 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4811 - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4813 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4814 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4816 - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4818 - # The C++ compiler is used as linker so we must use $wl
4819 - # flag to pass the commands to the underlying system
4820 - # linker. We must also pass each convience library through
4821 - # to the system linker between allextract/defaultextract.
4822 - # The C++ compiler will combine linker options so we
4823 - # cannot just pass the convience library names through
4825 - # Supported since Solaris 2.6 (maybe 2.5.1?)
4826 - _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'
4829 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4831 + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
4834 + dynamic_linker='Win32 ld.exe'
4835 + # FIXME: first we should search . and the directory the executable is in
4836 + shlibpath_var=PATH
4839 +darwin* | rhapsody*)
4840 + dynamic_linker="$host_os dyld"
4841 + version_type=darwin
4842 + need_lib_prefix=no
4844 + # FIXME: Relying on posixy $() will cause problems for
4845 + # cross-compilation, but unfortunately the echo tests do not
4846 + # yet detect zsh echo's removal of \ escapes.
4847 + library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
4848 + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
4849 + shlibpath_overrides_runpath=yes
4850 + shlibpath_var=DYLD_LIBRARY_PATH
4853 - output_verbose_link_cmd='echo'
4858 - # Archives containing C++ object files must be created using
4859 - # "CC -xar", where "CC" is the Sun C++ compiler. This is
4860 - # necessary to make sure instantiated templates are included
4862 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
4865 - # Green Hills C++ Compiler
4866 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4868 + version_type=linux
4869 + need_lib_prefix=no
4871 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
4872 + soname_spec='${libname}${release}.so$major'
4873 + shlibpath_var=LD_LIBRARY_PATH
4874 + shlibpath_overrides_runpath=no
4875 + hardcode_into_libs=yes
4876 + dynamic_linker='GNU/FreeBSD ld.so'
4880 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4881 + version_type=freebsd-$objformat
4882 + case $version_type in
4884 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
4886 + need_lib_prefix=no
4889 + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
4893 + shlibpath_var=LD_LIBRARY_PATH
4896 + shlibpath_overrides_runpath=yes
4899 + shlibpath_overrides_runpath=no
4900 + hardcode_into_libs=yes
4906 + version_type=linux
4907 + need_lib_prefix=no
4909 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
4910 + soname_spec='${libname}${release}.so$major'
4911 + shlibpath_var=LD_LIBRARY_PATH
4912 + hardcode_into_libs=yes
4915 - # The C++ compiler must be used to create the archive.
4916 - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
4919 - # GNU C++ compiler with Solaris linker
4920 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
4921 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
4922 - if $CC --version | grep -v '^2\.7' > /dev/null; then
4923 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4924 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4925 - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4927 - # Commands to make compiler produce verbose output that lists
4928 - # what "hidden" libraries, object files and flags are used when
4929 - # linking a shared library.
4930 - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
4932 - # g++ 2.7 appears to require `-G' NOT `-shared' on this
4934 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
4935 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4936 - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4938 - # Commands to make compiler produce verbose output that lists
4939 - # what "hidden" libraries, object files and flags are used when
4940 - # linking a shared library.
4941 - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
4943 +hpux9* | hpux10* | hpux11*)
4944 + # Give a soname corresponding to the major version so that dld.sl refuses to
4945 + # link against other versions.
4946 + dynamic_linker="$host_os dld.sl"
4947 + version_type=sunos
4948 + need_lib_prefix=no
4950 + shlibpath_var=SHLIB_PATH
4951 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
4952 + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
4953 + soname_spec='${libname}${release}.sl$major'
4954 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
4955 + postinstall_cmds='chmod 555 $lib'
4958 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
4963 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
4964 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4967 - case $cc_basename in
4969 - # NonStop-UX NCC 3.20
4970 - # FIXME: insert proper C++ library support
4971 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4974 - # FIXME: insert proper C++ library support
4975 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4980 - # FIXME: insert proper C++ library support
4981 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4982 +irix5* | irix6* | nonstopux*)
4984 + nonstopux*) version_type=nonstopux ;;
4985 + *) version_type=irix ;;
4987 + need_lib_prefix=no
4989 + soname_spec='${libname}${release}.so$major'
4990 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
4992 + irix5* | nonstopux*)
4993 + libsuff= shlibsuff=
4996 - # FIXME: insert proper C++ library support
4997 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
4998 + case $LD in # libtool.m4 will add one of these switches to LD
4999 + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
5000 + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
5001 + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
5002 + *) libsuff= shlibsuff= libmagic=never-match;;
5006 -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
5007 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
5009 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
5010 + shlibpath_overrides_runpath=no
5011 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5012 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
5015 -_LT_AC_TAGVAR(GCC, $1)="$GXX"
5016 -_LT_AC_TAGVAR(LD, $1)="$LD"
5017 +# No shared lib support for Linux oldld, aout, or coff.
5018 +linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
5022 -AC_LIBTOOL_POSTDEP_PREDEP($1)
5023 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
5024 -AC_LIBTOOL_PROG_CC_C_O($1)
5025 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5026 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
5027 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5028 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5029 -AC_LIBTOOL_SYS_LIB_STRIP
5030 -AC_LIBTOOL_DLOPEN_SELF($1)
5032 -AC_LIBTOOL_CONFIG($1)
5039 -with_gnu_ldcxx=$with_gnu_ld
5040 -with_gnu_ld=$lt_save_with_gnu_ld
5041 -lt_cv_path_LDCXX=$lt_cv_path_LD
5042 -lt_cv_path_LD=$lt_save_path_LD
5043 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
5044 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
5045 -])# AC_LIBTOOL_LANG_CXX_CONFIG
5046 +# This must be Linux ELF.
5048 + version_type=linux
5049 + need_lib_prefix=no
5051 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5052 + soname_spec='${libname}${release}.so$major'
5053 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
5054 + shlibpath_var=LD_LIBRARY_PATH
5055 + shlibpath_overrides_runpath=no
5056 + # This implies no fast_install, which is unacceptable.
5057 + # Some rework will be needed to allow for fast_install
5058 + # before this can be enabled.
5059 + hardcode_into_libs=yes
5061 -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
5062 -# ------------------------
5063 -# Figure out "hidden" library dependencies from verbose
5064 -# compiler output when linking a shared library.
5065 -# Parse the compiler output and extract the necessary
5066 -# objects, libraries and library flags.
5067 -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
5068 -dnl we can't use the lt_simple_compile_test_code here,
5069 -dnl because it contains code intended for an executable,
5070 -dnl not a library. It's possible we should let each
5071 -dnl tag define a new lt_????_link_test_code variable,
5072 -dnl but it's only used here...
5073 -ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
5075 -void foo (void) { a = 0; }
5077 -],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
5081 - Foo (void) { a = 0; }
5086 -],[$1],[F77],[cat > conftest.$ac_ext <<EOF
5094 -],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
5097 - public void bar (void) {
5103 -dnl Parse the compiler output and extract the necessary
5104 -dnl objects, libraries and library flags.
5105 -if AC_TRY_EVAL(ac_compile); then
5106 - # Parse the compiler output and extract the necessary
5107 - # objects, libraries and library flags.
5109 - # Sentinel used to keep track of whether or not we are before
5110 - # the conftest object file.
5111 - pre_test_object_deps_done=no
5113 - # The `*' in the case matches for architectures that use `case' in
5114 - # $output_verbose_cmd can trigger glob expansion during the loop
5115 - # eval without this substitution.
5116 - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
5118 - for p in `eval $output_verbose_link_cmd`; do
5122 - # Some compilers place space between "-{L,R}" and the path.
5123 - # Remove the space.
5124 - if test $p = "-L" \
5125 - || test $p = "-R"; then
5132 - if test "$pre_test_object_deps_done" = no; then
5135 - # Internal compiler library paths should come after those
5136 - # provided the user. The postdeps already come after the
5137 - # user supplied libs so there is no need to process them.
5138 - if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
5139 - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
5141 - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
5144 - # The "-l" case would never come before the object being
5145 - # linked, so don't bother handling this case.
5148 - if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
5149 - _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
5151 - _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
5157 - # This assumes that the test object file only shows up
5158 - # once in the compiler output.
5159 - if test "$p" = "conftest.$objext"; then
5160 - pre_test_object_deps_done=yes
5164 - if test "$pre_test_object_deps_done" = no; then
5165 - if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
5166 - _LT_AC_TAGVAR(predep_objects, $1)="$p"
5168 - _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
5171 - if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
5172 - _LT_AC_TAGVAR(postdep_objects, $1)="$p"
5174 - _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
5178 + # We used to test for /lib/ld.so.1 and disable shared libraries on
5179 + # powerpc, because MkLinux only supported shared libraries with the
5180 + # GNU dynamic linker. Since this was broken with cross compilers,
5181 + # most powerpc-linux boxes support dynamic linking these days and
5182 + # people can always --disable-shared, the test was removed, and we
5183 + # assume the GNU/Linux dynamic linker is in use.
5184 + dynamic_linker='GNU/Linux ld.so'
5188 + version_type=linux
5189 + need_lib_prefix=no
5191 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5192 + soname_spec='${libname}${release}.so$major'
5193 + shlibpath_var=LD_LIBRARY_PATH
5194 + shlibpath_overrides_runpath=no
5195 + hardcode_into_libs=yes
5196 + dynamic_linker='GNU ld.so'
5200 + version_type=sunos
5201 + need_lib_prefix=no
5203 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5204 + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
5205 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5206 + dynamic_linker='NetBSD (a.out) ld.so'
5208 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
5209 + soname_spec='${libname}${release}.so$major'
5210 + dynamic_linker='NetBSD ld.elf_so'
5212 + shlibpath_var=LD_LIBRARY_PATH
5213 + shlibpath_overrides_runpath=yes
5214 + hardcode_into_libs=yes
5217 - *) ;; # Ignore the rest.
5219 + version_type=linux
5220 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5221 + shlibpath_var=LD_LIBRARY_PATH
5222 + shlibpath_overrides_runpath=yes
5226 + version_type=sunos
5227 + need_lib_prefix=no
5229 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5230 + case "$host_os" in
5231 + openbsd2.[[89]] | openbsd2.[[89]].*)
5232 + shlibpath_overrides_runpath=no
5235 + shlibpath_overrides_runpath=yes
5240 + shlibpath_overrides_runpath=yes
5242 + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
5243 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5244 + shlibpath_var=LD_LIBRARY_PATH
5250 - echo "libtool.m4: error: problem compiling $1 test program"
5253 + libname_spec='$name'
5254 + need_lib_prefix=no
5255 + library_names_spec='$libname.dll $libname.a'
5256 + dynamic_linker='OS/2 ld.exe'
5257 + shlibpath_var=LIBPATH
5260 +osf3* | osf4* | osf5*)
5263 + need_lib_prefix=no
5264 + soname_spec='${libname}${release}.so$major'
5265 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5266 + shlibpath_var=LD_LIBRARY_PATH
5267 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5268 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
5269 + hardcode_into_libs=yes
5272 -$rm -f confest.$objext
5275 + soname_spec='${libname}${release}.so$major'
5276 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5277 + shlibpath_var=LD_LIBRARY_PATH
5280 -# PORTME: override above test on systems where it is broken
5284 - case $cc_basename in
5286 - # Adding this requires a known-good setup of shared libraries for
5287 - # Sun compiler versions before 5.6, else PIC objects from an old
5288 - # archive will be linked into the output, leading to subtle bugs.
5289 - _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
5291 + version_type=linux
5292 + need_lib_prefix=no
5294 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5295 + soname_spec='${libname}${release}.so$major'
5296 + shlibpath_var=LD_LIBRARY_PATH
5297 + shlibpath_overrides_runpath=yes
5298 + hardcode_into_libs=yes
5299 + # ldd complains unless libraries are executable
5300 + postinstall_cmds='chmod +x $lib'
5304 + version_type=sunos
5305 + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
5306 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5307 + shlibpath_var=LD_LIBRARY_PATH
5308 + shlibpath_overrides_runpath=yes
5309 + if test "$with_gnu_ld" = yes; then
5310 + need_lib_prefix=no
5315 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5316 + version_type=linux
5317 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5318 + soname_spec='${libname}${release}.so$major'
5319 + shlibpath_var=LD_LIBRARY_PATH
5320 + case $host_vendor in
5322 + shlibpath_overrides_runpath=no
5323 + need_lib_prefix=no
5324 + export_dynamic_flag_spec='${wl}-Blargedynsym'
5325 + runpath_var=LD_RUN_PATH
5328 + need_lib_prefix=no
5331 + need_lib_prefix=no
5333 + shlibpath_overrides_runpath=no
5334 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
5341 -case " $_LT_AC_TAGVAR(postdeps, $1) " in
5342 -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
5344 -])# AC_LIBTOOL_POSTDEP_PREDEP
5346 + version_type=linux
5347 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5348 + soname_spec='${libname}${release}.so$major'
5349 + shlibpath_var=LD_LIBRARY_PATH
5352 -# AC_LIBTOOL_LANG_F77_CONFIG
5353 -# ------------------------
5354 -# Ensure that the configuration vars for the C compiler are
5355 -# suitably defined. Those variables are subsequently used by
5356 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5357 -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
5358 -AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
5359 -[AC_REQUIRE([AC_PROG_F77])
5360 -AC_LANG_PUSH(Fortran 77)
5362 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5363 -_LT_AC_TAGVAR(allow_undefined_flag, $1)=
5364 -_LT_AC_TAGVAR(always_export_symbols, $1)=no
5365 -_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
5366 -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5367 -_LT_AC_TAGVAR(hardcode_direct, $1)=no
5368 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5369 -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5370 -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5371 -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5372 -_LT_AC_TAGVAR(hardcode_automatic, $1)=no
5373 -_LT_AC_TAGVAR(module_cmds, $1)=
5374 -_LT_AC_TAGVAR(module_expsym_cmds, $1)=
5375 -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5376 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5377 -_LT_AC_TAGVAR(no_undefined_flag, $1)=
5378 -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5379 -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5381 -# Source file extension for f77 test sources.
5384 -# Object file extension for compiled f77 test sources.
5386 -_LT_AC_TAGVAR(objext, $1)=$objext
5388 -# Code to be used in simple compile tests
5389 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
5391 -# Code to be used in simple link tests
5392 -lt_simple_link_test_code=" program t\n end\n"
5394 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5395 -_LT_AC_SYS_COMPILER
5397 -# save warnings/boilerplate of simple test code
5398 -_LT_COMPILER_BOILERPLATE
5399 -_LT_LINKER_BOILERPLATE
5401 + version_type=linux
5402 + need_lib_prefix=no
5404 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
5405 + soname_spec='${libname}${release}.so$major'
5406 + shlibpath_var=LD_LIBRARY_PATH
5409 -# Allow CC to be a program name with arguments.
5413 -_LT_AC_TAGVAR(compiler, $1)=$CC
5414 -_LT_CC_BASENAME([$compiler])
5416 + if test -d /usr/nec ;then
5417 + version_type=linux
5418 + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
5419 + soname_spec='$libname.so.$major'
5420 + shlibpath_var=LD_LIBRARY_PATH
5428 +AC_MSG_RESULT([$dynamic_linker])
5429 +test "$dynamic_linker" = no && can_build_shared=no
5431 +# Report the final consequences.
5432 AC_MSG_CHECKING([if libtool supports shared libraries])
5433 AC_MSG_RESULT([$can_build_shared])
5435 @@ -4685,7 +3193,7 @@
5437 # On AIX, shared libraries and static libraries use the same namespace, and
5438 # are all built from PIC.
5442 test "$enable_shared" = yes && enable_static=no
5443 if test -n "$RANLIB"; then
5444 @@ -4693,7 +3201,8 @@
5445 postinstall_cmds='$RANLIB $lib'
5451 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
5452 test "$enable_shared" = yes && enable_static=no
5454 @@ -4706,207 +3215,114 @@
5455 test "$enable_shared" = yes || enable_static=yes
5456 AC_MSG_RESULT([$enable_static])
5458 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
5460 -_LT_AC_TAGVAR(GCC, $1)="$G77"
5461 -_LT_AC_TAGVAR(LD, $1)="$LD"
5463 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
5464 -AC_LIBTOOL_PROG_CC_C_O($1)
5465 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5466 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
5467 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5468 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5469 -AC_LIBTOOL_SYS_LIB_STRIP
5472 -AC_LIBTOOL_CONFIG($1)
5476 -])# AC_LIBTOOL_LANG_F77_CONFIG
5479 -# AC_LIBTOOL_LANG_GCJ_CONFIG
5480 -# --------------------------
5481 -# Ensure that the configuration vars for the C compiler are
5482 -# suitably defined. Those variables are subsequently used by
5483 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5484 -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
5485 -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
5488 -# Source file extension for Java test sources.
5491 -# Object file extension for compiled Java test sources.
5493 -_LT_AC_TAGVAR(objext, $1)=$objext
5495 -# Code to be used in simple compile tests
5496 -lt_simple_compile_test_code="class foo {}\n"
5498 -# Code to be used in simple link tests
5499 -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
5501 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5502 -_LT_AC_SYS_COMPILER
5504 -# save warnings/boilerplate of simple test code
5505 -_LT_COMPILER_BOILERPLATE
5506 -_LT_LINKER_BOILERPLATE
5508 -# Allow CC to be a program name with arguments.
5512 -_LT_AC_TAGVAR(compiler, $1)=$CC
5513 -_LT_CC_BASENAME([$compiler])
5515 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
5516 -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5518 -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5520 -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
5521 -AC_LIBTOOL_PROG_COMPILER_PIC($1)
5522 -AC_LIBTOOL_PROG_CC_C_O($1)
5523 -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5524 -AC_LIBTOOL_PROG_LD_SHLIBS($1)
5525 -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5526 -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5527 -AC_LIBTOOL_SYS_LIB_STRIP
5528 -AC_LIBTOOL_DLOPEN_SELF($1)
5530 -AC_LIBTOOL_CONFIG($1)
5534 -])# AC_LIBTOOL_LANG_GCJ_CONFIG
5535 +if test "$hardcode_action" = relink; then
5536 + # Fast installation is not supported
5537 + enable_fast_install=no
5538 +elif test "$shlibpath_overrides_runpath" = yes ||
5539 + test "$enable_shared" = no; then
5540 + # Fast installation is not necessary
5541 + enable_fast_install=needless
5544 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
5545 +if test "$GCC" = yes; then
5546 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
5549 -# AC_LIBTOOL_LANG_RC_CONFIG
5550 -# --------------------------
5551 -# Ensure that the configuration vars for the Windows resource compiler are
5552 -# suitably defined. Those variables are subsequently used by
5553 -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5554 -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
5555 -AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
5558 -# Source file extension for RC test sources.
5561 -# Object file extension for compiled RC test sources.
5563 -_LT_AC_TAGVAR(objext, $1)=$objext
5565 -# Code to be used in simple compile tests
5566 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
5568 -# Code to be used in simple link tests
5569 -lt_simple_link_test_code="$lt_simple_compile_test_code"
5571 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5572 -_LT_AC_SYS_COMPILER
5574 -# save warnings/boilerplate of simple test code
5575 -_LT_COMPILER_BOILERPLATE
5576 -_LT_LINKER_BOILERPLATE
5577 +AC_LIBTOOL_DLOPEN_SELF
5579 -# Allow CC to be a program name with arguments.
5583 -_LT_AC_TAGVAR(compiler, $1)=$CC
5584 -_LT_CC_BASENAME([$compiler])
5585 -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
5586 +if test "$enable_shared" = yes && test "$GCC" = yes; then
5587 + case $archive_cmds in
5589 + # FIXME: we may have to deal with multi-command sequences.
5592 + # Test whether the compiler implicitly links with -lc since on some
5593 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
5594 + # to ld, don't add -lc before -lgcc.
5595 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
5596 + AC_CACHE_VAL([lt_cv_archive_cmds_need_lc],
5598 + echo 'static int dummy;' > conftest.$ac_ext
5600 + if AC_TRY_EVAL(ac_compile); then
5603 + libobjs=conftest.$ac_objext
5605 + wl=$lt_cv_prog_cc_wl
5611 + save_allow_undefined_flag=$allow_undefined_flag
5612 + allow_undefined_flag=
5613 + if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
5615 + lt_cv_archive_cmds_need_lc=no
5617 + lt_cv_archive_cmds_need_lc=yes
5619 + allow_undefined_flag=$save_allow_undefined_flag
5621 + cat conftest.err 1>&5
5623 + AC_MSG_RESULT([$lt_cv_archive_cmds_need_lc])
5627 +need_lc=${lt_cv_archive_cmds_need_lc-yes}
5629 -AC_LIBTOOL_CONFIG($1)
5630 +# The second clause should only fire when bootstrapping the
5631 +# libtool distribution, otherwise you forgot to ship ltmain.sh
5632 +# with your package, and you will get complaints that there are
5633 +# no rules to generate ltmain.sh.
5634 +if test -f "$ltmain"; then
5637 + # If there is no Makefile yet, we rely on a make rule to execute
5638 + # `config.status --recheck' to rerun these tests and create the
5639 + # libtool script then.
5640 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
5641 + if test -f "$ltmain_in"; then
5642 + test -f Makefile && make "$ltmain"
5648 -])# AC_LIBTOOL_LANG_RC_CONFIG
5649 +if test -f "$ltmain"; then
5650 + trap "$rm \"${ofile}T\"; exit 1" 1 2 15
5651 + $rm -f "${ofile}T"
5653 + echo creating $ofile
5655 -# AC_LIBTOOL_CONFIG([TAGNAME])
5656 -# ----------------------------
5657 -# If TAGNAME is not passed, then create an initial libtool script
5658 -# with a default configuration from the untagged config vars. Otherwise
5659 -# add code to config.status for appending the configuration named by
5660 -# TAGNAME from the matching tagged config vars.
5661 -AC_DEFUN([AC_LIBTOOL_CONFIG],
5662 -[# The else clause should only fire when bootstrapping the
5663 -# libtool distribution, otherwise you forgot to ship ltmain.sh
5664 -# with your package, and you will get complaints that there are
5665 -# no rules to generate ltmain.sh.
5666 -if test -f "$ltmain"; then
5667 - # See if we are running on zsh, and set the options which allow our commands through
5668 - # without removal of \ escapes.
5669 - if test -n "${ZSH_VERSION+set}" ; then
5670 - setopt NO_GLOB_SUBST
5672 # Now quote all the things that may contain metacharacters while being
5673 # careful not to overquote the AC_SUBSTed values. We take copies of the
5674 # variables and quote the copies for generation of the libtool script.
5675 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
5677 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
5678 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
5679 - deplibs_check_method reload_flag reload_cmds need_locks \
5680 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
5681 - lt_cv_sys_global_symbol_to_c_name_address \
5682 + for var in echo old_CC old_CFLAGS SED \
5683 + AR AR_FLAGS CC LD LN_S NM SHELL STRIP \
5684 + reload_flag reload_cmds wl \
5685 + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
5686 + thread_safe_flag_spec whole_archive_flag_spec libname_spec \
5687 + library_names_spec soname_spec \
5688 + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
5689 + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
5690 + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
5691 + old_striplib striplib file_magic_cmd export_symbols_cmds \
5692 + deplibs_check_method allow_undefined_flag no_undefined_flag \
5693 + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
5694 + global_symbol_to_c_name_address \
5695 + hardcode_libdir_flag_spec hardcode_libdir_separator \
5696 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
5697 - old_postinstall_cmds old_postuninstall_cmds \
5698 - _LT_AC_TAGVAR(compiler, $1) \
5699 - _LT_AC_TAGVAR(CC, $1) \
5700 - _LT_AC_TAGVAR(LD, $1) \
5701 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
5702 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
5703 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
5704 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
5705 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
5706 - _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
5707 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
5708 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
5709 - _LT_AC_TAGVAR(old_archive_cmds, $1) \
5710 - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
5711 - _LT_AC_TAGVAR(predep_objects, $1) \
5712 - _LT_AC_TAGVAR(postdep_objects, $1) \
5713 - _LT_AC_TAGVAR(predeps, $1) \
5714 - _LT_AC_TAGVAR(postdeps, $1) \
5715 - _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
5716 - _LT_AC_TAGVAR(archive_cmds, $1) \
5717 - _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
5718 - _LT_AC_TAGVAR(postinstall_cmds, $1) \
5719 - _LT_AC_TAGVAR(postuninstall_cmds, $1) \
5720 - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
5721 - _LT_AC_TAGVAR(allow_undefined_flag, $1) \
5722 - _LT_AC_TAGVAR(no_undefined_flag, $1) \
5723 - _LT_AC_TAGVAR(export_symbols_cmds, $1) \
5724 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
5725 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
5726 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
5727 - _LT_AC_TAGVAR(hardcode_automatic, $1) \
5728 - _LT_AC_TAGVAR(module_cmds, $1) \
5729 - _LT_AC_TAGVAR(module_expsym_cmds, $1) \
5730 - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
5731 - _LT_AC_TAGVAR(exclude_expsyms, $1) \
5732 - _LT_AC_TAGVAR(include_expsyms, $1); do
5733 + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
5736 - _LT_AC_TAGVAR(old_archive_cmds, $1) | \
5737 - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
5738 - _LT_AC_TAGVAR(archive_cmds, $1) | \
5739 - _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
5740 - _LT_AC_TAGVAR(module_cmds, $1) | \
5741 - _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
5742 - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
5743 - _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
5744 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
5745 - postinstall_cmds | postuninstall_cmds | \
5746 + reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
5747 old_postinstall_cmds | old_postuninstall_cmds | \
5748 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
5749 + export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
5750 + extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
5751 + postinstall_cmds | postuninstall_cmds | \
5752 + finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
5753 # Double-quote double-evaled strings.
5754 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
5756 @@ -4916,31 +3332,14 @@
5761 - *'\[$]0 --fallback-echo"')
5762 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
5767 - [cfgfile="${ofile}T"
5768 - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
5770 - AC_MSG_NOTICE([creating $ofile])],
5771 - [cfgfile="$ofile"])
5773 - cat <<__EOF__ >> "$cfgfile"
5776 + cat <<__EOF__ > "${ofile}T"
5779 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
5780 +# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
5781 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
5782 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
5784 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
5785 -# Free Software Foundation, Inc.
5787 -# This file is part of GNU Libtool:
5788 +# Copyright (C) 1996-2000 Free Software Foundation, Inc.
5789 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
5791 # This program is free software; you can redistribute it and/or modify
5792 @@ -4955,28 +3354,24 @@
5794 # You should have received a copy of the GNU General Public License
5795 # along with this program; if not, write to the Free Software
5796 -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
5797 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
5799 # As a special exception to the GNU General Public License, if you
5800 # distribute this file as part of a program that contains a
5801 # configuration script generated by Autoconf, you may include it under
5802 # the same distribution terms that you use for the rest of that program.
5804 -# A sed program that does not truncate output.
5805 +# A sed that does not truncate output.
5808 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
5809 -Xsed="$SED -e 1s/^X//"
5810 +Xsed="${SED} -e s/^X//"
5812 # The HP-UX ksh and POSIX shell print the target directory to stdout
5814 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5815 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
5817 -# The names of the tagged configurations supported by this script.
5820 -# ### BEGIN LIBTOOL CONFIG],
5821 -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
5822 +# ### BEGIN LIBTOOL CONFIG
5824 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5826 @@ -4990,10 +3385,7 @@
5827 build_old_libs=$enable_static
5829 # Whether or not to add -lc for building shared libraries.
5830 -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
5832 -# Whether or not to disallow shared libs when runtime libs are static
5833 -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
5834 +build_libtool_need_lc=$need_lc
5836 # Whether or not to optimize for fast installation.
5837 fast_install=$enable_fast_install
5838 @@ -5001,12 +3393,6 @@
5840 host_alias=$host_alias
5844 -# The build system.
5845 -build_alias=$build_alias
5849 # An echo program that does not interpret backslashes.
5851 @@ -5015,20 +3401,14 @@
5853 AR_FLAGS=$lt_AR_FLAGS
5858 -# A language-specific compiler.
5859 -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
5860 +# The default C compiler.
5863 # Is the compiler the GNU C compiler?
5864 -with_gcc=$_LT_AC_TAGVAR(GCC, $1)
5870 # The linker used to build libraries.
5871 -LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
5874 # Whether we need hard or soft links.
5876 @@ -5059,7 +3439,7 @@
5877 reload_cmds=$lt_reload_cmds
5879 # How to pass a linker flag through the compiler.
5880 -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
5883 # Object file suffix (normally "o").
5885 @@ -5067,23 +3447,20 @@
5886 # Old archive suffix (normally "a").
5889 -# Shared library suffix (normally ".so").
5890 -shrext_cmds='$shrext_cmds'
5892 # Executable file suffix (normally "").
5895 # Additional compiler flags for building library objects.
5896 -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
5897 +pic_flag=$lt_pic_flag
5900 -# What is the maximum length of a command?
5901 -max_cmd_len=$lt_cv_sys_max_cmd_len
5903 # Does compiler simultaneously support -c and -o options?
5904 -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
5905 +compiler_c_o=$lt_compiler_c_o
5907 +# Can we write directly to a .lo ?
5908 +compiler_o_lo=$lt_compiler_o_lo
5910 -# Must we lock files when doing compilation?
5911 +# Must we lock files when doing compilation ?
5912 need_locks=$lt_need_locks
5914 # Do we need the lib prefix for modules?
5915 @@ -5093,1864 +3470,933 @@
5916 need_version=$need_version
5918 # Whether dlopen is supported.
5919 -dlopen_support=$enable_dlopen
5921 -# Whether dlopen of programs is supported.
5922 -dlopen_self=$enable_dlopen_self
5924 -# Whether dlopen of statically linked programs is supported.
5925 -dlopen_self_static=$enable_dlopen_self_static
5927 -# Compiler flag to prevent dynamic linking.
5928 -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
5930 -# Compiler flag to turn off builtin functions.
5931 -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
5933 -# Compiler flag to allow reflexive dlopens.
5934 -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
5936 -# Compiler flag to generate shared objects directly from archives.
5937 -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
5939 -# Compiler flag to generate thread-safe objects.
5940 -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
5942 -# Library versioning type.
5943 -version_type=$version_type
5945 -# Format of library name prefix.
5946 -libname_spec=$lt_libname_spec
5948 -# List of archive names. First name is the real one, the rest are links.
5949 -# The last name is the one that the linker finds with -lNAME.
5950 -library_names_spec=$lt_library_names_spec
5952 -# The coded name of the library, if different from the real name.
5953 -soname_spec=$lt_soname_spec
5955 -# Commands used to build and install an old-style archive.
5957 -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
5958 -old_postinstall_cmds=$lt_old_postinstall_cmds
5959 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
5961 -# Create an old-style archive from a shared archive.
5962 -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
5964 -# Create a temporary old-style archive to link instead of a shared archive.
5965 -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
5967 -# Commands used to build and install a shared archive.
5968 -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
5969 -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
5970 -postinstall_cmds=$lt_postinstall_cmds
5971 -postuninstall_cmds=$lt_postuninstall_cmds
5973 -# Commands used to build a loadable module (assumed same as above if empty)
5974 -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
5975 -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
5977 -# Commands to strip libraries.
5978 -old_striplib=$lt_old_striplib
5979 -striplib=$lt_striplib
5981 -# Dependencies to place before the objects being linked to create a
5983 -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
5985 -# Dependencies to place after the objects being linked to create a
5987 -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
5989 -# Dependencies to place before the objects being linked to create a
5991 -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
5993 -# Dependencies to place after the objects being linked to create a
5995 -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
5997 -# The library search path used internally by the compiler when linking
5998 -# a shared library.
5999 -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
6001 -# Method to check whether dependent libraries are shared objects.
6002 -deplibs_check_method=$lt_deplibs_check_method
6004 -# Command to use when deplibs_check_method == file_magic.
6005 -file_magic_cmd=$lt_file_magic_cmd
6007 -# Flag that allows shared libraries with undefined symbols to be built.
6008 -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
6010 -# Flag that forces no undefined symbols.
6011 -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
6013 -# Commands used to finish a libtool library installation in a directory.
6014 -finish_cmds=$lt_finish_cmds
6016 -# Same as above, but a single script fragment to be evaled but not shown.
6017 -finish_eval=$lt_finish_eval
6019 -# Take the output of nm and produce a listing of raw symbols and C names.
6020 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6022 -# Transform the output of nm in a proper C declaration
6023 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6025 -# Transform the output of nm in a C name address pair
6026 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6028 -# This is the shared library runtime path variable.
6029 -runpath_var=$runpath_var
6031 -# This is the shared library path variable.
6032 -shlibpath_var=$shlibpath_var
6034 -# Is shlibpath searched before the hard-coded library search path?
6035 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6037 -# How to hardcode a shared library path into an executable.
6038 -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
6040 -# Whether we should hardcode library paths into libraries.
6041 -hardcode_into_libs=$hardcode_into_libs
6043 -# Flag to hardcode \$libdir into a binary during linking.
6044 -# This must work even if \$libdir does not exist.
6045 -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
6047 -# If ld is used when linking, flag to hardcode \$libdir into
6048 -# a binary during linking. This must work even if \$libdir does
6050 -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
6052 -# Whether we need a single -rpath flag with a separated argument.
6053 -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
6055 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6056 -# resulting binary.
6057 -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
6059 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6060 -# resulting binary.
6061 -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
6063 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6064 -# the resulting binary.
6065 -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
6067 -# Set to yes if building a shared library automatically hardcodes DIR into the library
6068 -# and all subsequent libraries and executables linked against it.
6069 -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
6071 -# Variables whose values should be saved in libtool wrapper scripts and
6072 -# restored at relink time.
6073 -variables_saved_for_relink="$variables_saved_for_relink"
6075 -# Whether libtool must link a program against all its dependency libraries.
6076 -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
6078 -# Compile-time system search path for libraries
6079 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6081 -# Run-time system search path for libraries
6082 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6084 -# Fix the shell variable \$srcfile for the compiler.
6085 -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
6087 -# Set to yes if exported symbols are required.
6088 -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
6090 -# The commands to list exported symbols.
6091 -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
6093 -# The commands to extract the exported symbol list from a shared archive.
6094 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
6096 -# Symbols that should not be listed in the preloaded symbols.
6097 -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
6099 -# Symbols that must always be exported.
6100 -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
6103 -[# ### END LIBTOOL CONFIG],
6104 -[# ### END LIBTOOL TAG CONFIG: $tagname])
6111 - cat <<\EOF >> "$cfgfile"
6113 -# AIX sometimes has problems with the GCC collect2 program. For some
6114 -# reason, if we set the COLLECT_NAMES environment variable, the problems
6115 -# vanish in a puff of smoke.
6116 -if test "X${COLLECT_NAMES+set}" != Xset; then
6118 - export COLLECT_NAMES
6124 - # We use sed instead of cat because bash on DJGPP gets confused if
6125 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
6126 - # text mode, it properly converts lines to CR/LF. This bash problem
6127 - # is reportedly fixed, but why not run on old versions too?
6128 - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
6130 - mv -f "$cfgfile" "$ofile" || \
6131 - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
6135 - # If there is no Makefile yet, we rely on a make rule to execute
6136 - # `config.status --recheck' to rerun these tests and create the
6137 - # libtool script then.
6138 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6139 - if test -f "$ltmain_in"; then
6140 - test -f Makefile && make "$ltmain"
6143 -])# AC_LIBTOOL_CONFIG
6146 -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
6147 -# -------------------------------------------
6148 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
6149 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
6151 -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
6153 -if test "$GCC" = yes; then
6154 - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6156 - AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
6157 - lt_cv_prog_compiler_rtti_exceptions,
6158 - [-fno-rtti -fno-exceptions], [],
6159 - [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
6161 -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
6164 -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
6165 -# ---------------------------------
6166 -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
6167 -[AC_REQUIRE([AC_CANONICAL_HOST])
6168 -AC_REQUIRE([AC_PROG_NM])
6169 -AC_REQUIRE([AC_OBJEXT])
6170 -# Check for command to grab the raw symbol name followed by C symbol from nm.
6171 -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
6172 -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
6174 -# These are sane defaults that work on at least a few old systems.
6175 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6177 -# Character class describing NM global symbol codes.
6178 -symcode='[[BCDEGRST]]'
6180 -# Regexp to match symbols that can be accessed directly from C.
6181 -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
6183 -# Transform an extracted symbol line into a proper C declaration
6184 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6186 -# Transform an extracted symbol line into symbol name and symbol address
6187 -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'"
6189 -# Define system-specific variables.
6192 - symcode='[[BCDT]]'
6194 -cygwin* | mingw* | pw32*)
6195 - symcode='[[ABCDGISTW]]'
6197 -hpux*) # Its linker distinguishes data from code symbols
6198 - if test "$host_cpu" = ia64; then
6199 - symcode='[[ABCDEGRST]]'
6201 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6202 - 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'"
6205 - if test "$host_cpu" = ia64; then
6206 - symcode='[[ABCDGIRSTW]]'
6207 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6208 - 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'"
6211 -irix* | nonstopux*)
6212 - symcode='[[BCDEGRST]]'
6215 - symcode='[[BCDEGQRST]]'
6218 - symcode='[[BDRT]]'
6221 - symcode='[[DFNSTU]]'
6225 -# Handle CRLF in mingw tool chain
6229 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6233 -# If we're using GNU nm, then use its standard symbol codes.
6234 -case `$NM -V 2>&1` in
6235 -*GNU* | *'with BFD'*)
6236 - symcode='[[ABCDGIRSTW]]' ;;
6239 -# Try without a prefix undercore, then with it.
6240 -for ac_symprfx in "" "_"; do
6242 - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6243 - symxfrm="\\1 $ac_symprfx\\2 \\2"
6244 +dlopen_support=$enable_dlopen
6246 - # Write the raw and C identifiers.
6247 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6248 +# Whether dlopen of programs is supported.
6249 +dlopen_self=$enable_dlopen_self
6251 - # Check to see that the pipe works correctly.
6253 +# Whether dlopen of statically linked programs is supported.
6254 +dlopen_self_static=$enable_dlopen_self_static
6257 - cat > conftest.$ac_ext <<EOF
6262 -void nm_test_func(){}
6266 -int main(){nm_test_var='a';nm_test_func();return(0);}
6268 +# Compiler flag to prevent dynamic linking.
6269 +link_static_flag=$lt_link_static_flag
6271 - if AC_TRY_EVAL(ac_compile); then
6272 - # Now try to grab the symbols.
6274 - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
6275 - # Try sorting and uniquifying the output.
6276 - if sort "$nlist" | uniq > "$nlist"T; then
6277 - mv -f "$nlist"T "$nlist"
6281 +# Compiler flag to turn off builtin functions.
6282 +no_builtin_flag=$lt_no_builtin_flag
6284 - # Make sure that we snagged all the symbols we need.
6285 - if grep ' nm_test_var$' "$nlist" >/dev/null; then
6286 - if grep ' nm_test_func$' "$nlist" >/dev/null; then
6287 - cat <<EOF > conftest.$ac_ext
6291 +# Compiler flag to allow reflexive dlopens.
6292 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
6295 - # Now generate the symbol file.
6296 - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6297 +# Compiler flag to generate shared objects directly from archives.
6298 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
6300 - cat <<EOF >> conftest.$ac_ext
6301 -#if defined (__STDC__) && __STDC__
6302 -# define lt_ptr_t void *
6304 -# define lt_ptr_t char *
6307 +# Compiler flag to generate thread-safe objects.
6308 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
6310 -/* The mapping between symbol names and symbols. */
6315 -lt_preloaded_symbols[[]] =
6318 - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6319 - cat <<\EOF >> conftest.$ac_ext
6322 +# Library versioning type.
6323 +version_type=$version_type
6329 - # Now try linking the two files.
6330 - mv conftest.$ac_objext conftstm.$ac_objext
6331 - lt_save_LIBS="$LIBS"
6332 - lt_save_CFLAGS="$CFLAGS"
6333 - LIBS="conftstm.$ac_objext"
6334 - CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
6335 - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
6338 - LIBS="$lt_save_LIBS"
6339 - CFLAGS="$lt_save_CFLAGS"
6341 - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
6344 - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
6347 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
6350 - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
6351 - cat conftest.$ac_ext >&5
6353 - rm -f conftest* conftst*
6354 +# Format of library name prefix.
6355 +libname_spec=$lt_libname_spec
6357 - # Do not use the global_symbol_pipe unless it works.
6358 - if test "$pipe_works" = yes; then
6361 - lt_cv_sys_global_symbol_pipe=
6365 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
6366 - lt_cv_sys_global_symbol_to_cdecl=
6368 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6369 - AC_MSG_RESULT(failed)
6373 -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
6374 +# List of archive names. First name is the real one, the rest are links.
6375 +# The last name is the one that the linker finds with -lNAME.
6376 +library_names_spec=$lt_library_names_spec
6378 +# The coded name of the library, if different from the real name.
6379 +soname_spec=$lt_soname_spec
6381 -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
6382 -# ---------------------------------------
6383 -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
6384 -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
6385 -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6386 -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
6387 +# Commands used to build and install an old-style archive.
6389 +old_archive_cmds=$lt_old_archive_cmds
6390 +old_postinstall_cmds=$lt_old_postinstall_cmds
6391 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
6393 -AC_MSG_CHECKING([for $compiler option to produce PIC])
6394 - ifelse([$1],[CXX],[
6395 - # C++ specific cases for pic, static, wl, etc.
6396 - if test "$GXX" = yes; then
6397 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6398 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6399 +# Create an old-style archive from a shared archive.
6400 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
6404 - # All AIX code is PIC.
6405 - if test "$host_cpu" = ia64; then
6406 - # AIX 5 now supports IA64 processor
6407 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6411 - # FIXME: we need at least 68020 code to build shared libraries, but
6412 - # adding the `-m68020' flag to GCC prevents building anything better,
6414 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
6416 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6417 - # PIC is the default for these OSes.
6419 - mingw* | os2* | pw32*)
6420 - # This hack is so that the source file can tell whether it is being
6421 - # built for inclusion in a dll (and should export symbols for example).
6422 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
6424 - darwin* | rhapsody*)
6425 - # PIC is the default on this platform
6426 - # Common symbols not allowed in MH_DYLIB files
6427 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
6430 - # DJGPP does not support shared libraries at all
6431 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6434 - if test -d /usr/nec; then
6435 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
6439 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6440 - # not for PA HP-UX.
6445 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6450 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6456 - # All AIX code is PIC.
6457 - if test "$host_cpu" = ia64; then
6458 - # AIX 5 now supports IA64 processor
6459 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6461 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
6465 - case $cc_basename in
6467 - # Green Hills C++ Compiler
6468 - # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
6473 - # PIC is the default on this platform
6474 - # Common symbols not allowed in MH_DYLIB files
6475 - case $cc_basename in
6477 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
6478 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6483 - case $cc_basename in
6485 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6488 - # Green Hills C++ Compiler
6489 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6495 - freebsd* | kfreebsd*-gnu | dragonfly*)
6496 - # FreeBSD uses GNU C++
6498 - hpux9* | hpux10* | hpux11*)
6499 - case $cc_basename in
6501 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6502 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
6503 - if test "$host_cpu" != ia64; then
6504 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
6508 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6509 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
6515 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
6523 - irix5* | irix6* | nonstopux*)
6524 - case $cc_basename in
6526 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6527 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6528 - # CC pic flag -KPIC is the default.
6535 - case $cc_basename in
6537 - # KAI C++ Compiler
6538 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
6539 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6543 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6544 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6545 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6548 - # Portland Group C++ compiler.
6549 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6550 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
6551 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6555 - # Make sure the PIC flag is empty. It appears that all Alpha
6556 - # Linux and Compaq Tru64 Unix objects are PIC.
6557 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6558 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6569 - case $cc_basename in
6571 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
6579 - osf3* | osf4* | osf5*)
6580 - case $cc_basename in
6582 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
6585 - # Rational C++ 2.4.1
6586 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6589 - # Digital/Compaq C++
6590 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6591 - # Make sure the PIC flag is empty. It appears that all Alpha
6592 - # Linux and Compaq Tru64 Unix objects are PIC.
6593 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6594 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6603 - case $cc_basename in
6605 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6612 - case $cc_basename in
6614 - # Sun C++ 4.2, 5.x and Centerline C++
6615 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6616 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6617 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
6620 - # Green Hills C++ Compiler
6621 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
6628 - case $cc_basename in
6631 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6632 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6636 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6643 - case $cc_basename in
6645 - # NonStop-UX NCC 3.20
6646 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6657 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6663 - if test "$GCC" = yes; then
6664 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6665 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6666 +# Create a temporary old-style archive to link instead of a shared archive.
6667 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
6671 - # All AIX code is PIC.
6672 - if test "$host_cpu" = ia64; then
6673 - # AIX 5 now supports IA64 processor
6674 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6677 +# Commands used to build and install a shared archive.
6678 +archive_cmds=$lt_archive_cmds
6679 +archive_expsym_cmds=$lt_archive_expsym_cmds
6680 +postinstall_cmds=$lt_postinstall_cmds
6681 +postuninstall_cmds=$lt_postuninstall_cmds
6684 - # FIXME: we need at least 68020 code to build shared libraries, but
6685 - # adding the `-m68020' flag to GCC prevents building anything better,
6687 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
6689 +# Commands to strip libraries.
6690 +old_striplib=$lt_old_striplib
6691 +striplib=$lt_striplib
6693 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6694 - # PIC is the default for these OSes.
6696 +# Method to check whether dependent libraries are shared objects.
6697 +deplibs_check_method=$lt_deplibs_check_method
6699 - mingw* | pw32* | os2*)
6700 - # This hack is so that the source file can tell whether it is being
6701 - # built for inclusion in a dll (and should export symbols for example).
6702 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
6704 +# Command to use when deplibs_check_method == file_magic.
6705 +file_magic_cmd=$lt_file_magic_cmd
6707 - darwin* | rhapsody*)
6708 - # PIC is the default on this platform
6709 - # Common symbols not allowed in MH_DYLIB files
6710 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
6712 +# Flag that allows shared libraries with undefined symbols to be built.
6713 +allow_undefined_flag=$lt_allow_undefined_flag
6716 - # Just because we use GCC doesn't mean we suddenly get shared libraries
6717 - # on systems that don't support them.
6718 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6721 +# Flag that forces no undefined symbols.
6722 +no_undefined_flag=$lt_no_undefined_flag
6725 - if test -d /usr/nec; then
6726 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
6729 +# Commands used to finish a libtool library installation in a directory.
6730 +finish_cmds=$lt_finish_cmds
6733 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6734 - # not for PA HP-UX.
6740 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6744 +# Same as above, but a single script fragment to be evaled but not shown.
6745 +finish_eval=$lt_finish_eval
6748 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6752 - # PORTME Check for flag to pass linker flags through the system compiler.
6755 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6756 - if test "$host_cpu" = ia64; then
6757 - # AIX 5 now supports IA64 processor
6758 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6760 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
6764 - # PIC is the default on this platform
6765 - # Common symbols not allowed in MH_DYLIB files
6766 - case $cc_basename in
6768 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
6769 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6773 +# Take the output of nm and produce a listing of raw symbols and C names.
6774 +global_symbol_pipe=$lt_global_symbol_pipe
6776 - mingw* | pw32* | os2*)
6777 - # This hack is so that the source file can tell whether it is being
6778 - # built for inclusion in a dll (and should export symbols for example).
6779 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
6781 +# Transform the output of nm in a proper C declaration
6782 +global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
6784 - hpux9* | hpux10* | hpux11*)
6785 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6786 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6787 - # not for PA HP-UX.
6793 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
6796 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
6797 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
6799 +# Transform the output of nm in a C name address pair
6800 +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
6802 - irix5* | irix6* | nonstopux*)
6803 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6804 - # PIC (with -KPIC) is the default.
6805 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6807 +# This is the shared library runtime path variable.
6808 +runpath_var=$runpath_var
6811 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6812 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6814 +# This is the shared library path variable.
6815 +shlibpath_var=$shlibpath_var
6818 - case $cc_basename in
6820 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6821 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6822 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6824 - pgcc* | pgf77* | pgf90* | pgf95*)
6825 - # Portland Group compilers (*not* the Pentium gcc compiler,
6826 - # which looks to be a dead project)
6827 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6828 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
6829 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6832 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6833 - # All Alpha code is PIC.
6834 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6838 +# Is shlibpath searched before the hard-coded library search path?
6839 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6841 - osf3* | osf4* | osf5*)
6842 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6843 - # All OSF/1 code is PIC.
6844 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6846 +# How to hardcode a shared library path into an executable.
6847 +hardcode_action=$hardcode_action
6850 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
6851 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
6853 +# Whether we should hardcode library paths into libraries.
6854 +hardcode_into_libs=$hardcode_into_libs
6857 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6858 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6859 - case $cc_basename in
6860 - f77* | f90* | f95*)
6861 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
6863 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
6866 +# Flag to hardcode \$libdir into a binary during linking.
6867 +# This must work even if \$libdir does not exist.
6868 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
6871 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
6872 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
6873 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6875 +# Whether we need a single -rpath flag with a separated argument.
6876 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
6878 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6879 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6880 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6881 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6883 +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
6884 +# resulting binary.
6885 +hardcode_direct=$hardcode_direct
6888 - if test -d /usr/nec ;then
6889 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
6890 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6893 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6894 +# resulting binary.
6895 +hardcode_minus_L=$hardcode_minus_L
6898 - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6899 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6901 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6902 +# the resulting binary.
6903 +hardcode_shlibpath_var=$hardcode_shlibpath_var
6906 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6907 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6909 +# Variables whose values should be saved in libtool wrapper scripts and
6910 +# restored at relink time.
6911 +variables_saved_for_relink="$variables_saved_for_relink"
6914 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6919 -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
6920 +# Whether libtool must link a program against all its dependency libraries.
6921 +link_all_deplibs=$link_all_deplibs
6924 -# Check to make sure the PIC flag actually works.
6926 -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
6927 - AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
6928 - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
6929 - [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
6930 - [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
6932 - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
6934 - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6935 - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
6938 - # For platforms which do not support PIC, -DPIC is meaningless:
6940 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6943 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
6947 +# Compile-time system search path for libraries
6948 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6950 +# Run-time system search path for libraries
6951 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6953 -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
6954 -# ------------------------------------
6955 -# See if the linker supports building shared libraries.
6956 -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
6957 -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
6958 -ifelse([$1],[CXX],[
6959 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6962 - # If we're using GNU nm, then we don't want the "-C" option.
6963 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
6964 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6965 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6967 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
6971 - _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
6974 - _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'
6977 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6982 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
6983 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
6984 - _LT_AC_TAGVAR(archive_cmds, $1)=
6985 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
6986 - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
6987 - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
6988 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
6989 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
6990 - _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
6991 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
6992 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
6993 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
6994 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
6995 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
6996 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6997 - _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
6998 - _LT_AC_TAGVAR(hardcode_automatic, $1)=no
6999 - _LT_AC_TAGVAR(module_cmds, $1)=
7000 - _LT_AC_TAGVAR(module_expsym_cmds, $1)=
7001 - _LT_AC_TAGVAR(always_export_symbols, $1)=no
7002 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7003 - # include_expsyms should be a list of space-separated symbols to be *always*
7004 - # included in the symbol list
7005 - _LT_AC_TAGVAR(include_expsyms, $1)=
7006 - # exclude_expsyms can be an extended regexp of symbols to exclude
7007 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
7008 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7009 - # as well as any symbol that contains `d'.
7010 - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
7011 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7012 - # platforms (ab)use it in PIC code, but their linkers get confused if
7013 - # the symbol is explicitly referenced. Since portable code cannot
7014 - # rely on this symbol name, it's probably fine to never include it in
7015 - # preloaded symbol tables.
7016 - extract_expsyms_cmds=
7017 - # Just being paranoid about ensuring that cc_basename is set.
7018 - _LT_CC_BASENAME([$compiler])
7020 - cygwin* | mingw* | pw32*)
7021 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
7022 - # When not using gcc, we currently assume that we are using
7023 - # Microsoft Visual C++.
7024 - if test "$GCC" != yes; then
7032 +# Fix the shell variable \$srcfile for the compiler.
7033 +fix_srcfile_path="$fix_srcfile_path"
7035 - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
7036 - if test "$with_gnu_ld" = yes; then
7037 - # If archive_cmds runs LD, not CC, wlarc should be empty
7039 +# Set to yes if exported symbols are required.
7040 +always_export_symbols=$always_export_symbols
7042 - # Set some defaults for GNU ld with shared library support. These
7043 - # are reset later if shared libraries are not supported. Putting them
7044 - # here allows them to be overridden if necessary.
7045 - runpath_var=LD_RUN_PATH
7046 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
7047 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
7048 - # ancient GNU ld didn't support --whole-archive et. al.
7049 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7050 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7052 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7054 - supports_anon_versioning=no
7055 - case `$LD -v 2>/dev/null` in
7056 - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
7057 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7058 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7059 - *\ 2.11.*) ;; # other 2.11 versions
7060 - *) supports_anon_versioning=yes ;;
7062 +# The commands to list exported symbols.
7063 +export_symbols_cmds=$lt_export_symbols_cmds
7065 - # See if GNU ld supports shared libraries.
7067 - aix3* | aix4* | aix5*)
7068 - # On AIX/PPC, the GNU linker is very broken
7069 - if test "$host_cpu" != ia64; then
7070 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
7072 +# The commands to extract the exported symbol list from a shared archive.
7073 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
7075 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7076 -*** to be unable to reliably create shared libraries on AIX.
7077 -*** Therefore, libtool is disabling shared libraries support. If you
7078 -*** really care for shared libraries, you may want to modify your PATH
7079 -*** so that a non-GNU linker is found, and then restart.
7080 +# Symbols that should not be listed in the preloaded symbols.
7081 +exclude_expsyms=$lt_exclude_expsyms
7086 +# Symbols that must always be exported.
7087 +include_expsyms=$lt_include_expsyms
7090 - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7091 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7092 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7094 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7095 - # that the semantics of dynamic libraries on AmigaOS, at least up
7096 - # to version 4, is to share data among multiple programs linked
7097 - # with the same dynamic library. Since this doesn't match the
7098 - # behavior of shared libraries on other platforms, we can't use
7100 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
7102 +# ### END LIBTOOL CONFIG
7105 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7106 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7107 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7108 - # support --undefined. This deserves some investigation. FIXME
7109 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7111 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
7116 - cygwin* | mingw* | pw32*)
7117 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
7118 - # as there is no search path for DLLs.
7119 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7120 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7121 - _LT_AC_TAGVAR(always_export_symbols, $1)=no
7122 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7123 - _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'
7125 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7126 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7127 - # If the export-symbols file already is a .def file (1st line
7128 - # is EXPORTS), use it as is; otherwise, prepend...
7129 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7130 - cp $export_symbols $output_objdir/$soname.def;
7132 - echo EXPORTS > $output_objdir/$soname.def;
7133 - cat $export_symbols >> $output_objdir/$soname.def;
7135 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7137 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
7142 + cat <<\EOF >> "${ofile}T"
7145 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7147 - case $cc_basename,$host_cpu in
7148 - pgcc*) # Portland Group C compiler
7149 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7150 - tmp_addflag=' $pic_flag'
7152 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7153 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7154 - tmp_addflag=' $pic_flag -Mnomain' ;;
7155 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7156 - tmp_addflag=' -i_dynamic' ;;
7157 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7158 - tmp_addflag=' -i_dynamic -nofor_main' ;;
7159 - ifc* | ifort*) # Intel Fortran compiler
7160 - tmp_addflag=' -nofor_main' ;;
7162 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7163 +# AIX sometimes has problems with the GCC collect2 program. For some
7164 +# reason, if we set the COLLECT_NAMES environment variable, the problems
7165 +# vanish in a puff of smoke.
7166 +if test "X${COLLECT_NAMES+set}" != Xset; then
7168 + export COLLECT_NAMES
7174 - if test $supports_anon_versioning = yes; then
7175 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
7176 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7177 - $echo "local: *; };" >> $output_objdir/$libname.ver~
7178 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7181 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
7185 + cygwin* | mingw* | pw32* | os2*)
7186 + cat <<'EOF' >> "${ofile}T"
7187 + # This is a source program that is used to create dlls on Windows
7188 + # Don't remove nor modify the starting and closing comments
7189 +# /* ltdll.c starts here */
7190 +# #define WIN32_LEAN_AND_MEAN
7191 +# #include <windows.h>
7192 +# #undef WIN32_LEAN_AND_MEAN
7193 +# #include <stdio.h>
7195 +# #ifndef __CYGWIN__
7196 +# # ifdef __CYGWIN32__
7197 +# # define __CYGWIN__ __CYGWIN32__
7201 +# #ifdef __cplusplus
7204 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
7205 +# #ifdef __cplusplus
7209 +# #ifdef __CYGWIN__
7210 +# #include <cygwin/cygwin_dll.h>
7211 +# DECLARE_CYGWIN_DLL( DllMain );
7213 +# HINSTANCE __hDllInstance_base;
7216 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
7218 +# __hDllInstance_base = hInst;
7221 +# /* ltdll.c ends here */
7222 + # This is a source program that is used to create import libraries
7223 + # on Windows for dlls which lack them. Don't remove nor modify the
7224 + # starting and closing comments
7225 +# /* impgen.c starts here */
7226 +# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
7228 +# This file is part of GNU libtool.
7230 +# This program is free software; you can redistribute it and/or modify
7231 +# it under the terms of the GNU General Public License as published by
7232 +# the Free Software Foundation; either version 2 of the License, or
7233 +# (at your option) any later version.
7235 +# This program is distributed in the hope that it will be useful,
7236 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
7237 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7238 +# GNU General Public License for more details.
7240 +# You should have received a copy of the GNU General Public License
7241 +# along with this program; if not, write to the Free Software
7242 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7245 +# #include <stdio.h> /* for printf() */
7246 +# #include <unistd.h> /* for open(), lseek(), read() */
7247 +# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
7248 +# #include <string.h> /* for strdup() */
7250 +# /* O_BINARY isn't required (or even defined sometimes) under Unix */
7252 +# #define O_BINARY 0
7255 +# static unsigned int
7256 +# pe_get16 (fd, offset)
7260 +# unsigned char b[2];
7261 +# lseek (fd, offset, SEEK_SET);
7263 +# return b[0] + (b[1]<<8);
7266 +# static unsigned int
7267 +# pe_get32 (fd, offset)
7271 +# unsigned char b[4];
7272 +# lseek (fd, offset, SEEK_SET);
7274 +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
7277 +# static unsigned int
7281 +# unsigned char *b = ptr;
7282 +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
7286 +# main (argc, argv)
7291 +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
7292 +# unsigned long export_rva, export_size, nsections, secptr, expptr;
7293 +# unsigned long name_rvas, nexp;
7294 +# unsigned char *expdata, *erva;
7295 +# char *filename, *dll_name;
7297 +# filename = argv[1];
7299 +# dll = open(filename, O_RDONLY|O_BINARY);
7303 +# dll_name = filename;
7305 +# for (i=0; filename[i]; i++)
7306 +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
7307 +# dll_name = filename + i +1;
7309 +# pe_header_offset = pe_get32 (dll, 0x3c);
7310 +# opthdr_ofs = pe_header_offset + 4 + 20;
7311 +# num_entries = pe_get32 (dll, opthdr_ofs + 92);
7313 +# if (num_entries < 1) /* no exports */
7316 +# export_rva = pe_get32 (dll, opthdr_ofs + 96);
7317 +# export_size = pe_get32 (dll, opthdr_ofs + 100);
7318 +# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
7319 +# secptr = (pe_header_offset + 4 + 20 +
7320 +# pe_get16 (dll, pe_header_offset + 4 + 16));
7323 +# for (i = 0; i < nsections; i++)
7326 +# unsigned long secptr1 = secptr + 40 * i;
7327 +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
7328 +# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
7329 +# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
7330 +# lseek(dll, secptr1, SEEK_SET);
7331 +# read(dll, sname, 8);
7332 +# if (vaddr <= export_rva && vaddr+vsize > export_rva)
7334 +# expptr = fptr + (export_rva - vaddr);
7335 +# if (export_rva + export_size > vaddr + vsize)
7336 +# export_size = vsize - (export_rva - vaddr);
7341 +# expdata = (unsigned char*)malloc(export_size);
7342 +# lseek (dll, expptr, SEEK_SET);
7343 +# read (dll, expdata, export_size);
7344 +# erva = expdata - export_rva;
7346 +# nexp = pe_as32 (expdata+24);
7347 +# name_rvas = pe_as32 (expdata+32);
7349 +# printf ("EXPORTS\n");
7350 +# for (i = 0; i<nexp; i++)
7352 +# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
7353 +# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
7358 +# /* impgen.c ends here */
7361 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7362 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7365 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7366 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7373 - solaris* | sysv5*)
7374 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7375 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
7377 + # We use sed instead of cat because bash on DJGPP gets confused if
7378 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
7379 + # text mode, it properly converts lines to CR/LF. This bash problem
7380 + # is reportedly fixed, but why not run on old versions too?
7381 + sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
7383 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7384 -*** create shared libraries on Solaris systems. Therefore, libtool
7385 -*** is disabling shared libraries support. We urge you to upgrade GNU
7386 -*** binutils to release 2.9.1 or newer. Another option is to modify
7387 -*** your PATH or compiler configuration so that the native linker is
7388 -*** used, and then restart.
7389 + mv -f "${ofile}T" "$ofile" || \
7390 + (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
7395 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7396 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7397 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7399 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
7402 +])# _LT_AC_LTCONFIG_HACK
7405 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7407 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7408 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7410 +# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
7411 +AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
7414 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7415 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7416 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7418 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
7422 +# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
7423 +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
7425 - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
7427 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
7428 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
7429 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7430 +# AC_ENABLE_SHARED - implement the --enable-shared flag
7431 +# Usage: AC_ENABLE_SHARED[(DEFAULT)]
7432 +# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7434 +AC_DEFUN([AC_ENABLE_SHARED],
7435 +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
7436 +AC_ARG_ENABLE(shared,
7437 +changequote(<<, >>)dnl
7438 +<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
7439 +changequote([, ])dnl
7440 +[p=${PACKAGE-default}
7442 +yes) enable_shared=yes ;;
7443 +no) enable_shared=no ;;
7446 + # Look at the argument we got. We use all the common list separators.
7447 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
7448 + for pkg in $enableval; do
7449 + if test "X$pkg" = "X$p"; then
7453 - # PORTME fill in a description of your system's linker (not GNU ld)
7456 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7457 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7458 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7459 - # Note: this linker hardcodes the directories in LIBPATH if there
7460 - # are no directories specified by -L.
7461 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7462 - if test "$GCC" = yes && test -z "$link_static_flag"; then
7463 - # Neither direct hardcoding nor static linking is supported with a
7464 - # broken collect2.
7465 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
7469 + IFS="$ac_save_ifs"
7472 +enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
7476 - if test "$host_cpu" = ia64; then
7477 - # On IA64, the linker does run time linking by default, so we don't
7478 - # have to do anything special.
7479 - aix_use_runtimelinking=no
7480 - exp_sym_flag='-Bexport'
7483 - # If we're using GNU nm, then we don't want the "-C" option.
7484 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
7485 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7486 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
7488 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
7490 - aix_use_runtimelinking=no
7491 +# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
7492 +AC_DEFUN([AC_DISABLE_SHARED],
7493 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7494 +AC_ENABLE_SHARED(no)])
7496 +# AC_ENABLE_STATIC - implement the --enable-static flag
7497 +# Usage: AC_ENABLE_STATIC[(DEFAULT)]
7498 +# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7500 +AC_DEFUN([AC_ENABLE_STATIC],
7501 +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
7502 +AC_ARG_ENABLE(static,
7503 +changequote(<<, >>)dnl
7504 +<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
7505 +changequote([, ])dnl
7506 +[p=${PACKAGE-default}
7508 +yes) enable_static=yes ;;
7509 +no) enable_static=no ;;
7512 + # Look at the argument we got. We use all the common list separators.
7513 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
7514 + for pkg in $enableval; do
7515 + if test "X$pkg" = "X$p"; then
7519 + IFS="$ac_save_ifs"
7522 +enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
7525 - # Test if we are trying to use run time linking or normal
7526 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7527 - # need to do runtime linking.
7528 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
7529 - for ld_flag in $LDFLAGS; do
7530 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7531 - aix_use_runtimelinking=yes
7536 +# AC_DISABLE_STATIC - set the default static flag to --disable-static
7537 +AC_DEFUN([AC_DISABLE_STATIC],
7538 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7539 +AC_ENABLE_STATIC(no)])
7541 - exp_sym_flag='-bexport'
7542 - no_entry_flag='-bnoentry'
7545 - # When large executables or shared objects are built, AIX ld can
7546 - # have problems creating the table of contents. If linking a library
7547 - # or program results in "error TOC overflow" add -mminimal-toc to
7548 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7549 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7551 - _LT_AC_TAGVAR(archive_cmds, $1)=''
7552 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7553 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
7554 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7556 - if test "$GCC" = yes; then
7557 - case $host_os in aix4.[[012]]|aix4.[[012]].*)
7558 - # We only want to do this on AIX 4.2 and lower, the check
7559 - # below for broken collect2 doesn't work under 4.3+
7560 - collect2name=`${CC} -print-prog-name=collect2`
7561 - if test -f "$collect2name" && \
7562 - strings "$collect2name" | grep resolve_lib_name >/dev/null
7564 - # We have reworked collect2
7565 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7567 - # We have old collect2
7568 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
7569 - # It fails to find uninstalled libraries when the uninstalled
7570 - # path is not listed in the libpath. Setting hardcode_minus_L
7571 - # to unsupported forces relinking
7572 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7573 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7574 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7577 - shared_flag='-shared'
7578 - if test "$aix_use_runtimelinking" = yes; then
7579 - shared_flag="$shared_flag "'${wl}-G'
7583 - if test "$host_cpu" = ia64; then
7584 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7585 - # chokes on -Wl,-G. The following line is correct:
7588 - if test "$aix_use_runtimelinking" = yes; then
7589 - shared_flag='${wl}-G'
7591 - shared_flag='${wl}-bM:SRE'
7595 +# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
7596 +# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
7597 +# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7599 +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
7600 +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
7601 +AC_ARG_ENABLE(fast-install,
7602 +changequote(<<, >>)dnl
7603 +<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
7604 +changequote([, ])dnl
7605 +[p=${PACKAGE-default}
7607 +yes) enable_fast_install=yes ;;
7608 +no) enable_fast_install=no ;;
7610 + enable_fast_install=no
7611 + # Look at the argument we got. We use all the common list separators.
7612 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
7613 + for pkg in $enableval; do
7614 + if test "X$pkg" = "X$p"; then
7615 + enable_fast_install=yes
7618 + IFS="$ac_save_ifs"
7621 +enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
7624 - # It seems that -bexpall does not export symbols beginning with
7625 - # underscore (_), so it is better to generate a list of symbols to export.
7626 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7627 - if test "$aix_use_runtimelinking" = yes; then
7628 - # Warning - without using the other runtime loading flags (-brtl),
7629 - # -berok will link without error, but may produce a broken library.
7630 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
7631 - # Determine the default libpath from the value encoded in an empty executable.
7632 - _LT_AC_SYS_LIBPATH_AIX
7633 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7634 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7636 - if test "$host_cpu" = ia64; then
7637 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
7638 - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
7639 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
7641 - # Determine the default libpath from the value encoded in an empty executable.
7642 - _LT_AC_SYS_LIBPATH_AIX
7643 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7644 - # Warning - without using the other run time loading flags,
7645 - # -berok will link without error, but may produce a broken library.
7646 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
7647 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
7648 - # -bexpall does not export symbols beginning with underscore (_)
7649 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7650 - # Exported symbols can be pulled into shared objects from archives
7651 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
7652 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
7653 - # This is similar to how AIX traditionally builds its shared libraries.
7654 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7658 +# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
7659 +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
7660 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7661 +AC_ENABLE_FAST_INSTALL(no)])
7664 - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7665 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7666 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7667 - # see comment about different semantics on the GNU ld section
7668 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
7670 +# AC_LIBTOOL_PICMODE - implement the --with-pic flag
7671 +# Usage: AC_LIBTOOL_PICMODE[(MODE)]
7672 +# Where MODE is either `yes' or `no'. If omitted, it defaults to
7674 +AC_DEFUN([AC_LIBTOOL_PICMODE],
7675 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
7676 +pic_mode=ifelse($#,1,$1,default)])
7679 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
7682 - cygwin* | mingw* | pw32*)
7683 - # When not using gcc, we currently assume that we are using
7684 - # Microsoft Visual C++.
7685 - # hardcode_libdir_flag_spec is actually meaningless, as there is
7686 - # no search path for DLLs.
7687 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
7688 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7689 - # Tell ltmain to make .lib files, not .a files.
7691 - # Tell ltmain to make .dll files, not .so files.
7692 - shrext_cmds=".dll"
7693 - # FIXME: Setting linknames here is a bad hack.
7694 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7695 - # The linker will automatically build a .lib file if we build a DLL.
7696 - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
7697 - # FIXME: Should let the user specify the lib program.
7698 - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
7699 - _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
7700 - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7702 +# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
7703 +AC_DEFUN([AC_PATH_TOOL_PREFIX],
7704 +[AC_MSG_CHECKING([for $1])
7705 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
7706 +[case $MAGIC_CMD in
7708 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7711 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
7714 + ac_save_MAGIC_CMD="$MAGIC_CMD"
7715 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7716 +dnl $ac_dummy forces splitting on constant user-supplied paths.
7717 +dnl POSIX.2 word splitting is done only on the output of word expansions,
7718 +dnl not every word. This closes a longstanding sh security hole.
7719 + ac_dummy="ifelse([$2], , $PATH, [$2])"
7720 + for ac_dir in $ac_dummy; do
7721 + test -z "$ac_dir" && ac_dir=.
7722 + if test -f $ac_dir/$1; then
7723 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
7724 + if test -n "$file_magic_test_file"; then
7725 + case $deplibs_check_method in
7727 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
7728 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7729 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7730 + egrep "$file_magic_regex" > /dev/null; then
7735 - darwin* | rhapsody*)
7737 - rhapsody* | darwin1.[[012]])
7738 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
7740 - *) # Darwin 1.3 on
7741 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7742 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7744 - case ${MACOSX_DEPLOYMENT_TARGET} in
7746 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7749 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
7755 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7756 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
7757 - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
7758 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
7759 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
7760 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7761 - if test "$GCC" = yes ; then
7762 - output_verbose_link_cmd='echo'
7763 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7764 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7765 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7766 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7767 - _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}'
7769 - case $cc_basename in
7771 - output_verbose_link_cmd='echo'
7772 - _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'
7773 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7774 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7775 - _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}'
7776 - _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}'
7779 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
7784 +*** Warning: the command libtool uses to detect shared libraries,
7785 +*** $file_magic_cmd, produces output that libtool cannot recognize.
7786 +*** The result is that libtool may fail to recognize shared libraries
7787 +*** as such. This will affect the creation of libtool libraries that
7788 +*** depend on shared libraries, but programs linked with such libtool
7789 +*** libraries will work regardless of this problem. Nevertheless, you
7790 +*** may want to report the problem to your system manager and/or to
7791 +*** bug-libtool@gnu.org
7794 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7795 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7796 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7805 + IFS="$ac_save_ifs"
7806 + MAGIC_CMD="$ac_save_MAGIC_CMD"
7809 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7810 +if test -n "$MAGIC_CMD"; then
7811 + AC_MSG_RESULT($MAGIC_CMD)
7818 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
7821 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7822 - # support. Future versions do this automatically, but an explicit c++rt0.o
7823 - # does not break anything, and helps significantly (at the cost of a little
7826 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7827 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7828 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7829 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7831 +# AC_PATH_MAGIC - find a file program which can recognise a shared library
7832 +AC_DEFUN([AC_PATH_MAGIC],
7833 +[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
7834 +AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin:$PATH)
7835 +if test -z "$lt_cv_path_MAGIC_CMD"; then
7836 + if test -n "$ac_tool_prefix"; then
7837 + AC_PATH_TOOL_PREFIX(file, /usr/bin:$PATH)
7844 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7846 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7847 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7848 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7849 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7852 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7853 - freebsd* | kfreebsd*-gnu | dragonfly*)
7854 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7855 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7856 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7857 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7858 +# AC_PROG_LD - find the path to the GNU or non-GNU linker
7859 +AC_DEFUN([AC_PROG_LD],
7860 +[AC_ARG_WITH(gnu-ld,
7861 +[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
7862 +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
7863 +AC_REQUIRE([AC_PROG_CC])dnl
7864 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
7865 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
7866 +AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
7868 +if test "$GCC" = yes; then
7869 + # Check if gcc -print-prog-name=ld gives a path.
7870 + AC_MSG_CHECKING([for ld used by GCC])
7873 + # gcc leaves a trailing carriage return which upsets mingw
7874 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7876 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7879 + # Accept absolute paths.
7880 + [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
7881 + re_direlt='/[[^/]][[^/]]*/\.\./'
7882 + # Canonicalize the path of ld
7883 + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
7884 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7885 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
7887 + test -z "$LD" && LD="$ac_prog"
7891 - if test "$GCC" = yes; then
7892 - _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'
7894 + # If it fails, then pretend we aren't using GCC.
7898 + # If it is relative, then search for the first ld in PATH.
7899 + with_gnu_ld=unknown
7902 +elif test "$with_gnu_ld" = yes; then
7903 + AC_MSG_CHECKING([for GNU ld])
7905 + AC_MSG_CHECKING([for non-GNU ld])
7907 +AC_CACHE_VAL(lt_cv_path_LD,
7908 +[if test -z "$LD"; then
7909 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7910 + for ac_dir in $PATH; do
7911 + test -z "$ac_dir" && ac_dir=.
7912 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7913 + lt_cv_path_LD="$ac_dir/$ac_prog"
7914 + # Check to see if the program is GNU ld. I'd rather use --version,
7915 + # but apparently some GNU ld's only accept -v.
7916 + # Break only if it was the GNU/non-GNU ld that we prefer.
7917 + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
7918 + test "$with_gnu_ld" != no && break
7920 - _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'
7921 + test "$with_gnu_ld" != yes && break
7923 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7924 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7925 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7927 - # hardcode_minus_L: Not really in the search PATH,
7928 - # but as the default location of the library.
7929 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7930 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7934 + IFS="$ac_save_ifs"
7936 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
7938 +LD="$lt_cv_path_LD"
7939 +if test -n "$LD"; then
7940 + AC_MSG_RESULT($LD)
7944 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
7948 - hpux10* | hpux11*)
7949 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7952 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7955 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7961 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7964 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7968 - if test "$with_gnu_ld" = no; then
7971 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7972 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
7973 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7974 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
7975 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7978 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7979 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
7980 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7982 - # hardcode_minus_L: Not really in the search PATH,
7983 - # but as the default location of the library.
7984 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7987 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7988 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7989 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7990 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7992 - # hardcode_minus_L: Not really in the search PATH,
7993 - # but as the default location of the library.
7994 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8000 +AC_DEFUN([AC_PROG_LD_GNU],
8001 +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
8002 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
8003 +if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
8004 + lt_cv_prog_gnu_ld=yes
8006 + lt_cv_prog_gnu_ld=no
8008 +with_gnu_ld=$lt_cv_prog_gnu_ld
8011 - irix5* | irix6* | nonstopux*)
8012 - if test "$GCC" = yes; then
8013 - _LT_AC_TAGVAR(archive_cmds, $1)='$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'
8015 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8016 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
8018 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8019 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8020 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8022 +# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
8023 +# -- PORTME Some linkers may need a different reload flag.
8024 +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
8025 +[AC_CACHE_CHECK([for $LD option to reload object files], lt_cv_ld_reload_flag,
8026 +[lt_cv_ld_reload_flag='-r'])
8027 +reload_flag=$lt_cv_ld_reload_flag
8028 +test -n "$reload_flag" && reload_flag=" $reload_flag"
8032 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8033 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8035 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8037 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8038 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8039 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8041 +# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
8042 +# -- PORTME fill in with the dynamic library characteristics
8043 +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
8044 +[AC_CACHE_CHECK([how to recognise dependent libraries],
8045 +lt_cv_deplibs_check_method,
8046 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
8047 +lt_cv_file_magic_test_file=
8048 +lt_cv_deplibs_check_method='unknown'
8049 +# Need to set the preceding variable on all platforms that support
8050 +# interlibrary dependencies.
8051 +# 'none' -- dependencies not supported.
8052 +# `unknown' -- same as none, but documents that we really don't know.
8053 +# 'pass_all' -- all dependencies passed with no checks.
8054 +# 'test_compile' -- check by making test program.
8055 +# 'file_magic [[regex]]' -- check by looking for files in library path
8056 +# which responds to the $file_magic_cmd with a given egrep regex.
8057 +# If you have `file' or equivalent on your system and you're not sure
8058 +# whether `pass_all' will *always* work, you probably want this one.
8061 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8062 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8063 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8064 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8065 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8069 + lt_cv_deplibs_check_method=pass_all
8073 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8074 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8075 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8076 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8077 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8078 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8079 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8082 - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
8083 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8084 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8087 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8088 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8094 + lt_cv_deplibs_check_method=pass_all
8098 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8099 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8100 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
8101 - _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8102 - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8105 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
8106 + lt_cv_file_magic_cmd='/usr/bin/file -L'
8107 + lt_cv_file_magic_test_file=/shlib/libc.so
8111 - if test "$GCC" = yes; then
8112 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8113 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $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'
8115 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8116 - _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'
8118 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8119 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8121 +cygwin* | mingw* | pw32*)
8122 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
8123 + lt_cv_file_magic_cmd='$OBJDUMP -f'
8126 - osf4* | osf5*) # as osf3* with the addition of -msym flag
8127 - if test "$GCC" = yes; then
8128 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8129 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${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'
8130 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8132 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8133 - _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'
8134 - _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~
8135 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8136 +darwin* | rhapsody*)
8137 + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
8138 + lt_cv_file_magic_cmd='/usr/bin/file -L'
8139 + case "$host_os" in
8140 + rhapsody* | darwin1.[[012]])
8141 + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
8143 + *) # Darwin 1.3 on
8144 + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
8150 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8153 + # Not sure whether the presence of OpenBSD here was a mistake.
8154 + # Let's accept both of them until this is cleared up.
8155 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
8156 + lt_cv_file_magic_cmd=/usr/bin/file
8157 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8161 + lt_cv_deplibs_check_method=pass_all
8165 - # Both c and cxx compiler support -rpath directly
8166 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
8168 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
8171 + lt_cv_deplibs_check_method=pass_all
8175 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8176 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8177 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
8178 - runpath_var=LD_RUN_PATH
8179 - hardcode_runpath_var=yes
8181 +hpux10.20*|hpux11*)
8182 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
8183 + lt_cv_file_magic_cmd=/usr/bin/file
8184 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
8188 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
8189 - if test "$GCC" = yes; then
8191 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8192 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8193 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8196 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8197 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8198 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8200 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8201 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8203 - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
8205 - # The compiler driver will combine linker options so we
8206 - # cannot just pass the convience library names through
8207 - # without $wl, iff we do not link with $LD.
8208 - # Luckily, gcc supports the same syntax we need for Sun Studio.
8209 - # Supported since Solaris 2.6 (maybe 2.5.1?)
8212 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
8214 - _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' ;;
8217 - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8219 +irix5* | irix6* | nonstopux*)
8221 + *-32|*"-32 ") libmagic=32-bit;;
8222 + *-n32|*"-n32 ") libmagic=N32;;
8223 + *-64|*"-64 ") libmagic=64-bit;;
8224 + *) libmagic=never-match;;
8226 + lt_cv_deplibs_check_method=pass_all
8230 - if test "x$host_vendor" = xsequent; then
8231 - # Use $CC to link under sequent, because it throws in some extra .o
8232 - # files that make .init and .fini sections work.
8233 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8235 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8237 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8238 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8239 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
8240 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8242 +# This must be Linux ELF.
8244 + lt_cv_deplibs_check_method=pass_all
8248 - case $host_vendor in
8250 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8251 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
8254 - ## LD is ld it makes a PLAMLIB
8255 - ## CC just makes a GrossModule.
8256 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8257 - _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
8258 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
8261 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8262 - _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
8265 - runpath_var='LD_RUN_PATH'
8266 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8268 +netbsd* | knetbsd*-gnu)
8269 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8270 + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
8272 + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
8277 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8278 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8279 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
8282 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
8283 + lt_cv_file_magic_cmd=/usr/bin/file
8284 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
8288 - if test -d /usr/nec; then
8289 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8290 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8291 - runpath_var=LD_RUN_PATH
8292 - hardcode_runpath_var=yes
8293 - _LT_AC_TAGVAR(ld_shlibs, $1)=yes
8297 + lt_cv_file_magic_cmd=/usr/bin/file
8298 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8299 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8300 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
8302 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
8307 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8308 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
8309 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
8310 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8311 - hardcode_runpath_var=yes
8312 - runpath_var=LD_RUN_PATH
8314 +osf3* | osf4* | osf5*)
8315 + lt_cv_deplibs_check_method=pass_all
8318 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
8319 - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
8320 - if test "$GCC" = yes; then
8321 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8323 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8325 - runpath_var='LD_RUN_PATH'
8326 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8329 + lt_cv_deplibs_check_method=pass_all
8333 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
8334 - # $CC -shared without GNU ld will not create a library from C++
8335 - # object files and a static libstdc++, better avoid it by now
8336 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8337 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8338 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8339 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
8340 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8341 - runpath_var='LD_RUN_PATH'
8344 + lt_cv_deplibs_check_method=pass_all
8348 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8349 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8350 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8352 +sysv5uw[[78]]* | sysv4*uw2*)
8353 + lt_cv_deplibs_check_method=pass_all
8357 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
8361 +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8362 + case $host_vendor in
8364 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
8365 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8368 + lt_cv_deplibs_check_method=pass_all
8371 + lt_cv_file_magic_cmd='/bin/file'
8372 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
8375 + lt_cv_file_magic_cmd='/bin/file'
8376 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
8377 + lt_cv_file_magic_test_file=/lib/libc.so
8380 + lt_cv_deplibs_check_method=pass_all
8386 +file_magic_cmd=$lt_cv_file_magic_cmd
8387 +deplibs_check_method=$lt_cv_deplibs_check_method
8389 -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
8390 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
8392 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8393 -if test "$GCC" = yes; then
8394 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8398 -# Do we need to explicitly link libc?
8400 -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
8402 - # Assume -lc should be added
8403 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8405 - if test "$enable_shared" = yes && test "$GCC" = yes; then
8406 - case $_LT_AC_TAGVAR(archive_cmds, $1) in
8408 - # FIXME: we may have to deal with multi-command sequences.
8411 - # Test whether the compiler implicitly links with -lc since on some
8412 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
8413 - # to ld, don't add -lc before -lgcc.
8414 - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
8416 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8418 - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
8421 - libobjs=conftest.$ac_objext
8423 - wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
8429 - lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
8430 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=
8431 - if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
8433 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8435 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8437 - _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
8438 +# AC_PROG_NM - find the path to a BSD-compatible name lister
8439 +AC_DEFUN([AC_PROG_NM],
8440 +[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
8441 +AC_MSG_CHECKING([for BSD-compatible nm])
8442 +AC_CACHE_VAL(lt_cv_path_NM,
8443 +[if test -n "$NM"; then
8444 + # Let the user override the test.
8445 + lt_cv_path_NM="$NM"
8447 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8448 + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
8449 + test -z "$ac_dir" && ac_dir=.
8450 + tmp_nm=$ac_dir/${ac_tool_prefix}nm
8451 + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
8452 + # Check to see if the nm accepts a BSD-compat flag.
8453 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8454 + # nm: unknown option "B" ignored
8455 + # Tru64's nm complains that /dev/null is an invalid object file
8456 + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
8457 + lt_cv_path_NM="$tmp_nm -B"
8459 + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
8460 + lt_cv_path_NM="$tmp_nm -p"
8463 - cat conftest.err 1>&5
8464 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8465 + continue # so that we can try to find one that supports BSD flags
8468 - AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
8474 + IFS="$ac_save_ifs"
8475 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8477 +NM="$lt_cv_path_NM"
8478 +AC_MSG_RESULT([$NM])
8481 +# AC_CHECK_LIBM - check for math library
8482 +AC_DEFUN([AC_CHECK_LIBM],
8483 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
8486 +*-*-beos* | *-*-cygwin* | *-*-pw32*)
8487 + # These system don't have libm
8490 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
8491 + AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
8494 + AC_CHECK_LIB(m, main, LIBM="-lm")
8497 -])# AC_LIBTOOL_PROG_LD_SHLIBS
8500 -# _LT_AC_FILE_LTDLL_C
8501 -# -------------------
8502 -# Be careful that the start marker always follows a newline.
8503 -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
8504 -# /* ltdll.c starts here */
8505 -# #define WIN32_LEAN_AND_MEAN
8506 -# #include <windows.h>
8507 -# #undef WIN32_LEAN_AND_MEAN
8508 -# #include <stdio.h>
8510 -# #ifndef __CYGWIN__
8511 -# # ifdef __CYGWIN32__
8512 -# # define __CYGWIN__ __CYGWIN32__
8516 -# #ifdef __cplusplus
8519 -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
8520 -# #ifdef __cplusplus
8524 -# #ifdef __CYGWIN__
8525 -# #include <cygwin/cygwin_dll.h>
8526 -# DECLARE_CYGWIN_DLL( DllMain );
8528 -# HINSTANCE __hDllInstance_base;
8531 -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
8533 -# __hDllInstance_base = hInst;
8536 -# /* ltdll.c ends here */
8537 -])# _LT_AC_FILE_LTDLL_C
8541 -# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
8542 -# ---------------------------------
8543 -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
8544 +# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
8545 +# the libltdl convenience library and LTDLINCL to the include flags for
8546 +# the libltdl header and adds --enable-ltdl-convenience to the
8547 +# configure arguments. Note that LIBLTDL and LTDLINCL are not
8548 +# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
8549 +# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
8550 +# with '${top_builddir}/' and LTDLINCL will be prefixed with
8551 +# '${top_srcdir}/' (note the single quotes!). If your package is not
8552 +# flat and you're not using automake, define top_builddir and
8553 +# top_srcdir appropriately in the Makefiles.
8554 +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
8555 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
8556 + case $enable_ltdl_convenience in
8557 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
8558 + "") enable_ltdl_convenience=yes
8559 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
8561 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
8562 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
8563 + # For backwards non-gettext consistent compatibility...
8564 + INCLTDL="$LTDLINCL"
8567 +# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
8568 +# the libltdl installable library and LTDLINCL to the include flags for
8569 +# the libltdl header and adds --enable-ltdl-install to the configure
8570 +# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
8571 +# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
8572 +# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
8573 +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
8574 +# with '${top_srcdir}/' (note the single quotes!). If your package is
8575 +# not flat and you're not using automake, define top_builddir and
8576 +# top_srcdir appropriately in the Makefiles.
8577 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
8578 +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
8579 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
8580 + AC_CHECK_LIB(ltdl, main,
8581 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
8582 + [if test x"$enable_ltdl_install" = xno; then
8583 + AC_MSG_WARN([libltdl not installed, but installation disabled])
8585 + enable_ltdl_install=yes
8588 + if test x"$enable_ltdl_install" = x"yes"; then
8589 + ac_configure_args="$ac_configure_args --enable-ltdl-install"
8590 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
8591 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
8593 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
8597 + # For backwards non-gettext consistent compatibility...
8598 + INCLTDL="$LTDLINCL"
8602 AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
8603 @@ -6964,16 +4410,6 @@
8604 # This is just to silence aclocal about the macro not being used
8605 ifelse([AC_DISABLE_FAST_INSTALL])
8607 -AC_DEFUN([LT_AC_PROG_GCJ],
8608 -[AC_CHECK_TOOL(GCJ, gcj, no)
8609 - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
8610 - AC_SUBST(GCJFLAGS)
8613 -AC_DEFUN([LT_AC_PROG_RC],
8614 -[AC_CHECK_TOOL(RC, windres, no)
8617 # NOTE: This macro has been submitted for inclusion into #
8618 # GNU Autoconf as AC_PROG_SED. When it is available in #
8619 # a released version of Autoconf we should remove this #
8620 @@ -6987,51 +4423,79 @@
8621 AC_CACHE_VAL(lt_cv_path_SED,
8622 [# Loop through the user's path and test for sed and gsed.
8623 # Then use that list of sed's as ones to test for truncation.
8624 +as_executable_p="test -f"
8625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8629 test -z "$as_dir" && as_dir=.
8630 - for lt_ac_prog in sed gsed; do
8631 + for ac_prog in sed gsed; do
8632 for ac_exec_ext in '' $ac_executable_extensions; do
8633 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
8634 - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
8635 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8636 + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
8643 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
8644 -# along with /bin/sed that truncates output.
8645 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
8646 - test ! -f $lt_ac_sed && continue
8647 - cat /dev/null > conftest.in
8649 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
8650 - # Check for GNU sed and select it if it is found.
8651 - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8652 - lt_cv_path_SED=$lt_ac_sed
8656 - cat conftest.in conftest.in >conftest.tmp
8657 - mv conftest.tmp conftest.in
8658 - cp conftest.in conftest.nl
8659 - echo >>conftest.nl
8660 - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8661 - cmp -s conftest.out conftest.nl || break
8662 - # 10000 chars as input seems more than enough
8663 - test $lt_ac_count -gt 10 && break
8664 - lt_ac_count=`expr $lt_ac_count + 1`
8665 - if test $lt_ac_count -gt $lt_ac_max; then
8666 - lt_ac_max=$lt_ac_count
8667 - lt_cv_path_SED=$lt_ac_sed
8669 + # Create a temporary directory, and hook for its removal unless debugging.
8672 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8673 + trap '{ (exit 1); exit 1; }' 1 2 13 15
8676 +# Create a (secure) tmp directory for tmp files.
8679 + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
8680 + test -n "$tmp" && test -d "$tmp"
8683 + tmp=$TMPDIR/sed$$-$RANDOM
8684 + (umask 077 && mkdir $tmp)
8687 + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
8688 + { (exit 1); exit 1; }
8692 + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
8693 + # along with /bin/sed that truncates output.
8694 + for _sed in $_sed_list /usr/xpg4/bin/sed; do
8695 + test ! -f ${_sed} && break
8696 + cat /dev/null > "$tmp/sed.in"
8698 + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
8699 + # Check for GNU sed and select it if it is found.
8700 + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
8701 + lt_cv_path_SED=${_sed}
8705 + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
8706 + mv "$tmp/sed.tmp" "$tmp/sed.in"
8707 + cp "$tmp/sed.in" "$tmp/sed.nl"
8708 + echo >>"$tmp/sed.nl"
8709 + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
8710 + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
8711 + # 40000 chars as input seems more than enough
8712 + test $_count -gt 10 && break
8713 + _count=`expr $_count + 1`
8714 + if test $_count -gt $_max; then
8716 + lt_cv_path_SED=$_sed
8723 -SED=$lt_cv_path_SED
8724 +if test "X$SED" != "X"; then
8725 + lt_cv_path_SED=$SED
8727 + SED=$lt_cv_path_SED
8729 AC_MSG_RESULT([$SED])
8732 @@ -7898,7 +5362,11 @@
8733 AC_HELP_STRING([--with-curl-config=curl-config],[Use curl-config to find libcurl]),
8734 CURL_CONFIG="$withval", [AC_PATH_PROGS(CURL_CONFIG, [curl-config], "")])
8736 -if test "x$curl_prefix" != "x" -a "x$curl_prefix" != "xyes"; then
8739 +if test "x$curl_prefix" == "xno"; then
8741 +elif test "x$curl_prefix" != "x" -a "x$curl_prefix" != "xyes"; then
8742 CURL_LIBS="-L$curl_prefix/lib -lcurl"
8743 CURL_CFLAGS="-I$curl_prefix/include"
8744 elif test "x$CURL_CONFIG" != "x"; then
8745 @@ -7917,8 +5385,8 @@
8746 CURL_CFLAGS="-I$curl_prefix/include"
8751 +if test "$curl_ok" = "yes"
8753 xt_curl_CPPFLAGS="$CPPFLAGS"
8754 xt_curl_LIBS="$LIBS"
8755 CPPFLAGS="$CPPFLAGS $CURL_CFLAGS"
8756 @@ -7928,16 +5396,13 @@
8758 AC_CHECK_HEADERS([curl/curl.h],, curl_ok="no")
8759 AC_MSG_CHECKING(for libcurl)
8760 -if test "$curl_ok" = "yes"
8762 - AC_RUN_IFELSE(AC_LANG_SOURCE([
8763 +AC_LINK_IFELSE(AC_LANG_SOURCE([
8764 #include <curl/curl.h>
8771 if test "$curl_ok" = "yes"; then
8773 AC_DEFINE(HAVE_CURL, 1, [Define if you have libcurl.])
8774 @@ -7950,5 +5415,6 @@
8776 CPPFLAGS="$xt_curl_CPPFLAGS"
8777 LIBS="$xt_curl_LIBS"
8781 diff -ruN icecast-2.3.0-old/configure icecast-2.3.0-new/configure
8782 --- icecast-2.3.0-old/configure 2005-09-23 23:18:46.000000000 +0200
8783 +++ icecast-2.3.0-new/configure 2005-10-02 13:05:14.000000000 +0200
8784 @@ -243,6 +243,17 @@
8788 +# Find the correct PATH separator. Usually this is `:', but
8789 +# DJGPP uses `;' like DOS.
8790 +if test "X${PATH_SEPARATOR+set}" != Xset; then
8791 + UNAME=${UNAME-`uname 2>/dev/null`}
8793 + *-DOS) lt_cv_sys_path_separator=';' ;;
8794 + *) lt_cv_sys_path_separator=':' ;;
8796 + PATH_SEPARATOR=$lt_cv_sys_path_separator
8800 # Check that we are running under the correct shell.
8801 SHELL=${CONFIG_SHELL-/bin/sh}
8803 elif test "X$1" = X--fallback-echo; then
8804 # Avoid inline document here, it may be left over
8806 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
8807 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
8808 # Yippee, $echo works!
8811 @@ -273,22 +284,22 @@
8812 # used as fallback echo
8821 # The HP-UX ksh and POSIX shell print the target directory to stdout
8823 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8824 +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8826 if test -z "$ECHO"; then
8827 if test "X${echo_test_string+set}" != Xset; then
8828 # find a string as large as possible, as long as the shell can cope with it
8829 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
8830 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
8831 - if (echo_test_string=`eval $cmd`) 2>/dev/null &&
8832 - echo_test_string=`eval $cmd` &&
8833 + if (echo_test_string="`eval $cmd`") 2>/dev/null &&
8834 + echo_test_string="`eval $cmd`" &&
8835 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
8840 # So, first we look for a working echo in the user's PATH.
8842 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8843 + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8844 for dir in $PATH /usr/ucb; do
8845 - IFS="$lt_save_ifs"
8846 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
8847 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
8848 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
8853 - IFS="$lt_save_ifs"
8856 if test "X$echo" = Xecho; then
8857 # We didn't find a better echo, so look for alternatives.
8858 @@ -392,11 +402,6 @@
8863 -tagnames=${tagnames+${tagnames},}CXX
8865 -tagnames=${tagnames+${tagnames},}F77
8868 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
8869 # so uname gets run too.
8871 # include <unistd.h>
8874 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL XSLTCONFIG FGREP OGG_PREFIX OGG_LIBS OGG_CFLAGS OGG_LDFLAGS VORBIS_PREFIX VORBIS_CFLAGS VORBIS_LDFLAGS VORBIS_LIBS VORBISFILE_LIBS VORBISENC_LIBS THEORA THEORA_CFLAGS THEORA_LDFLAGS THEORA_LIBS SPEEX SPEEX_CFLAGS SPEEX_LDFLAGS SPEEX_LIBS acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS PTHREAD_CPPFLAGS CURL_CONFIG XIPH_CPPFLAGS XIPH_CFLAGS XIPH_LIBS XIPH_LDFLAGS LIBTOOL_DEPS DEBUG PROFILE ICECAST_OPTIONAL LIBOBJS LTLIBOBJS'
8875 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL XSLTCONFIG FGREP OGG_PREFIX OGG_LIBS OGG_CFLAGS OGG_LDFLAGS VORBIS_PREFIX VORBIS_CFLAGS VORBIS_LDFLAGS VORBIS_LIBS VORBISFILE_LIBS VORBISENC_LIBS THEORA THEORA_CFLAGS THEORA_LDFLAGS THEORA_LIBS SPEEX SPEEX_CFLAGS SPEEX_LDFLAGS SPEEX_LIBS acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS PTHREAD_CPPFLAGS CURL_CONFIG XIPH_CPPFLAGS XIPH_CFLAGS XIPH_LIBS XIPH_LDFLAGS LIBTOOL_DEPS DEBUG PROFILE ICECAST_OPTIONAL LIBOBJS LTLIBOBJS'
8878 # Initialize some variables set by options.
8879 @@ -926,26 +931,6 @@
8880 ac_env_CPP_value=$CPP
8881 ac_cv_env_CPP_set=${CPP+set}
8882 ac_cv_env_CPP_value=$CPP
8883 -ac_env_CXX_set=${CXX+set}
8884 -ac_env_CXX_value=$CXX
8885 -ac_cv_env_CXX_set=${CXX+set}
8886 -ac_cv_env_CXX_value=$CXX
8887 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
8888 -ac_env_CXXFLAGS_value=$CXXFLAGS
8889 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
8890 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
8891 -ac_env_CXXCPP_set=${CXXCPP+set}
8892 -ac_env_CXXCPP_value=$CXXCPP
8893 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
8894 -ac_cv_env_CXXCPP_value=$CXXCPP
8895 -ac_env_F77_set=${F77+set}
8896 -ac_env_F77_value=$F77
8897 -ac_cv_env_F77_set=${F77+set}
8898 -ac_cv_env_F77_value=$F77
8899 -ac_env_FFLAGS_set=${FFLAGS+set}
8900 -ac_env_FFLAGS_value=$FFLAGS
8901 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
8902 -ac_cv_env_FFLAGS_value=$FFLAGS
8903 ac_env_XSLTCONFIG_set=${XSLTCONFIG+set}
8904 ac_env_XSLTCONFIG_value=$XSLTCONFIG
8905 ac_cv_env_XSLTCONFIG_set=${XSLTCONFIG+set}
8906 @@ -1051,23 +1036,17 @@
8907 (and sometimes confusing) to the casual installer
8908 --disable-dependency-tracking Speeds up one-time builds
8909 --enable-dependency-tracking Do not reject slow dependency extractors
8910 - --enable-shared[=PKGS]
8911 - build shared libraries [default=yes]
8912 - --enable-static[=PKGS]
8913 - build static libraries [default=yes]
8914 - --enable-fast-install[=PKGS]
8915 - optimize for fast installation [default=yes]
8916 + --enable-shared=PKGS build shared libraries default=yes
8917 + --enable-static=PKGS build static libraries default=yes
8918 + --enable-fast-install=PKGS optimize for fast installation default=yes
8919 --disable-libtool-lock avoid locking (might break parallel builds)
8920 --disable-yp disable YP directory support
8923 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
8924 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
8925 - --with-gnu-ld assume the C compiler uses GNU ld [default=no]
8926 - --with-pic try to use only PIC/non-PIC objects [default=use
8928 - --with-tags[=TAGS]
8929 - include additional configurations [automatic]
8930 + --with-gnu-ld assume the C compiler uses GNU ld default=no
8931 + --with-pic try to use only PIC/non-PIC objects default=use both
8932 --with-xslt-config=PATH use xslt-config in PATH to find libxslt
8933 --with-ogg=PREFIX Prefix where libogg is installed (optional)
8934 --with-vorbis=PREFIX Prefix where libvorbis is installed (optional)
8935 @@ -1085,11 +1064,6 @@
8936 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
8937 headers in a nonstandard directory <include dir>
8939 - CXX C++ compiler command
8940 - CXXFLAGS C++ compiler flags
8941 - CXXCPP C++ preprocessor
8942 - F77 Fortran 77 compiler command
8943 - FFLAGS Fortran 77 compiler flags
8944 XSLTCONFIG XSLT configuration program
8945 OGG_PREFIX path to ogg installation
8947 @@ -1189,7 +1163,7 @@
8949 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
8956 @@ -2531,8 +2505,7 @@
8957 cat conftest.err >&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); } &&
8960 - { ac_try='test -z "$ac_c_werror_flag"
8961 - || test ! -s conftest.err'
8962 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8966 @@ -2590,8 +2563,7 @@
8967 cat conftest.err >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } &&
8970 - { ac_try='test -z "$ac_c_werror_flag"
8971 - || test ! -s conftest.err'
8972 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8976 @@ -2707,8 +2679,7 @@
8977 cat conftest.err >&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); } &&
8980 - { ac_try='test -z "$ac_c_werror_flag"
8981 - || test ! -s conftest.err'
8982 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 @@ -2762,8 +2733,7 @@
8987 cat conftest.err >&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); } &&
8990 - { ac_try='test -z "$ac_c_werror_flag"
8991 - || test ! -s conftest.err'
8992 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8996 @@ -2808,8 +2778,7 @@
8997 cat conftest.err >&5
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); } &&
9000 - { ac_try='test -z "$ac_c_werror_flag"
9001 - || test ! -s conftest.err'
9002 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9006 @@ -2853,8 +2822,7 @@
9007 cat conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); } &&
9010 - { ac_try='test -z "$ac_c_werror_flag"
9011 - || test ! -s conftest.err'
9012 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9016 @@ -3093,145 +3061,78 @@
9017 if test "${enable_shared+set}" = set; then
9018 enableval="$enable_shared"
9019 p=${PACKAGE-default}
9020 - case $enableval in
9021 - yes) enable_shared=yes ;;
9022 - no) enable_shared=no ;;
9025 - # Look at the argument we got. We use all the common list separators.
9026 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9027 - for pkg in $enableval; do
9028 - IFS="$lt_save_ifs"
9029 - if test "X$pkg" = "X$p"; then
9033 - IFS="$lt_save_ifs"
9037 +yes) enable_shared=yes ;;
9038 +no) enable_shared=no ;;
9041 + # Look at the argument we got. We use all the common list separators.
9042 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9043 + for pkg in $enableval; do
9044 + if test "X$pkg" = "X$p"; then
9048 + IFS="$ac_save_ifs"
9055 # Check whether --enable-static or --disable-static was given.
9056 if test "${enable_static+set}" = set; then
9057 enableval="$enable_static"
9058 p=${PACKAGE-default}
9059 - case $enableval in
9060 - yes) enable_static=yes ;;
9061 - no) enable_static=no ;;
9064 - # Look at the argument we got. We use all the common list separators.
9065 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9066 - for pkg in $enableval; do
9067 - IFS="$lt_save_ifs"
9068 - if test "X$pkg" = "X$p"; then
9072 - IFS="$lt_save_ifs"
9076 +yes) enable_static=yes ;;
9077 +no) enable_static=no ;;
9080 + # Look at the argument we got. We use all the common list separators.
9081 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9082 + for pkg in $enableval; do
9083 + if test "X$pkg" = "X$p"; then
9087 + IFS="$ac_save_ifs"
9094 # Check whether --enable-fast-install or --disable-fast-install was given.
9095 if test "${enable_fast_install+set}" = set; then
9096 enableval="$enable_fast_install"
9097 p=${PACKAGE-default}
9098 - case $enableval in
9099 - yes) enable_fast_install=yes ;;
9100 - no) enable_fast_install=no ;;
9102 - enable_fast_install=no
9103 - # Look at the argument we got. We use all the common list separators.
9104 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9105 - for pkg in $enableval; do
9106 - IFS="$lt_save_ifs"
9107 - if test "X$pkg" = "X$p"; then
9108 - enable_fast_install=yes
9111 - IFS="$lt_save_ifs"
9115 - enable_fast_install=yes
9118 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9119 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
9120 -if test "${lt_cv_path_SED+set}" = set; then
9121 - echo $ECHO_N "(cached) $ECHO_C" >&6
9123 - # Loop through the user's path and test for sed and gsed.
9124 -# Then use that list of sed's as ones to test for truncation.
9125 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9126 -for as_dir in $PATH
9129 - test -z "$as_dir" && as_dir=.
9130 - for lt_ac_prog in sed gsed; do
9131 - for ac_exec_ext in '' $ac_executable_extensions; do
9132 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
9133 - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
9140 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
9141 -# along with /bin/sed that truncates output.
9142 -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
9143 - test ! -f $lt_ac_sed && continue
9144 - cat /dev/null > conftest.in
9146 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
9147 - # Check for GNU sed and select it if it is found.
9148 - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
9149 - lt_cv_path_SED=$lt_ac_sed
9153 - cat conftest.in conftest.in >conftest.tmp
9154 - mv conftest.tmp conftest.in
9155 - cp conftest.in conftest.nl
9156 - echo >>conftest.nl
9157 - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
9158 - cmp -s conftest.out conftest.nl || break
9159 - # 10000 chars as input seems more than enough
9160 - test $lt_ac_count -gt 10 && break
9161 - lt_ac_count=`expr $lt_ac_count + 1`
9162 - if test $lt_ac_count -gt $lt_ac_max; then
9163 - lt_ac_max=$lt_ac_count
9164 - lt_cv_path_SED=$lt_ac_sed
9166 +yes) enable_fast_install=yes ;;
9167 +no) enable_fast_install=no ;;
9169 + enable_fast_install=no
9170 + # Look at the argument we got. We use all the common list separators.
9171 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
9172 + for pkg in $enableval; do
9173 + if test "X$pkg" = "X$p"; then
9174 + enable_fast_install=yes
9181 -SED=$lt_cv_path_SED
9182 -echo "$as_me:$LINENO: result: $SED" >&5
9183 -echo "${ECHO_T}$SED" >&6
9185 -echo "$as_me:$LINENO: checking for egrep" >&5
9186 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
9187 -if test "${ac_cv_prog_egrep+set}" = set; then
9188 - echo $ECHO_N "(cached) $ECHO_C" >&6
9189 + IFS="$ac_save_ifs"
9193 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
9194 - then ac_cv_prog_egrep='grep -E'
9195 - else ac_cv_prog_egrep='egrep'
9197 + enable_fast_install=yes
9199 +# Find the correct PATH separator. Usually this is `:', but
9200 +# DJGPP uses `;' like DOS.
9201 +if test "X${PATH_SEPARATOR+set}" != Xset; then
9202 + UNAME=${UNAME-`uname 2>/dev/null`}
9204 + *-DOS) lt_cv_sys_path_separator=';' ;;
9205 + *) lt_cv_sys_path_separator=':' ;;
9207 + PATH_SEPARATOR=$lt_cv_sys_path_separator
9209 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
9210 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
9211 - EGREP=$ac_cv_prog_egrep
9215 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9216 @@ -3244,8 +3145,8 @@
9218 if test "$GCC" = yes; then
9219 # Check if gcc -print-prog-name=ld gives a path.
9220 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9221 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9222 + echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9223 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9226 # gcc leaves a trailing carriage return which upsets mingw
9227 @@ -3255,12 +3156,12 @@
9230 # Accept absolute paths.
9231 - [\\/]* | ?:[\\/]*)
9232 + [\\/]* | [A-Za-z]:[\\/]*)
9233 re_direlt='/[^/][^/]*/\.\./'
9234 - # Canonicalize the pathname of ld
9235 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9236 + # Canonicalize the path of ld
9237 + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9238 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9239 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9240 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9242 test -z "$LD" && LD="$ac_prog"
9244 @@ -3284,26 +3185,22 @@
9245 echo $ECHO_N "(cached) $ECHO_C" >&6
9247 if test -z "$LD"; then
9248 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9249 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9250 for ac_dir in $PATH; do
9251 - IFS="$lt_save_ifs"
9252 test -z "$ac_dir" && ac_dir=.
9253 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9254 lt_cv_path_LD="$ac_dir/$ac_prog"
9255 # Check to see if the program is GNU ld. I'd rather use --version,
9256 - # but apparently some variants of GNU ld only accept -v.
9257 + # but apparently some GNU ld's only accept -v.
9258 # Break only if it was the GNU/non-GNU ld that we prefer.
9259 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9260 - *GNU* | *'with BFD'*)
9261 + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9262 test "$with_gnu_ld" != no && break
9266 test "$with_gnu_ld" != yes && break
9272 - IFS="$lt_save_ifs"
9273 + IFS="$ac_save_ifs"
9275 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9277 @@ -3325,15 +3222,12 @@
9278 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9281 - # I'd rather use --version here, but apparently some GNU lds only accept -v.
9282 -case `$LD -v 2>&1 </dev/null` in
9283 -*GNU* | *'with BFD'*)
9284 + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9285 +if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9286 lt_cv_prog_gnu_ld=yes
9290 lt_cv_prog_gnu_ld=no
9295 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9296 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9297 @@ -3350,20 +3244,7 @@
9298 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
9299 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
9300 reload_flag=$lt_cv_ld_reload_flag
9301 -case $reload_flag in
9303 -*) reload_flag=" $reload_flag" ;;
9305 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
9308 - if test "$GCC" = yes; then
9309 - reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
9311 - reload_cmds='$LD$reload_flag -o $output$reload_objs'
9315 +test -n "$reload_flag" && reload_flag=" $reload_flag"
9317 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
9318 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
9319 @@ -3374,42 +3255,120 @@
9320 # Let the user override the test.
9323 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9324 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9325 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
9326 - IFS="$lt_save_ifs"
9327 test -z "$ac_dir" && ac_dir=.
9328 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
9329 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
9330 + tmp_nm=$ac_dir/${ac_tool_prefix}nm
9331 + if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
9332 # Check to see if the nm accepts a BSD-compat flag.
9333 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
9334 # nm: unknown option "B" ignored
9335 # Tru64's nm complains that /dev/null is an invalid object file
9336 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
9337 - */dev/null* | *'Invalid file or object type'*)
9338 + if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
9339 lt_cv_path_NM="$tmp_nm -B"
9343 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
9345 - lt_cv_path_NM="$tmp_nm -p"
9349 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
9350 - continue # so that we can try to find one that supports BSD flags
9354 + elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
9355 + lt_cv_path_NM="$tmp_nm -p"
9358 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
9359 + continue # so that we can try to find one that supports BSD flags
9363 - IFS="$lt_save_ifs"
9364 + IFS="$ac_save_ifs"
9365 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
9368 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
9369 -echo "${ECHO_T}$lt_cv_path_NM" >&6
9372 +echo "$as_me:$LINENO: result: $NM" >&5
9373 +echo "${ECHO_T}$NM" >&6
9375 +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9376 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
9377 +if test "${lt_cv_path_SED+set}" = set; then
9378 + echo $ECHO_N "(cached) $ECHO_C" >&6
9380 + # Loop through the user's path and test for sed and gsed.
9381 +# Then use that list of sed's as ones to test for truncation.
9382 +as_executable_p="test -f"
9383 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9384 +for as_dir in $PATH
9387 + test -z "$as_dir" && as_dir=.
9388 + for ac_prog in sed gsed; do
9389 + for ac_exec_ext in '' $ac_executable_extensions; do
9390 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9391 + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
9397 + # Create a temporary directory, and hook for its removal unless debugging.
9400 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9401 + trap '{ (exit 1); exit 1; }' 1 2 13 15
9404 +# Create a (secure) tmp directory for tmp files.
9407 + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
9408 + test -n "$tmp" && test -d "$tmp"
9411 + tmp=$TMPDIR/sed$$-$RANDOM
9412 + (umask 077 && mkdir $tmp)
9415 + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9416 + { (exit 1); exit 1; }
9420 + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
9421 + # along with /bin/sed that truncates output.
9422 + for _sed in $_sed_list /usr/xpg4/bin/sed; do
9423 + test ! -f ${_sed} && break
9424 + cat /dev/null > "$tmp/sed.in"
9426 + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
9427 + # Check for GNU sed and select it if it is found.
9428 + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
9429 + lt_cv_path_SED=${_sed}
9433 + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
9434 + mv "$tmp/sed.tmp" "$tmp/sed.in"
9435 + cp "$tmp/sed.in" "$tmp/sed.nl"
9436 + echo >>"$tmp/sed.nl"
9437 + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
9438 + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
9439 + # 40000 chars as input seems more than enough
9440 + test $_count -gt 10 && break
9441 + _count=`expr $_count + 1`
9442 + if test $_count -gt $_max; then
9444 + lt_cv_path_SED=$_sed
9452 +if test "X$SED" != "X"; then
9453 + lt_cv_path_SED=$SED
9455 + SED=$lt_cv_path_SED
9457 +echo "$as_me:$LINENO: result: $SED" >&5
9458 +echo "${ECHO_T}$SED" >&6
9460 echo "$as_me:$LINENO: checking whether ln -s works" >&5
9461 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
9462 @@ -3437,7 +3396,7 @@
9463 # 'pass_all' -- all dependencies passed with no checks.
9464 # 'test_compile' -- check by making test program.
9465 # 'file_magic [[regex]]' -- check by looking for files in library path
9466 -# which responds to the $file_magic_cmd with a given extended regex.
9467 +# which responds to the $file_magic_cmd with a given egrep regex.
9468 # If you have `file' or equivalent on your system and you're not sure
9469 # whether `pass_all' will *always* work, you probably want this one.
9471 @@ -3450,36 +3409,37 @@
9472 lt_cv_deplibs_check_method=pass_all
9477 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9478 lt_cv_file_magic_cmd='/usr/bin/file -L'
9479 lt_cv_file_magic_test_file=/shlib/libc.so
9483 - # func_win32_libid is a shell function defined in ltmain.sh
9484 - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9485 - lt_cv_file_magic_cmd='func_win32_libid'
9489 - # Base MSYS/MinGW do not provide the 'file' command needed by
9490 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
9491 +cygwin* | mingw* | pw32*)
9492 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
9493 lt_cv_file_magic_cmd='$OBJDUMP -f'
9496 darwin* | rhapsody*)
9497 - lt_cv_deplibs_check_method=pass_all
9498 + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
9499 + lt_cv_file_magic_cmd='/usr/bin/file -L'
9500 + case "$host_os" in
9501 + rhapsody* | darwin1.[012])
9502 + lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
9504 + *) # Darwin 1.3 on
9505 + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
9510 -freebsd* | kfreebsd*-gnu | dragonfly*)
9512 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
9515 # Not sure whether the presence of OpenBSD here was a mistake.
9516 # Let's accept both of them until this is cleared up.
9517 - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
9518 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
9519 lt_cv_file_magic_cmd=/usr/bin/file
9520 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9522 @@ -3493,22 +3453,10 @@
9523 lt_cv_deplibs_check_method=pass_all
9526 -hpux10.20* | hpux11*)
9527 +hpux10.20*|hpux11*)
9528 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
9529 lt_cv_file_magic_cmd=/usr/bin/file
9532 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9533 - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
9536 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
9537 - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
9540 - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
9541 - lt_cv_file_magic_test_file=/usr/lib/libc.sl
9544 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
9547 irix5* | irix6* | nonstopux*)
9548 @@ -3522,15 +3470,15 @@
9551 # This must be Linux ELF.
9554 lt_cv_deplibs_check_method=pass_all
9558 +netbsd* | knetbsd*-gnu)
9559 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
9560 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9561 + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
9563 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
9564 + lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
9568 @@ -3540,15 +3488,13 @@
9569 lt_cv_file_magic_test_file=/usr/lib/libnls.so
9573 - lt_cv_deplibs_check_method=unknown
9577 + lt_cv_file_magic_cmd=/usr/bin/file
9578 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9579 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9580 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9581 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
9583 - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9584 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
9588 @@ -3564,6 +3510,10 @@
9589 lt_cv_deplibs_check_method=pass_all
9592 +sysv5uw[78]* | sysv4*uw2*)
9593 + lt_cv_deplibs_check_method=pass_all
9596 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9597 case $host_vendor in
9599 @@ -3587,10 +3537,6 @@
9604 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
9605 - lt_cv_deplibs_check_method=pass_all
9610 @@ -3598,210 +3544,211 @@
9611 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
9612 file_magic_cmd=$lt_cv_file_magic_cmd
9613 deplibs_check_method=$lt_cv_deplibs_check_method
9614 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
9619 -# If no C compiler was specified, use CC.
9622 -# Allow CC to be a program name with arguments.
9626 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
9627 -if test "${enable_libtool_lock+set}" = set; then
9628 - enableval="$enable_libtool_lock"
9631 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9632 +# Check for command to grab the raw symbol name followed by C symbol from nm.
9633 +echo "$as_me:$LINENO: checking command to parse $NM output" >&5
9634 +echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
9635 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9636 + echo $ECHO_N "(cached) $ECHO_C" >&6
9639 -# Some flags need to be propagated to the compiler or linker for good
9643 - # Find out which ABI we are using.
9644 - echo 'int i;' > conftest.$ac_ext
9645 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9646 - (eval $ac_compile) 2>&5
9648 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9649 - (exit $ac_status); }; then
9650 - case `/usr/bin/file conftest.$ac_objext` in
9652 - HPUX_IA64_MODE="32"
9655 - HPUX_IA64_MODE="64"
9662 - # Find out which ABI we are using.
9663 - echo '#line 3644 "configure"' > conftest.$ac_ext
9664 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9665 - (eval $ac_compile) 2>&5
9667 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 - (exit $ac_status); }; then
9669 - if test "$lt_cv_prog_gnu_ld" = yes; then
9670 - case `/usr/bin/file conftest.$ac_objext` in
9672 - LD="${LD-ld} -melf32bsmip"
9675 - LD="${LD-ld} -melf32bmipn32"
9678 - LD="${LD-ld} -melf64bmip"
9682 - case `/usr/bin/file conftest.$ac_objext` in
9687 - LD="${LD-ld} -n32"
9697 +# These are sane defaults that work on at least a few old systems.
9698 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
9700 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
9701 - # Find out which ABI we are using.
9702 - echo 'int i;' > conftest.$ac_ext
9703 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9704 - (eval $ac_compile) 2>&5
9706 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 - (exit $ac_status); }; then
9708 - case `/usr/bin/file conftest.o` in
9712 - LD="${LD-ld} -m elf_i386"
9714 - ppc64-*linux*|powerpc64-*linux*)
9715 - LD="${LD-ld} -m elf32ppclinux"
9718 - LD="${LD-ld} -m elf_s390"
9721 - LD="${LD-ld} -m elf32_sparc"
9728 - LD="${LD-ld} -m elf_x86_64"
9730 - ppc*-*linux*|powerpc*-*linux*)
9731 - LD="${LD-ld} -m elf64ppc"
9734 - LD="${LD-ld} -m elf64_s390"
9737 - LD="${LD-ld} -m elf64_sparc"
9744 +# Character class describing NM global symbol codes.
9745 +symcode='[BCDEGRST]'
9747 +# Regexp to match symbols that can be accessed directly from C.
9748 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9750 +# Transform the above into a raw symbol and a C symbol.
9751 +symxfrm='\1 \2\3 \3'
9753 +# Transform an extracted symbol line into a proper C declaration
9754 +lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
9756 +# Transform an extracted symbol line into symbol name and symbol address
9757 +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'"
9759 +# Define system-specific variables.
9764 +cygwin* | mingw* | pw32*)
9765 + symcode='[ABCDGISTW]'
9767 +hpux*) # Its linker distinguishes data from code symbols
9768 + lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9769 + 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'"
9771 +irix* | nonstopux*)
9772 + symcode='[BCDEGRST]'
9775 + symcode='[BCDEGQRST]'
9781 + symcode='[DFNSTU]'
9786 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9787 - SAVE_CFLAGS="$CFLAGS"
9788 - CFLAGS="$CFLAGS -belf"
9789 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
9790 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
9791 -if test "${lt_cv_cc_needs_belf+set}" = set; then
9792 - echo $ECHO_N "(cached) $ECHO_C" >&6
9795 -ac_cpp='$CPP $CPPFLAGS'
9796 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9797 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9798 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
9799 +# Handle CRLF in mingw tool chain
9803 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9807 - cat >conftest.$ac_ext <<_ACEOF
9810 -cat confdefs.h >>conftest.$ac_ext
9811 -cat >>conftest.$ac_ext <<_ACEOF
9812 -/* end confdefs.h. */
9813 +# If we're using GNU nm, then use its standard symbol codes.
9814 +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
9815 + symcode='[ABCDGISTW]'
9821 +# Try without a prefix undercore, then with it.
9822 +for ac_symprfx in "" "_"; do
9826 + # Write the raw and C identifiers.
9827 +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
9829 + # Check to see that the pipe works correctly.
9832 + cat > conftest.$ac_ext <<EOF
9837 +void nm_test_func(){}
9841 -rm -f conftest.$ac_objext conftest$ac_exeext
9842 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9843 - (eval $ac_link) 2>conftest.er1
9845 - grep -v '^ *+' conftest.er1 >conftest.err
9846 - rm -f conftest.er1
9847 - cat conftest.err >&5
9848 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849 - (exit $ac_status); } &&
9850 - { ac_try='test -z "$ac_c_werror_flag"
9851 - || test ! -s conftest.err'
9852 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9853 - (eval $ac_try) 2>&5
9855 +int main(){nm_test_var='a';nm_test_func();return(0);}
9858 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9859 + (eval $ac_compile) 2>&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 - (exit $ac_status); }; } &&
9863 - { ac_try='test -s conftest$ac_exeext'
9864 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9865 - (eval $ac_try) 2>&5
9866 + (exit $ac_status); }; then
9867 + # Now try to grab the symbols.
9869 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9870 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 - (exit $ac_status); }; }; then
9874 - lt_cv_cc_needs_belf=yes
9876 - echo "$as_me: failed program was:" >&5
9877 -sed 's/^/| /' conftest.$ac_ext >&5
9878 + (exit $ac_status); } && test -s "$nlist"; then
9879 + # Try sorting and uniquifying the output.
9880 + if sort "$nlist" | uniq > "$nlist"T; then
9881 + mv -f "$nlist"T "$nlist"
9886 -lt_cv_cc_needs_belf=no
9888 -rm -f conftest.err conftest.$ac_objext \
9889 - conftest$ac_exeext conftest.$ac_ext
9891 -ac_cpp='$CPP $CPPFLAGS'
9892 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9893 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9894 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
9895 + # Make sure that we snagged all the symbols we need.
9896 + if egrep ' nm_test_var$' "$nlist" >/dev/null; then
9897 + if egrep ' nm_test_func$' "$nlist" >/dev/null; then
9898 + cat <<EOF > conftest.$ac_ext
9904 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
9905 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
9906 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9907 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9908 - CFLAGS="$SAVE_CFLAGS"
9910 + # Now generate the symbol file.
9911 + eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
9913 + cat <<EOF >> conftest.$ac_ext
9914 +#if defined (__STDC__) && __STDC__
9915 +# define lt_ptr void *
9917 +# define lt_ptr char *
9921 +/* The mapping between symbol names and symbols. */
9926 +lt_preloaded_symbols[] =
9929 + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
9930 + cat <<\EOF >> conftest.$ac_ext
9938 + # Now try linking the two files.
9939 + mv conftest.$ac_objext conftstm.$ac_objext
9941 + save_CFLAGS="$CFLAGS"
9942 + LIBS="conftstm.$ac_objext"
9943 + CFLAGS="$CFLAGS$no_builtin_flag"
9944 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9945 + (eval $ac_link) 2>&5
9947 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 + (exit $ac_status); } && test -s conftest$ac_exeext; then
9952 + CFLAGS="$save_CFLAGS"
9954 + echo "cannot find nm_test_func in $nlist" >&5
9957 + echo "cannot find nm_test_var in $nlist" >&5
9960 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9963 + echo "$progname: failed program was:" >&5
9964 + cat conftest.$ac_ext >&5
9967 + rm -f conftest* conftst*
9970 + # Do not use the global_symbol_pipe unless it works.
9971 + if test "$pipe_works" = yes; then
9974 + lt_cv_sys_global_symbol_pipe=
9978 -need_locks="$enable_libtool_lock"
9981 +global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
9982 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
9983 + global_symbol_to_cdecl=
9984 + global_symbol_to_c_name_address=
9986 + global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
9987 + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
9989 +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
9991 + echo "$as_me:$LINENO: result: failed" >&5
9992 +echo "${ECHO_T}failed" >&6
9994 + echo "$as_me:$LINENO: result: ok" >&5
9995 +echo "${ECHO_T}ok" >&6
9999 ac_cpp='$CPP $CPPFLAGS'
10000 @@ -4038,6 +3985,21 @@
10001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10004 +echo "$as_me:$LINENO: checking for egrep" >&5
10005 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10006 +if test "${ac_cv_prog_egrep+set}" = set; then
10007 + echo $ECHO_N "(cached) $ECHO_C" >&6
10009 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10010 + then ac_cv_prog_egrep='grep -E'
10011 + else ac_cv_prog_egrep='egrep'
10014 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10015 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10016 + EGREP=$ac_cv_prog_egrep
10019 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10020 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10021 if test "${ac_cv_header_stdc+set}" = set; then
10022 @@ -4071,8 +4033,7 @@
10023 cat conftest.err >&5
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); } &&
10026 - { ac_try='test -z "$ac_c_werror_flag"
10027 - || test ! -s conftest.err'
10028 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10030 (eval $ac_try) 2>&5
10032 @@ -4242,8 +4203,7 @@
10033 cat conftest.err >&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); } &&
10036 - { ac_try='test -z "$ac_c_werror_flag"
10037 - || test ! -s conftest.err'
10038 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10042 @@ -4310,8 +4270,7 @@
10043 cat conftest.err >&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); } &&
10046 - { ac_try='test -z "$ac_c_werror_flag"
10047 - || test ! -s conftest.err'
10048 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10050 (eval $ac_try) 2>&5
10052 @@ -4426,65 +4385,160 @@
10057 -ac_cpp='$CXXCPP $CPPFLAGS'
10058 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10059 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10060 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10061 -if test -n "$ac_tool_prefix"; then
10062 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10064 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10065 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10066 -echo "$as_me:$LINENO: checking for $ac_word" >&5
10067 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10068 -if test "${ac_cv_prog_CXX+set}" = set; then
10069 - echo $ECHO_N "(cached) $ECHO_C" >&6
10071 - if test -n "$CXX"; then
10072 - ac_cv_prog_CXX="$CXX" # Let the user override the test.
10074 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10075 -for as_dir in $PATH
10078 - test -z "$as_dir" && as_dir=.
10079 - for ac_exec_ext in '' $ac_executable_extensions; do
10080 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10081 - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10082 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10090 -CXX=$ac_cv_prog_CXX
10091 -if test -n "$CXX"; then
10092 - echo "$as_me:$LINENO: result: $CXX" >&5
10093 -echo "${ECHO_T}$CXX" >&6
10095 - echo "$as_me:$LINENO: result: no" >&5
10096 -echo "${ECHO_T}no" >&6
10099 - test -n "$CXX" && break
10102 -if test -z "$CXX"; then
10104 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10106 - # Extract the first word of "$ac_prog", so it can be a program name with args.
10107 -set dummy $ac_prog; ac_word=$2
10108 -echo "$as_me:$LINENO: checking for $ac_word" >&5
10109 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10110 -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10111 - echo $ECHO_N "(cached) $ECHO_C" >&6
10115 +# Only perform the check for file, if the check method requires it
10116 +case $deplibs_check_method in
10118 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10119 + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
10120 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
10121 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10122 + echo $ECHO_N "(cached) $ECHO_C" >&6
10124 + case $MAGIC_CMD in
10126 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10129 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
10132 + ac_save_MAGIC_CMD="$MAGIC_CMD"
10133 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10134 + ac_dummy="/usr/bin:$PATH"
10135 + for ac_dir in $ac_dummy; do
10136 + test -z "$ac_dir" && ac_dir=.
10137 + if test -f $ac_dir/${ac_tool_prefix}file; then
10138 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10139 + if test -n "$file_magic_test_file"; then
10140 + case $deplibs_check_method in
10142 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
10143 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10144 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10145 + egrep "$file_magic_regex" > /dev/null; then
10150 +*** Warning: the command libtool uses to detect shared libraries,
10151 +*** $file_magic_cmd, produces output that libtool cannot recognize.
10152 +*** The result is that libtool may fail to recognize shared libraries
10153 +*** as such. This will affect the creation of libtool libraries that
10154 +*** depend on shared libraries, but programs linked with such libtool
10155 +*** libraries will work regardless of this problem. Nevertheless, you
10156 +*** may want to report the problem to your system manager and/or to
10157 +*** bug-libtool@gnu.org
10166 + IFS="$ac_save_ifs"
10167 + MAGIC_CMD="$ac_save_MAGIC_CMD"
10172 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10173 +if test -n "$MAGIC_CMD"; then
10174 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10175 +echo "${ECHO_T}$MAGIC_CMD" >&6
10177 + echo "$as_me:$LINENO: result: no" >&5
10178 +echo "${ECHO_T}no" >&6
10181 +if test -z "$lt_cv_path_MAGIC_CMD"; then
10182 + if test -n "$ac_tool_prefix"; then
10183 + echo "$as_me:$LINENO: checking for file" >&5
10184 +echo $ECHO_N "checking for file... $ECHO_C" >&6
10185 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10186 + echo $ECHO_N "(cached) $ECHO_C" >&6
10188 + case $MAGIC_CMD in
10190 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10193 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
10196 + ac_save_MAGIC_CMD="$MAGIC_CMD"
10197 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10198 + ac_dummy="/usr/bin:$PATH"
10199 + for ac_dir in $ac_dummy; do
10200 + test -z "$ac_dir" && ac_dir=.
10201 + if test -f $ac_dir/file; then
10202 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
10203 + if test -n "$file_magic_test_file"; then
10204 + case $deplibs_check_method in
10206 + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
10207 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10208 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10209 + egrep "$file_magic_regex" > /dev/null; then
10214 +*** Warning: the command libtool uses to detect shared libraries,
10215 +*** $file_magic_cmd, produces output that libtool cannot recognize.
10216 +*** The result is that libtool may fail to recognize shared libraries
10217 +*** as such. This will affect the creation of libtool libraries that
10218 +*** depend on shared libraries, but programs linked with such libtool
10219 +*** libraries will work regardless of this problem. Nevertheless, you
10220 +*** may want to report the problem to your system manager and/or to
10221 +*** bug-libtool@gnu.org
10230 + IFS="$ac_save_ifs"
10231 + MAGIC_CMD="$ac_save_MAGIC_CMD"
10236 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10237 +if test -n "$MAGIC_CMD"; then
10238 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10239 +echo "${ECHO_T}$MAGIC_CMD" >&6
10241 + echo "$as_me:$LINENO: result: no" >&5
10242 +echo "${ECHO_T}no" >&6
10254 +if test -n "$ac_tool_prefix"; then
10255 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10256 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10257 +echo "$as_me:$LINENO: checking for $ac_word" >&5
10258 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10259 +if test "${ac_cv_prog_RANLIB+set}" = set; then
10260 + echo $ECHO_N "(cached) $ECHO_C" >&6
10262 - if test -n "$ac_ct_CXX"; then
10263 - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10264 + if test -n "$RANLIB"; then
10265 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10268 for as_dir in $PATH
10269 @@ -4493,7 +4547,7 @@
10270 test -z "$as_dir" && as_dir=.
10271 for ac_exec_ext in '' $ac_executable_extensions; do
10272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10273 - ac_cv_prog_ac_ct_CXX="$ac_prog"
10274 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10278 @@ -4502,12050 +4556,751 @@
10282 -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10283 -if test -n "$ac_ct_CXX"; then
10284 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10285 -echo "${ECHO_T}$ac_ct_CXX" >&6
10286 +RANLIB=$ac_cv_prog_RANLIB
10287 +if test -n "$RANLIB"; then
10288 + echo "$as_me:$LINENO: result: $RANLIB" >&5
10289 +echo "${ECHO_T}$RANLIB" >&6
10291 echo "$as_me:$LINENO: result: no" >&5
10292 echo "${ECHO_T}no" >&6
10295 - test -n "$ac_ct_CXX" && break
10297 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10303 -# Provide some information about the compiler.
10304 -echo "$as_me:$LINENO:" \
10305 - "checking for C++ compiler version" >&5
10306 -ac_compiler=`set X $ac_compile; echo $2`
10307 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10308 - (eval $ac_compiler --version </dev/null >&5) 2>&5
10310 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10311 - (exit $ac_status); }
10312 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10313 - (eval $ac_compiler -v </dev/null >&5) 2>&5
10315 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 - (exit $ac_status); }
10317 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10318 - (eval $ac_compiler -V </dev/null >&5) 2>&5
10320 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 - (exit $ac_status); }
10323 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10324 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10325 -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10326 +if test -z "$ac_cv_prog_RANLIB"; then
10327 + ac_ct_RANLIB=$RANLIB
10328 + # Extract the first word of "ranlib", so it can be a program name with args.
10329 +set dummy ranlib; ac_word=$2
10330 +echo "$as_me:$LINENO: checking for $ac_word" >&5
10331 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10332 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
10333 echo $ECHO_N "(cached) $ECHO_C" >&6
10335 - cat >conftest.$ac_ext <<_ACEOF
10338 -cat confdefs.h >>conftest.$ac_ext
10339 -cat >>conftest.$ac_ext <<_ACEOF
10340 -/* end confdefs.h. */
10353 -rm -f conftest.$ac_objext
10354 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10355 - (eval $ac_compile) 2>conftest.er1
10357 - grep -v '^ *+' conftest.er1 >conftest.err
10358 - rm -f conftest.er1
10359 - cat conftest.err >&5
10360 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10361 - (exit $ac_status); } &&
10362 - { ac_try='test -z "$ac_cxx_werror_flag"
10363 - || test ! -s conftest.err'
10364 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10365 - (eval $ac_try) 2>&5
10367 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 - (exit $ac_status); }; } &&
10369 - { ac_try='test -s conftest.$ac_objext'
10370 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371 - (eval $ac_try) 2>&5
10373 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 - (exit $ac_status); }; }; then
10375 - ac_compiler_gnu=yes
10376 + if test -n "$ac_ct_RANLIB"; then
10377 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10379 - echo "$as_me: failed program was:" >&5
10380 -sed 's/^/| /' conftest.$ac_ext >&5
10381 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10382 +for as_dir in $PATH
10385 + test -z "$as_dir" && as_dir=.
10386 + for ac_exec_ext in '' $ac_executable_extensions; do
10387 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10388 + ac_cv_prog_ac_ct_RANLIB="ranlib"
10389 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10395 -ac_compiler_gnu=no
10396 + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
10398 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10399 -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10402 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10403 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
10404 -GXX=`test $ac_compiler_gnu = yes && echo yes`
10405 -ac_test_CXXFLAGS=${CXXFLAGS+set}
10406 -ac_save_CXXFLAGS=$CXXFLAGS
10408 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10409 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
10410 -if test "${ac_cv_prog_cxx_g+set}" = set; then
10411 - echo $ECHO_N "(cached) $ECHO_C" >&6
10412 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10413 +if test -n "$ac_ct_RANLIB"; then
10414 + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
10415 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
10417 - cat >conftest.$ac_ext <<_ACEOF
10420 -cat confdefs.h >>conftest.$ac_ext
10421 -cat >>conftest.$ac_ext <<_ACEOF
10422 -/* end confdefs.h. */
10423 + echo "$as_me:$LINENO: result: no" >&5
10424 +echo "${ECHO_T}no" >&6
10430 + RANLIB=$ac_ct_RANLIB
10432 + RANLIB="$ac_cv_prog_RANLIB"
10439 -rm -f conftest.$ac_objext
10440 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10441 - (eval $ac_compile) 2>conftest.er1
10443 - grep -v '^ *+' conftest.er1 >conftest.err
10444 - rm -f conftest.er1
10445 - cat conftest.err >&5
10446 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 - (exit $ac_status); } &&
10448 - { ac_try='test -z "$ac_cxx_werror_flag"
10449 - || test ! -s conftest.err'
10450 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10451 - (eval $ac_try) 2>&5
10453 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 - (exit $ac_status); }; } &&
10455 - { ac_try='test -s conftest.$ac_objext'
10456 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10457 - (eval $ac_try) 2>&5
10459 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 - (exit $ac_status); }; }; then
10461 - ac_cv_prog_cxx_g=yes
10463 - echo "$as_me: failed program was:" >&5
10464 -sed 's/^/| /' conftest.$ac_ext >&5
10466 -ac_cv_prog_cxx_g=no
10468 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10470 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
10471 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
10472 -if test "$ac_test_CXXFLAGS" = set; then
10473 - CXXFLAGS=$ac_save_CXXFLAGS
10474 -elif test $ac_cv_prog_cxx_g = yes; then
10475 - if test "$GXX" = yes; then
10476 - CXXFLAGS="-g -O2"
10481 - if test "$GXX" = yes; then
10487 -for ac_declaration in \
10489 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
10490 - 'extern "C" void std::exit (int); using std::exit;' \
10491 - 'extern "C" void exit (int) throw ();' \
10492 - 'extern "C" void exit (int);' \
10493 - 'void exit (int);'
10495 - cat >conftest.$ac_ext <<_ACEOF
10498 -cat confdefs.h >>conftest.$ac_ext
10499 -cat >>conftest.$ac_ext <<_ACEOF
10500 -/* end confdefs.h. */
10502 -#include <stdlib.h>
10511 -rm -f conftest.$ac_objext
10512 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10513 - (eval $ac_compile) 2>conftest.er1
10515 - grep -v '^ *+' conftest.er1 >conftest.err
10516 - rm -f conftest.er1
10517 - cat conftest.err >&5
10518 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10519 - (exit $ac_status); } &&
10520 - { ac_try='test -z "$ac_cxx_werror_flag"
10521 - || test ! -s conftest.err'
10522 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10523 - (eval $ac_try) 2>&5
10525 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 - (exit $ac_status); }; } &&
10527 - { ac_try='test -s conftest.$ac_objext'
10528 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10529 - (eval $ac_try) 2>&5
10531 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 - (exit $ac_status); }; }; then
10535 - echo "$as_me: failed program was:" >&5
10536 -sed 's/^/| /' conftest.$ac_ext >&5
10540 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10541 - cat >conftest.$ac_ext <<_ACEOF
10544 -cat confdefs.h >>conftest.$ac_ext
10545 -cat >>conftest.$ac_ext <<_ACEOF
10546 -/* end confdefs.h. */
10556 -rm -f conftest.$ac_objext
10557 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10558 - (eval $ac_compile) 2>conftest.er1
10560 - grep -v '^ *+' conftest.er1 >conftest.err
10561 - rm -f conftest.er1
10562 - cat conftest.err >&5
10563 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 - (exit $ac_status); } &&
10565 - { ac_try='test -z "$ac_cxx_werror_flag"
10566 - || test ! -s conftest.err'
10567 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10568 - (eval $ac_try) 2>&5
10570 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 - (exit $ac_status); }; } &&
10572 - { ac_try='test -s conftest.$ac_objext'
10573 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10574 - (eval $ac_try) 2>&5
10576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 - (exit $ac_status); }; }; then
10580 - echo "$as_me: failed program was:" >&5
10581 -sed 's/^/| /' conftest.$ac_ext >&5
10584 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10587 -if test -n "$ac_declaration"; then
10588 - echo '#ifdef __cplusplus' >>confdefs.h
10589 - echo $ac_declaration >>confdefs.h
10590 - echo '#endif' >>confdefs.h
10594 -ac_cpp='$CXXCPP $CPPFLAGS'
10595 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10596 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10597 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10599 -depcc="$CXX" am_compiler_list=
10601 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
10602 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
10603 -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
10604 +if test -n "$ac_tool_prefix"; then
10605 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10606 +set dummy ${ac_tool_prefix}strip; ac_word=$2
10607 +echo "$as_me:$LINENO: checking for $ac_word" >&5
10608 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10609 +if test "${ac_cv_prog_STRIP+set}" = set; then
10610 echo $ECHO_N "(cached) $ECHO_C" >&6
10612 - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10613 - # We make a subdir and do the tests there. Otherwise we can end up
10614 - # making bogus files that we don't know about and never remove. For
10615 - # instance it was reported that on HP-UX the gcc test will end up
10616 - # making a dummy file named `D' -- because `-MD' means `put the output
10618 - mkdir conftest.dir
10619 - # Copy depcomp to subdir because otherwise we won't find it if we're
10620 - # using a relative directory.
10621 - cp "$am_depcomp" conftest.dir
10624 - am_cv_CXX_dependencies_compiler_type=none
10625 - if test "$am_compiler_list" = ""; then
10626 - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10628 - for depmode in $am_compiler_list; do
10629 - # We need to recreate these files for each test, as the compiler may
10630 - # overwrite some of them when testing with obscure command lines.
10631 - # This happens at least with the AIX C compiler.
10632 - echo '#include "conftest.h"' > conftest.c
10633 - echo 'int i;' > conftest.h
10634 - echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
10638 - # after this tag, mechanisms are not by side-effect, so they'll
10639 - # only be used when explicitly requested
10640 - if test "x$enable_dependency_tracking" = xyes; then
10648 - # We check with `-c' and `-o' for the sake of the "dashmstdout"
10649 - # mode. It turns out that the SunPro C++ compiler does not properly
10650 - # handle `-M -o', and we need to detect this.
10651 - if depmode=$depmode \
10652 - source=conftest.c object=conftest.o \
10653 - depfile=conftest.Po tmpdepfile=conftest.TPo \
10654 - $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
10655 - grep conftest.h conftest.Po > /dev/null 2>&1 &&
10656 - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10657 - am_cv_CXX_dependencies_compiler_type=$depmode
10663 - rm -rf conftest.dir
10665 - am_cv_CXX_dependencies_compiler_type=none
10669 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
10670 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
10671 -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
10676 -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10677 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10678 - (test "X$CXX" != "Xg++"))) ; then
10680 -ac_cpp='$CXXCPP $CPPFLAGS'
10681 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10682 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10683 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10684 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
10685 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
10686 -if test -z "$CXXCPP"; then
10687 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
10688 - echo $ECHO_N "(cached) $ECHO_C" >&6
10689 + if test -n "$STRIP"; then
10690 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10692 - # Double quotes because CXXCPP needs to be expanded
10693 - for CXXCPP in "$CXX -E" "/lib/cpp"
10695 - ac_preproc_ok=false
10696 -for ac_cxx_preproc_warn_flag in '' yes
10697 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10698 +for as_dir in $PATH
10700 - # Use a header file that comes with gcc, so configuring glibc
10701 - # with a fresh cross-compiler works.
10702 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10703 - # <limits.h> exists even on freestanding compilers.
10704 - # On the NeXT, cc -E runs the code through the compiler's parser,
10705 - # not just through cpp. "Syntax error" is here to catch this case.
10706 - cat >conftest.$ac_ext <<_ACEOF
10709 -cat confdefs.h >>conftest.$ac_ext
10710 -cat >>conftest.$ac_ext <<_ACEOF
10711 -/* end confdefs.h. */
10713 -# include <limits.h>
10715 -# include <assert.h>
10719 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10720 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10722 - grep -v '^ *+' conftest.er1 >conftest.err
10723 - rm -f conftest.er1
10724 - cat conftest.err >&5
10725 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 - (exit $ac_status); } >/dev/null; then
10727 - if test -s conftest.err; then
10728 - ac_cpp_err=$ac_cxx_preproc_warn_flag
10729 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10733 + test -z "$as_dir" && as_dir=.
10734 + for ac_exec_ext in '' $ac_executable_extensions; do
10735 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10736 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10737 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10743 -if test -z "$ac_cpp_err"; then
10746 - echo "$as_me: failed program was:" >&5
10747 -sed 's/^/| /' conftest.$ac_ext >&5
10749 - # Broken: fails on valid input.
10752 -rm -f conftest.err conftest.$ac_ext
10754 - # OK, works on sane cases. Now check whether non-existent headers
10755 - # can be detected and how.
10756 - cat >conftest.$ac_ext <<_ACEOF
10759 -cat confdefs.h >>conftest.$ac_ext
10760 -cat >>conftest.$ac_ext <<_ACEOF
10761 -/* end confdefs.h. */
10762 -#include <ac_nonexistent.h>
10764 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10765 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10767 - grep -v '^ *+' conftest.er1 >conftest.err
10768 - rm -f conftest.er1
10769 - cat conftest.err >&5
10770 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 - (exit $ac_status); } >/dev/null; then
10772 - if test -s conftest.err; then
10773 - ac_cpp_err=$ac_cxx_preproc_warn_flag
10774 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10781 -if test -z "$ac_cpp_err"; then
10782 - # Broken: success on invalid input.
10785 - echo "$as_me: failed program was:" >&5
10786 -sed 's/^/| /' conftest.$ac_ext >&5
10788 - # Passes both tests.
10792 -rm -f conftest.err conftest.$ac_ext
10795 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10796 -rm -f conftest.err conftest.$ac_ext
10797 -if $ac_preproc_ok; then
10802 - ac_cv_prog_CXXCPP=$CXXCPP
10805 - CXXCPP=$ac_cv_prog_CXXCPP
10807 - ac_cv_prog_CXXCPP=$CXXCPP
10809 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
10810 -echo "${ECHO_T}$CXXCPP" >&6
10811 -ac_preproc_ok=false
10812 -for ac_cxx_preproc_warn_flag in '' yes
10814 - # Use a header file that comes with gcc, so configuring glibc
10815 - # with a fresh cross-compiler works.
10816 - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10817 - # <limits.h> exists even on freestanding compilers.
10818 - # On the NeXT, cc -E runs the code through the compiler's parser,
10819 - # not just through cpp. "Syntax error" is here to catch this case.
10820 - cat >conftest.$ac_ext <<_ACEOF
10823 -cat confdefs.h >>conftest.$ac_ext
10824 -cat >>conftest.$ac_ext <<_ACEOF
10825 -/* end confdefs.h. */
10827 -# include <limits.h>
10829 -# include <assert.h>
10833 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10834 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10836 - grep -v '^ *+' conftest.er1 >conftest.err
10837 - rm -f conftest.er1
10838 - cat conftest.err >&5
10839 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 - (exit $ac_status); } >/dev/null; then
10841 - if test -s conftest.err; then
10842 - ac_cpp_err=$ac_cxx_preproc_warn_flag
10843 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10850 -if test -z "$ac_cpp_err"; then
10853 - echo "$as_me: failed program was:" >&5
10854 -sed 's/^/| /' conftest.$ac_ext >&5
10856 - # Broken: fails on valid input.
10859 -rm -f conftest.err conftest.$ac_ext
10861 - # OK, works on sane cases. Now check whether non-existent headers
10862 - # can be detected and how.
10863 - cat >conftest.$ac_ext <<_ACEOF
10866 -cat confdefs.h >>conftest.$ac_ext
10867 -cat >>conftest.$ac_ext <<_ACEOF
10868 -/* end confdefs.h. */
10869 -#include <ac_nonexistent.h>
10871 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10872 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10874 - grep -v '^ *+' conftest.er1 >conftest.err
10875 - rm -f conftest.er1
10876 - cat conftest.err >&5
10877 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 - (exit $ac_status); } >/dev/null; then
10879 - if test -s conftest.err; then
10880 - ac_cpp_err=$ac_cxx_preproc_warn_flag
10881 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10888 -if test -z "$ac_cpp_err"; then
10889 - # Broken: success on invalid input.
10892 - echo "$as_me: failed program was:" >&5
10893 -sed 's/^/| /' conftest.$ac_ext >&5
10895 - # Passes both tests.
10899 -rm -f conftest.err conftest.$ac_ext
10902 -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10903 -rm -f conftest.err conftest.$ac_ext
10904 -if $ac_preproc_ok; then
10907 - { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10908 -See \`config.log' for more details." >&5
10909 -echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10910 -See \`config.log' for more details." >&2;}
10911 - { (exit 1); exit 1; }; }
10915 -ac_cpp='$CXXCPP $CPPFLAGS'
10916 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10917 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10918 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10924 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
10925 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10926 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
10927 -if test -n "$ac_tool_prefix"; then
10928 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
10930 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10931 -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10932 -echo "$as_me:$LINENO: checking for $ac_word" >&5
10933 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10934 -if test "${ac_cv_prog_F77+set}" = set; then
10935 - echo $ECHO_N "(cached) $ECHO_C" >&6
10937 - if test -n "$F77"; then
10938 - ac_cv_prog_F77="$F77" # Let the user override the test.
10940 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10941 -for as_dir in $PATH
10944 - test -z "$as_dir" && as_dir=.
10945 - for ac_exec_ext in '' $ac_executable_extensions; do
10946 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10947 - ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
10948 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10956 -F77=$ac_cv_prog_F77
10957 -if test -n "$F77"; then
10958 - echo "$as_me:$LINENO: result: $F77" >&5
10959 -echo "${ECHO_T}$F77" >&6
10961 - echo "$as_me:$LINENO: result: no" >&5
10962 -echo "${ECHO_T}no" >&6
10965 - test -n "$F77" && break
10968 -if test -z "$F77"; then
10970 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
10972 - # Extract the first word of "$ac_prog", so it can be a program name with args.
10973 -set dummy $ac_prog; ac_word=$2
10974 -echo "$as_me:$LINENO: checking for $ac_word" >&5
10975 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10976 -if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
10977 - echo $ECHO_N "(cached) $ECHO_C" >&6
10979 - if test -n "$ac_ct_F77"; then
10980 - ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
10982 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10983 -for as_dir in $PATH
10986 - test -z "$as_dir" && as_dir=.
10987 - for ac_exec_ext in '' $ac_executable_extensions; do
10988 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10989 - ac_cv_prog_ac_ct_F77="$ac_prog"
10990 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10998 -ac_ct_F77=$ac_cv_prog_ac_ct_F77
10999 -if test -n "$ac_ct_F77"; then
11000 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
11001 -echo "${ECHO_T}$ac_ct_F77" >&6
11003 - echo "$as_me:$LINENO: result: no" >&5
11004 -echo "${ECHO_T}no" >&6
11007 - test -n "$ac_ct_F77" && break
11015 -# Provide some information about the compiler.
11016 -echo "$as_me:5183:" \
11017 - "checking for Fortran 77 compiler version" >&5
11018 -ac_compiler=`set X $ac_compile; echo $2`
11019 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11020 - (eval $ac_compiler --version </dev/null >&5) 2>&5
11022 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 - (exit $ac_status); }
11024 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11025 - (eval $ac_compiler -v </dev/null >&5) 2>&5
11027 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 - (exit $ac_status); }
11029 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11030 - (eval $ac_compiler -V </dev/null >&5) 2>&5
11032 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 - (exit $ac_status); }
11036 -# If we don't use `.F' as extension, the preprocessor is not run on the
11037 -# input file. (Note that this only needs to work for GNU compilers.)
11038 -ac_save_ext=$ac_ext
11040 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
11041 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
11042 -if test "${ac_cv_f77_compiler_gnu+set}" = set; then
11043 - echo $ECHO_N "(cached) $ECHO_C" >&6
11045 - cat >conftest.$ac_ext <<_ACEOF
11053 -rm -f conftest.$ac_objext
11054 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11055 - (eval $ac_compile) 2>conftest.er1
11057 - grep -v '^ *+' conftest.er1 >conftest.err
11058 - rm -f conftest.er1
11059 - cat conftest.err >&5
11060 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 - (exit $ac_status); } &&
11062 - { ac_try='test -z "$ac_f77_werror_flag"
11063 - || test ! -s conftest.err'
11064 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 - (eval $ac_try) 2>&5
11067 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 - (exit $ac_status); }; } &&
11069 - { ac_try='test -s conftest.$ac_objext'
11070 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 - (eval $ac_try) 2>&5
11073 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 - (exit $ac_status); }; }; then
11075 - ac_compiler_gnu=yes
11077 - echo "$as_me: failed program was:" >&5
11078 -sed 's/^/| /' conftest.$ac_ext >&5
11080 -ac_compiler_gnu=no
11082 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11083 -ac_cv_f77_compiler_gnu=$ac_compiler_gnu
11086 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
11087 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
11088 -ac_ext=$ac_save_ext
11089 -ac_test_FFLAGS=${FFLAGS+set}
11090 -ac_save_FFLAGS=$FFLAGS
11092 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
11093 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
11094 -if test "${ac_cv_prog_f77_g+set}" = set; then
11095 - echo $ECHO_N "(cached) $ECHO_C" >&6
11098 -cat >conftest.$ac_ext <<_ACEOF
11103 -rm -f conftest.$ac_objext
11104 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11105 - (eval $ac_compile) 2>conftest.er1
11107 - grep -v '^ *+' conftest.er1 >conftest.err
11108 - rm -f conftest.er1
11109 - cat conftest.err >&5
11110 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 - (exit $ac_status); } &&
11112 - { ac_try='test -z "$ac_f77_werror_flag"
11113 - || test ! -s conftest.err'
11114 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11115 - (eval $ac_try) 2>&5
11117 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 - (exit $ac_status); }; } &&
11119 - { ac_try='test -s conftest.$ac_objext'
11120 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121 - (eval $ac_try) 2>&5
11123 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 - (exit $ac_status); }; }; then
11125 - ac_cv_prog_f77_g=yes
11127 - echo "$as_me: failed program was:" >&5
11128 -sed 's/^/| /' conftest.$ac_ext >&5
11130 -ac_cv_prog_f77_g=no
11132 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11135 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
11136 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
11137 -if test "$ac_test_FFLAGS" = set; then
11138 - FFLAGS=$ac_save_FFLAGS
11139 -elif test $ac_cv_prog_f77_g = yes; then
11140 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11146 - if test "x$ac_cv_f77_compiler_gnu" = xyes; then
11153 -G77=`test $ac_compiler_gnu = yes && echo yes`
11155 -ac_cpp='$CPP $CPPFLAGS'
11156 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11157 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11158 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11162 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
11164 -# find the maximum length of command line arguments
11165 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
11166 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
11167 -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
11168 - echo $ECHO_N "(cached) $ECHO_C" >&6
11171 - teststring="ABCD"
11173 - case $build_os in
11175 - # On DJGPP, this test can blow up pretty badly due to problems in libc
11176 - # (any single argument exceeding 2000 bytes causes a buffer overrun
11177 - # during glob expansion). Even if it were fixed, the result of this
11178 - # check would be larger than it should be.
11179 - lt_cv_sys_max_cmd_len=12288; # 12K is about right
11183 - # Under GNU Hurd, this test is not required because there is
11184 - # no limit to the length of command line arguments.
11185 - # Libtool will interpret -1 as no limit whatsoever
11186 - lt_cv_sys_max_cmd_len=-1;
11189 - cygwin* | mingw*)
11190 - # On Win9x/ME, this test blows up -- it succeeds, but takes
11191 - # about 5 minutes as the teststring grows exponentially.
11192 - # Worse, since 9x/ME are not pre-emptively multitasking,
11193 - # you end up with a "frozen" computer, even though with patience
11194 - # the test eventually succeeds (with a max line length of 256k).
11195 - # Instead, let's just punt: use the minimum linelength reported by
11196 - # all of the supported platforms: 8192 (on NT/2K/XP).
11197 - lt_cv_sys_max_cmd_len=8192;
11201 - # On AmigaOS with pdksh, this test takes hours, literally.
11202 - # So we just punt and use a minimum line length of 8192.
11203 - lt_cv_sys_max_cmd_len=8192;
11206 - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
11207 - # This has been around since 386BSD, at least. Likely further.
11208 - if test -x /sbin/sysctl; then
11209 - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
11210 - elif test -x /usr/sbin/sysctl; then
11211 - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
11213 - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
11215 - # And add a safety zone
11216 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
11217 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
11220 - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
11221 - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
11222 - # nice to cause kernel panics so lets avoid the loop below.
11223 - # First set a reasonable default.
11224 - lt_cv_sys_max_cmd_len=16384
11226 - if test -x /sbin/sysconfig; then
11227 - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
11228 - *1*) lt_cv_sys_max_cmd_len=-1 ;;
11233 - # If test is not a shell built-in, we'll probably end up computing a
11234 - # maximum length that is only half of the actual maximum length, but
11236 - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
11237 - while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
11238 - = "XX$teststring") >/dev/null 2>&1 &&
11239 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
11240 - lt_cv_sys_max_cmd_len=$new_result &&
11241 - test $i != 17 # 1/2 MB should be enough
11244 - teststring=$teststring$teststring
11247 - # Add a significant safety factor because C++ compilers can tack on massive
11248 - # amounts of additional arguments before passing them to the linker.
11249 - # It appears as though 1/2 is a usable value.
11250 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
11256 -if test -n $lt_cv_sys_max_cmd_len ; then
11257 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
11258 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
11260 - echo "$as_me:$LINENO: result: none" >&5
11261 -echo "${ECHO_T}none" >&6
11267 -# Check for command to grab the raw symbol name followed by C symbol from nm.
11268 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
11269 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
11270 -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
11271 - echo $ECHO_N "(cached) $ECHO_C" >&6
11274 -# These are sane defaults that work on at least a few old systems.
11275 -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
11277 -# Character class describing NM global symbol codes.
11278 -symcode='[BCDEGRST]'
11280 -# Regexp to match symbols that can be accessed directly from C.
11281 -sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
11283 -# Transform an extracted symbol line into a proper C declaration
11284 -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
11286 -# Transform an extracted symbol line into symbol name and symbol address
11287 -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'"
11289 -# Define system-specific variables.
11294 -cygwin* | mingw* | pw32*)
11295 - symcode='[ABCDGISTW]'
11297 -hpux*) # Its linker distinguishes data from code symbols
11298 - if test "$host_cpu" = ia64; then
11299 - symcode='[ABCDEGRST]'
11301 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11302 - 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'"
11305 - if test "$host_cpu" = ia64; then
11306 - symcode='[ABCDGIRSTW]'
11307 - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11308 - 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'"
11311 -irix* | nonstopux*)
11312 - symcode='[BCDEGRST]'
11315 - symcode='[BCDEGQRST]'
11317 -solaris* | sysv5*)
11321 - symcode='[DFNSTU]'
11325 -# Handle CRLF in mingw tool chain
11329 - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
11333 -# If we're using GNU nm, then use its standard symbol codes.
11334 -case `$NM -V 2>&1` in
11335 -*GNU* | *'with BFD'*)
11336 - symcode='[ABCDGIRSTW]' ;;
11339 -# Try without a prefix undercore, then with it.
11340 -for ac_symprfx in "" "_"; do
11342 - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
11343 - symxfrm="\\1 $ac_symprfx\\2 \\2"
11345 - # Write the raw and C identifiers.
11346 - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
11348 - # Check to see that the pipe works correctly.
11352 - cat > conftest.$ac_ext <<EOF
11353 -#ifdef __cplusplus
11357 -void nm_test_func(){}
11358 -#ifdef __cplusplus
11361 -int main(){nm_test_var='a';nm_test_func();return(0);}
11364 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11365 - (eval $ac_compile) 2>&5
11367 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 - (exit $ac_status); }; then
11369 - # Now try to grab the symbols.
11370 - nlist=conftest.nm
11371 - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
11372 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
11374 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 - (exit $ac_status); } && test -s "$nlist"; then
11376 - # Try sorting and uniquifying the output.
11377 - if sort "$nlist" | uniq > "$nlist"T; then
11378 - mv -f "$nlist"T "$nlist"
11383 - # Make sure that we snagged all the symbols we need.
11384 - if grep ' nm_test_var$' "$nlist" >/dev/null; then
11385 - if grep ' nm_test_func$' "$nlist" >/dev/null; then
11386 - cat <<EOF > conftest.$ac_ext
11387 -#ifdef __cplusplus
11392 - # Now generate the symbol file.
11393 - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
11395 - cat <<EOF >> conftest.$ac_ext
11396 -#if defined (__STDC__) && __STDC__
11397 -# define lt_ptr_t void *
11399 -# define lt_ptr_t char *
11403 -/* The mapping between symbol names and symbols. */
11405 - const char *name;
11406 - lt_ptr_t address;
11408 -lt_preloaded_symbols[] =
11411 - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
11412 - cat <<\EOF >> conftest.$ac_ext
11413 - {0, (lt_ptr_t) 0}
11416 -#ifdef __cplusplus
11420 - # Now try linking the two files.
11421 - mv conftest.$ac_objext conftstm.$ac_objext
11422 - lt_save_LIBS="$LIBS"
11423 - lt_save_CFLAGS="$CFLAGS"
11424 - LIBS="conftstm.$ac_objext"
11425 - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11426 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11427 - (eval $ac_link) 2>&5
11429 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11430 - (exit $ac_status); } && test -s conftest${ac_exeext}; then
11433 - LIBS="$lt_save_LIBS"
11434 - CFLAGS="$lt_save_CFLAGS"
11436 - echo "cannot find nm_test_func in $nlist" >&5
11439 - echo "cannot find nm_test_var in $nlist" >&5
11442 - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
11445 - echo "$progname: failed program was:" >&5
11446 - cat conftest.$ac_ext >&5
11448 - rm -f conftest* conftst*
11450 - # Do not use the global_symbol_pipe unless it works.
11451 - if test "$pipe_works" = yes; then
11454 - lt_cv_sys_global_symbol_pipe=
11460 -if test -z "$lt_cv_sys_global_symbol_pipe"; then
11461 - lt_cv_sys_global_symbol_to_cdecl=
11463 -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
11464 - echo "$as_me:$LINENO: result: failed" >&5
11465 -echo "${ECHO_T}failed" >&6
11467 - echo "$as_me:$LINENO: result: ok" >&5
11468 -echo "${ECHO_T}ok" >&6
11471 -echo "$as_me:$LINENO: checking for objdir" >&5
11472 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
11473 -if test "${lt_cv_objdir+set}" = set; then
11474 - echo $ECHO_N "(cached) $ECHO_C" >&6
11476 - rm -f .libs 2>/dev/null
11477 -mkdir .libs 2>/dev/null
11478 -if test -d .libs; then
11479 - lt_cv_objdir=.libs
11481 - # MS-DOS does not allow filenames that begin with a dot.
11482 - lt_cv_objdir=_libs
11484 -rmdir .libs 2>/dev/null
11486 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
11487 -echo "${ECHO_T}$lt_cv_objdir" >&6
11488 -objdir=$lt_cv_objdir
11496 - # AIX sometimes has problems with the GCC collect2 program. For some
11497 - # reason, if we set the COLLECT_NAMES environment variable, the problems
11498 - # vanish in a puff of smoke.
11499 - if test "X${COLLECT_NAMES+set}" != Xset; then
11501 - export COLLECT_NAMES
11506 -# Sed substitution that helps us do robust quoting. It backslashifies
11507 -# metacharacters that are still active within double-quoted strings.
11508 -Xsed='sed -e 1s/^X//'
11509 -sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
11511 -# Same as above, but do not quote variable references.
11512 -double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
11514 -# Sed substitution to delay expansion of an escaped shell variable in a
11515 -# double_quote_subst'ed string.
11516 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
11518 -# Sed substitution to avoid accidental globbing in evaled expressions
11519 -no_glob_subst='s/\*/\\\*/g'
11524 -# Global variables:
11525 -default_ofile=libtool
11526 -can_build_shared=yes
11528 -# All known linkers require a `.a' archive for static linking (except MSVC,
11529 -# which needs '.lib').
11531 -ltmain="$ac_aux_dir/ltmain.sh"
11532 -ofile="$default_ofile"
11533 -with_gnu_ld="$lt_cv_prog_gnu_ld"
11535 -if test -n "$ac_tool_prefix"; then
11536 - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11537 -set dummy ${ac_tool_prefix}ar; ac_word=$2
11538 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11539 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11540 -if test "${ac_cv_prog_AR+set}" = set; then
11541 - echo $ECHO_N "(cached) $ECHO_C" >&6
11543 - if test -n "$AR"; then
11544 - ac_cv_prog_AR="$AR" # Let the user override the test.
11546 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11547 -for as_dir in $PATH
11550 - test -z "$as_dir" && as_dir=.
11551 - for ac_exec_ext in '' $ac_executable_extensions; do
11552 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11553 - ac_cv_prog_AR="${ac_tool_prefix}ar"
11554 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11563 -if test -n "$AR"; then
11564 - echo "$as_me:$LINENO: result: $AR" >&5
11565 -echo "${ECHO_T}$AR" >&6
11567 - echo "$as_me:$LINENO: result: no" >&5
11568 -echo "${ECHO_T}no" >&6
11572 -if test -z "$ac_cv_prog_AR"; then
11574 - # Extract the first word of "ar", so it can be a program name with args.
11575 -set dummy ar; ac_word=$2
11576 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11577 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11578 -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
11579 - echo $ECHO_N "(cached) $ECHO_C" >&6
11581 - if test -n "$ac_ct_AR"; then
11582 - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
11584 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11585 -for as_dir in $PATH
11588 - test -z "$as_dir" && as_dir=.
11589 - for ac_exec_ext in '' $ac_executable_extensions; do
11590 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11591 - ac_cv_prog_ac_ct_AR="ar"
11592 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11598 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
11601 -ac_ct_AR=$ac_cv_prog_ac_ct_AR
11602 -if test -n "$ac_ct_AR"; then
11603 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
11604 -echo "${ECHO_T}$ac_ct_AR" >&6
11606 - echo "$as_me:$LINENO: result: no" >&5
11607 -echo "${ECHO_T}no" >&6
11612 - AR="$ac_cv_prog_AR"
11615 -if test -n "$ac_tool_prefix"; then
11616 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11617 -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11618 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11619 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11620 -if test "${ac_cv_prog_RANLIB+set}" = set; then
11621 - echo $ECHO_N "(cached) $ECHO_C" >&6
11623 - if test -n "$RANLIB"; then
11624 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11626 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11627 -for as_dir in $PATH
11630 - test -z "$as_dir" && as_dir=.
11631 - for ac_exec_ext in '' $ac_executable_extensions; do
11632 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11633 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11634 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11642 -RANLIB=$ac_cv_prog_RANLIB
11643 -if test -n "$RANLIB"; then
11644 - echo "$as_me:$LINENO: result: $RANLIB" >&5
11645 -echo "${ECHO_T}$RANLIB" >&6
11647 - echo "$as_me:$LINENO: result: no" >&5
11648 -echo "${ECHO_T}no" >&6
11652 -if test -z "$ac_cv_prog_RANLIB"; then
11653 - ac_ct_RANLIB=$RANLIB
11654 - # Extract the first word of "ranlib", so it can be a program name with args.
11655 -set dummy ranlib; ac_word=$2
11656 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11657 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11658 -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11659 - echo $ECHO_N "(cached) $ECHO_C" >&6
11661 - if test -n "$ac_ct_RANLIB"; then
11662 - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11664 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11665 -for as_dir in $PATH
11668 - test -z "$as_dir" && as_dir=.
11669 - for ac_exec_ext in '' $ac_executable_extensions; do
11670 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11671 - ac_cv_prog_ac_ct_RANLIB="ranlib"
11672 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11678 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11681 -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11682 -if test -n "$ac_ct_RANLIB"; then
11683 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11684 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
11686 - echo "$as_me:$LINENO: result: no" >&5
11687 -echo "${ECHO_T}no" >&6
11690 - RANLIB=$ac_ct_RANLIB
11692 - RANLIB="$ac_cv_prog_RANLIB"
11695 -if test -n "$ac_tool_prefix"; then
11696 - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11697 -set dummy ${ac_tool_prefix}strip; ac_word=$2
11698 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11699 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11700 -if test "${ac_cv_prog_STRIP+set}" = set; then
11701 - echo $ECHO_N "(cached) $ECHO_C" >&6
11703 - if test -n "$STRIP"; then
11704 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11706 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11707 -for as_dir in $PATH
11710 - test -z "$as_dir" && as_dir=.
11711 - for ac_exec_ext in '' $ac_executable_extensions; do
11712 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11713 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11714 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11722 -STRIP=$ac_cv_prog_STRIP
11723 -if test -n "$STRIP"; then
11724 - echo "$as_me:$LINENO: result: $STRIP" >&5
11725 -echo "${ECHO_T}$STRIP" >&6
11727 - echo "$as_me:$LINENO: result: no" >&5
11728 -echo "${ECHO_T}no" >&6
11732 -if test -z "$ac_cv_prog_STRIP"; then
11733 - ac_ct_STRIP=$STRIP
11734 - # Extract the first word of "strip", so it can be a program name with args.
11735 -set dummy strip; ac_word=$2
11736 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11737 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11738 -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11739 - echo $ECHO_N "(cached) $ECHO_C" >&6
11741 - if test -n "$ac_ct_STRIP"; then
11742 - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11744 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11745 -for as_dir in $PATH
11748 - test -z "$as_dir" && as_dir=.
11749 - for ac_exec_ext in '' $ac_executable_extensions; do
11750 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11751 - ac_cv_prog_ac_ct_STRIP="strip"
11752 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11758 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
11761 -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11762 -if test -n "$ac_ct_STRIP"; then
11763 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11764 -echo "${ECHO_T}$ac_ct_STRIP" >&6
11766 - echo "$as_me:$LINENO: result: no" >&5
11767 -echo "${ECHO_T}no" >&6
11770 - STRIP=$ac_ct_STRIP
11772 - STRIP="$ac_cv_prog_STRIP"
11777 -old_CFLAGS="$CFLAGS"
11779 -# Set sane defaults for various variables
11780 -test -z "$AR" && AR=ar
11781 -test -z "$AR_FLAGS" && AR_FLAGS=cru
11782 -test -z "$AS" && AS=as
11783 -test -z "$CC" && CC=cc
11784 -test -z "$LTCC" && LTCC=$CC
11785 -test -z "$DLLTOOL" && DLLTOOL=dlltool
11786 -test -z "$LD" && LD=ld
11787 -test -z "$LN_S" && LN_S="ln -s"
11788 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
11789 -test -z "$NM" && NM=nm
11790 -test -z "$SED" && SED=sed
11791 -test -z "$OBJDUMP" && OBJDUMP=objdump
11792 -test -z "$RANLIB" && RANLIB=:
11793 -test -z "$STRIP" && STRIP=:
11794 -test -z "$ac_objext" && ac_objext=o
11796 -# Determine commands to create old-style static archives.
11797 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
11798 -old_postinstall_cmds='chmod 644 $oldlib'
11799 -old_postuninstall_cmds=
11801 -if test -n "$RANLIB"; then
11804 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
11807 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
11810 - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
11813 -for cc_temp in $compiler""; do
11815 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11816 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11821 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11824 -# Only perform the check for file, if the check method requires it
11825 -case $deplibs_check_method in
11827 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11828 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11829 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
11830 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11831 - echo $ECHO_N "(cached) $ECHO_C" >&6
11833 - case $MAGIC_CMD in
11834 -[\\/*] | ?:[\\/]*)
11835 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11838 - lt_save_MAGIC_CMD="$MAGIC_CMD"
11839 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11840 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11841 - for ac_dir in $ac_dummy; do
11842 - IFS="$lt_save_ifs"
11843 - test -z "$ac_dir" && ac_dir=.
11844 - if test -f $ac_dir/${ac_tool_prefix}file; then
11845 - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11846 - if test -n "$file_magic_test_file"; then
11847 - case $deplibs_check_method in
11849 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11850 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11851 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11852 - $EGREP "$file_magic_regex" > /dev/null; then
11857 -*** Warning: the command libtool uses to detect shared libraries,
11858 -*** $file_magic_cmd, produces output that libtool cannot recognize.
11859 -*** The result is that libtool may fail to recognize shared libraries
11860 -*** as such. This will affect the creation of libtool libraries that
11861 -*** depend on shared libraries, but programs linked with such libtool
11862 -*** libraries will work regardless of this problem. Nevertheless, you
11863 -*** may want to report the problem to your system manager and/or to
11864 -*** bug-libtool@gnu.org
11873 - IFS="$lt_save_ifs"
11874 - MAGIC_CMD="$lt_save_MAGIC_CMD"
11879 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11880 -if test -n "$MAGIC_CMD"; then
11881 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11882 -echo "${ECHO_T}$MAGIC_CMD" >&6
11884 - echo "$as_me:$LINENO: result: no" >&5
11885 -echo "${ECHO_T}no" >&6
11888 -if test -z "$lt_cv_path_MAGIC_CMD"; then
11889 - if test -n "$ac_tool_prefix"; then
11890 - echo "$as_me:$LINENO: checking for file" >&5
11891 -echo $ECHO_N "checking for file... $ECHO_C" >&6
11892 -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11893 - echo $ECHO_N "(cached) $ECHO_C" >&6
11895 - case $MAGIC_CMD in
11896 -[\\/*] | ?:[\\/]*)
11897 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11900 - lt_save_MAGIC_CMD="$MAGIC_CMD"
11901 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11902 - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11903 - for ac_dir in $ac_dummy; do
11904 - IFS="$lt_save_ifs"
11905 - test -z "$ac_dir" && ac_dir=.
11906 - if test -f $ac_dir/file; then
11907 - lt_cv_path_MAGIC_CMD="$ac_dir/file"
11908 - if test -n "$file_magic_test_file"; then
11909 - case $deplibs_check_method in
11911 - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11912 - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11913 - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11914 - $EGREP "$file_magic_regex" > /dev/null; then
11919 -*** Warning: the command libtool uses to detect shared libraries,
11920 -*** $file_magic_cmd, produces output that libtool cannot recognize.
11921 -*** The result is that libtool may fail to recognize shared libraries
11922 -*** as such. This will affect the creation of libtool libraries that
11923 -*** depend on shared libraries, but programs linked with such libtool
11924 -*** libraries will work regardless of this problem. Nevertheless, you
11925 -*** may want to report the problem to your system manager and/or to
11926 -*** bug-libtool@gnu.org
11935 - IFS="$lt_save_ifs"
11936 - MAGIC_CMD="$lt_save_MAGIC_CMD"
11941 -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11942 -if test -n "$MAGIC_CMD"; then
11943 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11944 -echo "${ECHO_T}$MAGIC_CMD" >&6
11946 - echo "$as_me:$LINENO: result: no" >&5
11947 -echo "${ECHO_T}no" >&6
11960 -enable_win32_dll=no
11962 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
11963 -if test "${enable_libtool_lock+set}" = set; then
11964 - enableval="$enable_libtool_lock"
11967 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
11970 -# Check whether --with-pic or --without-pic was given.
11971 -if test "${with_pic+set}" = set; then
11972 - withval="$with_pic"
11973 - pic_mode="$withval"
11977 -test -z "$pic_mode" && pic_mode=default
11979 -# Use C for the default configuration in the libtool script
11983 -ac_cpp='$CPP $CPPFLAGS'
11984 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
11989 -# Source file extension for C test sources.
11992 -# Object file extension for compiled C test sources.
11996 -# Code to be used in simple compile tests
11997 -lt_simple_compile_test_code="int some_variable = 0;\n"
11999 -# Code to be used in simple link tests
12000 -lt_simple_link_test_code='int main(){return(0);}\n'
12003 -# If no C compiler was specified, use CC.
12004 -LTCC=${LTCC-"$CC"}
12006 -# Allow CC to be a program name with arguments.
12010 -# save warnings/boilerplate of simple test code
12011 -ac_outfile=conftest.$ac_objext
12012 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
12013 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
12014 -_lt_compiler_boilerplate=`cat conftest.err`
12017 -ac_outfile=conftest.$ac_objext
12018 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
12019 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
12020 -_lt_linker_boilerplate=`cat conftest.err`
12025 -# Check for any special shared library compilation flags.
12028 -if test "$GCC" = no; then
12031 - lt_prog_cc_shlib='-belf'
12035 -if test -n "$lt_prog_cc_shlib"; then
12036 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
12037 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
12038 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
12040 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
12041 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
12042 - lt_cv_prog_cc_can_build_shared=no
12048 -# Check to make sure the static flag actually works.
12050 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
12051 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
12052 -if test "${lt_prog_compiler_static_works+set}" = set; then
12053 - echo $ECHO_N "(cached) $ECHO_C" >&6
12055 - lt_prog_compiler_static_works=no
12056 - save_LDFLAGS="$LDFLAGS"
12057 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
12058 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
12059 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12060 - # The linker can only warn and ignore the option if not recognized
12061 - # So say no if there are warnings
12062 - if test -s conftest.err; then
12063 - # Append any errors to the config.log.
12064 - cat conftest.err 1>&5
12065 - $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
12066 - $SED '/^$/d' conftest.err >conftest.er2
12067 - if diff conftest.exp conftest.er2 >/dev/null; then
12068 - lt_prog_compiler_static_works=yes
12071 - lt_prog_compiler_static_works=yes
12075 - LDFLAGS="$save_LDFLAGS"
12078 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
12079 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
12081 -if test x"$lt_prog_compiler_static_works" = xyes; then
12084 - lt_prog_compiler_static=
12090 -lt_prog_compiler_no_builtin_flag=
12092 -if test "$GCC" = yes; then
12093 - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
12096 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12097 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
12098 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
12099 - echo $ECHO_N "(cached) $ECHO_C" >&6
12101 - lt_cv_prog_compiler_rtti_exceptions=no
12102 - ac_outfile=conftest.$ac_objext
12103 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12104 - lt_compiler_flag="-fno-rtti -fno-exceptions"
12105 - # Insert the option either (1) after the last *FLAGS variable, or
12106 - # (2) before a word containing "conftest.", or (3) at the end.
12107 - # Note that $ac_compile itself does not contain backslashes and begins
12108 - # with a dollar sign (not a hyphen), so the echo should work correctly.
12109 - # The option is referenced via a variable to avoid confusing sed.
12110 - lt_compile=`echo "$ac_compile" | $SED \
12111 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12112 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12113 - -e 's:$: $lt_compiler_flag:'`
12114 - (eval echo "\"\$as_me:6281: $lt_compile\"" >&5)
12115 - (eval "$lt_compile" 2>conftest.err)
12117 - cat conftest.err >&5
12118 - echo "$as_me:6285: \$? = $ac_status" >&5
12119 - if (exit $ac_status) && test -s "$ac_outfile"; then
12120 - # The compiler can only warn and ignore the option if not recognized
12121 - # So say no if there are warnings other than the usual output.
12122 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
12123 - $SED '/^$/d' conftest.err >conftest.er2
12124 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
12125 - lt_cv_prog_compiler_rtti_exceptions=yes
12131 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12132 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
12134 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12135 - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12142 -lt_prog_compiler_wl=
12143 -lt_prog_compiler_pic=
12144 -lt_prog_compiler_static=
12146 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12147 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12149 - if test "$GCC" = yes; then
12150 - lt_prog_compiler_wl='-Wl,'
12151 - lt_prog_compiler_static='-static'
12155 - # All AIX code is PIC.
12156 - if test "$host_cpu" = ia64; then
12157 - # AIX 5 now supports IA64 processor
12158 - lt_prog_compiler_static='-Bstatic'
12163 - # FIXME: we need at least 68020 code to build shared libraries, but
12164 - # adding the `-m68020' flag to GCC prevents building anything better,
12165 - # like `-m68040'.
12166 - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12169 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12170 - # PIC is the default for these OSes.
12173 - mingw* | pw32* | os2*)
12174 - # This hack is so that the source file can tell whether it is being
12175 - # built for inclusion in a dll (and should export symbols for example).
12176 - lt_prog_compiler_pic='-DDLL_EXPORT'
12179 - darwin* | rhapsody*)
12180 - # PIC is the default on this platform
12181 - # Common symbols not allowed in MH_DYLIB files
12182 - lt_prog_compiler_pic='-fno-common'
12186 - # Just because we use GCC doesn't mean we suddenly get shared libraries
12187 - # on systems that don't support them.
12188 - lt_prog_compiler_can_build_shared=no
12193 - if test -d /usr/nec; then
12194 - lt_prog_compiler_pic=-Kconform_pic
12199 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12200 - # not for PA HP-UX.
12201 - case $host_cpu in
12206 - lt_prog_compiler_pic='-fPIC'
12212 - lt_prog_compiler_pic='-fPIC'
12216 - # PORTME Check for flag to pass linker flags through the system compiler.
12219 - lt_prog_compiler_wl='-Wl,'
12220 - if test "$host_cpu" = ia64; then
12221 - # AIX 5 now supports IA64 processor
12222 - lt_prog_compiler_static='-Bstatic'
12224 - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12228 - # PIC is the default on this platform
12229 - # Common symbols not allowed in MH_DYLIB files
12230 - case $cc_basename in
12232 - lt_prog_compiler_pic='-qnocommon'
12233 - lt_prog_compiler_wl='-Wl,'
12238 - mingw* | pw32* | os2*)
12239 - # This hack is so that the source file can tell whether it is being
12240 - # built for inclusion in a dll (and should export symbols for example).
12241 - lt_prog_compiler_pic='-DDLL_EXPORT'
12244 - hpux9* | hpux10* | hpux11*)
12245 - lt_prog_compiler_wl='-Wl,'
12246 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12247 - # not for PA HP-UX.
12248 - case $host_cpu in
12253 - lt_prog_compiler_pic='+Z'
12256 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
12257 - lt_prog_compiler_static='${wl}-a ${wl}archive'
12260 - irix5* | irix6* | nonstopux*)
12261 - lt_prog_compiler_wl='-Wl,'
12262 - # PIC (with -KPIC) is the default.
12263 - lt_prog_compiler_static='-non_shared'
12267 - lt_prog_compiler_pic='-KPIC'
12268 - lt_prog_compiler_static='-Bstatic'
12272 - case $cc_basename in
12274 - lt_prog_compiler_wl='-Wl,'
12275 - lt_prog_compiler_pic='-KPIC'
12276 - lt_prog_compiler_static='-static'
12278 - pgcc* | pgf77* | pgf90* | pgf95*)
12279 - # Portland Group compilers (*not* the Pentium gcc compiler,
12280 - # which looks to be a dead project)
12281 - lt_prog_compiler_wl='-Wl,'
12282 - lt_prog_compiler_pic='-fpic'
12283 - lt_prog_compiler_static='-Bstatic'
12286 - lt_prog_compiler_wl='-Wl,'
12287 - # All Alpha code is PIC.
12288 - lt_prog_compiler_static='-non_shared'
12293 - osf3* | osf4* | osf5*)
12294 - lt_prog_compiler_wl='-Wl,'
12295 - # All OSF/1 code is PIC.
12296 - lt_prog_compiler_static='-non_shared'
12300 - lt_prog_compiler_pic='-Kpic'
12301 - lt_prog_compiler_static='-dn'
12305 - lt_prog_compiler_pic='-KPIC'
12306 - lt_prog_compiler_static='-Bstatic'
12307 - case $cc_basename in
12308 - f77* | f90* | f95*)
12309 - lt_prog_compiler_wl='-Qoption ld ';;
12311 - lt_prog_compiler_wl='-Wl,';;
12316 - lt_prog_compiler_wl='-Qoption ld '
12317 - lt_prog_compiler_pic='-PIC'
12318 - lt_prog_compiler_static='-Bstatic'
12321 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12322 - lt_prog_compiler_wl='-Wl,'
12323 - lt_prog_compiler_pic='-KPIC'
12324 - lt_prog_compiler_static='-Bstatic'
12328 - if test -d /usr/nec ;then
12329 - lt_prog_compiler_pic='-Kconform_pic'
12330 - lt_prog_compiler_static='-Bstatic'
12335 - lt_prog_compiler_wl='-Wl,'
12336 - lt_prog_compiler_can_build_shared=no
12340 - lt_prog_compiler_pic='-pic'
12341 - lt_prog_compiler_static='-Bstatic'
12345 - lt_prog_compiler_can_build_shared=no
12350 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
12351 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
12354 -# Check to make sure the PIC flag actually works.
12356 -if test -n "$lt_prog_compiler_pic"; then
12358 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12359 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
12360 -if test "${lt_prog_compiler_pic_works+set}" = set; then
12361 - echo $ECHO_N "(cached) $ECHO_C" >&6
12363 - lt_prog_compiler_pic_works=no
12364 - ac_outfile=conftest.$ac_objext
12365 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12366 - lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
12367 - # Insert the option either (1) after the last *FLAGS variable, or
12368 - # (2) before a word containing "conftest.", or (3) at the end.
12369 - # Note that $ac_compile itself does not contain backslashes and begins
12370 - # with a dollar sign (not a hyphen), so the echo should work correctly.
12371 - # The option is referenced via a variable to avoid confusing sed.
12372 - lt_compile=`echo "$ac_compile" | $SED \
12373 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12374 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12375 - -e 's:$: $lt_compiler_flag:'`
12376 - (eval echo "\"\$as_me:6543: $lt_compile\"" >&5)
12377 - (eval "$lt_compile" 2>conftest.err)
12379 - cat conftest.err >&5
12380 - echo "$as_me:6547: \$? = $ac_status" >&5
12381 - if (exit $ac_status) && test -s "$ac_outfile"; then
12382 - # The compiler can only warn and ignore the option if not recognized
12383 - # So say no if there are warnings other than the usual output.
12384 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
12385 - $SED '/^$/d' conftest.err >conftest.er2
12386 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
12387 - lt_prog_compiler_pic_works=yes
12393 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
12394 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
12396 -if test x"$lt_prog_compiler_pic_works" = xyes; then
12397 - case $lt_prog_compiler_pic in
12399 - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12402 - lt_prog_compiler_pic=
12403 - lt_prog_compiler_can_build_shared=no
12408 - # For platforms which do not support PIC, -DPIC is meaningless:
12410 - lt_prog_compiler_pic=
12413 - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12417 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12418 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12419 -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
12420 - echo $ECHO_N "(cached) $ECHO_C" >&6
12422 - lt_cv_prog_compiler_c_o=no
12423 - $rm -r conftest 2>/dev/null
12427 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12429 - lt_compiler_flag="-o out/conftest2.$ac_objext"
12430 - # Insert the option either (1) after the last *FLAGS variable, or
12431 - # (2) before a word containing "conftest.", or (3) at the end.
12432 - # Note that $ac_compile itself does not contain backslashes and begins
12433 - # with a dollar sign (not a hyphen), so the echo should work correctly.
12434 - lt_compile=`echo "$ac_compile" | $SED \
12435 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12436 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12437 - -e 's:$: $lt_compiler_flag:'`
12438 - (eval echo "\"\$as_me:6605: $lt_compile\"" >&5)
12439 - (eval "$lt_compile" 2>out/conftest.err)
12441 - cat out/conftest.err >&5
12442 - echo "$as_me:6609: \$? = $ac_status" >&5
12443 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
12445 - # The compiler can only warn and ignore the option if not recognized
12446 - # So say no if there are warnings
12447 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
12448 - $SED '/^$/d' out/conftest.err >out/conftest.er2
12449 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12450 - lt_cv_prog_compiler_c_o=yes
12455 - # SGI C++ compiler will create directory out/ii_files/ for
12456 - # template instantiation
12457 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12458 - $rm out/* && rmdir out
12464 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
12465 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
12468 -hard_links="nottested"
12469 -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
12470 - # do not overwrite the value of need_locks provided by the user
12471 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12472 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12475 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
12477 - ln conftest.a conftest.b 2>&5 || hard_links=no
12478 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
12479 - echo "$as_me:$LINENO: result: $hard_links" >&5
12480 -echo "${ECHO_T}$hard_links" >&6
12481 - if test "$hard_links" = no; then
12482 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12483 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12490 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12491 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12494 - allow_undefined_flag=
12495 - enable_shared_with_static_runtimes=no
12497 - archive_expsym_cmds=
12498 - old_archive_From_new_cmds=
12499 - old_archive_from_expsyms_cmds=
12500 - export_dynamic_flag_spec=
12501 - whole_archive_flag_spec=
12502 - thread_safe_flag_spec=
12503 - hardcode_libdir_flag_spec=
12504 - hardcode_libdir_flag_spec_ld=
12505 - hardcode_libdir_separator=
12506 - hardcode_direct=no
12507 - hardcode_minus_L=no
12508 - hardcode_shlibpath_var=unsupported
12509 - link_all_deplibs=unknown
12510 - hardcode_automatic=no
12512 - module_expsym_cmds=
12513 - always_export_symbols=no
12514 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12515 - # include_expsyms should be a list of space-separated symbols to be *always*
12516 - # included in the symbol list
12518 - # exclude_expsyms can be an extended regexp of symbols to exclude
12519 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
12520 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12521 - # as well as any symbol that contains `d'.
12522 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
12523 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12524 - # platforms (ab)use it in PIC code, but their linkers get confused if
12525 - # the symbol is explicitly referenced. Since portable code cannot
12526 - # rely on this symbol name, it's probably fine to never include it in
12527 - # preloaded symbol tables.
12528 - extract_expsyms_cmds=
12529 - # Just being paranoid about ensuring that cc_basename is set.
12530 - for cc_temp in $compiler""; do
12532 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12533 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12538 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12541 - cygwin* | mingw* | pw32*)
12542 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
12543 - # When not using gcc, we currently assume that we are using
12544 - # Microsoft Visual C++.
12545 - if test "$GCC" != yes; then
12555 - if test "$with_gnu_ld" = yes; then
12556 - # If archive_cmds runs LD, not CC, wlarc should be empty
12559 - # Set some defaults for GNU ld with shared library support. These
12560 - # are reset later if shared libraries are not supported. Putting them
12561 - # here allows them to be overridden if necessary.
12562 - runpath_var=LD_RUN_PATH
12563 - hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
12564 - export_dynamic_flag_spec='${wl}--export-dynamic'
12565 - # ancient GNU ld didn't support --whole-archive et. al.
12566 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
12567 - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12569 - whole_archive_flag_spec=
12571 - supports_anon_versioning=no
12572 - case `$LD -v 2>/dev/null` in
12573 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12574 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12575 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12576 - *\ 2.11.*) ;; # other 2.11 versions
12577 - *) supports_anon_versioning=yes ;;
12580 - # See if GNU ld supports shared libraries.
12582 - aix3* | aix4* | aix5*)
12583 - # On AIX/PPC, the GNU linker is very broken
12584 - if test "$host_cpu" != ia64; then
12588 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
12589 -*** to be unable to reliably create shared libraries on AIX.
12590 -*** Therefore, libtool is disabling shared libraries support. If you
12591 -*** really care for shared libraries, you may want to modify your PATH
12592 -*** so that a non-GNU linker is found, and then restart.
12599 - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12600 - hardcode_libdir_flag_spec='-L$libdir'
12601 - hardcode_minus_L=yes
12603 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
12604 - # that the semantics of dynamic libraries on AmigaOS, at least up
12605 - # to version 4, is to share data among multiple programs linked
12606 - # with the same dynamic library. Since this doesn't match the
12607 - # behavior of shared libraries on other platforms, we can't use
12613 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12614 - allow_undefined_flag=unsupported
12615 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12616 - # support --undefined. This deserves some investigation. FIXME
12617 - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12623 - cygwin* | mingw* | pw32*)
12624 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12625 - # as there is no search path for DLLs.
12626 - hardcode_libdir_flag_spec='-L$libdir'
12627 - allow_undefined_flag=unsupported
12628 - always_export_symbols=no
12629 - enable_shared_with_static_runtimes=yes
12630 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12632 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12633 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12634 - # If the export-symbols file already is a .def file (1st line
12635 - # is EXPORTS), use it as is; otherwise, prepend...
12636 - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12637 - cp $export_symbols $output_objdir/$soname.def;
12639 - echo EXPORTS > $output_objdir/$soname.def;
12640 - cat $export_symbols >> $output_objdir/$soname.def;
12642 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12649 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12651 - case $cc_basename,$host_cpu in
12652 - pgcc*) # Portland Group C compiler
12653 - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12654 - tmp_addflag=' $pic_flag'
12656 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
12657 - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12658 - tmp_addflag=' $pic_flag -Mnomain' ;;
12659 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12660 - tmp_addflag=' -i_dynamic' ;;
12661 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12662 - tmp_addflag=' -i_dynamic -nofor_main' ;;
12663 - ifc* | ifort*) # Intel Fortran compiler
12664 - tmp_addflag=' -nofor_main' ;;
12666 - archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12668 - if test $supports_anon_versioning = yes; then
12669 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
12670 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12671 - $echo "local: *; };" >> $output_objdir/$libname.ver~
12672 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12680 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12681 - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12684 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12685 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12689 - solaris* | sysv5*)
12690 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
12694 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
12695 -*** create shared libraries on Solaris systems. Therefore, libtool
12696 -*** is disabling shared libraries support. We urge you to upgrade GNU
12697 -*** binutils to release 2.9.1 or newer. Another option is to modify
12698 -*** your PATH or compiler configuration so that the native linker is
12699 -*** used, and then restart.
12702 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12703 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12704 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12711 - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12713 - hardcode_direct=yes
12714 - hardcode_shlibpath_var=no
12718 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12719 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12720 - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12727 - if test "$ld_shlibs" = no; then
12729 - hardcode_libdir_flag_spec=
12730 - export_dynamic_flag_spec=
12731 - whole_archive_flag_spec=
12734 - # PORTME fill in a description of your system's linker (not GNU ld)
12737 - allow_undefined_flag=unsupported
12738 - always_export_symbols=yes
12739 - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12740 - # Note: this linker hardcodes the directories in LIBPATH if there
12741 - # are no directories specified by -L.
12742 - hardcode_minus_L=yes
12743 - if test "$GCC" = yes && test -z "$link_static_flag"; then
12744 - # Neither direct hardcoding nor static linking is supported with a
12745 - # broken collect2.
12746 - hardcode_direct=unsupported
12751 - if test "$host_cpu" = ia64; then
12752 - # On IA64, the linker does run time linking by default, so we don't
12753 - # have to do anything special.
12754 - aix_use_runtimelinking=no
12755 - exp_sym_flag='-Bexport'
12758 - # If we're using GNU nm, then we don't want the "-C" option.
12759 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
12760 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12761 - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12763 - export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12765 - aix_use_runtimelinking=no
12767 - # Test if we are trying to use run time linking or normal
12768 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12769 - # need to do runtime linking.
12770 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12771 - for ld_flag in $LDFLAGS; do
12772 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12773 - aix_use_runtimelinking=yes
12779 - exp_sym_flag='-bexport'
12780 - no_entry_flag='-bnoentry'
12783 - # When large executables or shared objects are built, AIX ld can
12784 - # have problems creating the table of contents. If linking a library
12785 - # or program results in "error TOC overflow" add -mminimal-toc to
12786 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12787 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12790 - hardcode_direct=yes
12791 - hardcode_libdir_separator=':'
12792 - link_all_deplibs=yes
12794 - if test "$GCC" = yes; then
12795 - case $host_os in aix4.[012]|aix4.[012].*)
12796 - # We only want to do this on AIX 4.2 and lower, the check
12797 - # below for broken collect2 doesn't work under 4.3+
12798 - collect2name=`${CC} -print-prog-name=collect2`
12799 - if test -f "$collect2name" && \
12800 - strings "$collect2name" | grep resolve_lib_name >/dev/null
12802 - # We have reworked collect2
12803 - hardcode_direct=yes
12805 - # We have old collect2
12806 - hardcode_direct=unsupported
12807 - # It fails to find uninstalled libraries when the uninstalled
12808 - # path is not listed in the libpath. Setting hardcode_minus_L
12809 - # to unsupported forces relinking
12810 - hardcode_minus_L=yes
12811 - hardcode_libdir_flag_spec='-L$libdir'
12812 - hardcode_libdir_separator=
12815 - shared_flag='-shared'
12816 - if test "$aix_use_runtimelinking" = yes; then
12817 - shared_flag="$shared_flag "'${wl}-G'
12821 - if test "$host_cpu" = ia64; then
12822 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12823 - # chokes on -Wl,-G. The following line is correct:
12826 - if test "$aix_use_runtimelinking" = yes; then
12827 - shared_flag='${wl}-G'
12829 - shared_flag='${wl}-bM:SRE'
12834 - # It seems that -bexpall does not export symbols beginning with
12835 - # underscore (_), so it is better to generate a list of symbols to export.
12836 - always_export_symbols=yes
12837 - if test "$aix_use_runtimelinking" = yes; then
12838 - # Warning - without using the other runtime loading flags (-brtl),
12839 - # -berok will link without error, but may produce a broken library.
12840 - allow_undefined_flag='-berok'
12841 - # Determine the default libpath from the value encoded in an empty executable.
12842 - cat >conftest.$ac_ext <<_ACEOF
12845 -cat confdefs.h >>conftest.$ac_ext
12846 -cat >>conftest.$ac_ext <<_ACEOF
12847 -/* end confdefs.h. */
12857 -rm -f conftest.$ac_objext conftest$ac_exeext
12858 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12859 - (eval $ac_link) 2>conftest.er1
12861 - grep -v '^ *+' conftest.er1 >conftest.err
12862 - rm -f conftest.er1
12863 - cat conftest.err >&5
12864 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 - (exit $ac_status); } &&
12866 - { ac_try='test -z "$ac_c_werror_flag"
12867 - || test ! -s conftest.err'
12868 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 - (eval $ac_try) 2>&5
12871 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 - (exit $ac_status); }; } &&
12873 - { ac_try='test -s conftest$ac_exeext'
12874 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12875 - (eval $ac_try) 2>&5
12877 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 - (exit $ac_status); }; }; then
12880 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12882 -# Check for a 64-bit object if we didn't find anything.
12883 -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; }
12886 - echo "$as_me: failed program was:" >&5
12887 -sed 's/^/| /' conftest.$ac_ext >&5
12890 -rm -f conftest.err conftest.$ac_objext \
12891 - conftest$ac_exeext conftest.$ac_ext
12892 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12894 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12895 - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12897 - if test "$host_cpu" = ia64; then
12898 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12899 - allow_undefined_flag="-z nodefs"
12900 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
12902 - # Determine the default libpath from the value encoded in an empty executable.
12903 - cat >conftest.$ac_ext <<_ACEOF
12906 -cat confdefs.h >>conftest.$ac_ext
12907 -cat >>conftest.$ac_ext <<_ACEOF
12908 -/* end confdefs.h. */
12918 -rm -f conftest.$ac_objext conftest$ac_exeext
12919 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12920 - (eval $ac_link) 2>conftest.er1
12922 - grep -v '^ *+' conftest.er1 >conftest.err
12923 - rm -f conftest.er1
12924 - cat conftest.err >&5
12925 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 - (exit $ac_status); } &&
12927 - { ac_try='test -z "$ac_c_werror_flag"
12928 - || test ! -s conftest.err'
12929 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 - (eval $ac_try) 2>&5
12932 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 - (exit $ac_status); }; } &&
12934 - { ac_try='test -s conftest$ac_exeext'
12935 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936 - (eval $ac_try) 2>&5
12938 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 - (exit $ac_status); }; }; then
12941 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12943 -# Check for a 64-bit object if we didn't find anything.
12944 -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; }
12947 - echo "$as_me: failed program was:" >&5
12948 -sed 's/^/| /' conftest.$ac_ext >&5
12951 -rm -f conftest.err conftest.$ac_objext \
12952 - conftest$ac_exeext conftest.$ac_ext
12953 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12955 - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12956 - # Warning - without using the other run time loading flags,
12957 - # -berok will link without error, but may produce a broken library.
12958 - no_undefined_flag=' ${wl}-bernotok'
12959 - allow_undefined_flag=' ${wl}-berok'
12960 - # -bexpall does not export symbols beginning with underscore (_)
12961 - always_export_symbols=yes
12962 - # Exported symbols can be pulled into shared objects from archives
12963 - whole_archive_flag_spec=' '
12964 - archive_cmds_need_lc=yes
12965 - # This is similar to how AIX traditionally builds its shared libraries.
12966 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12972 - archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12973 - hardcode_libdir_flag_spec='-L$libdir'
12974 - hardcode_minus_L=yes
12975 - # see comment about different semantics on the GNU ld section
12980 - export_dynamic_flag_spec=-rdynamic
12983 - cygwin* | mingw* | pw32*)
12984 - # When not using gcc, we currently assume that we are using
12985 - # Microsoft Visual C++.
12986 - # hardcode_libdir_flag_spec is actually meaningless, as there is
12987 - # no search path for DLLs.
12988 - hardcode_libdir_flag_spec=' '
12989 - allow_undefined_flag=unsupported
12990 - # Tell ltmain to make .lib files, not .a files.
12992 - # Tell ltmain to make .dll files, not .so files.
12993 - shrext_cmds=".dll"
12994 - # FIXME: Setting linknames here is a bad hack.
12995 - archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
12996 - # The linker will automatically build a .lib file if we build a DLL.
12997 - old_archive_From_new_cmds='true'
12998 - # FIXME: Should let the user specify the lib program.
12999 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
13000 - fix_srcfile_path='`cygpath -w "$srcfile"`'
13001 - enable_shared_with_static_runtimes=yes
13004 - darwin* | rhapsody*)
13006 - rhapsody* | darwin1.[012])
13007 - allow_undefined_flag='${wl}-undefined ${wl}suppress'
13009 - *) # Darwin 1.3 on
13010 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13011 - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13013 - case ${MACOSX_DEPLOYMENT_TARGET} in
13015 - allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
13018 - allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
13024 - archive_cmds_need_lc=no
13025 - hardcode_direct=no
13026 - hardcode_automatic=yes
13027 - hardcode_shlibpath_var=unsupported
13028 - whole_archive_flag_spec=''
13029 - link_all_deplibs=yes
13030 - if test "$GCC" = yes ; then
13031 - output_verbose_link_cmd='echo'
13032 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13033 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13034 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13035 - archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13036 - module_expsym_cmds='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}'
13038 - case $cc_basename in
13040 - output_verbose_link_cmd='echo'
13041 - archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
13042 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13043 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13044 - archive_expsym_cmds='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}'
13045 - module_expsym_cmds='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}'
13055 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13056 - hardcode_libdir_flag_spec='-L$libdir'
13057 - hardcode_shlibpath_var=no
13064 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13065 - # support. Future versions do this automatically, but an explicit c++rt0.o
13066 - # does not break anything, and helps significantly (at the cost of a little
13069 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13070 - hardcode_libdir_flag_spec='-R$libdir'
13071 - hardcode_direct=yes
13072 - hardcode_shlibpath_var=no
13075 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13077 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13078 - hardcode_direct=yes
13079 - hardcode_minus_L=yes
13080 - hardcode_shlibpath_var=no
13083 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13084 - freebsd* | kfreebsd*-gnu | dragonfly*)
13085 - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13086 - hardcode_libdir_flag_spec='-R$libdir'
13087 - hardcode_direct=yes
13088 - hardcode_shlibpath_var=no
13092 - if test "$GCC" = yes; then
13093 - archive_cmds='$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'
13095 - archive_cmds='$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'
13097 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13098 - hardcode_libdir_separator=:
13099 - hardcode_direct=yes
13101 - # hardcode_minus_L: Not really in the search PATH,
13102 - # but as the default location of the library.
13103 - hardcode_minus_L=yes
13104 - export_dynamic_flag_spec='${wl}-E'
13107 - hpux10* | hpux11*)
13108 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13109 - case $host_cpu in
13111 - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13114 - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13118 - case $host_cpu in
13120 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13123 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13127 - if test "$with_gnu_ld" = no; then
13128 - case $host_cpu in
13130 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13131 - hardcode_libdir_flag_spec_ld='+b $libdir'
13132 - hardcode_libdir_separator=:
13133 - hardcode_direct=no
13134 - hardcode_shlibpath_var=no
13137 - hardcode_libdir_flag_spec='-L$libdir'
13138 - hardcode_direct=no
13139 - hardcode_shlibpath_var=no
13141 - # hardcode_minus_L: Not really in the search PATH,
13142 - # but as the default location of the library.
13143 - hardcode_minus_L=yes
13146 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
13147 - hardcode_libdir_separator=:
13148 - hardcode_direct=yes
13149 - export_dynamic_flag_spec='${wl}-E'
13151 - # hardcode_minus_L: Not really in the search PATH,
13152 - # but as the default location of the library.
13153 - hardcode_minus_L=yes
13159 - irix5* | irix6* | nonstopux*)
13160 - if test "$GCC" = yes; then
13161 - 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'
13163 - 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'
13164 - hardcode_libdir_flag_spec_ld='-rpath $libdir'
13166 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13167 - hardcode_libdir_separator=:
13168 - link_all_deplibs=yes
13172 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13173 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13175 - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13177 - hardcode_libdir_flag_spec='-R$libdir'
13178 - hardcode_direct=yes
13179 - hardcode_shlibpath_var=no
13183 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13184 - hardcode_direct=yes
13185 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13186 - hardcode_libdir_separator=:
13187 - hardcode_shlibpath_var=no
13191 - hardcode_direct=yes
13192 - hardcode_shlibpath_var=no
13193 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13194 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13195 - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13196 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13197 - export_dynamic_flag_spec='${wl}-E'
13200 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13201 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13202 - hardcode_libdir_flag_spec='-R$libdir'
13205 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13206 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
13213 - hardcode_libdir_flag_spec='-L$libdir'
13214 - hardcode_minus_L=yes
13215 - allow_undefined_flag=unsupported
13216 - archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
13217 - old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13221 - if test "$GCC" = yes; then
13222 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13223 - archive_cmds='$CC -shared${allow_undefined_flag} $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'
13225 - allow_undefined_flag=' -expect_unresolved \*'
13226 - archive_cmds='$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'
13228 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13229 - hardcode_libdir_separator=:
13232 - osf4* | osf5*) # as osf3* with the addition of -msym flag
13233 - if test "$GCC" = yes; then
13234 - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
13235 - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${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'
13236 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
13238 - allow_undefined_flag=' -expect_unresolved \*'
13239 - archive_cmds='$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'
13240 - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
13241 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
13243 - # Both c and cxx compiler support -rpath directly
13244 - hardcode_libdir_flag_spec='-rpath $libdir'
13246 - hardcode_libdir_separator=:
13250 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13251 - hardcode_shlibpath_var=no
13252 - export_dynamic_flag_spec='${wl}-Bexport'
13253 - runpath_var=LD_RUN_PATH
13254 - hardcode_runpath_var=yes
13258 - no_undefined_flag=' -z text'
13259 - if test "$GCC" = yes; then
13261 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13262 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13263 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13266 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13267 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13268 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13270 - hardcode_libdir_flag_spec='-R$libdir'
13271 - hardcode_shlibpath_var=no
13273 - solaris2.[0-5] | solaris2.[0-5].*) ;;
13275 - # The compiler driver will combine linker options so we
13276 - # cannot just pass the convience library names through
13277 - # without $wl, iff we do not link with $LD.
13278 - # Luckily, gcc supports the same syntax we need for Sun Studio.
13279 - # Supported since Solaris 2.6 (maybe 2.5.1?)
13282 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
13284 - whole_archive_flag_spec='${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' ;;
13287 - link_all_deplibs=yes
13291 - if test "x$host_vendor" = xsequent; then
13292 - # Use $CC to link under sequent, because it throws in some extra .o
13293 - # files that make .init and .fini sections work.
13294 - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13296 - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13298 - hardcode_libdir_flag_spec='-L$libdir'
13299 - hardcode_direct=yes
13300 - hardcode_minus_L=yes
13301 - hardcode_shlibpath_var=no
13305 - case $host_vendor in
13307 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13308 - hardcode_direct=yes # is this really true???
13311 - ## LD is ld it makes a PLAMLIB
13312 - ## CC just makes a GrossModule.
13313 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13314 - reload_cmds='$CC -r -o $output$reload_objs'
13315 - hardcode_direct=no
13318 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13319 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13322 - runpath_var='LD_RUN_PATH'
13323 - hardcode_shlibpath_var=no
13327 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13328 - hardcode_shlibpath_var=no
13329 - export_dynamic_flag_spec='-Bexport'
13333 - if test -d /usr/nec; then
13334 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13335 - hardcode_shlibpath_var=no
13336 - runpath_var=LD_RUN_PATH
13337 - hardcode_runpath_var=yes
13343 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13344 - hardcode_direct=yes
13345 - hardcode_minus_L=no
13346 - hardcode_shlibpath_var=no
13347 - hardcode_runpath_var=yes
13348 - runpath_var=LD_RUN_PATH
13351 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13352 - no_undefined_flag='${wl}-z ${wl}text'
13353 - if test "$GCC" = yes; then
13354 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13356 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13358 - runpath_var='LD_RUN_PATH'
13359 - hardcode_shlibpath_var=no
13363 - no_undefined_flag=' -z text'
13364 - # $CC -shared without GNU ld will not create a library from C++
13365 - # object files and a static libstdc++, better avoid it by now
13366 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13367 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13368 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13369 - hardcode_libdir_flag_spec=
13370 - hardcode_shlibpath_var=no
13371 - runpath_var='LD_RUN_PATH'
13375 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13376 - hardcode_libdir_flag_spec='-L$libdir'
13377 - hardcode_shlibpath_var=no
13386 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
13387 -echo "${ECHO_T}$ld_shlibs" >&6
13388 -test "$ld_shlibs" = no && can_build_shared=no
13390 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13391 -if test "$GCC" = yes; then
13392 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13396 -# Do we need to explicitly link libc?
13398 -case "x$archive_cmds_need_lc" in
13400 - # Assume -lc should be added
13401 - archive_cmds_need_lc=yes
13403 - if test "$enable_shared" = yes && test "$GCC" = yes; then
13404 - case $archive_cmds in
13406 - # FIXME: we may have to deal with multi-command sequences.
13409 - # Test whether the compiler implicitly links with -lc since on some
13410 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
13411 - # to ld, don't add -lc before -lgcc.
13412 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13413 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13415 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13417 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13418 - (eval $ac_compile) 2>&5
13420 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 - (exit $ac_status); } 2>conftest.err; then
13424 - libobjs=conftest.$ac_objext
13426 - wl=$lt_prog_compiler_wl
13427 - compiler_flags=-v
13432 - lt_save_allow_undefined_flag=$allow_undefined_flag
13433 - allow_undefined_flag=
13434 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13435 - (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13437 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438 - (exit $ac_status); }
13440 - archive_cmds_need_lc=no
13442 - archive_cmds_need_lc=yes
13444 - allow_undefined_flag=$lt_save_allow_undefined_flag
13446 - cat conftest.err 1>&5
13449 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
13450 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
13457 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13458 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13459 -library_names_spec=
13460 -libname_spec='lib$name'
13464 -postuninstall_cmds=
13468 -shlibpath_overrides_runpath=unknown
13470 -dynamic_linker="$host_os ld.so"
13471 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
13472 -if test "$GCC" = yes; then
13473 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13474 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13475 - # if the path contains ";" then we assume it to be the separator
13476 - # otherwise default to the standard path separator (i.e. ":") - it is
13477 - # assumed that no part of a normal pathname contains ";" but that should
13478 - # okay in the real world where ";" in dirpaths is itself problematic.
13479 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13481 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13484 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13486 -need_lib_prefix=unknown
13487 -hardcode_into_libs=no
13489 -# when you set need_version to no, make sure it does not cause -set_version
13490 -# flags to be left without arguments
13491 -need_version=unknown
13495 - version_type=linux
13496 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13497 - shlibpath_var=LIBPATH
13499 - # AIX 3 has no versioning support, so we append a major version to the name.
13500 - soname_spec='${libname}${release}${shared_ext}$major'
13504 - version_type=linux
13505 - need_lib_prefix=no
13507 - hardcode_into_libs=yes
13508 - if test "$host_cpu" = ia64; then
13509 - # AIX 5 supports IA64
13510 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13511 - shlibpath_var=LD_LIBRARY_PATH
13513 - # With GCC up to 2.95.x, collect2 would create an import file
13514 - # for dependence libraries. The import file would start with
13515 - # the line `#! .'. This would cause the generated library to
13516 - # depend on `.', always an invalid library. This was fixed in
13517 - # development snapshots of GCC prior to 3.0.
13519 - aix4 | aix4.[01] | aix4.[01].*)
13520 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13522 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13525 - can_build_shared=no
13529 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13530 - # soname into executable. Probably we can add versioning support to
13531 - # collect2, so additional links can be useful in future.
13532 - if test "$aix_use_runtimelinking" = yes; then
13533 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13534 - # instead of lib<name>.a to let people know that these are not
13535 - # typical AIX shared libraries.
13536 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13538 - # We preserve .a as extension for shared libraries through AIX4.2
13539 - # and later when we are not doing run time linking.
13540 - library_names_spec='${libname}${release}.a $libname.a'
13541 - soname_spec='${libname}${release}${shared_ext}$major'
13543 - shlibpath_var=LIBPATH
13548 - library_names_spec='$libname.ixlibrary $libname.a'
13549 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
13550 - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13554 - library_names_spec='${libname}${shared_ext}'
13555 - dynamic_linker="$host_os ld.so"
13556 - shlibpath_var=LIBRARY_PATH
13560 - version_type=linux
13562 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13563 - soname_spec='${libname}${release}${shared_ext}$major'
13564 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13565 - shlibpath_var=LD_LIBRARY_PATH
13566 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13567 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13568 - # the default ld.so.conf also contains /usr/contrib/lib and
13569 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13570 - # libtool to hard-code these into programs
13573 -cygwin* | mingw* | pw32*)
13574 - version_type=windows
13575 - shrext_cmds=".dll"
13577 - need_lib_prefix=no
13579 - case $GCC,$host_os in
13580 - yes,cygwin* | yes,mingw* | yes,pw32*)
13581 - library_names_spec='$libname.dll.a'
13582 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
13583 - postinstall_cmds='base_file=`basename \${file}`~
13584 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13585 - dldir=$destdir/`dirname \$dlpath`~
13586 - test -d \$dldir || mkdir -p \$dldir~
13587 - $install_prog $dir/$dlname \$dldir/$dlname~
13588 - chmod a+x \$dldir/$dlname'
13589 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13590 - dlpath=$dir/\$dldll~
13592 - shlibpath_overrides_runpath=yes
13596 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13597 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13598 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13601 - # MinGW DLLs use traditional 'lib' prefix
13602 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13603 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13604 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13605 - # It is most probably a Windows format PATH printed by
13606 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
13607 - # path with ; separators, and with drive letters. We can handle the
13608 - # drive letters (cygwin fileutils understands them), so leave them,
13609 - # especially as we might pass files found there to a mingw objdump,
13610 - # which wouldn't understand a cygwinified path. Ahh.
13611 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13613 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13617 - # pw32 DLLs use 'pw' prefix rather than 'lib'
13618 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13624 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13627 - dynamic_linker='Win32 ld.exe'
13628 - # FIXME: first we should search . and the directory the executable is in
13629 - shlibpath_var=PATH
13632 -darwin* | rhapsody*)
13633 - dynamic_linker="$host_os dyld"
13634 - version_type=darwin
13635 - need_lib_prefix=no
13637 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13638 - soname_spec='${libname}${release}${major}$shared_ext'
13639 - shlibpath_overrides_runpath=yes
13640 - shlibpath_var=DYLD_LIBRARY_PATH
13641 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13642 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13643 - if test "$GCC" = yes; then
13644 - 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"`
13646 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13648 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13652 - version_type=linux
13653 - need_lib_prefix=no
13655 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13656 - soname_spec='${libname}${release}${shared_ext}$major'
13657 - shlibpath_var=LD_LIBRARY_PATH
13661 - dynamic_linker=no
13665 - version_type=linux
13666 - need_lib_prefix=no
13668 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13669 - soname_spec='${libname}${release}${shared_ext}$major'
13670 - shlibpath_var=LD_LIBRARY_PATH
13671 - shlibpath_overrides_runpath=no
13672 - hardcode_into_libs=yes
13673 - dynamic_linker='GNU ld.so'
13676 -freebsd* | dragonfly*)
13677 - # DragonFly does not have aout. When/if they implement a new
13678 - # versioning mechanism, adjust this.
13679 - if test -x /usr/bin/objformat; then
13680 - objformat=`/usr/bin/objformat`
13683 - freebsd[123]*) objformat=aout ;;
13684 - *) objformat=elf ;;
13687 - version_type=freebsd-$objformat
13688 - case $version_type in
13690 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13692 - need_lib_prefix=no
13695 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13699 - shlibpath_var=LD_LIBRARY_PATH
13702 - shlibpath_overrides_runpath=yes
13704 - freebsd3.[01]* | freebsdelf3.[01]*)
13705 - shlibpath_overrides_runpath=yes
13706 - hardcode_into_libs=yes
13709 - shlibpath_overrides_runpath=no
13710 - hardcode_into_libs=yes
13716 - version_type=linux
13717 - need_lib_prefix=no
13719 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13720 - soname_spec='${libname}${release}${shared_ext}$major'
13721 - shlibpath_var=LD_LIBRARY_PATH
13722 - hardcode_into_libs=yes
13725 -hpux9* | hpux10* | hpux11*)
13726 - # Give a soname corresponding to the major version so that dld.sl refuses to
13727 - # link against other versions.
13728 - version_type=sunos
13729 - need_lib_prefix=no
13731 - case $host_cpu in
13733 - shrext_cmds='.so'
13734 - hardcode_into_libs=yes
13735 - dynamic_linker="$host_os dld.so"
13736 - shlibpath_var=LD_LIBRARY_PATH
13737 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13738 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13739 - soname_spec='${libname}${release}${shared_ext}$major'
13740 - if test "X$HPUX_IA64_MODE" = X32; then
13741 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13743 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13745 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13748 - shrext_cmds='.sl'
13749 - hardcode_into_libs=yes
13750 - dynamic_linker="$host_os dld.sl"
13751 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13752 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13753 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13754 - soname_spec='${libname}${release}${shared_ext}$major'
13755 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13756 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13759 - shrext_cmds='.sl'
13760 - dynamic_linker="$host_os dld.sl"
13761 - shlibpath_var=SHLIB_PATH
13762 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13763 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13764 - soname_spec='${libname}${release}${shared_ext}$major'
13767 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
13768 - postinstall_cmds='chmod 555 $lib'
13771 -irix5* | irix6* | nonstopux*)
13773 - nonstopux*) version_type=nonstopux ;;
13775 - if test "$lt_cv_prog_gnu_ld" = yes; then
13776 - version_type=linux
13778 - version_type=irix
13781 - need_lib_prefix=no
13783 - soname_spec='${libname}${release}${shared_ext}$major'
13784 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13786 - irix5* | nonstopux*)
13787 - libsuff= shlibsuff=
13790 - case $LD in # libtool.m4 will add one of these switches to LD
13791 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13792 - libsuff= shlibsuff= libmagic=32-bit;;
13793 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13794 - libsuff=32 shlibsuff=N32 libmagic=N32;;
13795 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13796 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
13797 - *) libsuff= shlibsuff= libmagic=never-match;;
13801 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13802 - shlibpath_overrides_runpath=no
13803 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13804 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13805 - hardcode_into_libs=yes
13808 -# No shared lib support for Linux oldld, aout, or coff.
13809 -linux*oldld* | linux*aout* | linux*coff*)
13810 - dynamic_linker=no
13813 -# This must be Linux ELF.
13815 - version_type=linux
13816 - need_lib_prefix=no
13818 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13819 - soname_spec='${libname}${release}${shared_ext}$major'
13820 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13821 - shlibpath_var=LD_LIBRARY_PATH
13822 - shlibpath_overrides_runpath=no
13823 - # This implies no fast_install, which is unacceptable.
13824 - # Some rework will be needed to allow for fast_install
13825 - # before this can be enabled.
13826 - hardcode_into_libs=yes
13828 - # Append ld.so.conf contents to the search path
13829 - if test -f /etc/ld.so.conf; then
13830 - 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' ' '`
13831 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13834 - # We used to test for /lib/ld.so.1 and disable shared libraries on
13835 - # powerpc, because MkLinux only supported shared libraries with the
13836 - # GNU dynamic linker. Since this was broken with cross compilers,
13837 - # most powerpc-linux boxes support dynamic linking these days and
13838 - # people can always --disable-shared, the test was removed, and we
13839 - # assume the GNU/Linux dynamic linker is in use.
13840 - dynamic_linker='GNU/Linux ld.so'
13844 - version_type=linux
13845 - need_lib_prefix=no
13847 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13848 - soname_spec='${libname}${release}${shared_ext}$major'
13849 - shlibpath_var=LD_LIBRARY_PATH
13850 - shlibpath_overrides_runpath=no
13851 - hardcode_into_libs=yes
13852 - dynamic_linker='GNU ld.so'
13856 - version_type=sunos
13857 - need_lib_prefix=no
13859 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13860 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13861 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13862 - dynamic_linker='NetBSD (a.out) ld.so'
13864 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13865 - soname_spec='${libname}${release}${shared_ext}$major'
13866 - dynamic_linker='NetBSD ld.elf_so'
13868 - shlibpath_var=LD_LIBRARY_PATH
13869 - shlibpath_overrides_runpath=yes
13870 - hardcode_into_libs=yes
13874 - version_type=linux
13875 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13876 - shlibpath_var=LD_LIBRARY_PATH
13877 - shlibpath_overrides_runpath=yes
13881 - version_type=linux
13882 - need_lib_prefix=no
13884 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13885 - soname_spec='${libname}${release}${shared_ext}$major'
13886 - shlibpath_var=LD_LIBRARY_PATH
13887 - shlibpath_overrides_runpath=yes
13891 - version_type=sunos
13892 - need_lib_prefix=no
13893 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13895 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13896 - *) need_version=no ;;
13898 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13899 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13900 - shlibpath_var=LD_LIBRARY_PATH
13901 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13903 - openbsd2.[89] | openbsd2.[89].*)
13904 - shlibpath_overrides_runpath=no
13907 - shlibpath_overrides_runpath=yes
13911 - shlibpath_overrides_runpath=yes
13916 - libname_spec='$name'
13917 - shrext_cmds=".dll"
13918 - need_lib_prefix=no
13919 - library_names_spec='$libname${shared_ext} $libname.a'
13920 - dynamic_linker='OS/2 ld.exe'
13921 - shlibpath_var=LIBPATH
13924 -osf3* | osf4* | osf5*)
13926 - need_lib_prefix=no
13928 - soname_spec='${libname}${release}${shared_ext}$major'
13929 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13930 - shlibpath_var=LD_LIBRARY_PATH
13931 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13932 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13937 - soname_spec='${libname}${release}${shared_ext}$major'
13938 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13939 - shlibpath_var=LD_LIBRARY_PATH
13943 - version_type=linux
13944 - need_lib_prefix=no
13946 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13947 - soname_spec='${libname}${release}${shared_ext}$major'
13948 - shlibpath_var=LD_LIBRARY_PATH
13949 - shlibpath_overrides_runpath=yes
13950 - hardcode_into_libs=yes
13951 - # ldd complains unless libraries are executable
13952 - postinstall_cmds='chmod +x $lib'
13956 - version_type=sunos
13957 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13958 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13959 - shlibpath_var=LD_LIBRARY_PATH
13960 - shlibpath_overrides_runpath=yes
13961 - if test "$with_gnu_ld" = yes; then
13962 - need_lib_prefix=no
13967 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13968 - version_type=linux
13969 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13970 - soname_spec='${libname}${release}${shared_ext}$major'
13971 - shlibpath_var=LD_LIBRARY_PATH
13972 - case $host_vendor in
13974 - shlibpath_overrides_runpath=no
13975 - need_lib_prefix=no
13976 - export_dynamic_flag_spec='${wl}-Blargedynsym'
13977 - runpath_var=LD_RUN_PATH
13980 - need_lib_prefix=no
13983 - need_lib_prefix=no
13985 - shlibpath_overrides_runpath=no
13986 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13992 - if test -d /usr/nec ;then
13993 - version_type=linux
13994 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13995 - soname_spec='$libname${shared_ext}.$major'
13996 - shlibpath_var=LD_LIBRARY_PATH
14001 - version_type=linux
14002 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14003 - soname_spec='${libname}${release}${shared_ext}$major'
14004 - shlibpath_var=LD_LIBRARY_PATH
14008 - dynamic_linker=no
14011 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14012 -echo "${ECHO_T}$dynamic_linker" >&6
14013 -test "$dynamic_linker" = no && can_build_shared=no
14015 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14016 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14018 -if test -n "$hardcode_libdir_flag_spec" || \
14019 - test -n "$runpath_var" || \
14020 - test "X$hardcode_automatic" = "Xyes" ; then
14022 - # We can hardcode non-existant directories.
14023 - if test "$hardcode_direct" != no &&
14024 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
14025 - # have to relink, otherwise we might link with an installed library
14026 - # when we should be linking with a yet-to-be-installed one
14027 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
14028 - test "$hardcode_minus_L" != no; then
14029 - # Linking always hardcodes the temporary library directory.
14030 - hardcode_action=relink
14032 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
14033 - hardcode_action=immediate
14036 - # We cannot hardcode anything, or else we can only hardcode existing
14038 - hardcode_action=unsupported
14040 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
14041 -echo "${ECHO_T}$hardcode_action" >&6
14043 -if test "$hardcode_action" = relink; then
14044 - # Fast installation is not supported
14045 - enable_fast_install=no
14046 -elif test "$shlibpath_overrides_runpath" = yes ||
14047 - test "$enable_shared" = no; then
14048 - # Fast installation is not necessary
14049 - enable_fast_install=needless
14054 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14055 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14056 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14057 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14058 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14059 - echo "$as_me:$LINENO: result: yes" >&5
14060 -echo "${ECHO_T}yes" >&6
14062 -# FIXME - insert some real tests, host_os isn't really good enough
14065 - if test -n "$STRIP" ; then
14066 - striplib="$STRIP -x"
14067 - echo "$as_me:$LINENO: result: yes" >&5
14068 -echo "${ECHO_T}yes" >&6
14070 - echo "$as_me:$LINENO: result: no" >&5
14071 -echo "${ECHO_T}no" >&6
14075 - echo "$as_me:$LINENO: result: no" >&5
14076 -echo "${ECHO_T}no" >&6
14081 -if test "x$enable_dlopen" != xyes; then
14082 - enable_dlopen=unknown
14083 - enable_dlopen_self=unknown
14084 - enable_dlopen_self_static=unknown
14087 - lt_cv_dlopen_libs=
14091 - lt_cv_dlopen="load_add_on"
14092 - lt_cv_dlopen_libs=
14093 - lt_cv_dlopen_self=yes
14097 - lt_cv_dlopen="LoadLibrary"
14098 - lt_cv_dlopen_libs=
14102 - lt_cv_dlopen="dlopen"
14103 - lt_cv_dlopen_libs=
14107 - # if libdl is installed we need to link against it
14108 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14109 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14110 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14111 - echo $ECHO_N "(cached) $ECHO_C" >&6
14113 - ac_check_lib_save_LIBS=$LIBS
14115 -cat >conftest.$ac_ext <<_ACEOF
14118 -cat confdefs.h >>conftest.$ac_ext
14119 -cat >>conftest.$ac_ext <<_ACEOF
14120 -/* end confdefs.h. */
14122 -/* Override any gcc2 internal prototype to avoid an error. */
14123 -#ifdef __cplusplus
14126 -/* We use char because int might match the return type of a gcc2
14127 - builtin and then its argument prototype would still apply. */
14137 -rm -f conftest.$ac_objext conftest$ac_exeext
14138 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14139 - (eval $ac_link) 2>conftest.er1
14141 - grep -v '^ *+' conftest.er1 >conftest.err
14142 - rm -f conftest.er1
14143 - cat conftest.err >&5
14144 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 - (exit $ac_status); } &&
14146 - { ac_try='test -z "$ac_c_werror_flag"
14147 - || test ! -s conftest.err'
14148 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 - (eval $ac_try) 2>&5
14151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 - (exit $ac_status); }; } &&
14153 - { ac_try='test -s conftest$ac_exeext'
14154 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 - (eval $ac_try) 2>&5
14157 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 - (exit $ac_status); }; }; then
14159 - ac_cv_lib_dl_dlopen=yes
14161 - echo "$as_me: failed program was:" >&5
14162 -sed 's/^/| /' conftest.$ac_ext >&5
14164 -ac_cv_lib_dl_dlopen=no
14166 -rm -f conftest.err conftest.$ac_objext \
14167 - conftest$ac_exeext conftest.$ac_ext
14168 -LIBS=$ac_check_lib_save_LIBS
14170 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14171 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14172 -if test $ac_cv_lib_dl_dlopen = yes; then
14173 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14176 - lt_cv_dlopen="dyld"
14177 - lt_cv_dlopen_libs=
14178 - lt_cv_dlopen_self=yes
14185 - echo "$as_me:$LINENO: checking for shl_load" >&5
14186 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
14187 -if test "${ac_cv_func_shl_load+set}" = set; then
14188 - echo $ECHO_N "(cached) $ECHO_C" >&6
14190 - cat >conftest.$ac_ext <<_ACEOF
14193 -cat confdefs.h >>conftest.$ac_ext
14194 -cat >>conftest.$ac_ext <<_ACEOF
14195 -/* end confdefs.h. */
14196 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
14197 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
14198 -#define shl_load innocuous_shl_load
14200 -/* System header to define __stub macros and hopefully few prototypes,
14201 - which can conflict with char shl_load (); below.
14202 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14203 - <limits.h> exists even on freestanding compilers. */
14206 -# include <limits.h>
14208 -# include <assert.h>
14213 -/* Override any gcc2 internal prototype to avoid an error. */
14214 -#ifdef __cplusplus
14218 -/* We use char because int might match the return type of a gcc2
14219 - builtin and then its argument prototype would still apply. */
14221 -/* The GNU C library defines this for functions which it implements
14222 - to always fail with ENOSYS. Some functions are actually named
14223 - something starting with __ and the normal name is an alias. */
14224 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
14227 -char (*f) () = shl_load;
14229 -#ifdef __cplusplus
14236 -return f != shl_load;
14241 -rm -f conftest.$ac_objext conftest$ac_exeext
14242 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14243 - (eval $ac_link) 2>conftest.er1
14245 - grep -v '^ *+' conftest.er1 >conftest.err
14246 - rm -f conftest.er1
14247 - cat conftest.err >&5
14248 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 - (exit $ac_status); } &&
14250 - { ac_try='test -z "$ac_c_werror_flag"
14251 - || test ! -s conftest.err'
14252 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14253 - (eval $ac_try) 2>&5
14255 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 - (exit $ac_status); }; } &&
14257 - { ac_try='test -s conftest$ac_exeext'
14258 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14259 - (eval $ac_try) 2>&5
14261 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 - (exit $ac_status); }; }; then
14263 - ac_cv_func_shl_load=yes
14265 - echo "$as_me: failed program was:" >&5
14266 -sed 's/^/| /' conftest.$ac_ext >&5
14268 -ac_cv_func_shl_load=no
14270 -rm -f conftest.err conftest.$ac_objext \
14271 - conftest$ac_exeext conftest.$ac_ext
14273 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14274 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
14275 -if test $ac_cv_func_shl_load = yes; then
14276 - lt_cv_dlopen="shl_load"
14278 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14279 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
14280 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14281 - echo $ECHO_N "(cached) $ECHO_C" >&6
14283 - ac_check_lib_save_LIBS=$LIBS
14284 -LIBS="-ldld $LIBS"
14285 -cat >conftest.$ac_ext <<_ACEOF
14288 -cat confdefs.h >>conftest.$ac_ext
14289 -cat >>conftest.$ac_ext <<_ACEOF
14290 -/* end confdefs.h. */
14292 -/* Override any gcc2 internal prototype to avoid an error. */
14293 -#ifdef __cplusplus
14296 -/* We use char because int might match the return type of a gcc2
14297 - builtin and then its argument prototype would still apply. */
14307 -rm -f conftest.$ac_objext conftest$ac_exeext
14308 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14309 - (eval $ac_link) 2>conftest.er1
14311 - grep -v '^ *+' conftest.er1 >conftest.err
14312 - rm -f conftest.er1
14313 - cat conftest.err >&5
14314 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 - (exit $ac_status); } &&
14316 - { ac_try='test -z "$ac_c_werror_flag"
14317 - || test ! -s conftest.err'
14318 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 - (eval $ac_try) 2>&5
14321 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 - (exit $ac_status); }; } &&
14323 - { ac_try='test -s conftest$ac_exeext'
14324 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 - (eval $ac_try) 2>&5
14327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 - (exit $ac_status); }; }; then
14329 - ac_cv_lib_dld_shl_load=yes
14331 - echo "$as_me: failed program was:" >&5
14332 -sed 's/^/| /' conftest.$ac_ext >&5
14334 -ac_cv_lib_dld_shl_load=no
14336 -rm -f conftest.err conftest.$ac_objext \
14337 - conftest$ac_exeext conftest.$ac_ext
14338 -LIBS=$ac_check_lib_save_LIBS
14340 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14341 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
14342 -if test $ac_cv_lib_dld_shl_load = yes; then
14343 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14345 - echo "$as_me:$LINENO: checking for dlopen" >&5
14346 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
14347 -if test "${ac_cv_func_dlopen+set}" = set; then
14348 - echo $ECHO_N "(cached) $ECHO_C" >&6
14350 - cat >conftest.$ac_ext <<_ACEOF
14353 -cat confdefs.h >>conftest.$ac_ext
14354 -cat >>conftest.$ac_ext <<_ACEOF
14355 -/* end confdefs.h. */
14356 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14357 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
14358 -#define dlopen innocuous_dlopen
14360 -/* System header to define __stub macros and hopefully few prototypes,
14361 - which can conflict with char dlopen (); below.
14362 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14363 - <limits.h> exists even on freestanding compilers. */
14366 -# include <limits.h>
14368 -# include <assert.h>
14373 -/* Override any gcc2 internal prototype to avoid an error. */
14374 -#ifdef __cplusplus
14378 -/* We use char because int might match the return type of a gcc2
14379 - builtin and then its argument prototype would still apply. */
14381 -/* The GNU C library defines this for functions which it implements
14382 - to always fail with ENOSYS. Some functions are actually named
14383 - something starting with __ and the normal name is an alias. */
14384 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
14387 -char (*f) () = dlopen;
14389 -#ifdef __cplusplus
14396 -return f != dlopen;
14401 -rm -f conftest.$ac_objext conftest$ac_exeext
14402 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14403 - (eval $ac_link) 2>conftest.er1
14405 - grep -v '^ *+' conftest.er1 >conftest.err
14406 - rm -f conftest.er1
14407 - cat conftest.err >&5
14408 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 - (exit $ac_status); } &&
14410 - { ac_try='test -z "$ac_c_werror_flag"
14411 - || test ! -s conftest.err'
14412 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14413 - (eval $ac_try) 2>&5
14415 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 - (exit $ac_status); }; } &&
14417 - { ac_try='test -s conftest$ac_exeext'
14418 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14419 - (eval $ac_try) 2>&5
14421 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 - (exit $ac_status); }; }; then
14423 - ac_cv_func_dlopen=yes
14425 - echo "$as_me: failed program was:" >&5
14426 -sed 's/^/| /' conftest.$ac_ext >&5
14428 -ac_cv_func_dlopen=no
14430 -rm -f conftest.err conftest.$ac_objext \
14431 - conftest$ac_exeext conftest.$ac_ext
14433 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14434 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
14435 -if test $ac_cv_func_dlopen = yes; then
14436 - lt_cv_dlopen="dlopen"
14438 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14439 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14440 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14441 - echo $ECHO_N "(cached) $ECHO_C" >&6
14443 - ac_check_lib_save_LIBS=$LIBS
14445 -cat >conftest.$ac_ext <<_ACEOF
14448 -cat confdefs.h >>conftest.$ac_ext
14449 -cat >>conftest.$ac_ext <<_ACEOF
14450 -/* end confdefs.h. */
14452 -/* Override any gcc2 internal prototype to avoid an error. */
14453 -#ifdef __cplusplus
14456 -/* We use char because int might match the return type of a gcc2
14457 - builtin and then its argument prototype would still apply. */
14467 -rm -f conftest.$ac_objext conftest$ac_exeext
14468 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14469 - (eval $ac_link) 2>conftest.er1
14471 - grep -v '^ *+' conftest.er1 >conftest.err
14472 - rm -f conftest.er1
14473 - cat conftest.err >&5
14474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 - (exit $ac_status); } &&
14476 - { ac_try='test -z "$ac_c_werror_flag"
14477 - || test ! -s conftest.err'
14478 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 - (eval $ac_try) 2>&5
14481 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 - (exit $ac_status); }; } &&
14483 - { ac_try='test -s conftest$ac_exeext'
14484 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14485 - (eval $ac_try) 2>&5
14487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 - (exit $ac_status); }; }; then
14489 - ac_cv_lib_dl_dlopen=yes
14491 - echo "$as_me: failed program was:" >&5
14492 -sed 's/^/| /' conftest.$ac_ext >&5
14494 -ac_cv_lib_dl_dlopen=no
14496 -rm -f conftest.err conftest.$ac_objext \
14497 - conftest$ac_exeext conftest.$ac_ext
14498 -LIBS=$ac_check_lib_save_LIBS
14500 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14501 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14502 -if test $ac_cv_lib_dl_dlopen = yes; then
14503 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14505 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14506 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
14507 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14508 - echo $ECHO_N "(cached) $ECHO_C" >&6
14510 - ac_check_lib_save_LIBS=$LIBS
14511 -LIBS="-lsvld $LIBS"
14512 -cat >conftest.$ac_ext <<_ACEOF
14515 -cat confdefs.h >>conftest.$ac_ext
14516 -cat >>conftest.$ac_ext <<_ACEOF
14517 -/* end confdefs.h. */
14519 -/* Override any gcc2 internal prototype to avoid an error. */
14520 -#ifdef __cplusplus
14523 -/* We use char because int might match the return type of a gcc2
14524 - builtin and then its argument prototype would still apply. */
14534 -rm -f conftest.$ac_objext conftest$ac_exeext
14535 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14536 - (eval $ac_link) 2>conftest.er1
14538 - grep -v '^ *+' conftest.er1 >conftest.err
14539 - rm -f conftest.er1
14540 - cat conftest.err >&5
14541 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 - (exit $ac_status); } &&
14543 - { ac_try='test -z "$ac_c_werror_flag"
14544 - || test ! -s conftest.err'
14545 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14546 - (eval $ac_try) 2>&5
14548 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 - (exit $ac_status); }; } &&
14550 - { ac_try='test -s conftest$ac_exeext'
14551 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14552 - (eval $ac_try) 2>&5
14554 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 - (exit $ac_status); }; }; then
14556 - ac_cv_lib_svld_dlopen=yes
14558 - echo "$as_me: failed program was:" >&5
14559 -sed 's/^/| /' conftest.$ac_ext >&5
14561 -ac_cv_lib_svld_dlopen=no
14563 -rm -f conftest.err conftest.$ac_objext \
14564 - conftest$ac_exeext conftest.$ac_ext
14565 -LIBS=$ac_check_lib_save_LIBS
14567 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14568 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
14569 -if test $ac_cv_lib_svld_dlopen = yes; then
14570 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14572 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14573 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
14574 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14575 - echo $ECHO_N "(cached) $ECHO_C" >&6
14577 - ac_check_lib_save_LIBS=$LIBS
14578 -LIBS="-ldld $LIBS"
14579 -cat >conftest.$ac_ext <<_ACEOF
14582 -cat confdefs.h >>conftest.$ac_ext
14583 -cat >>conftest.$ac_ext <<_ACEOF
14584 -/* end confdefs.h. */
14586 -/* Override any gcc2 internal prototype to avoid an error. */
14587 -#ifdef __cplusplus
14590 -/* We use char because int might match the return type of a gcc2
14591 - builtin and then its argument prototype would still apply. */
14601 -rm -f conftest.$ac_objext conftest$ac_exeext
14602 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14603 - (eval $ac_link) 2>conftest.er1
14605 - grep -v '^ *+' conftest.er1 >conftest.err
14606 - rm -f conftest.er1
14607 - cat conftest.err >&5
14608 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 - (exit $ac_status); } &&
14610 - { ac_try='test -z "$ac_c_werror_flag"
14611 - || test ! -s conftest.err'
14612 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14613 - (eval $ac_try) 2>&5
14615 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 - (exit $ac_status); }; } &&
14617 - { ac_try='test -s conftest$ac_exeext'
14618 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 - (eval $ac_try) 2>&5
14621 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 - (exit $ac_status); }; }; then
14623 - ac_cv_lib_dld_dld_link=yes
14625 - echo "$as_me: failed program was:" >&5
14626 -sed 's/^/| /' conftest.$ac_ext >&5
14628 -ac_cv_lib_dld_dld_link=no
14630 -rm -f conftest.err conftest.$ac_objext \
14631 - conftest$ac_exeext conftest.$ac_ext
14632 -LIBS=$ac_check_lib_save_LIBS
14634 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14635 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
14636 -if test $ac_cv_lib_dld_dld_link = yes; then
14637 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
14658 - if test "x$lt_cv_dlopen" != xno; then
14659 - enable_dlopen=yes
14664 - case $lt_cv_dlopen in
14666 - save_CPPFLAGS="$CPPFLAGS"
14667 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14669 - save_LDFLAGS="$LDFLAGS"
14670 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14672 - save_LIBS="$LIBS"
14673 - LIBS="$lt_cv_dlopen_libs $LIBS"
14675 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14676 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
14677 -if test "${lt_cv_dlopen_self+set}" = set; then
14678 - echo $ECHO_N "(cached) $ECHO_C" >&6
14680 - if test "$cross_compiling" = yes; then :
14681 - lt_cv_dlopen_self=cross
14683 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14684 - lt_status=$lt_dlunknown
14685 - cat > conftest.$ac_ext <<EOF
14686 -#line 8853 "configure"
14687 -#include "confdefs.h"
14690 -#include <dlfcn.h>
14693 -#include <stdio.h>
14695 -#ifdef RTLD_GLOBAL
14696 -# define LT_DLGLOBAL RTLD_GLOBAL
14699 -# define LT_DLGLOBAL DL_GLOBAL
14701 -# define LT_DLGLOBAL 0
14705 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14706 - find out it does not work in some platform. */
14707 -#ifndef LT_DLLAZY_OR_NOW
14709 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
14712 -# define LT_DLLAZY_OR_NOW DL_LAZY
14715 -# define LT_DLLAZY_OR_NOW RTLD_NOW
14718 -# define LT_DLLAZY_OR_NOW DL_NOW
14720 -# define LT_DLLAZY_OR_NOW 0
14727 -#ifdef __cplusplus
14728 -extern "C" void exit (int);
14731 -void fnord() { int i=42;}
14734 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14735 - int status = $lt_dlunknown;
14739 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14740 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14741 - /* dlclose (self); */
14747 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14748 - (eval $ac_link) 2>&5
14750 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14752 - (./conftest; exit; ) >&5 2>/dev/null
14754 - case x$lt_status in
14755 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14756 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14757 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
14760 - # compilation failed
14761 - lt_cv_dlopen_self=no
14768 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14769 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
14771 - if test "x$lt_cv_dlopen_self" = xyes; then
14772 - LDFLAGS="$LDFLAGS $link_static_flag"
14773 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14774 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
14775 -if test "${lt_cv_dlopen_self_static+set}" = set; then
14776 - echo $ECHO_N "(cached) $ECHO_C" >&6
14778 - if test "$cross_compiling" = yes; then :
14779 - lt_cv_dlopen_self_static=cross
14781 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14782 - lt_status=$lt_dlunknown
14783 - cat > conftest.$ac_ext <<EOF
14784 -#line 8951 "configure"
14785 -#include "confdefs.h"
14788 -#include <dlfcn.h>
14791 -#include <stdio.h>
14793 -#ifdef RTLD_GLOBAL
14794 -# define LT_DLGLOBAL RTLD_GLOBAL
14797 -# define LT_DLGLOBAL DL_GLOBAL
14799 -# define LT_DLGLOBAL 0
14803 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14804 - find out it does not work in some platform. */
14805 -#ifndef LT_DLLAZY_OR_NOW
14807 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
14810 -# define LT_DLLAZY_OR_NOW DL_LAZY
14813 -# define LT_DLLAZY_OR_NOW RTLD_NOW
14816 -# define LT_DLLAZY_OR_NOW DL_NOW
14818 -# define LT_DLLAZY_OR_NOW 0
14825 -#ifdef __cplusplus
14826 -extern "C" void exit (int);
14829 -void fnord() { int i=42;}
14832 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14833 - int status = $lt_dlunknown;
14837 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14838 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14839 - /* dlclose (self); */
14845 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14846 - (eval $ac_link) 2>&5
14848 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14850 - (./conftest; exit; ) >&5 2>/dev/null
14852 - case x$lt_status in
14853 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14854 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14855 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
14858 - # compilation failed
14859 - lt_cv_dlopen_self_static=no
14866 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14867 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
14870 - CPPFLAGS="$save_CPPFLAGS"
14871 - LDFLAGS="$save_LDFLAGS"
14872 - LIBS="$save_LIBS"
14876 - case $lt_cv_dlopen_self in
14877 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14878 - *) enable_dlopen_self=unknown ;;
14881 - case $lt_cv_dlopen_self_static in
14882 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14883 - *) enable_dlopen_self_static=unknown ;;
14888 -# Report which librarie types wil actually be built
14889 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14890 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
14891 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
14892 -echo "${ECHO_T}$can_build_shared" >&6
14894 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14895 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
14896 -test "$can_build_shared" = "no" && enable_shared=no
14898 -# On AIX, shared libraries and static libraries use the same namespace, and
14899 -# are all built from PIC.
14902 - test "$enable_shared" = yes && enable_static=no
14903 - if test -n "$RANLIB"; then
14904 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
14905 - postinstall_cmds='$RANLIB $lib'
14910 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14911 - test "$enable_shared" = yes && enable_static=no
14915 -echo "$as_me:$LINENO: result: $enable_shared" >&5
14916 -echo "${ECHO_T}$enable_shared" >&6
14918 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14919 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
14920 -# Make sure either enable_shared or enable_static is yes.
14921 -test "$enable_shared" = yes || enable_static=yes
14922 -echo "$as_me:$LINENO: result: $enable_static" >&5
14923 -echo "${ECHO_T}$enable_static" >&6
14925 -# The else clause should only fire when bootstrapping the
14926 -# libtool distribution, otherwise you forgot to ship ltmain.sh
14927 -# with your package, and you will get complaints that there are
14928 -# no rules to generate ltmain.sh.
14929 -if test -f "$ltmain"; then
14930 - # See if we are running on zsh, and set the options which allow our commands through
14931 - # without removal of \ escapes.
14932 - if test -n "${ZSH_VERSION+set}" ; then
14933 - setopt NO_GLOB_SUBST
14935 - # Now quote all the things that may contain metacharacters while being
14936 - # careful not to overquote the AC_SUBSTed values. We take copies of the
14937 - # variables and quote the copies for generation of the libtool script.
14938 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
14939 - SED SHELL STRIP \
14940 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14941 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14942 - deplibs_check_method reload_flag reload_cmds need_locks \
14943 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14944 - lt_cv_sys_global_symbol_to_c_name_address \
14945 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14946 - old_postinstall_cmds old_postuninstall_cmds \
14950 - lt_prog_compiler_wl \
14951 - lt_prog_compiler_pic \
14952 - lt_prog_compiler_static \
14953 - lt_prog_compiler_no_builtin_flag \
14954 - export_dynamic_flag_spec \
14955 - thread_safe_flag_spec \
14956 - whole_archive_flag_spec \
14957 - enable_shared_with_static_runtimes \
14958 - old_archive_cmds \
14959 - old_archive_from_new_cmds \
14961 - postdep_objects \
14964 - compiler_lib_search_path \
14966 - archive_expsym_cmds \
14967 - postinstall_cmds \
14968 - postuninstall_cmds \
14969 - old_archive_from_expsyms_cmds \
14970 - allow_undefined_flag \
14971 - no_undefined_flag \
14972 - export_symbols_cmds \
14973 - hardcode_libdir_flag_spec \
14974 - hardcode_libdir_flag_spec_ld \
14975 - hardcode_libdir_separator \
14976 - hardcode_automatic \
14978 - module_expsym_cmds \
14979 - lt_cv_prog_compiler_c_o \
14980 - exclude_expsyms \
14981 - include_expsyms; do
14984 - old_archive_cmds | \
14985 - old_archive_from_new_cmds | \
14987 - archive_expsym_cmds | \
14989 - module_expsym_cmds | \
14990 - old_archive_from_expsyms_cmds | \
14991 - export_symbols_cmds | \
14992 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
14993 - postinstall_cmds | postuninstall_cmds | \
14994 - old_postinstall_cmds | old_postuninstall_cmds | \
14995 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14996 - # Double-quote double-evaled strings.
14997 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15000 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15006 - *'\$0 --fallback-echo"')
15007 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15011 -cfgfile="${ofile}T"
15012 - trap "$rm \"$cfgfile\"; exit 1" 1 2 15
15013 - $rm -f "$cfgfile"
15014 - { echo "$as_me:$LINENO: creating $ofile" >&5
15015 -echo "$as_me: creating $ofile" >&6;}
15017 - cat <<__EOF__ >> "$cfgfile"
15020 -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15021 -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
15022 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15024 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
15025 -# Free Software Foundation, Inc.
15027 -# This file is part of GNU Libtool:
15028 -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
15030 -# This program is free software; you can redistribute it and/or modify
15031 -# it under the terms of the GNU General Public License as published by
15032 -# the Free Software Foundation; either version 2 of the License, or
15033 -# (at your option) any later version.
15035 -# This program is distributed in the hope that it will be useful, but
15036 -# WITHOUT ANY WARRANTY; without even the implied warranty of
15037 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15038 -# General Public License for more details.
15040 -# You should have received a copy of the GNU General Public License
15041 -# along with this program; if not, write to the Free Software
15042 -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15044 -# As a special exception to the GNU General Public License, if you
15045 -# distribute this file as part of a program that contains a
15046 -# configuration script generated by Autoconf, you may include it under
15047 -# the same distribution terms that you use for the rest of that program.
15049 -# A sed program that does not truncate output.
15052 -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15053 -Xsed="$SED -e 1s/^X//"
15055 -# The HP-UX ksh and POSIX shell print the target directory to stdout
15056 -# if CDPATH is set.
15057 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15059 -# The names of the tagged configurations supported by this script.
15062 -# ### BEGIN LIBTOOL CONFIG
15064 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15066 -# Shell to use when invoking shell scripts.
15069 -# Whether or not to build shared libraries.
15070 -build_libtool_libs=$enable_shared
15072 -# Whether or not to build static libraries.
15073 -build_old_libs=$enable_static
15075 -# Whether or not to add -lc for building shared libraries.
15076 -build_libtool_need_lc=$archive_cmds_need_lc
15078 -# Whether or not to disallow shared libs when runtime libs are static
15079 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15081 -# Whether or not to optimize for fast installation.
15082 -fast_install=$enable_fast_install
15084 -# The host system.
15085 -host_alias=$host_alias
15089 -# The build system.
15090 -build_alias=$build_alias
15092 -build_os=$build_os
15094 -# An echo program that does not interpret backslashes.
15099 -AR_FLAGS=$lt_AR_FLAGS
15104 -# A language-specific compiler.
15107 -# Is the compiler the GNU C compiler?
15113 -# The linker used to build libraries.
15116 -# Whether we need hard or soft links.
15119 -# A BSD-compatible nm program.
15122 -# A symbol stripping program
15125 -# Used to examine libraries when file_magic_cmd begins "file"
15126 -MAGIC_CMD=$MAGIC_CMD
15128 -# Used on cygwin: DLL creation program.
15129 -DLLTOOL="$DLLTOOL"
15131 -# Used on cygwin: object dumper.
15132 -OBJDUMP="$OBJDUMP"
15134 -# Used on cygwin: assembler.
15137 -# The name of the directory that contains temporary libtool files.
15140 -# How to create reloadable object files.
15141 -reload_flag=$lt_reload_flag
15142 -reload_cmds=$lt_reload_cmds
15144 -# How to pass a linker flag through the compiler.
15145 -wl=$lt_lt_prog_compiler_wl
15147 -# Object file suffix (normally "o").
15148 -objext="$ac_objext"
15150 -# Old archive suffix (normally "a").
15153 -# Shared library suffix (normally ".so").
15154 -shrext_cmds='$shrext_cmds'
15156 -# Executable file suffix (normally "").
15159 -# Additional compiler flags for building library objects.
15160 -pic_flag=$lt_lt_prog_compiler_pic
15161 -pic_mode=$pic_mode
15163 -# What is the maximum length of a command?
15164 -max_cmd_len=$lt_cv_sys_max_cmd_len
15166 -# Does compiler simultaneously support -c and -o options?
15167 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15169 -# Must we lock files when doing compilation?
15170 -need_locks=$lt_need_locks
15172 -# Do we need the lib prefix for modules?
15173 -need_lib_prefix=$need_lib_prefix
15175 -# Do we need a version for libraries?
15176 -need_version=$need_version
15178 -# Whether dlopen is supported.
15179 -dlopen_support=$enable_dlopen
15181 -# Whether dlopen of programs is supported.
15182 -dlopen_self=$enable_dlopen_self
15184 -# Whether dlopen of statically linked programs is supported.
15185 -dlopen_self_static=$enable_dlopen_self_static
15187 -# Compiler flag to prevent dynamic linking.
15188 -link_static_flag=$lt_lt_prog_compiler_static
15190 -# Compiler flag to turn off builtin functions.
15191 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15193 -# Compiler flag to allow reflexive dlopens.
15194 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15196 -# Compiler flag to generate shared objects directly from archives.
15197 -whole_archive_flag_spec=$lt_whole_archive_flag_spec
15199 -# Compiler flag to generate thread-safe objects.
15200 -thread_safe_flag_spec=$lt_thread_safe_flag_spec
15202 -# Library versioning type.
15203 -version_type=$version_type
15205 -# Format of library name prefix.
15206 -libname_spec=$lt_libname_spec
15208 -# List of archive names. First name is the real one, the rest are links.
15209 -# The last name is the one that the linker finds with -lNAME.
15210 -library_names_spec=$lt_library_names_spec
15212 -# The coded name of the library, if different from the real name.
15213 -soname_spec=$lt_soname_spec
15215 -# Commands used to build and install an old-style archive.
15217 -old_archive_cmds=$lt_old_archive_cmds
15218 -old_postinstall_cmds=$lt_old_postinstall_cmds
15219 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
15221 -# Create an old-style archive from a shared archive.
15222 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15224 -# Create a temporary old-style archive to link instead of a shared archive.
15225 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15227 -# Commands used to build and install a shared archive.
15228 -archive_cmds=$lt_archive_cmds
15229 -archive_expsym_cmds=$lt_archive_expsym_cmds
15230 -postinstall_cmds=$lt_postinstall_cmds
15231 -postuninstall_cmds=$lt_postuninstall_cmds
15233 -# Commands used to build a loadable module (assumed same as above if empty)
15234 -module_cmds=$lt_module_cmds
15235 -module_expsym_cmds=$lt_module_expsym_cmds
15237 -# Commands to strip libraries.
15238 -old_striplib=$lt_old_striplib
15239 -striplib=$lt_striplib
15241 -# Dependencies to place before the objects being linked to create a
15243 -predep_objects=$lt_predep_objects
15245 -# Dependencies to place after the objects being linked to create a
15247 -postdep_objects=$lt_postdep_objects
15249 -# Dependencies to place before the objects being linked to create a
15251 -predeps=$lt_predeps
15253 -# Dependencies to place after the objects being linked to create a
15255 -postdeps=$lt_postdeps
15257 -# The library search path used internally by the compiler when linking
15258 -# a shared library.
15259 -compiler_lib_search_path=$lt_compiler_lib_search_path
15261 -# Method to check whether dependent libraries are shared objects.
15262 -deplibs_check_method=$lt_deplibs_check_method
15264 -# Command to use when deplibs_check_method == file_magic.
15265 -file_magic_cmd=$lt_file_magic_cmd
15267 -# Flag that allows shared libraries with undefined symbols to be built.
15268 -allow_undefined_flag=$lt_allow_undefined_flag
15270 -# Flag that forces no undefined symbols.
15271 -no_undefined_flag=$lt_no_undefined_flag
15273 -# Commands used to finish a libtool library installation in a directory.
15274 -finish_cmds=$lt_finish_cmds
15276 -# Same as above, but a single script fragment to be evaled but not shown.
15277 -finish_eval=$lt_finish_eval
15279 -# Take the output of nm and produce a listing of raw symbols and C names.
15280 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15282 -# Transform the output of nm in a proper C declaration
15283 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15285 -# Transform the output of nm in a C name address pair
15286 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15288 -# This is the shared library runtime path variable.
15289 -runpath_var=$runpath_var
15291 -# This is the shared library path variable.
15292 -shlibpath_var=$shlibpath_var
15294 -# Is shlibpath searched before the hard-coded library search path?
15295 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15297 -# How to hardcode a shared library path into an executable.
15298 -hardcode_action=$hardcode_action
15300 -# Whether we should hardcode library paths into libraries.
15301 -hardcode_into_libs=$hardcode_into_libs
15303 -# Flag to hardcode \$libdir into a binary during linking.
15304 -# This must work even if \$libdir does not exist.
15305 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15307 -# If ld is used when linking, flag to hardcode \$libdir into
15308 -# a binary during linking. This must work even if \$libdir does
15310 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15312 -# Whether we need a single -rpath flag with a separated argument.
15313 -hardcode_libdir_separator=$lt_hardcode_libdir_separator
15315 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15316 -# resulting binary.
15317 -hardcode_direct=$hardcode_direct
15319 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15320 -# resulting binary.
15321 -hardcode_minus_L=$hardcode_minus_L
15323 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15324 -# the resulting binary.
15325 -hardcode_shlibpath_var=$hardcode_shlibpath_var
15327 -# Set to yes if building a shared library automatically hardcodes DIR into the library
15328 -# and all subsequent libraries and executables linked against it.
15329 -hardcode_automatic=$hardcode_automatic
15331 -# Variables whose values should be saved in libtool wrapper scripts and
15332 -# restored at relink time.
15333 -variables_saved_for_relink="$variables_saved_for_relink"
15335 -# Whether libtool must link a program against all its dependency libraries.
15336 -link_all_deplibs=$link_all_deplibs
15338 -# Compile-time system search path for libraries
15339 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15341 -# Run-time system search path for libraries
15342 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15344 -# Fix the shell variable \$srcfile for the compiler.
15345 -fix_srcfile_path="$fix_srcfile_path"
15347 -# Set to yes if exported symbols are required.
15348 -always_export_symbols=$always_export_symbols
15350 -# The commands to list exported symbols.
15351 -export_symbols_cmds=$lt_export_symbols_cmds
15353 -# The commands to extract the exported symbol list from a shared archive.
15354 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
15356 -# Symbols that should not be listed in the preloaded symbols.
15357 -exclude_expsyms=$lt_exclude_expsyms
15359 -# Symbols that must always be exported.
15360 -include_expsyms=$lt_include_expsyms
15362 -# ### END LIBTOOL CONFIG
15369 - cat <<\EOF >> "$cfgfile"
15371 -# AIX sometimes has problems with the GCC collect2 program. For some
15372 -# reason, if we set the COLLECT_NAMES environment variable, the problems
15373 -# vanish in a puff of smoke.
15374 -if test "X${COLLECT_NAMES+set}" != Xset; then
15376 - export COLLECT_NAMES
15382 - # We use sed instead of cat because bash on DJGPP gets confused if
15383 - # if finds mixed CR/LF and LF-only lines. Since sed operates in
15384 - # text mode, it properly converts lines to CR/LF. This bash problem
15385 - # is reportedly fixed, but why not run on old versions too?
15386 - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
15388 - mv -f "$cfgfile" "$ofile" || \
15389 - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15390 - chmod +x "$ofile"
15393 - # If there is no Makefile yet, we rely on a make rule to execute
15394 - # `config.status --recheck' to rerun these tests and create the
15395 - # libtool script then.
15396 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15397 - if test -f "$ltmain_in"; then
15398 - test -f Makefile && make "$ltmain"
15404 -ac_cpp='$CPP $CPPFLAGS'
15405 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15406 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15407 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
15412 -# Check whether --with-tags or --without-tags was given.
15413 -if test "${with_tags+set}" = set; then
15414 - withval="$with_tags"
15415 - tagnames="$withval"
15418 -if test -f "$ltmain" && test -n "$tagnames"; then
15419 - if test ! -f "${ofile}"; then
15420 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
15421 -echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
15424 - if test -z "$LTCC"; then
15425 - eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
15426 - if test -z "$LTCC"; then
15427 - { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
15428 -echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
15430 - { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
15431 -echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
15435 - # Extract list of available tagged configurations in $ofile.
15436 - # Note that this assumes the entire list is on one line.
15437 - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
15439 - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15440 - for tagname in $tagnames; do
15441 - IFS="$lt_save_ifs"
15442 - # Check whether tagname contains only valid characters
15443 - case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
15445 - *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
15446 -echo "$as_me: error: invalid tag name: $tagname" >&2;}
15447 - { (exit 1); exit 1; }; }
15451 - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
15453 - { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
15454 -echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
15455 - { (exit 1); exit 1; }; }
15458 - # Update the list of available tags.
15459 - if test -n "$tagname"; then
15460 - echo appending configuration tag \"$tagname\" to $ofile
15464 - if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15465 - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15466 - (test "X$CXX" != "Xg++"))) ; then
15468 -ac_cpp='$CXXCPP $CPPFLAGS'
15469 -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15470 -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15471 -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15476 -archive_cmds_need_lc_CXX=no
15477 -allow_undefined_flag_CXX=
15478 -always_export_symbols_CXX=no
15479 -archive_expsym_cmds_CXX=
15480 -export_dynamic_flag_spec_CXX=
15481 -hardcode_direct_CXX=no
15482 -hardcode_libdir_flag_spec_CXX=
15483 -hardcode_libdir_flag_spec_ld_CXX=
15484 -hardcode_libdir_separator_CXX=
15485 -hardcode_minus_L_CXX=no
15486 -hardcode_automatic_CXX=no
15488 -module_expsym_cmds_CXX=
15489 -link_all_deplibs_CXX=unknown
15490 -old_archive_cmds_CXX=$old_archive_cmds
15491 -no_undefined_flag_CXX=
15492 -whole_archive_flag_spec_CXX=
15493 -enable_shared_with_static_runtimes_CXX=no
15495 -# Dependencies to place before and after the object being linked:
15496 -predep_objects_CXX=
15497 -postdep_objects_CXX=
15500 -compiler_lib_search_path_CXX=
15502 -# Source file extension for C++ test sources.
15505 -# Object file extension for compiled C++ test sources.
15507 -objext_CXX=$objext
15509 -# Code to be used in simple compile tests
15510 -lt_simple_compile_test_code="int some_variable = 0;\n"
15512 -# Code to be used in simple link tests
15513 -lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
15515 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15517 -# If no C compiler was specified, use CC.
15518 -LTCC=${LTCC-"$CC"}
15520 -# Allow CC to be a program name with arguments.
15524 -# save warnings/boilerplate of simple test code
15525 -ac_outfile=conftest.$ac_objext
15526 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15527 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15528 -_lt_compiler_boilerplate=`cat conftest.err`
15531 -ac_outfile=conftest.$ac_objext
15532 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
15533 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
15534 -_lt_linker_boilerplate=`cat conftest.err`
15538 -# Allow CC to be a program name with arguments.
15543 -lt_save_with_gnu_ld=$with_gnu_ld
15544 -lt_save_path_LD=$lt_cv_path_LD
15545 -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15546 - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15548 - unset lt_cv_prog_gnu_ld
15550 -if test -n "${lt_cv_path_LDCXX+set}"; then
15551 - lt_cv_path_LD=$lt_cv_path_LDCXX
15553 - unset lt_cv_path_LD
15555 -test -z "${LDCXX+set}" || LD=$LDCXX
15559 -for cc_temp in $compiler""; do
15561 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15562 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15567 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15570 -# We don't want -fno-exception wen compiling C++ code, so set the
15571 -# no_builtin_flag separately
15572 -if test "$GXX" = yes; then
15573 - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15575 - lt_prog_compiler_no_builtin_flag_CXX=
15578 -if test "$GXX" = yes; then
15579 - # Set up default GNU C++ configuration
15582 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
15583 -if test "${with_gnu_ld+set}" = set; then
15584 - withval="$with_gnu_ld"
15585 - test "$withval" = no || with_gnu_ld=yes
15590 -if test "$GCC" = yes; then
15591 - # Check if gcc -print-prog-name=ld gives a path.
15592 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
15593 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
15596 - # gcc leaves a trailing carriage return which upsets mingw
15597 - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15599 - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15602 - # Accept absolute paths.
15603 - [\\/]* | ?:[\\/]*)
15604 - re_direlt='/[^/][^/]*/\.\./'
15605 - # Canonicalize the pathname of ld
15606 - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
15607 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15608 - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
15610 - test -z "$LD" && LD="$ac_prog"
15613 - # If it fails, then pretend we aren't using GCC.
15617 - # If it is relative, then search for the first ld in PATH.
15618 - with_gnu_ld=unknown
15621 -elif test "$with_gnu_ld" = yes; then
15622 - echo "$as_me:$LINENO: checking for GNU ld" >&5
15623 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
15625 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15626 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
15628 -if test "${lt_cv_path_LD+set}" = set; then
15629 - echo $ECHO_N "(cached) $ECHO_C" >&6
15631 - if test -z "$LD"; then
15632 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15633 - for ac_dir in $PATH; do
15634 - IFS="$lt_save_ifs"
15635 - test -z "$ac_dir" && ac_dir=.
15636 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15637 - lt_cv_path_LD="$ac_dir/$ac_prog"
15638 - # Check to see if the program is GNU ld. I'd rather use --version,
15639 - # but apparently some variants of GNU ld only accept -v.
15640 - # Break only if it was the GNU/non-GNU ld that we prefer.
15641 - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15642 - *GNU* | *'with BFD'*)
15643 - test "$with_gnu_ld" != no && break
15646 - test "$with_gnu_ld" != yes && break
15651 - IFS="$lt_save_ifs"
15653 - lt_cv_path_LD="$LD" # Let the user override the test with a path.
15657 -LD="$lt_cv_path_LD"
15658 -if test -n "$LD"; then
15659 - echo "$as_me:$LINENO: result: $LD" >&5
15660 -echo "${ECHO_T}$LD" >&6
15662 - echo "$as_me:$LINENO: result: no" >&5
15663 -echo "${ECHO_T}no" >&6
15665 -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15666 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15667 - { (exit 1); exit 1; }; }
15668 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
15669 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
15670 -if test "${lt_cv_prog_gnu_ld+set}" = set; then
15671 - echo $ECHO_N "(cached) $ECHO_C" >&6
15673 - # I'd rather use --version here, but apparently some GNU lds only accept -v.
15674 -case `$LD -v 2>&1 </dev/null` in
15675 -*GNU* | *'with BFD'*)
15676 - lt_cv_prog_gnu_ld=yes
15679 - lt_cv_prog_gnu_ld=no
15683 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
15684 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
15685 -with_gnu_ld=$lt_cv_prog_gnu_ld
15689 - # Check if GNU C++ uses GNU ld as the underlying linker, since the
15690 - # archiving commands below assume that GNU ld is being used.
15691 - if test "$with_gnu_ld" = yes; then
15692 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15693 - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15695 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15696 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15698 - # If archive_cmds runs LD, not CC, wlarc should be empty
15699 - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15700 - # investigate it a little bit more. (MM)
15703 - # ancient GNU ld didn't support --whole-archive et. al.
15704 - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
15705 - grep 'no-whole-archive' > /dev/null; then
15706 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15708 - whole_archive_flag_spec_CXX=
15714 - # A generic and very simple default shared library creation
15715 - # command for GNU C++ for the case where it uses the native
15716 - # linker, instead of GNU ld. If possible, this setting should
15717 - # overridden to take advantage of the native linker features on
15718 - # the platform it is being used on.
15719 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15722 - # Commands to make compiler produce verbose output that lists
15723 - # what "hidden" libraries, object files and flags are used when
15724 - # linking a shared library.
15725 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15733 -# PORTME: fill in a description of your system's C++ link characteristics
15734 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15735 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15739 - # FIXME: insert proper C++ library support
15743 - if test "$host_cpu" = ia64; then
15744 - # On IA64, the linker does run time linking by default, so we don't
15745 - # have to do anything special.
15746 - aix_use_runtimelinking=no
15747 - exp_sym_flag='-Bexport'
15750 - aix_use_runtimelinking=no
15752 - # Test if we are trying to use run time linking or normal
15753 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15754 - # need to do runtime linking.
15755 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15756 - for ld_flag in $LDFLAGS; do
15759 - aix_use_runtimelinking=yes
15766 - exp_sym_flag='-bexport'
15767 - no_entry_flag='-bnoentry'
15770 - # When large executables or shared objects are built, AIX ld can
15771 - # have problems creating the table of contents. If linking a library
15772 - # or program results in "error TOC overflow" add -mminimal-toc to
15773 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15774 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15776 - archive_cmds_CXX=''
15777 - hardcode_direct_CXX=yes
15778 - hardcode_libdir_separator_CXX=':'
15779 - link_all_deplibs_CXX=yes
15781 - if test "$GXX" = yes; then
15782 - case $host_os in aix4.[012]|aix4.[012].*)
15783 - # We only want to do this on AIX 4.2 and lower, the check
15784 - # below for broken collect2 doesn't work under 4.3+
15785 - collect2name=`${CC} -print-prog-name=collect2`
15786 - if test -f "$collect2name" && \
15787 - strings "$collect2name" | grep resolve_lib_name >/dev/null
15789 - # We have reworked collect2
15790 - hardcode_direct_CXX=yes
15792 - # We have old collect2
15793 - hardcode_direct_CXX=unsupported
15794 - # It fails to find uninstalled libraries when the uninstalled
15795 - # path is not listed in the libpath. Setting hardcode_minus_L
15796 - # to unsupported forces relinking
15797 - hardcode_minus_L_CXX=yes
15798 - hardcode_libdir_flag_spec_CXX='-L$libdir'
15799 - hardcode_libdir_separator_CXX=
15802 - shared_flag='-shared'
15803 - if test "$aix_use_runtimelinking" = yes; then
15804 - shared_flag="$shared_flag "'${wl}-G'
15808 - if test "$host_cpu" = ia64; then
15809 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15810 - # chokes on -Wl,-G. The following line is correct:
15813 - if test "$aix_use_runtimelinking" = yes; then
15814 - shared_flag='${wl}-G'
15816 - shared_flag='${wl}-bM:SRE'
15821 - # It seems that -bexpall does not export symbols beginning with
15822 - # underscore (_), so it is better to generate a list of symbols to export.
15823 - always_export_symbols_CXX=yes
15824 - if test "$aix_use_runtimelinking" = yes; then
15825 - # Warning - without using the other runtime loading flags (-brtl),
15826 - # -berok will link without error, but may produce a broken library.
15827 - allow_undefined_flag_CXX='-berok'
15828 - # Determine the default libpath from the value encoded in an empty executable.
15829 - cat >conftest.$ac_ext <<_ACEOF
15832 -cat confdefs.h >>conftest.$ac_ext
15833 -cat >>conftest.$ac_ext <<_ACEOF
15834 -/* end confdefs.h. */
15844 -rm -f conftest.$ac_objext conftest$ac_exeext
15845 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15846 - (eval $ac_link) 2>conftest.er1
15848 - grep -v '^ *+' conftest.er1 >conftest.err
15849 - rm -f conftest.er1
15850 - cat conftest.err >&5
15851 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 - (exit $ac_status); } &&
15853 - { ac_try='test -z "$ac_cxx_werror_flag"
15854 - || test ! -s conftest.err'
15855 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 - (eval $ac_try) 2>&5
15858 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 - (exit $ac_status); }; } &&
15860 - { ac_try='test -s conftest$ac_exeext'
15861 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 - (eval $ac_try) 2>&5
15864 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 - (exit $ac_status); }; }; then
15867 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15869 -# Check for a 64-bit object if we didn't find anything.
15870 -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; }
15873 - echo "$as_me: failed program was:" >&5
15874 -sed 's/^/| /' conftest.$ac_ext >&5
15877 -rm -f conftest.err conftest.$ac_objext \
15878 - conftest$ac_exeext conftest.$ac_ext
15879 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15881 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15883 - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15885 - if test "$host_cpu" = ia64; then
15886 - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15887 - allow_undefined_flag_CXX="-z nodefs"
15888 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
15890 - # Determine the default libpath from the value encoded in an empty executable.
15891 - cat >conftest.$ac_ext <<_ACEOF
15894 -cat confdefs.h >>conftest.$ac_ext
15895 -cat >>conftest.$ac_ext <<_ACEOF
15896 -/* end confdefs.h. */
15906 -rm -f conftest.$ac_objext conftest$ac_exeext
15907 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15908 - (eval $ac_link) 2>conftest.er1
15910 - grep -v '^ *+' conftest.er1 >conftest.err
15911 - rm -f conftest.er1
15912 - cat conftest.err >&5
15913 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 - (exit $ac_status); } &&
15915 - { ac_try='test -z "$ac_cxx_werror_flag"
15916 - || test ! -s conftest.err'
15917 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15918 - (eval $ac_try) 2>&5
15920 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 - (exit $ac_status); }; } &&
15922 - { ac_try='test -s conftest$ac_exeext'
15923 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15924 - (eval $ac_try) 2>&5
15926 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 - (exit $ac_status); }; }; then
15929 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15931 -# Check for a 64-bit object if we didn't find anything.
15932 -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; }
15935 - echo "$as_me: failed program was:" >&5
15936 -sed 's/^/| /' conftest.$ac_ext >&5
15939 -rm -f conftest.err conftest.$ac_objext \
15940 - conftest$ac_exeext conftest.$ac_ext
15941 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15943 - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15944 - # Warning - without using the other run time loading flags,
15945 - # -berok will link without error, but may produce a broken library.
15946 - no_undefined_flag_CXX=' ${wl}-bernotok'
15947 - allow_undefined_flag_CXX=' ${wl}-berok'
15948 - # -bexpall does not export symbols beginning with underscore (_)
15949 - always_export_symbols_CXX=yes
15950 - # Exported symbols can be pulled into shared objects from archives
15951 - whole_archive_flag_spec_CXX=' '
15952 - archive_cmds_need_lc_CXX=yes
15953 - # This is similar to how AIX traditionally builds its shared libraries.
15954 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15959 - case $cc_basename in
15961 - # FIXME: insert proper C++ library support
15968 - cygwin* | mingw* | pw32*)
15969 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15970 - # as there is no search path for DLLs.
15971 - hardcode_libdir_flag_spec_CXX='-L$libdir'
15972 - allow_undefined_flag_CXX=unsupported
15973 - always_export_symbols_CXX=no
15974 - enable_shared_with_static_runtimes_CXX=yes
15976 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15977 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15978 - # If the export-symbols file already is a .def file (1st line
15979 - # is EXPORTS), use it as is; otherwise, prepend...
15980 - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15981 - cp $export_symbols $output_objdir/$soname.def;
15983 - echo EXPORTS > $output_objdir/$soname.def;
15984 - cat $export_symbols >> $output_objdir/$soname.def;
15986 - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15991 - darwin* | rhapsody*)
15993 - rhapsody* | darwin1.[012])
15994 - allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
15996 - *) # Darwin 1.3 on
15997 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15998 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16000 - case ${MACOSX_DEPLOYMENT_TARGET} in
16002 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16005 - allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
16011 - archive_cmds_need_lc_CXX=no
16012 - hardcode_direct_CXX=no
16013 - hardcode_automatic_CXX=yes
16014 - hardcode_shlibpath_var_CXX=unsupported
16015 - whole_archive_flag_spec_CXX=''
16016 - link_all_deplibs_CXX=yes
16018 - if test "$GXX" = yes ; then
16019 - lt_int_apple_cc_single_mod=no
16020 - output_verbose_link_cmd='echo'
16021 - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
16022 - lt_int_apple_cc_single_mod=yes
16024 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16025 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16027 - archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16029 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16030 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16031 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16032 - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16034 - archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16036 - module_expsym_cmds_CXX='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}'
16038 - case $cc_basename in
16040 - output_verbose_link_cmd='echo'
16041 - archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16042 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16043 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16044 - archive_expsym_cmds_CXX='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}'
16045 - module_expsym_cmds_CXX='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}'
16055 - case $cc_basename in
16057 - # FIXME: insert proper C++ library support
16061 - # Green Hills C++ Compiler
16062 - # FIXME: insert proper C++ library support
16066 - # FIXME: insert proper C++ library support
16072 - # C++ shared libraries reported to be fairly broken before switch to ELF
16076 - archive_cmds_need_lc_CXX=no
16078 - freebsd* | kfreebsd*-gnu | dragonfly*)
16079 - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16081 - ld_shlibs_CXX=yes
16086 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16087 - hardcode_libdir_separator_CXX=:
16088 - export_dynamic_flag_spec_CXX='${wl}-E'
16089 - hardcode_direct_CXX=yes
16090 - hardcode_minus_L_CXX=yes # Not in the search PATH,
16091 - # but as the default
16092 - # location of the library.
16094 - case $cc_basename in
16096 - # FIXME: insert proper C++ library support
16100 - archive_cmds_CXX='$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'
16101 - # Commands to make compiler produce verbose output that lists
16102 - # what "hidden" libraries, object files and flags are used when
16103 - # linking a shared library.
16105 - # There doesn't appear to be a way to prevent this compiler from
16106 - # explicitly linking system object files so we need to strip them
16107 - # from the output so that they don't get included in the library
16109 - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16112 - if test "$GXX" = yes; then
16113 - archive_cmds_CXX='$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'
16115 - # FIXME: insert proper C++ library support
16122 - if test $with_gnu_ld = no; then
16123 - case $host_cpu in
16125 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16126 - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
16127 - hardcode_libdir_separator_CXX=:
16130 - hardcode_libdir_flag_spec_CXX='-L$libdir'
16133 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16134 - hardcode_libdir_separator_CXX=:
16135 - export_dynamic_flag_spec_CXX='${wl}-E'
16139 - case $host_cpu in
16141 - hardcode_direct_CXX=no
16142 - hardcode_shlibpath_var_CXX=no
16145 - hardcode_direct_CXX=no
16146 - hardcode_shlibpath_var_CXX=no
16147 - hardcode_minus_L_CXX=yes # Not in the search PATH,
16148 - # but as the default
16149 - # location of the library.
16152 - hardcode_direct_CXX=yes
16153 - hardcode_minus_L_CXX=yes # Not in the search PATH,
16154 - # but as the default
16155 - # location of the library.
16159 - case $cc_basename in
16161 - # FIXME: insert proper C++ library support
16165 - case $host_cpu in
16167 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16170 - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16173 - # Commands to make compiler produce verbose output that lists
16174 - # what "hidden" libraries, object files and flags are used when
16175 - # linking a shared library.
16177 - # There doesn't appear to be a way to prevent this compiler from
16178 - # explicitly linking system object files so we need to strip them
16179 - # from the output so that they don't get included in the library
16181 - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16184 - if test "$GXX" = yes; then
16185 - if test $with_gnu_ld = no; then
16186 - case $host_cpu in
16188 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
16191 - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16196 - # FIXME: insert proper C++ library support
16203 - case $cc_basename in
16206 - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16208 - # Archives containing C++ object files must be created using
16209 - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16210 - # necessary to make sure instantiated templates are included
16211 - # in the archive.
16212 - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16215 - if test "$GXX" = yes; then
16216 - if test "$with_gnu_ld" = no; then
16217 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
16219 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
16222 - link_all_deplibs_CXX=yes
16225 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16226 - hardcode_libdir_separator_CXX=:
16229 - case $cc_basename in
16231 - # Kuck and Associates, Inc. (KAI) C++ Compiler
16233 - # KCC will only create a shared library if the output file
16234 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
16235 - # to its proper name (with version) after linking.
16236 - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16237 - archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
16238 - # Commands to make compiler produce verbose output that lists
16239 - # what "hidden" libraries, object files and flags are used when
16240 - # linking a shared library.
16242 - # There doesn't appear to be a way to prevent this compiler from
16243 - # explicitly linking system object files so we need to strip them
16244 - # from the output so that they don't get included in the library
16246 - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16248 - hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
16249 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16251 - # Archives containing C++ object files must be created using
16252 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16253 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16258 - # version 8.0 and above of icpc choke on multiply defined symbols
16259 - # if we add $predep_objects and $postdep_objects, however 7.1 and
16260 - # earlier do not add the objects themselves.
16261 - case `$CC -V 2>&1` in
16263 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16264 - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16266 - *) # Version 8.0 or newer
16268 - case $host_cpu in
16269 - ia64*) tmp_idyn=' -i_dynamic';;
16271 - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16272 - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16275 - archive_cmds_need_lc_CXX=no
16276 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16277 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16278 - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16281 - # Portland Group C++ compiler
16282 - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
16283 - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
16285 - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16286 - export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16287 - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16291 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16292 - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
16294 - runpath_var=LD_RUN_PATH
16295 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16296 - hardcode_libdir_separator_CXX=:
16298 - # Commands to make compiler produce verbose output that lists
16299 - # what "hidden" libraries, object files and flags are used when
16300 - # linking a shared library.
16302 - # There doesn't appear to be a way to prevent this compiler from
16303 - # explicitly linking system object files so we need to strip them
16304 - # from the output so that they don't get included in the library
16306 - 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'
16311 - # FIXME: insert proper C++ library support
16315 - # FIXME: insert proper C++ library support
16319 - case $cc_basename in
16321 - # FIXME: insert proper C++ library support
16325 - # FIXME: insert proper C++ library support
16331 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16332 - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16334 - hardcode_libdir_flag_spec_CXX='-R$libdir'
16335 - hardcode_direct_CXX=yes
16336 - hardcode_shlibpath_var_CXX=no
16338 - # Workaround some broken pre-1.5 toolchains
16339 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16342 - # C++ shared libraries are fairly broken
16346 - hardcode_direct_CXX=yes
16347 - hardcode_shlibpath_var_CXX=no
16348 - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16349 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16350 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16351 - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16352 - export_dynamic_flag_spec_CXX='${wl}-E'
16353 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16355 - output_verbose_link_cmd='echo'
16358 - case $cc_basename in
16360 - # Kuck and Associates, Inc. (KAI) C++ Compiler
16362 - # KCC will only create a shared library if the output file
16363 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
16364 - # to its proper name (with version) after linking.
16365 - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16367 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16368 - hardcode_libdir_separator_CXX=:
16370 - # Archives containing C++ object files must be created using
16371 - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16372 - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16376 - # Rational C++ 2.4.1
16377 - # FIXME: insert proper C++ library support
16381 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16382 - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16384 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16385 - hardcode_libdir_separator_CXX=:
16387 - # Commands to make compiler produce verbose output that lists
16388 - # what "hidden" libraries, object files and flags are used when
16389 - # linking a shared library.
16391 - # There doesn't appear to be a way to prevent this compiler from
16392 - # explicitly linking system object files so we need to strip them
16393 - # from the output so that they don't get included in the library
16395 - 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'
16398 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16399 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16400 - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
16402 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16403 - hardcode_libdir_separator_CXX=:
16405 - # Commands to make compiler produce verbose output that lists
16406 - # what "hidden" libraries, object files and flags are used when
16407 - # linking a shared library.
16408 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16411 - # FIXME: insert proper C++ library support
16418 - case $cc_basename in
16420 - # Kuck and Associates, Inc. (KAI) C++ Compiler
16422 - # KCC will only create a shared library if the output file
16423 - # ends with ".so" (or ".sl" for HP-UX), so rename the library
16424 - # to its proper name (with version) after linking.
16425 - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16427 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16428 - hardcode_libdir_separator_CXX=:
16430 - # Archives containing C++ object files must be created using
16431 - # the KAI C++ compiler.
16432 - old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
16435 - # Rational C++ 2.4.1
16436 - # FIXME: insert proper C++ library support
16440 - allow_undefined_flag_CXX=' -expect_unresolved \*'
16441 - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16442 - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16443 - echo "-hidden">> $lib.exp~
16444 - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
16447 - hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16448 - hardcode_libdir_separator_CXX=:
16450 - # Commands to make compiler produce verbose output that lists
16451 - # what "hidden" libraries, object files and flags are used when
16452 - # linking a shared library.
16454 - # There doesn't appear to be a way to prevent this compiler from
16455 - # explicitly linking system object files so we need to strip them
16456 - # from the output so that they don't get included in the library
16458 - 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'
16461 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16462 - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16463 - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${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'
16465 - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16466 - hardcode_libdir_separator_CXX=:
16468 - # Commands to make compiler produce verbose output that lists
16469 - # what "hidden" libraries, object files and flags are used when
16470 - # linking a shared library.
16471 - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16474 - # FIXME: insert proper C++ library support
16481 - # FIXME: insert proper C++ library support
16485 - archive_cmds_need_lc_CXX=no
16486 - case $cc_basename in
16488 - # FIXME: insert proper C++ library support
16492 - # FIXME: insert proper C++ library support
16498 - case $cc_basename in
16501 - # FIXME: insert proper C++ library support
16506 - # FIXME: insert proper C++ library support
16510 - # FIXME: insert proper C++ library support
16516 - case $cc_basename in
16518 - # Sun C++ 4.2, 5.x and Centerline C++
16519 - archive_cmds_need_lc_CXX=yes
16520 - no_undefined_flag_CXX=' -zdefs'
16521 - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16522 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16523 - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16525 - hardcode_libdir_flag_spec_CXX='-R$libdir'
16526 - hardcode_shlibpath_var_CXX=no
16528 - solaris2.[0-5] | solaris2.[0-5].*) ;;
16530 - # The C++ compiler is used as linker so we must use $wl
16531 - # flag to pass the commands to the underlying system
16532 - # linker. We must also pass each convience library through
16533 - # to the system linker between allextract/defaultextract.
16534 - # The C++ compiler will combine linker options so we
16535 - # cannot just pass the convience library names through
16537 - # Supported since Solaris 2.6 (maybe 2.5.1?)
16538 - whole_archive_flag_spec_CXX='${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'
16541 - link_all_deplibs_CXX=yes
16543 - output_verbose_link_cmd='echo'
16545 - # Archives containing C++ object files must be created using
16546 - # "CC -xar", where "CC" is the Sun C++ compiler. This is
16547 - # necessary to make sure instantiated templates are included
16548 - # in the archive.
16549 - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16552 - # Green Hills C++ Compiler
16553 - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16555 - # The C++ compiler must be used to create the archive.
16556 - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16559 - # GNU C++ compiler with Solaris linker
16560 - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16561 - no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16562 - if $CC --version | grep -v '^2\.7' > /dev/null; then
16563 - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16564 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16565 - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16567 - # Commands to make compiler produce verbose output that lists
16568 - # what "hidden" libraries, object files and flags are used when
16569 - # linking a shared library.
16570 - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16572 - # g++ 2.7 appears to require `-G' NOT `-shared' on this
16574 - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16575 - archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16576 - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16578 - # Commands to make compiler produce verbose output that lists
16579 - # what "hidden" libraries, object files and flags are used when
16580 - # linking a shared library.
16581 - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16584 - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16589 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16590 - archive_cmds_need_lc_CXX=no
16593 - case $cc_basename in
16595 - # NonStop-UX NCC 3.20
16596 - # FIXME: insert proper C++ library support
16600 - # FIXME: insert proper C++ library support
16606 - # FIXME: insert proper C++ library support
16610 - # FIXME: insert proper C++ library support
16614 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16615 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
16616 -test "$ld_shlibs_CXX" = no && can_build_shared=no
16622 -cat > conftest.$ac_ext <<EOF
16626 - Foo (void) { a = 0; }
16632 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16633 - (eval $ac_compile) 2>&5
16635 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 - (exit $ac_status); }; then
16637 - # Parse the compiler output and extract the necessary
16638 - # objects, libraries and library flags.
16640 - # Sentinel used to keep track of whether or not we are before
16641 - # the conftest object file.
16642 - pre_test_object_deps_done=no
16644 - # The `*' in the case matches for architectures that use `case' in
16645 - # $output_verbose_cmd can trigger glob expansion during the loop
16646 - # eval without this substitution.
16647 - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
16649 - for p in `eval $output_verbose_link_cmd`; do
16653 - # Some compilers place space between "-{L,R}" and the path.
16654 - # Remove the space.
16655 - if test $p = "-L" \
16656 - || test $p = "-R"; then
16663 - if test "$pre_test_object_deps_done" = no; then
16666 - # Internal compiler library paths should come after those
16667 - # provided the user. The postdeps already come after the
16668 - # user supplied libs so there is no need to process them.
16669 - if test -z "$compiler_lib_search_path_CXX"; then
16670 - compiler_lib_search_path_CXX="${prev}${p}"
16672 - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16675 - # The "-l" case would never come before the object being
16676 - # linked, so don't bother handling this case.
16679 - if test -z "$postdeps_CXX"; then
16680 - postdeps_CXX="${prev}${p}"
16682 - postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16688 - # This assumes that the test object file only shows up
16689 - # once in the compiler output.
16690 - if test "$p" = "conftest.$objext"; then
16691 - pre_test_object_deps_done=yes
16695 - if test "$pre_test_object_deps_done" = no; then
16696 - if test -z "$predep_objects_CXX"; then
16697 - predep_objects_CXX="$p"
16699 - predep_objects_CXX="$predep_objects_CXX $p"
16702 - if test -z "$postdep_objects_CXX"; then
16703 - postdep_objects_CXX="$p"
16705 - postdep_objects_CXX="$postdep_objects_CXX $p"
16710 - *) ;; # Ignore the rest.
16716 - rm -f a.out a.exe
16718 - echo "libtool.m4: error: problem compiling CXX test program"
16721 -$rm -f confest.$objext
16723 -# PORTME: override above test on systems where it is broken
16726 - case $cc_basename in
16728 - # Adding this requires a known-good setup of shared libraries for
16729 - # Sun compiler versions before 5.6, else PIC objects from an old
16730 - # archive will be linked into the output, leading to subtle bugs.
16731 - postdeps_CXX='-lCstd -lCrun'
16737 -case " $postdeps_CXX " in
16738 -*" -lc "*) archive_cmds_need_lc_CXX=no ;;
16741 -lt_prog_compiler_wl_CXX=
16742 -lt_prog_compiler_pic_CXX=
16743 -lt_prog_compiler_static_CXX=
16745 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16746 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16748 - # C++ specific cases for pic, static, wl, etc.
16749 - if test "$GXX" = yes; then
16750 - lt_prog_compiler_wl_CXX='-Wl,'
16751 - lt_prog_compiler_static_CXX='-static'
16755 - # All AIX code is PIC.
16756 - if test "$host_cpu" = ia64; then
16757 - # AIX 5 now supports IA64 processor
16758 - lt_prog_compiler_static_CXX='-Bstatic'
16762 - # FIXME: we need at least 68020 code to build shared libraries, but
16763 - # adding the `-m68020' flag to GCC prevents building anything better,
16764 - # like `-m68040'.
16765 - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16767 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16768 - # PIC is the default for these OSes.
16770 - mingw* | os2* | pw32*)
16771 - # This hack is so that the source file can tell whether it is being
16772 - # built for inclusion in a dll (and should export symbols for example).
16773 - lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16775 - darwin* | rhapsody*)
16776 - # PIC is the default on this platform
16777 - # Common symbols not allowed in MH_DYLIB files
16778 - lt_prog_compiler_pic_CXX='-fno-common'
16781 - # DJGPP does not support shared libraries at all
16782 - lt_prog_compiler_pic_CXX=
16785 - if test -d /usr/nec; then
16786 - lt_prog_compiler_pic_CXX=-Kconform_pic
16790 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16791 - # not for PA HP-UX.
16792 - case $host_cpu in
16796 - lt_prog_compiler_pic_CXX='-fPIC'
16801 - lt_prog_compiler_pic_CXX='-fPIC'
16807 - # All AIX code is PIC.
16808 - if test "$host_cpu" = ia64; then
16809 - # AIX 5 now supports IA64 processor
16810 - lt_prog_compiler_static_CXX='-Bstatic'
16812 - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16816 - case $cc_basename in
16818 - # Green Hills C++ Compiler
16819 - # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16824 - # PIC is the default on this platform
16825 - # Common symbols not allowed in MH_DYLIB files
16826 - case $cc_basename in
16828 - lt_prog_compiler_pic_CXX='-qnocommon'
16829 - lt_prog_compiler_wl_CXX='-Wl,'
16834 - case $cc_basename in
16836 - lt_prog_compiler_pic_CXX='-KPIC'
16839 - # Green Hills C++ Compiler
16840 - lt_prog_compiler_pic_CXX='-pic'
16846 - freebsd* | kfreebsd*-gnu | dragonfly*)
16847 - # FreeBSD uses GNU C++
16849 - hpux9* | hpux10* | hpux11*)
16850 - case $cc_basename in
16852 - lt_prog_compiler_wl_CXX='-Wl,'
16853 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
16854 - if test "$host_cpu" != ia64; then
16855 - lt_prog_compiler_pic_CXX='+Z'
16859 - lt_prog_compiler_wl_CXX='-Wl,'
16860 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
16861 - case $host_cpu in
16866 - lt_prog_compiler_pic_CXX='+Z'
16874 - irix5* | irix6* | nonstopux*)
16875 - case $cc_basename in
16877 - lt_prog_compiler_wl_CXX='-Wl,'
16878 - lt_prog_compiler_static_CXX='-non_shared'
16879 - # CC pic flag -KPIC is the default.
16886 - case $cc_basename in
16888 - # KAI C++ Compiler
16889 - lt_prog_compiler_wl_CXX='--backend -Wl,'
16890 - lt_prog_compiler_pic_CXX='-fPIC'
16894 - lt_prog_compiler_wl_CXX='-Wl,'
16895 - lt_prog_compiler_pic_CXX='-KPIC'
16896 - lt_prog_compiler_static_CXX='-static'
16899 - # Portland Group C++ compiler.
16900 - lt_prog_compiler_wl_CXX='-Wl,'
16901 - lt_prog_compiler_pic_CXX='-fpic'
16902 - lt_prog_compiler_static_CXX='-Bstatic'
16906 - # Make sure the PIC flag is empty. It appears that all Alpha
16907 - # Linux and Compaq Tru64 Unix objects are PIC.
16908 - lt_prog_compiler_pic_CXX=
16909 - lt_prog_compiler_static_CXX='-non_shared'
16920 - case $cc_basename in
16922 - lt_prog_compiler_pic_CXX='-W c,exportall'
16930 - osf3* | osf4* | osf5*)
16931 - case $cc_basename in
16933 - lt_prog_compiler_wl_CXX='--backend -Wl,'
16936 - # Rational C++ 2.4.1
16937 - lt_prog_compiler_pic_CXX='-pic'
16940 - # Digital/Compaq C++
16941 - lt_prog_compiler_wl_CXX='-Wl,'
16942 - # Make sure the PIC flag is empty. It appears that all Alpha
16943 - # Linux and Compaq Tru64 Unix objects are PIC.
16944 - lt_prog_compiler_pic_CXX=
16945 - lt_prog_compiler_static_CXX='-non_shared'
16954 - case $cc_basename in
16956 - lt_prog_compiler_pic_CXX='-fPIC'
16963 - case $cc_basename in
16965 - # Sun C++ 4.2, 5.x and Centerline C++
16966 - lt_prog_compiler_pic_CXX='-KPIC'
16967 - lt_prog_compiler_static_CXX='-Bstatic'
16968 - lt_prog_compiler_wl_CXX='-Qoption ld '
16971 - # Green Hills C++ Compiler
16972 - lt_prog_compiler_pic_CXX='-PIC'
16979 - case $cc_basename in
16982 - lt_prog_compiler_pic_CXX='-pic'
16983 - lt_prog_compiler_static_CXX='-Bstatic'
16987 - lt_prog_compiler_pic_CXX='-pic'
16994 - case $cc_basename in
16996 - # NonStop-UX NCC 3.20
16997 - lt_prog_compiler_pic_CXX='-KPIC'
17008 - lt_prog_compiler_can_build_shared_CXX=no
17013 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
17014 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
17017 -# Check to make sure the PIC flag actually works.
17019 -if test -n "$lt_prog_compiler_pic_CXX"; then
17021 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17022 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
17023 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
17024 - echo $ECHO_N "(cached) $ECHO_C" >&6
17026 - lt_prog_compiler_pic_works_CXX=no
17027 - ac_outfile=conftest.$ac_objext
17028 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17029 - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
17030 - # Insert the option either (1) after the last *FLAGS variable, or
17031 - # (2) before a word containing "conftest.", or (3) at the end.
17032 - # Note that $ac_compile itself does not contain backslashes and begins
17033 - # with a dollar sign (not a hyphen), so the echo should work correctly.
17034 - # The option is referenced via a variable to avoid confusing sed.
17035 - lt_compile=`echo "$ac_compile" | $SED \
17036 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17037 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17038 - -e 's:$: $lt_compiler_flag:'`
17039 - (eval echo "\"\$as_me:11206: $lt_compile\"" >&5)
17040 - (eval "$lt_compile" 2>conftest.err)
17042 - cat conftest.err >&5
17043 - echo "$as_me:11210: \$? = $ac_status" >&5
17044 - if (exit $ac_status) && test -s "$ac_outfile"; then
17045 - # The compiler can only warn and ignore the option if not recognized
17046 - # So say no if there are warnings other than the usual output.
17047 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
17048 - $SED '/^$/d' conftest.err >conftest.er2
17049 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
17050 - lt_prog_compiler_pic_works_CXX=yes
17056 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
17057 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
17059 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
17060 - case $lt_prog_compiler_pic_CXX in
17062 - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17065 - lt_prog_compiler_pic_CXX=
17066 - lt_prog_compiler_can_build_shared_CXX=no
17071 - # For platforms which do not support PIC, -DPIC is meaningless:
17073 - lt_prog_compiler_pic_CXX=
17076 - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17080 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17081 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17082 -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
17083 - echo $ECHO_N "(cached) $ECHO_C" >&6
17085 - lt_cv_prog_compiler_c_o_CXX=no
17086 - $rm -r conftest 2>/dev/null
17090 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17092 - lt_compiler_flag="-o out/conftest2.$ac_objext"
17093 - # Insert the option either (1) after the last *FLAGS variable, or
17094 - # (2) before a word containing "conftest.", or (3) at the end.
17095 - # Note that $ac_compile itself does not contain backslashes and begins
17096 - # with a dollar sign (not a hyphen), so the echo should work correctly.
17097 - lt_compile=`echo "$ac_compile" | $SED \
17098 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17099 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17100 - -e 's:$: $lt_compiler_flag:'`
17101 - (eval echo "\"\$as_me:11268: $lt_compile\"" >&5)
17102 - (eval "$lt_compile" 2>out/conftest.err)
17104 - cat out/conftest.err >&5
17105 - echo "$as_me:11272: \$? = $ac_status" >&5
17106 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
17108 - # The compiler can only warn and ignore the option if not recognized
17109 - # So say no if there are warnings
17110 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
17111 - $SED '/^$/d' out/conftest.err >out/conftest.er2
17112 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17113 - lt_cv_prog_compiler_c_o_CXX=yes
17118 - # SGI C++ compiler will create directory out/ii_files/ for
17119 - # template instantiation
17120 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17121 - $rm out/* && rmdir out
17127 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17128 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
17131 -hard_links="nottested"
17132 -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17133 - # do not overwrite the value of need_locks provided by the user
17134 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17135 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17138 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
17140 - ln conftest.a conftest.b 2>&5 || hard_links=no
17141 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
17142 - echo "$as_me:$LINENO: result: $hard_links" >&5
17143 -echo "${ECHO_T}$hard_links" >&6
17144 - if test "$hard_links" = no; then
17145 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17146 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17153 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17154 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17156 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17159 - # If we're using GNU nm, then we don't want the "-C" option.
17160 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
17161 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17162 - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17164 - export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17168 - export_symbols_cmds_CXX="$ltdll_cmds"
17170 - cygwin* | mingw*)
17171 - export_symbols_cmds_CXX='$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'
17174 - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17178 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17179 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
17180 -test "$ld_shlibs_CXX" = no && can_build_shared=no
17182 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17183 -if test "$GCC" = yes; then
17184 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17188 -# Do we need to explicitly link libc?
17190 -case "x$archive_cmds_need_lc_CXX" in
17192 - # Assume -lc should be added
17193 - archive_cmds_need_lc_CXX=yes
17195 - if test "$enable_shared" = yes && test "$GCC" = yes; then
17196 - case $archive_cmds_CXX in
17198 - # FIXME: we may have to deal with multi-command sequences.
17201 - # Test whether the compiler implicitly links with -lc since on some
17202 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
17203 - # to ld, don't add -lc before -lgcc.
17204 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17205 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17207 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17209 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17210 - (eval $ac_compile) 2>&5
17212 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 - (exit $ac_status); } 2>conftest.err; then
17216 - libobjs=conftest.$ac_objext
17218 - wl=$lt_prog_compiler_wl_CXX
17219 - compiler_flags=-v
17224 - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17225 - allow_undefined_flag_CXX=
17226 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17227 - (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17229 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 - (exit $ac_status); }
17232 - archive_cmds_need_lc_CXX=no
17234 - archive_cmds_need_lc_CXX=yes
17236 - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17238 - cat conftest.err 1>&5
17241 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
17242 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
17249 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17250 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17251 -library_names_spec=
17252 -libname_spec='lib$name'
17256 -postuninstall_cmds=
17260 -shlibpath_overrides_runpath=unknown
17262 -dynamic_linker="$host_os ld.so"
17263 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
17264 -if test "$GCC" = yes; then
17265 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17266 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17267 - # if the path contains ";" then we assume it to be the separator
17268 - # otherwise default to the standard path separator (i.e. ":") - it is
17269 - # assumed that no part of a normal pathname contains ";" but that should
17270 - # okay in the real world where ";" in dirpaths is itself problematic.
17271 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17273 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17276 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17278 -need_lib_prefix=unknown
17279 -hardcode_into_libs=no
17281 -# when you set need_version to no, make sure it does not cause -set_version
17282 -# flags to be left without arguments
17283 -need_version=unknown
17287 - version_type=linux
17288 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17289 - shlibpath_var=LIBPATH
17291 - # AIX 3 has no versioning support, so we append a major version to the name.
17292 - soname_spec='${libname}${release}${shared_ext}$major'
17296 - version_type=linux
17297 - need_lib_prefix=no
17299 - hardcode_into_libs=yes
17300 - if test "$host_cpu" = ia64; then
17301 - # AIX 5 supports IA64
17302 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17303 - shlibpath_var=LD_LIBRARY_PATH
17305 - # With GCC up to 2.95.x, collect2 would create an import file
17306 - # for dependence libraries. The import file would start with
17307 - # the line `#! .'. This would cause the generated library to
17308 - # depend on `.', always an invalid library. This was fixed in
17309 - # development snapshots of GCC prior to 3.0.
17311 - aix4 | aix4.[01] | aix4.[01].*)
17312 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17314 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17317 - can_build_shared=no
17321 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17322 - # soname into executable. Probably we can add versioning support to
17323 - # collect2, so additional links can be useful in future.
17324 - if test "$aix_use_runtimelinking" = yes; then
17325 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17326 - # instead of lib<name>.a to let people know that these are not
17327 - # typical AIX shared libraries.
17328 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17330 - # We preserve .a as extension for shared libraries through AIX4.2
17331 - # and later when we are not doing run time linking.
17332 - library_names_spec='${libname}${release}.a $libname.a'
17333 - soname_spec='${libname}${release}${shared_ext}$major'
17335 - shlibpath_var=LIBPATH
17340 - library_names_spec='$libname.ixlibrary $libname.a'
17341 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
17342 - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17346 - library_names_spec='${libname}${shared_ext}'
17347 - dynamic_linker="$host_os ld.so"
17348 - shlibpath_var=LIBRARY_PATH
17352 - version_type=linux
17354 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17355 - soname_spec='${libname}${release}${shared_ext}$major'
17356 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17357 - shlibpath_var=LD_LIBRARY_PATH
17358 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17359 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17360 - # the default ld.so.conf also contains /usr/contrib/lib and
17361 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17362 - # libtool to hard-code these into programs
17365 -cygwin* | mingw* | pw32*)
17366 - version_type=windows
17367 - shrext_cmds=".dll"
17369 - need_lib_prefix=no
17371 - case $GCC,$host_os in
17372 - yes,cygwin* | yes,mingw* | yes,pw32*)
17373 - library_names_spec='$libname.dll.a'
17374 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
17375 - postinstall_cmds='base_file=`basename \${file}`~
17376 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17377 - dldir=$destdir/`dirname \$dlpath`~
17378 - test -d \$dldir || mkdir -p \$dldir~
17379 - $install_prog $dir/$dlname \$dldir/$dlname~
17380 - chmod a+x \$dldir/$dlname'
17381 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17382 - dlpath=$dir/\$dldll~
17384 - shlibpath_overrides_runpath=yes
17388 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17389 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17390 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17393 - # MinGW DLLs use traditional 'lib' prefix
17394 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17395 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17396 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17397 - # It is most probably a Windows format PATH printed by
17398 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
17399 - # path with ; separators, and with drive letters. We can handle the
17400 - # drive letters (cygwin fileutils understands them), so leave them,
17401 - # especially as we might pass files found there to a mingw objdump,
17402 - # which wouldn't understand a cygwinified path. Ahh.
17403 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17405 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17409 - # pw32 DLLs use 'pw' prefix rather than 'lib'
17410 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17416 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17419 - dynamic_linker='Win32 ld.exe'
17420 - # FIXME: first we should search . and the directory the executable is in
17421 - shlibpath_var=PATH
17424 -darwin* | rhapsody*)
17425 - dynamic_linker="$host_os dyld"
17426 - version_type=darwin
17427 - need_lib_prefix=no
17429 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17430 - soname_spec='${libname}${release}${major}$shared_ext'
17431 - shlibpath_overrides_runpath=yes
17432 - shlibpath_var=DYLD_LIBRARY_PATH
17433 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17434 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17435 - if test "$GCC" = yes; then
17436 - 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"`
17438 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17440 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17444 - version_type=linux
17445 - need_lib_prefix=no
17447 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17448 - soname_spec='${libname}${release}${shared_ext}$major'
17449 - shlibpath_var=LD_LIBRARY_PATH
17453 - dynamic_linker=no
17457 - version_type=linux
17458 - need_lib_prefix=no
17460 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17461 - soname_spec='${libname}${release}${shared_ext}$major'
17462 - shlibpath_var=LD_LIBRARY_PATH
17463 - shlibpath_overrides_runpath=no
17464 - hardcode_into_libs=yes
17465 - dynamic_linker='GNU ld.so'
17468 -freebsd* | dragonfly*)
17469 - # DragonFly does not have aout. When/if they implement a new
17470 - # versioning mechanism, adjust this.
17471 - if test -x /usr/bin/objformat; then
17472 - objformat=`/usr/bin/objformat`
17475 - freebsd[123]*) objformat=aout ;;
17476 - *) objformat=elf ;;
17479 - version_type=freebsd-$objformat
17480 - case $version_type in
17482 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17484 - need_lib_prefix=no
17487 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17491 - shlibpath_var=LD_LIBRARY_PATH
17494 - shlibpath_overrides_runpath=yes
17496 - freebsd3.[01]* | freebsdelf3.[01]*)
17497 - shlibpath_overrides_runpath=yes
17498 - hardcode_into_libs=yes
17501 - shlibpath_overrides_runpath=no
17502 - hardcode_into_libs=yes
17508 - version_type=linux
17509 - need_lib_prefix=no
17511 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17512 - soname_spec='${libname}${release}${shared_ext}$major'
17513 - shlibpath_var=LD_LIBRARY_PATH
17514 - hardcode_into_libs=yes
17517 -hpux9* | hpux10* | hpux11*)
17518 - # Give a soname corresponding to the major version so that dld.sl refuses to
17519 - # link against other versions.
17520 - version_type=sunos
17521 - need_lib_prefix=no
17523 - case $host_cpu in
17525 - shrext_cmds='.so'
17526 - hardcode_into_libs=yes
17527 - dynamic_linker="$host_os dld.so"
17528 - shlibpath_var=LD_LIBRARY_PATH
17529 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17530 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17531 - soname_spec='${libname}${release}${shared_ext}$major'
17532 - if test "X$HPUX_IA64_MODE" = X32; then
17533 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17535 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17537 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17540 - shrext_cmds='.sl'
17541 - hardcode_into_libs=yes
17542 - dynamic_linker="$host_os dld.sl"
17543 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17544 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17545 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17546 - soname_spec='${libname}${release}${shared_ext}$major'
17547 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17548 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17551 - shrext_cmds='.sl'
17552 - dynamic_linker="$host_os dld.sl"
17553 - shlibpath_var=SHLIB_PATH
17554 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17555 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17556 - soname_spec='${libname}${release}${shared_ext}$major'
17559 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
17560 - postinstall_cmds='chmod 555 $lib'
17563 -irix5* | irix6* | nonstopux*)
17565 - nonstopux*) version_type=nonstopux ;;
17567 - if test "$lt_cv_prog_gnu_ld" = yes; then
17568 - version_type=linux
17570 - version_type=irix
17573 - need_lib_prefix=no
17575 - soname_spec='${libname}${release}${shared_ext}$major'
17576 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17578 - irix5* | nonstopux*)
17579 - libsuff= shlibsuff=
17582 - case $LD in # libtool.m4 will add one of these switches to LD
17583 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17584 - libsuff= shlibsuff= libmagic=32-bit;;
17585 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17586 - libsuff=32 shlibsuff=N32 libmagic=N32;;
17587 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17588 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
17589 - *) libsuff= shlibsuff= libmagic=never-match;;
17593 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17594 - shlibpath_overrides_runpath=no
17595 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17596 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17597 - hardcode_into_libs=yes
17600 -# No shared lib support for Linux oldld, aout, or coff.
17601 -linux*oldld* | linux*aout* | linux*coff*)
17602 - dynamic_linker=no
17605 -# This must be Linux ELF.
17607 - version_type=linux
17608 - need_lib_prefix=no
17610 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17611 - soname_spec='${libname}${release}${shared_ext}$major'
17612 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17613 - shlibpath_var=LD_LIBRARY_PATH
17614 - shlibpath_overrides_runpath=no
17615 - # This implies no fast_install, which is unacceptable.
17616 - # Some rework will be needed to allow for fast_install
17617 - # before this can be enabled.
17618 - hardcode_into_libs=yes
17620 - # Append ld.so.conf contents to the search path
17621 - if test -f /etc/ld.so.conf; then
17622 - 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' ' '`
17623 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17626 - # We used to test for /lib/ld.so.1 and disable shared libraries on
17627 - # powerpc, because MkLinux only supported shared libraries with the
17628 - # GNU dynamic linker. Since this was broken with cross compilers,
17629 - # most powerpc-linux boxes support dynamic linking these days and
17630 - # people can always --disable-shared, the test was removed, and we
17631 - # assume the GNU/Linux dynamic linker is in use.
17632 - dynamic_linker='GNU/Linux ld.so'
17636 - version_type=linux
17637 - need_lib_prefix=no
17639 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17640 - soname_spec='${libname}${release}${shared_ext}$major'
17641 - shlibpath_var=LD_LIBRARY_PATH
17642 - shlibpath_overrides_runpath=no
17643 - hardcode_into_libs=yes
17644 - dynamic_linker='GNU ld.so'
17648 - version_type=sunos
17649 - need_lib_prefix=no
17651 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17652 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17653 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17654 - dynamic_linker='NetBSD (a.out) ld.so'
17656 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17657 - soname_spec='${libname}${release}${shared_ext}$major'
17658 - dynamic_linker='NetBSD ld.elf_so'
17660 - shlibpath_var=LD_LIBRARY_PATH
17661 - shlibpath_overrides_runpath=yes
17662 - hardcode_into_libs=yes
17666 - version_type=linux
17667 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17668 - shlibpath_var=LD_LIBRARY_PATH
17669 - shlibpath_overrides_runpath=yes
17673 - version_type=linux
17674 - need_lib_prefix=no
17676 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17677 - soname_spec='${libname}${release}${shared_ext}$major'
17678 - shlibpath_var=LD_LIBRARY_PATH
17679 - shlibpath_overrides_runpath=yes
17683 - version_type=sunos
17684 - need_lib_prefix=no
17685 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17687 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17688 - *) need_version=no ;;
17690 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17691 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17692 - shlibpath_var=LD_LIBRARY_PATH
17693 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17695 - openbsd2.[89] | openbsd2.[89].*)
17696 - shlibpath_overrides_runpath=no
17699 - shlibpath_overrides_runpath=yes
17703 - shlibpath_overrides_runpath=yes
17708 - libname_spec='$name'
17709 - shrext_cmds=".dll"
17710 - need_lib_prefix=no
17711 - library_names_spec='$libname${shared_ext} $libname.a'
17712 - dynamic_linker='OS/2 ld.exe'
17713 - shlibpath_var=LIBPATH
17716 -osf3* | osf4* | osf5*)
17718 - need_lib_prefix=no
17720 - soname_spec='${libname}${release}${shared_ext}$major'
17721 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17722 - shlibpath_var=LD_LIBRARY_PATH
17723 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17724 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17729 - soname_spec='${libname}${release}${shared_ext}$major'
17730 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17731 - shlibpath_var=LD_LIBRARY_PATH
17735 - version_type=linux
17736 - need_lib_prefix=no
17738 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17739 - soname_spec='${libname}${release}${shared_ext}$major'
17740 - shlibpath_var=LD_LIBRARY_PATH
17741 - shlibpath_overrides_runpath=yes
17742 - hardcode_into_libs=yes
17743 - # ldd complains unless libraries are executable
17744 - postinstall_cmds='chmod +x $lib'
17748 - version_type=sunos
17749 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17750 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17751 - shlibpath_var=LD_LIBRARY_PATH
17752 - shlibpath_overrides_runpath=yes
17753 - if test "$with_gnu_ld" = yes; then
17754 - need_lib_prefix=no
17759 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17760 - version_type=linux
17761 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17762 - soname_spec='${libname}${release}${shared_ext}$major'
17763 - shlibpath_var=LD_LIBRARY_PATH
17764 - case $host_vendor in
17766 - shlibpath_overrides_runpath=no
17767 - need_lib_prefix=no
17768 - export_dynamic_flag_spec='${wl}-Blargedynsym'
17769 - runpath_var=LD_RUN_PATH
17772 - need_lib_prefix=no
17775 - need_lib_prefix=no
17777 - shlibpath_overrides_runpath=no
17778 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17784 - if test -d /usr/nec ;then
17785 - version_type=linux
17786 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17787 - soname_spec='$libname${shared_ext}.$major'
17788 - shlibpath_var=LD_LIBRARY_PATH
17793 - version_type=linux
17794 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17795 - soname_spec='${libname}${release}${shared_ext}$major'
17796 - shlibpath_var=LD_LIBRARY_PATH
17800 - dynamic_linker=no
17803 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17804 -echo "${ECHO_T}$dynamic_linker" >&6
17805 -test "$dynamic_linker" = no && can_build_shared=no
17807 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17808 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17809 -hardcode_action_CXX=
17810 -if test -n "$hardcode_libdir_flag_spec_CXX" || \
17811 - test -n "$runpath_var_CXX" || \
17812 - test "X$hardcode_automatic_CXX" = "Xyes" ; then
17814 - # We can hardcode non-existant directories.
17815 - if test "$hardcode_direct_CXX" != no &&
17816 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
17817 - # have to relink, otherwise we might link with an installed library
17818 - # when we should be linking with a yet-to-be-installed one
17819 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17820 - test "$hardcode_minus_L_CXX" != no; then
17821 - # Linking always hardcodes the temporary library directory.
17822 - hardcode_action_CXX=relink
17824 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
17825 - hardcode_action_CXX=immediate
17828 - # We cannot hardcode anything, or else we can only hardcode existing
17830 - hardcode_action_CXX=unsupported
17832 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
17833 -echo "${ECHO_T}$hardcode_action_CXX" >&6
17835 -if test "$hardcode_action_CXX" = relink; then
17836 - # Fast installation is not supported
17837 - enable_fast_install=no
17838 -elif test "$shlibpath_overrides_runpath" = yes ||
17839 - test "$enable_shared" = no; then
17840 - # Fast installation is not necessary
17841 - enable_fast_install=needless
17846 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17847 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17848 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17849 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17850 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17851 - echo "$as_me:$LINENO: result: yes" >&5
17852 -echo "${ECHO_T}yes" >&6
17854 -# FIXME - insert some real tests, host_os isn't really good enough
17857 - if test -n "$STRIP" ; then
17858 - striplib="$STRIP -x"
17859 - echo "$as_me:$LINENO: result: yes" >&5
17860 -echo "${ECHO_T}yes" >&6
17862 - echo "$as_me:$LINENO: result: no" >&5
17863 -echo "${ECHO_T}no" >&6
17867 - echo "$as_me:$LINENO: result: no" >&5
17868 -echo "${ECHO_T}no" >&6
17873 -if test "x$enable_dlopen" != xyes; then
17874 - enable_dlopen=unknown
17875 - enable_dlopen_self=unknown
17876 - enable_dlopen_self_static=unknown
17879 - lt_cv_dlopen_libs=
17883 - lt_cv_dlopen="load_add_on"
17884 - lt_cv_dlopen_libs=
17885 - lt_cv_dlopen_self=yes
17889 - lt_cv_dlopen="LoadLibrary"
17890 - lt_cv_dlopen_libs=
17894 - lt_cv_dlopen="dlopen"
17895 - lt_cv_dlopen_libs=
17899 - # if libdl is installed we need to link against it
17900 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17901 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17902 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17903 - echo $ECHO_N "(cached) $ECHO_C" >&6
17905 - ac_check_lib_save_LIBS=$LIBS
17907 -cat >conftest.$ac_ext <<_ACEOF
17910 -cat confdefs.h >>conftest.$ac_ext
17911 -cat >>conftest.$ac_ext <<_ACEOF
17912 -/* end confdefs.h. */
17914 -/* Override any gcc2 internal prototype to avoid an error. */
17915 -#ifdef __cplusplus
17918 -/* We use char because int might match the return type of a gcc2
17919 - builtin and then its argument prototype would still apply. */
17929 -rm -f conftest.$ac_objext conftest$ac_exeext
17930 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17931 - (eval $ac_link) 2>conftest.er1
17933 - grep -v '^ *+' conftest.er1 >conftest.err
17934 - rm -f conftest.er1
17935 - cat conftest.err >&5
17936 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 - (exit $ac_status); } &&
17938 - { ac_try='test -z "$ac_cxx_werror_flag"
17939 - || test ! -s conftest.err'
17940 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 - (eval $ac_try) 2>&5
17943 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 - (exit $ac_status); }; } &&
17945 - { ac_try='test -s conftest$ac_exeext'
17946 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 - (eval $ac_try) 2>&5
17949 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 - (exit $ac_status); }; }; then
17951 - ac_cv_lib_dl_dlopen=yes
17953 - echo "$as_me: failed program was:" >&5
17954 -sed 's/^/| /' conftest.$ac_ext >&5
17956 -ac_cv_lib_dl_dlopen=no
17958 -rm -f conftest.err conftest.$ac_objext \
17959 - conftest$ac_exeext conftest.$ac_ext
17960 -LIBS=$ac_check_lib_save_LIBS
17962 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17963 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17964 -if test $ac_cv_lib_dl_dlopen = yes; then
17965 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17968 - lt_cv_dlopen="dyld"
17969 - lt_cv_dlopen_libs=
17970 - lt_cv_dlopen_self=yes
17977 - echo "$as_me:$LINENO: checking for shl_load" >&5
17978 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17979 -if test "${ac_cv_func_shl_load+set}" = set; then
17980 - echo $ECHO_N "(cached) $ECHO_C" >&6
17982 - cat >conftest.$ac_ext <<_ACEOF
17985 -cat confdefs.h >>conftest.$ac_ext
17986 -cat >>conftest.$ac_ext <<_ACEOF
17987 -/* end confdefs.h. */
17988 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17989 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
17990 -#define shl_load innocuous_shl_load
17992 -/* System header to define __stub macros and hopefully few prototypes,
17993 - which can conflict with char shl_load (); below.
17994 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17995 - <limits.h> exists even on freestanding compilers. */
17998 -# include <limits.h>
18000 -# include <assert.h>
18005 -/* Override any gcc2 internal prototype to avoid an error. */
18006 -#ifdef __cplusplus
18010 -/* We use char because int might match the return type of a gcc2
18011 - builtin and then its argument prototype would still apply. */
18013 -/* The GNU C library defines this for functions which it implements
18014 - to always fail with ENOSYS. Some functions are actually named
18015 - something starting with __ and the normal name is an alias. */
18016 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
18019 -char (*f) () = shl_load;
18021 -#ifdef __cplusplus
18028 -return f != shl_load;
18033 -rm -f conftest.$ac_objext conftest$ac_exeext
18034 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18035 - (eval $ac_link) 2>conftest.er1
18037 - grep -v '^ *+' conftest.er1 >conftest.err
18038 - rm -f conftest.er1
18039 - cat conftest.err >&5
18040 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 - (exit $ac_status); } &&
18042 - { ac_try='test -z "$ac_cxx_werror_flag"
18043 - || test ! -s conftest.err'
18044 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045 - (eval $ac_try) 2>&5
18047 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 - (exit $ac_status); }; } &&
18049 - { ac_try='test -s conftest$ac_exeext'
18050 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 - (eval $ac_try) 2>&5
18053 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 - (exit $ac_status); }; }; then
18055 - ac_cv_func_shl_load=yes
18057 - echo "$as_me: failed program was:" >&5
18058 -sed 's/^/| /' conftest.$ac_ext >&5
18060 -ac_cv_func_shl_load=no
18062 -rm -f conftest.err conftest.$ac_objext \
18063 - conftest$ac_exeext conftest.$ac_ext
18065 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18066 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18067 -if test $ac_cv_func_shl_load = yes; then
18068 - lt_cv_dlopen="shl_load"
18070 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18071 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18072 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18073 - echo $ECHO_N "(cached) $ECHO_C" >&6
18075 - ac_check_lib_save_LIBS=$LIBS
18076 -LIBS="-ldld $LIBS"
18077 -cat >conftest.$ac_ext <<_ACEOF
18080 -cat confdefs.h >>conftest.$ac_ext
18081 -cat >>conftest.$ac_ext <<_ACEOF
18082 -/* end confdefs.h. */
18084 -/* Override any gcc2 internal prototype to avoid an error. */
18085 -#ifdef __cplusplus
18088 -/* We use char because int might match the return type of a gcc2
18089 - builtin and then its argument prototype would still apply. */
18099 -rm -f conftest.$ac_objext conftest$ac_exeext
18100 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18101 - (eval $ac_link) 2>conftest.er1
18103 - grep -v '^ *+' conftest.er1 >conftest.err
18104 - rm -f conftest.er1
18105 - cat conftest.err >&5
18106 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 - (exit $ac_status); } &&
18108 - { ac_try='test -z "$ac_cxx_werror_flag"
18109 - || test ! -s conftest.err'
18110 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18111 - (eval $ac_try) 2>&5
18113 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 - (exit $ac_status); }; } &&
18115 - { ac_try='test -s conftest$ac_exeext'
18116 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 - (eval $ac_try) 2>&5
18119 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 - (exit $ac_status); }; }; then
18121 - ac_cv_lib_dld_shl_load=yes
18123 - echo "$as_me: failed program was:" >&5
18124 -sed 's/^/| /' conftest.$ac_ext >&5
18126 -ac_cv_lib_dld_shl_load=no
18128 -rm -f conftest.err conftest.$ac_objext \
18129 - conftest$ac_exeext conftest.$ac_ext
18130 -LIBS=$ac_check_lib_save_LIBS
18132 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18133 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18134 -if test $ac_cv_lib_dld_shl_load = yes; then
18135 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18137 - echo "$as_me:$LINENO: checking for dlopen" >&5
18138 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18139 -if test "${ac_cv_func_dlopen+set}" = set; then
18140 - echo $ECHO_N "(cached) $ECHO_C" >&6
18142 - cat >conftest.$ac_ext <<_ACEOF
18145 -cat confdefs.h >>conftest.$ac_ext
18146 -cat >>conftest.$ac_ext <<_ACEOF
18147 -/* end confdefs.h. */
18148 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18149 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
18150 -#define dlopen innocuous_dlopen
18152 -/* System header to define __stub macros and hopefully few prototypes,
18153 - which can conflict with char dlopen (); below.
18154 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18155 - <limits.h> exists even on freestanding compilers. */
18158 -# include <limits.h>
18160 -# include <assert.h>
18165 -/* Override any gcc2 internal prototype to avoid an error. */
18166 -#ifdef __cplusplus
18170 -/* We use char because int might match the return type of a gcc2
18171 - builtin and then its argument prototype would still apply. */
18173 -/* The GNU C library defines this for functions which it implements
18174 - to always fail with ENOSYS. Some functions are actually named
18175 - something starting with __ and the normal name is an alias. */
18176 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
18179 -char (*f) () = dlopen;
18181 -#ifdef __cplusplus
18188 -return f != dlopen;
18193 -rm -f conftest.$ac_objext conftest$ac_exeext
18194 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18195 - (eval $ac_link) 2>conftest.er1
18197 - grep -v '^ *+' conftest.er1 >conftest.err
18198 - rm -f conftest.er1
18199 - cat conftest.err >&5
18200 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 - (exit $ac_status); } &&
18202 - { ac_try='test -z "$ac_cxx_werror_flag"
18203 - || test ! -s conftest.err'
18204 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 - (eval $ac_try) 2>&5
18207 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 - (exit $ac_status); }; } &&
18209 - { ac_try='test -s conftest$ac_exeext'
18210 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 - (eval $ac_try) 2>&5
18213 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 - (exit $ac_status); }; }; then
18215 - ac_cv_func_dlopen=yes
18217 - echo "$as_me: failed program was:" >&5
18218 -sed 's/^/| /' conftest.$ac_ext >&5
18220 -ac_cv_func_dlopen=no
18222 -rm -f conftest.err conftest.$ac_objext \
18223 - conftest$ac_exeext conftest.$ac_ext
18225 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18226 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18227 -if test $ac_cv_func_dlopen = yes; then
18228 - lt_cv_dlopen="dlopen"
18230 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18231 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18232 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18233 - echo $ECHO_N "(cached) $ECHO_C" >&6
18235 - ac_check_lib_save_LIBS=$LIBS
18237 -cat >conftest.$ac_ext <<_ACEOF
18240 -cat confdefs.h >>conftest.$ac_ext
18241 -cat >>conftest.$ac_ext <<_ACEOF
18242 -/* end confdefs.h. */
18244 -/* Override any gcc2 internal prototype to avoid an error. */
18245 -#ifdef __cplusplus
18248 -/* We use char because int might match the return type of a gcc2
18249 - builtin and then its argument prototype would still apply. */
18259 -rm -f conftest.$ac_objext conftest$ac_exeext
18260 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18261 - (eval $ac_link) 2>conftest.er1
18263 - grep -v '^ *+' conftest.er1 >conftest.err
18264 - rm -f conftest.er1
18265 - cat conftest.err >&5
18266 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 - (exit $ac_status); } &&
18268 - { ac_try='test -z "$ac_cxx_werror_flag"
18269 - || test ! -s conftest.err'
18270 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 - (eval $ac_try) 2>&5
18273 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 - (exit $ac_status); }; } &&
18275 - { ac_try='test -s conftest$ac_exeext'
18276 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 - (eval $ac_try) 2>&5
18279 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 - (exit $ac_status); }; }; then
18281 - ac_cv_lib_dl_dlopen=yes
18283 - echo "$as_me: failed program was:" >&5
18284 -sed 's/^/| /' conftest.$ac_ext >&5
18286 -ac_cv_lib_dl_dlopen=no
18288 -rm -f conftest.err conftest.$ac_objext \
18289 - conftest$ac_exeext conftest.$ac_ext
18290 -LIBS=$ac_check_lib_save_LIBS
18292 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18293 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18294 -if test $ac_cv_lib_dl_dlopen = yes; then
18295 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18297 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18298 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18299 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18300 - echo $ECHO_N "(cached) $ECHO_C" >&6
18302 - ac_check_lib_save_LIBS=$LIBS
18303 -LIBS="-lsvld $LIBS"
18304 -cat >conftest.$ac_ext <<_ACEOF
18307 -cat confdefs.h >>conftest.$ac_ext
18308 -cat >>conftest.$ac_ext <<_ACEOF
18309 -/* end confdefs.h. */
18311 -/* Override any gcc2 internal prototype to avoid an error. */
18312 -#ifdef __cplusplus
18315 -/* We use char because int might match the return type of a gcc2
18316 - builtin and then its argument prototype would still apply. */
18326 -rm -f conftest.$ac_objext conftest$ac_exeext
18327 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18328 - (eval $ac_link) 2>conftest.er1
18330 - grep -v '^ *+' conftest.er1 >conftest.err
18331 - rm -f conftest.er1
18332 - cat conftest.err >&5
18333 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 - (exit $ac_status); } &&
18335 - { ac_try='test -z "$ac_cxx_werror_flag"
18336 - || test ! -s conftest.err'
18337 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18338 - (eval $ac_try) 2>&5
18340 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 - (exit $ac_status); }; } &&
18342 - { ac_try='test -s conftest$ac_exeext'
18343 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18344 - (eval $ac_try) 2>&5
18346 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 - (exit $ac_status); }; }; then
18348 - ac_cv_lib_svld_dlopen=yes
18350 - echo "$as_me: failed program was:" >&5
18351 -sed 's/^/| /' conftest.$ac_ext >&5
18353 -ac_cv_lib_svld_dlopen=no
18355 -rm -f conftest.err conftest.$ac_objext \
18356 - conftest$ac_exeext conftest.$ac_ext
18357 -LIBS=$ac_check_lib_save_LIBS
18359 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18360 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18361 -if test $ac_cv_lib_svld_dlopen = yes; then
18362 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18364 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18365 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18366 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18367 - echo $ECHO_N "(cached) $ECHO_C" >&6
18369 - ac_check_lib_save_LIBS=$LIBS
18370 -LIBS="-ldld $LIBS"
18371 -cat >conftest.$ac_ext <<_ACEOF
18374 -cat confdefs.h >>conftest.$ac_ext
18375 -cat >>conftest.$ac_ext <<_ACEOF
18376 -/* end confdefs.h. */
18378 -/* Override any gcc2 internal prototype to avoid an error. */
18379 -#ifdef __cplusplus
18382 -/* We use char because int might match the return type of a gcc2
18383 - builtin and then its argument prototype would still apply. */
18393 -rm -f conftest.$ac_objext conftest$ac_exeext
18394 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18395 - (eval $ac_link) 2>conftest.er1
18397 - grep -v '^ *+' conftest.er1 >conftest.err
18398 - rm -f conftest.er1
18399 - cat conftest.err >&5
18400 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 - (exit $ac_status); } &&
18402 - { ac_try='test -z "$ac_cxx_werror_flag"
18403 - || test ! -s conftest.err'
18404 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 - (eval $ac_try) 2>&5
18407 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 - (exit $ac_status); }; } &&
18409 - { ac_try='test -s conftest$ac_exeext'
18410 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 - (eval $ac_try) 2>&5
18413 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 - (exit $ac_status); }; }; then
18415 - ac_cv_lib_dld_dld_link=yes
18417 - echo "$as_me: failed program was:" >&5
18418 -sed 's/^/| /' conftest.$ac_ext >&5
18420 -ac_cv_lib_dld_dld_link=no
18422 -rm -f conftest.err conftest.$ac_objext \
18423 - conftest$ac_exeext conftest.$ac_ext
18424 -LIBS=$ac_check_lib_save_LIBS
18426 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18427 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18428 -if test $ac_cv_lib_dld_dld_link = yes; then
18429 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18450 - if test "x$lt_cv_dlopen" != xno; then
18451 - enable_dlopen=yes
18456 - case $lt_cv_dlopen in
18458 - save_CPPFLAGS="$CPPFLAGS"
18459 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18461 - save_LDFLAGS="$LDFLAGS"
18462 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18464 - save_LIBS="$LIBS"
18465 - LIBS="$lt_cv_dlopen_libs $LIBS"
18467 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18468 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18469 -if test "${lt_cv_dlopen_self+set}" = set; then
18470 - echo $ECHO_N "(cached) $ECHO_C" >&6
18472 - if test "$cross_compiling" = yes; then :
18473 - lt_cv_dlopen_self=cross
18475 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18476 - lt_status=$lt_dlunknown
18477 - cat > conftest.$ac_ext <<EOF
18478 -#line 12645 "configure"
18479 -#include "confdefs.h"
18482 -#include <dlfcn.h>
18485 -#include <stdio.h>
18487 -#ifdef RTLD_GLOBAL
18488 -# define LT_DLGLOBAL RTLD_GLOBAL
18491 -# define LT_DLGLOBAL DL_GLOBAL
18493 -# define LT_DLGLOBAL 0
18497 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18498 - find out it does not work in some platform. */
18499 -#ifndef LT_DLLAZY_OR_NOW
18501 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
18504 -# define LT_DLLAZY_OR_NOW DL_LAZY
18507 -# define LT_DLLAZY_OR_NOW RTLD_NOW
18510 -# define LT_DLLAZY_OR_NOW DL_NOW
18512 -# define LT_DLLAZY_OR_NOW 0
18519 -#ifdef __cplusplus
18520 -extern "C" void exit (int);
18523 -void fnord() { int i=42;}
18526 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18527 - int status = $lt_dlunknown;
18531 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18532 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18533 - /* dlclose (self); */
18539 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18540 - (eval $ac_link) 2>&5
18542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18544 - (./conftest; exit; ) >&5 2>/dev/null
18546 - case x$lt_status in
18547 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18548 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18549 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18552 - # compilation failed
18553 - lt_cv_dlopen_self=no
18560 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18561 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18563 - if test "x$lt_cv_dlopen_self" = xyes; then
18564 - LDFLAGS="$LDFLAGS $link_static_flag"
18565 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18566 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18567 -if test "${lt_cv_dlopen_self_static+set}" = set; then
18568 - echo $ECHO_N "(cached) $ECHO_C" >&6
18570 - if test "$cross_compiling" = yes; then :
18571 - lt_cv_dlopen_self_static=cross
18573 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18574 - lt_status=$lt_dlunknown
18575 - cat > conftest.$ac_ext <<EOF
18576 -#line 12743 "configure"
18577 -#include "confdefs.h"
18580 -#include <dlfcn.h>
18583 -#include <stdio.h>
18585 -#ifdef RTLD_GLOBAL
18586 -# define LT_DLGLOBAL RTLD_GLOBAL
18589 -# define LT_DLGLOBAL DL_GLOBAL
18591 -# define LT_DLGLOBAL 0
18595 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18596 - find out it does not work in some platform. */
18597 -#ifndef LT_DLLAZY_OR_NOW
18599 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
18602 -# define LT_DLLAZY_OR_NOW DL_LAZY
18605 -# define LT_DLLAZY_OR_NOW RTLD_NOW
18608 -# define LT_DLLAZY_OR_NOW DL_NOW
18610 -# define LT_DLLAZY_OR_NOW 0
18617 -#ifdef __cplusplus
18618 -extern "C" void exit (int);
18621 -void fnord() { int i=42;}
18624 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18625 - int status = $lt_dlunknown;
18629 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18630 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18631 - /* dlclose (self); */
18637 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18638 - (eval $ac_link) 2>&5
18640 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18642 - (./conftest; exit; ) >&5 2>/dev/null
18644 - case x$lt_status in
18645 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18646 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18647 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18650 - # compilation failed
18651 - lt_cv_dlopen_self_static=no
18658 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18659 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18662 - CPPFLAGS="$save_CPPFLAGS"
18663 - LDFLAGS="$save_LDFLAGS"
18664 - LIBS="$save_LIBS"
18668 - case $lt_cv_dlopen_self in
18669 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18670 - *) enable_dlopen_self=unknown ;;
18673 - case $lt_cv_dlopen_self_static in
18674 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18675 - *) enable_dlopen_self_static=unknown ;;
18680 -# The else clause should only fire when bootstrapping the
18681 -# libtool distribution, otherwise you forgot to ship ltmain.sh
18682 -# with your package, and you will get complaints that there are
18683 -# no rules to generate ltmain.sh.
18684 -if test -f "$ltmain"; then
18685 - # See if we are running on zsh, and set the options which allow our commands through
18686 - # without removal of \ escapes.
18687 - if test -n "${ZSH_VERSION+set}" ; then
18688 - setopt NO_GLOB_SUBST
18690 - # Now quote all the things that may contain metacharacters while being
18691 - # careful not to overquote the AC_SUBSTed values. We take copies of the
18692 - # variables and quote the copies for generation of the libtool script.
18693 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18694 - SED SHELL STRIP \
18695 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18696 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18697 - deplibs_check_method reload_flag reload_cmds need_locks \
18698 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18699 - lt_cv_sys_global_symbol_to_c_name_address \
18700 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18701 - old_postinstall_cmds old_postuninstall_cmds \
18705 - lt_prog_compiler_wl_CXX \
18706 - lt_prog_compiler_pic_CXX \
18707 - lt_prog_compiler_static_CXX \
18708 - lt_prog_compiler_no_builtin_flag_CXX \
18709 - export_dynamic_flag_spec_CXX \
18710 - thread_safe_flag_spec_CXX \
18711 - whole_archive_flag_spec_CXX \
18712 - enable_shared_with_static_runtimes_CXX \
18713 - old_archive_cmds_CXX \
18714 - old_archive_from_new_cmds_CXX \
18715 - predep_objects_CXX \
18716 - postdep_objects_CXX \
18719 - compiler_lib_search_path_CXX \
18720 - archive_cmds_CXX \
18721 - archive_expsym_cmds_CXX \
18722 - postinstall_cmds_CXX \
18723 - postuninstall_cmds_CXX \
18724 - old_archive_from_expsyms_cmds_CXX \
18725 - allow_undefined_flag_CXX \
18726 - no_undefined_flag_CXX \
18727 - export_symbols_cmds_CXX \
18728 - hardcode_libdir_flag_spec_CXX \
18729 - hardcode_libdir_flag_spec_ld_CXX \
18730 - hardcode_libdir_separator_CXX \
18731 - hardcode_automatic_CXX \
18732 - module_cmds_CXX \
18733 - module_expsym_cmds_CXX \
18734 - lt_cv_prog_compiler_c_o_CXX \
18735 - exclude_expsyms_CXX \
18736 - include_expsyms_CXX; do
18739 - old_archive_cmds_CXX | \
18740 - old_archive_from_new_cmds_CXX | \
18741 - archive_cmds_CXX | \
18742 - archive_expsym_cmds_CXX | \
18743 - module_cmds_CXX | \
18744 - module_expsym_cmds_CXX | \
18745 - old_archive_from_expsyms_cmds_CXX | \
18746 - export_symbols_cmds_CXX | \
18747 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
18748 - postinstall_cmds | postuninstall_cmds | \
18749 - old_postinstall_cmds | old_postuninstall_cmds | \
18750 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18751 - # Double-quote double-evaled strings.
18752 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18755 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18761 - *'\$0 --fallback-echo"')
18762 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18768 - cat <<__EOF__ >> "$cfgfile"
18769 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18771 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18773 -# Shell to use when invoking shell scripts.
18776 -# Whether or not to build shared libraries.
18777 -build_libtool_libs=$enable_shared
18779 -# Whether or not to build static libraries.
18780 -build_old_libs=$enable_static
18782 -# Whether or not to add -lc for building shared libraries.
18783 -build_libtool_need_lc=$archive_cmds_need_lc_CXX
18785 -# Whether or not to disallow shared libs when runtime libs are static
18786 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18788 -# Whether or not to optimize for fast installation.
18789 -fast_install=$enable_fast_install
18791 -# The host system.
18792 -host_alias=$host_alias
18796 -# The build system.
18797 -build_alias=$build_alias
18799 -build_os=$build_os
18801 -# An echo program that does not interpret backslashes.
18806 -AR_FLAGS=$lt_AR_FLAGS
18811 -# A language-specific compiler.
18812 -CC=$lt_compiler_CXX
18814 -# Is the compiler the GNU C compiler?
18820 -# The linker used to build libraries.
18823 -# Whether we need hard or soft links.
18826 -# A BSD-compatible nm program.
18829 -# A symbol stripping program
18832 -# Used to examine libraries when file_magic_cmd begins "file"
18833 -MAGIC_CMD=$MAGIC_CMD
18835 -# Used on cygwin: DLL creation program.
18836 -DLLTOOL="$DLLTOOL"
18838 -# Used on cygwin: object dumper.
18839 -OBJDUMP="$OBJDUMP"
18841 -# Used on cygwin: assembler.
18844 -# The name of the directory that contains temporary libtool files.
18847 -# How to create reloadable object files.
18848 -reload_flag=$lt_reload_flag
18849 -reload_cmds=$lt_reload_cmds
18851 -# How to pass a linker flag through the compiler.
18852 -wl=$lt_lt_prog_compiler_wl_CXX
18854 -# Object file suffix (normally "o").
18855 -objext="$ac_objext"
18857 -# Old archive suffix (normally "a").
18860 -# Shared library suffix (normally ".so").
18861 -shrext_cmds='$shrext_cmds'
18863 -# Executable file suffix (normally "").
18866 -# Additional compiler flags for building library objects.
18867 -pic_flag=$lt_lt_prog_compiler_pic_CXX
18868 -pic_mode=$pic_mode
18870 -# What is the maximum length of a command?
18871 -max_cmd_len=$lt_cv_sys_max_cmd_len
18873 -# Does compiler simultaneously support -c and -o options?
18874 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18876 -# Must we lock files when doing compilation?
18877 -need_locks=$lt_need_locks
18879 -# Do we need the lib prefix for modules?
18880 -need_lib_prefix=$need_lib_prefix
18882 -# Do we need a version for libraries?
18883 -need_version=$need_version
18885 -# Whether dlopen is supported.
18886 -dlopen_support=$enable_dlopen
18888 -# Whether dlopen of programs is supported.
18889 -dlopen_self=$enable_dlopen_self
18891 -# Whether dlopen of statically linked programs is supported.
18892 -dlopen_self_static=$enable_dlopen_self_static
18894 -# Compiler flag to prevent dynamic linking.
18895 -link_static_flag=$lt_lt_prog_compiler_static_CXX
18897 -# Compiler flag to turn off builtin functions.
18898 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18900 -# Compiler flag to allow reflexive dlopens.
18901 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18903 -# Compiler flag to generate shared objects directly from archives.
18904 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18906 -# Compiler flag to generate thread-safe objects.
18907 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
18909 -# Library versioning type.
18910 -version_type=$version_type
18912 -# Format of library name prefix.
18913 -libname_spec=$lt_libname_spec
18915 -# List of archive names. First name is the real one, the rest are links.
18916 -# The last name is the one that the linker finds with -lNAME.
18917 -library_names_spec=$lt_library_names_spec
18919 -# The coded name of the library, if different from the real name.
18920 -soname_spec=$lt_soname_spec
18922 -# Commands used to build and install an old-style archive.
18924 -old_archive_cmds=$lt_old_archive_cmds_CXX
18925 -old_postinstall_cmds=$lt_old_postinstall_cmds
18926 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
18928 -# Create an old-style archive from a shared archive.
18929 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18931 -# Create a temporary old-style archive to link instead of a shared archive.
18932 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18934 -# Commands used to build and install a shared archive.
18935 -archive_cmds=$lt_archive_cmds_CXX
18936 -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18937 -postinstall_cmds=$lt_postinstall_cmds
18938 -postuninstall_cmds=$lt_postuninstall_cmds
18940 -# Commands used to build a loadable module (assumed same as above if empty)
18941 -module_cmds=$lt_module_cmds_CXX
18942 -module_expsym_cmds=$lt_module_expsym_cmds_CXX
18944 -# Commands to strip libraries.
18945 -old_striplib=$lt_old_striplib
18946 -striplib=$lt_striplib
18948 -# Dependencies to place before the objects being linked to create a
18950 -predep_objects=$lt_predep_objects_CXX
18952 -# Dependencies to place after the objects being linked to create a
18954 -postdep_objects=$lt_postdep_objects_CXX
18956 -# Dependencies to place before the objects being linked to create a
18958 -predeps=$lt_predeps_CXX
18960 -# Dependencies to place after the objects being linked to create a
18962 -postdeps=$lt_postdeps_CXX
18964 -# The library search path used internally by the compiler when linking
18965 -# a shared library.
18966 -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18968 -# Method to check whether dependent libraries are shared objects.
18969 -deplibs_check_method=$lt_deplibs_check_method
18971 -# Command to use when deplibs_check_method == file_magic.
18972 -file_magic_cmd=$lt_file_magic_cmd
18974 -# Flag that allows shared libraries with undefined symbols to be built.
18975 -allow_undefined_flag=$lt_allow_undefined_flag_CXX
18977 -# Flag that forces no undefined symbols.
18978 -no_undefined_flag=$lt_no_undefined_flag_CXX
18980 -# Commands used to finish a libtool library installation in a directory.
18981 -finish_cmds=$lt_finish_cmds
18983 -# Same as above, but a single script fragment to be evaled but not shown.
18984 -finish_eval=$lt_finish_eval
18986 -# Take the output of nm and produce a listing of raw symbols and C names.
18987 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18989 -# Transform the output of nm in a proper C declaration
18990 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18992 -# Transform the output of nm in a C name address pair
18993 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18995 -# This is the shared library runtime path variable.
18996 -runpath_var=$runpath_var
18998 -# This is the shared library path variable.
18999 -shlibpath_var=$shlibpath_var
19001 -# Is shlibpath searched before the hard-coded library search path?
19002 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19004 -# How to hardcode a shared library path into an executable.
19005 -hardcode_action=$hardcode_action_CXX
19007 -# Whether we should hardcode library paths into libraries.
19008 -hardcode_into_libs=$hardcode_into_libs
19010 -# Flag to hardcode \$libdir into a binary during linking.
19011 -# This must work even if \$libdir does not exist.
19012 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19014 -# If ld is used when linking, flag to hardcode \$libdir into
19015 -# a binary during linking. This must work even if \$libdir does
19017 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19019 -# Whether we need a single -rpath flag with a separated argument.
19020 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19022 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19023 -# resulting binary.
19024 -hardcode_direct=$hardcode_direct_CXX
19026 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19027 -# resulting binary.
19028 -hardcode_minus_L=$hardcode_minus_L_CXX
19030 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19031 -# the resulting binary.
19032 -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19034 -# Set to yes if building a shared library automatically hardcodes DIR into the library
19035 -# and all subsequent libraries and executables linked against it.
19036 -hardcode_automatic=$hardcode_automatic_CXX
19038 -# Variables whose values should be saved in libtool wrapper scripts and
19039 -# restored at relink time.
19040 -variables_saved_for_relink="$variables_saved_for_relink"
19042 -# Whether libtool must link a program against all its dependency libraries.
19043 -link_all_deplibs=$link_all_deplibs_CXX
19045 -# Compile-time system search path for libraries
19046 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19048 -# Run-time system search path for libraries
19049 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19051 -# Fix the shell variable \$srcfile for the compiler.
19052 -fix_srcfile_path="$fix_srcfile_path_CXX"
19054 -# Set to yes if exported symbols are required.
19055 -always_export_symbols=$always_export_symbols_CXX
19057 -# The commands to list exported symbols.
19058 -export_symbols_cmds=$lt_export_symbols_cmds_CXX
19060 -# The commands to extract the exported symbol list from a shared archive.
19061 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
19063 -# Symbols that should not be listed in the preloaded symbols.
19064 -exclude_expsyms=$lt_exclude_expsyms_CXX
19066 -# Symbols that must always be exported.
19067 -include_expsyms=$lt_include_expsyms_CXX
19069 -# ### END LIBTOOL TAG CONFIG: $tagname
19075 - # If there is no Makefile yet, we rely on a make rule to execute
19076 - # `config.status --recheck' to rerun these tests and create the
19077 - # libtool script then.
19078 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19079 - if test -f "$ltmain_in"; then
19080 - test -f Makefile && make "$ltmain"
19086 -ac_cpp='$CPP $CPPFLAGS'
19087 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
19095 -with_gnu_ldcxx=$with_gnu_ld
19096 -with_gnu_ld=$lt_save_with_gnu_ld
19097 -lt_cv_path_LDCXX=$lt_cv_path_LD
19098 -lt_cv_path_LD=$lt_save_path_LD
19099 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
19100 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
19108 - if test -n "$F77" && test "X$F77" != "Xno"; then
19111 -ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
19112 -ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19113 -ac_compiler_gnu=$ac_cv_f77_compiler_gnu
19116 -archive_cmds_need_lc_F77=no
19117 -allow_undefined_flag_F77=
19118 -always_export_symbols_F77=no
19119 -archive_expsym_cmds_F77=
19120 -export_dynamic_flag_spec_F77=
19121 -hardcode_direct_F77=no
19122 -hardcode_libdir_flag_spec_F77=
19123 -hardcode_libdir_flag_spec_ld_F77=
19124 -hardcode_libdir_separator_F77=
19125 -hardcode_minus_L_F77=no
19126 -hardcode_automatic_F77=no
19128 -module_expsym_cmds_F77=
19129 -link_all_deplibs_F77=unknown
19130 -old_archive_cmds_F77=$old_archive_cmds
19131 -no_undefined_flag_F77=
19132 -whole_archive_flag_spec_F77=
19133 -enable_shared_with_static_runtimes_F77=no
19135 -# Source file extension for f77 test sources.
19138 -# Object file extension for compiled f77 test sources.
19140 -objext_F77=$objext
19142 -# Code to be used in simple compile tests
19143 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
19145 -# Code to be used in simple link tests
19146 -lt_simple_link_test_code=" program t\n end\n"
19148 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19150 -# If no C compiler was specified, use CC.
19151 -LTCC=${LTCC-"$CC"}
19153 -# Allow CC to be a program name with arguments.
19157 -# save warnings/boilerplate of simple test code
19158 -ac_outfile=conftest.$ac_objext
19159 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19160 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19161 -_lt_compiler_boilerplate=`cat conftest.err`
19164 -ac_outfile=conftest.$ac_objext
19165 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
19166 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19167 -_lt_linker_boilerplate=`cat conftest.err`
19171 -# Allow CC to be a program name with arguments.
19176 -for cc_temp in $compiler""; do
19178 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19179 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19184 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19187 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
19188 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
19189 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
19190 -echo "${ECHO_T}$can_build_shared" >&6
19192 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
19193 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
19194 -test "$can_build_shared" = "no" && enable_shared=no
19196 -# On AIX, shared libraries and static libraries use the same namespace, and
19197 -# are all built from PIC.
19200 - test "$enable_shared" = yes && enable_static=no
19201 - if test -n "$RANLIB"; then
19202 - archive_cmds="$archive_cmds~\$RANLIB \$lib"
19203 - postinstall_cmds='$RANLIB $lib'
19207 - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
19208 - test "$enable_shared" = yes && enable_static=no
19212 -echo "$as_me:$LINENO: result: $enable_shared" >&5
19213 -echo "${ECHO_T}$enable_shared" >&6
19215 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
19216 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
19217 -# Make sure either enable_shared or enable_static is yes.
19218 -test "$enable_shared" = yes || enable_static=yes
19219 -echo "$as_me:$LINENO: result: $enable_static" >&5
19220 -echo "${ECHO_T}$enable_static" >&6
19222 -test "$ld_shlibs_F77" = no && can_build_shared=no
19227 -lt_prog_compiler_wl_F77=
19228 -lt_prog_compiler_pic_F77=
19229 -lt_prog_compiler_static_F77=
19231 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19232 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
19234 - if test "$GCC" = yes; then
19235 - lt_prog_compiler_wl_F77='-Wl,'
19236 - lt_prog_compiler_static_F77='-static'
19240 - # All AIX code is PIC.
19241 - if test "$host_cpu" = ia64; then
19242 - # AIX 5 now supports IA64 processor
19243 - lt_prog_compiler_static_F77='-Bstatic'
19248 - # FIXME: we need at least 68020 code to build shared libraries, but
19249 - # adding the `-m68020' flag to GCC prevents building anything better,
19250 - # like `-m68040'.
19251 - lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
19254 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19255 - # PIC is the default for these OSes.
19258 - mingw* | pw32* | os2*)
19259 - # This hack is so that the source file can tell whether it is being
19260 - # built for inclusion in a dll (and should export symbols for example).
19261 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
19264 - darwin* | rhapsody*)
19265 - # PIC is the default on this platform
19266 - # Common symbols not allowed in MH_DYLIB files
19267 - lt_prog_compiler_pic_F77='-fno-common'
19271 - # Just because we use GCC doesn't mean we suddenly get shared libraries
19272 - # on systems that don't support them.
19273 - lt_prog_compiler_can_build_shared_F77=no
19278 - if test -d /usr/nec; then
19279 - lt_prog_compiler_pic_F77=-Kconform_pic
19284 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19285 - # not for PA HP-UX.
19286 - case $host_cpu in
19291 - lt_prog_compiler_pic_F77='-fPIC'
19297 - lt_prog_compiler_pic_F77='-fPIC'
19301 - # PORTME Check for flag to pass linker flags through the system compiler.
19304 - lt_prog_compiler_wl_F77='-Wl,'
19305 - if test "$host_cpu" = ia64; then
19306 - # AIX 5 now supports IA64 processor
19307 - lt_prog_compiler_static_F77='-Bstatic'
19309 - lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
19313 - # PIC is the default on this platform
19314 - # Common symbols not allowed in MH_DYLIB files
19315 - case $cc_basename in
19317 - lt_prog_compiler_pic_F77='-qnocommon'
19318 - lt_prog_compiler_wl_F77='-Wl,'
19323 - mingw* | pw32* | os2*)
19324 - # This hack is so that the source file can tell whether it is being
19325 - # built for inclusion in a dll (and should export symbols for example).
19326 - lt_prog_compiler_pic_F77='-DDLL_EXPORT'
19329 - hpux9* | hpux10* | hpux11*)
19330 - lt_prog_compiler_wl_F77='-Wl,'
19331 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19332 - # not for PA HP-UX.
19333 - case $host_cpu in
19338 - lt_prog_compiler_pic_F77='+Z'
19341 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
19342 - lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
19345 - irix5* | irix6* | nonstopux*)
19346 - lt_prog_compiler_wl_F77='-Wl,'
19347 - # PIC (with -KPIC) is the default.
19348 - lt_prog_compiler_static_F77='-non_shared'
19352 - lt_prog_compiler_pic_F77='-KPIC'
19353 - lt_prog_compiler_static_F77='-Bstatic'
19357 - case $cc_basename in
19359 - lt_prog_compiler_wl_F77='-Wl,'
19360 - lt_prog_compiler_pic_F77='-KPIC'
19361 - lt_prog_compiler_static_F77='-static'
19363 - pgcc* | pgf77* | pgf90* | pgf95*)
19364 - # Portland Group compilers (*not* the Pentium gcc compiler,
19365 - # which looks to be a dead project)
19366 - lt_prog_compiler_wl_F77='-Wl,'
19367 - lt_prog_compiler_pic_F77='-fpic'
19368 - lt_prog_compiler_static_F77='-Bstatic'
19371 - lt_prog_compiler_wl_F77='-Wl,'
19372 - # All Alpha code is PIC.
19373 - lt_prog_compiler_static_F77='-non_shared'
19378 - osf3* | osf4* | osf5*)
19379 - lt_prog_compiler_wl_F77='-Wl,'
19380 - # All OSF/1 code is PIC.
19381 - lt_prog_compiler_static_F77='-non_shared'
19385 - lt_prog_compiler_pic_F77='-Kpic'
19386 - lt_prog_compiler_static_F77='-dn'
19390 - lt_prog_compiler_pic_F77='-KPIC'
19391 - lt_prog_compiler_static_F77='-Bstatic'
19392 - case $cc_basename in
19393 - f77* | f90* | f95*)
19394 - lt_prog_compiler_wl_F77='-Qoption ld ';;
19396 - lt_prog_compiler_wl_F77='-Wl,';;
19401 - lt_prog_compiler_wl_F77='-Qoption ld '
19402 - lt_prog_compiler_pic_F77='-PIC'
19403 - lt_prog_compiler_static_F77='-Bstatic'
19406 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19407 - lt_prog_compiler_wl_F77='-Wl,'
19408 - lt_prog_compiler_pic_F77='-KPIC'
19409 - lt_prog_compiler_static_F77='-Bstatic'
19413 - if test -d /usr/nec ;then
19414 - lt_prog_compiler_pic_F77='-Kconform_pic'
19415 - lt_prog_compiler_static_F77='-Bstatic'
19420 - lt_prog_compiler_wl_F77='-Wl,'
19421 - lt_prog_compiler_can_build_shared_F77=no
19425 - lt_prog_compiler_pic_F77='-pic'
19426 - lt_prog_compiler_static_F77='-Bstatic'
19430 - lt_prog_compiler_can_build_shared_F77=no
19435 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
19436 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
19439 -# Check to make sure the PIC flag actually works.
19441 -if test -n "$lt_prog_compiler_pic_F77"; then
19443 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
19444 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
19445 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
19446 - echo $ECHO_N "(cached) $ECHO_C" >&6
19448 - lt_prog_compiler_pic_works_F77=no
19449 - ac_outfile=conftest.$ac_objext
19450 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19451 - lt_compiler_flag="$lt_prog_compiler_pic_F77"
19452 - # Insert the option either (1) after the last *FLAGS variable, or
19453 - # (2) before a word containing "conftest.", or (3) at the end.
19454 - # Note that $ac_compile itself does not contain backslashes and begins
19455 - # with a dollar sign (not a hyphen), so the echo should work correctly.
19456 - # The option is referenced via a variable to avoid confusing sed.
19457 - lt_compile=`echo "$ac_compile" | $SED \
19458 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19459 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19460 - -e 's:$: $lt_compiler_flag:'`
19461 - (eval echo "\"\$as_me:13628: $lt_compile\"" >&5)
19462 - (eval "$lt_compile" 2>conftest.err)
19464 - cat conftest.err >&5
19465 - echo "$as_me:13632: \$? = $ac_status" >&5
19466 - if (exit $ac_status) && test -s "$ac_outfile"; then
19467 - # The compiler can only warn and ignore the option if not recognized
19468 - # So say no if there are warnings other than the usual output.
19469 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
19470 - $SED '/^$/d' conftest.err >conftest.er2
19471 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
19472 - lt_prog_compiler_pic_works_F77=yes
19478 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
19479 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
19481 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
19482 - case $lt_prog_compiler_pic_F77 in
19484 - *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
19487 - lt_prog_compiler_pic_F77=
19488 - lt_prog_compiler_can_build_shared_F77=no
19493 - # For platforms which do not support PIC, -DPIC is meaningless:
19495 - lt_prog_compiler_pic_F77=
19498 - lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
19502 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19503 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
19504 -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
19505 - echo $ECHO_N "(cached) $ECHO_C" >&6
19507 - lt_cv_prog_compiler_c_o_F77=no
19508 - $rm -r conftest 2>/dev/null
19512 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19514 - lt_compiler_flag="-o out/conftest2.$ac_objext"
19515 - # Insert the option either (1) after the last *FLAGS variable, or
19516 - # (2) before a word containing "conftest.", or (3) at the end.
19517 - # Note that $ac_compile itself does not contain backslashes and begins
19518 - # with a dollar sign (not a hyphen), so the echo should work correctly.
19519 - lt_compile=`echo "$ac_compile" | $SED \
19520 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19521 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19522 - -e 's:$: $lt_compiler_flag:'`
19523 - (eval echo "\"\$as_me:13690: $lt_compile\"" >&5)
19524 - (eval "$lt_compile" 2>out/conftest.err)
19526 - cat out/conftest.err >&5
19527 - echo "$as_me:13694: \$? = $ac_status" >&5
19528 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
19530 - # The compiler can only warn and ignore the option if not recognized
19531 - # So say no if there are warnings
19532 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
19533 - $SED '/^$/d' out/conftest.err >out/conftest.er2
19534 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19535 - lt_cv_prog_compiler_c_o_F77=yes
19540 - # SGI C++ compiler will create directory out/ii_files/ for
19541 - # template instantiation
19542 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19543 - $rm out/* && rmdir out
19549 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
19550 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
19553 -hard_links="nottested"
19554 -if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
19555 - # do not overwrite the value of need_locks provided by the user
19556 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19557 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
19560 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
19562 - ln conftest.a conftest.b 2>&5 || hard_links=no
19563 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
19564 - echo "$as_me:$LINENO: result: $hard_links" >&5
19565 -echo "${ECHO_T}$hard_links" >&6
19566 - if test "$hard_links" = no; then
19567 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19568 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19575 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19576 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
19579 - allow_undefined_flag_F77=
19580 - enable_shared_with_static_runtimes_F77=no
19581 - archive_cmds_F77=
19582 - archive_expsym_cmds_F77=
19583 - old_archive_From_new_cmds_F77=
19584 - old_archive_from_expsyms_cmds_F77=
19585 - export_dynamic_flag_spec_F77=
19586 - whole_archive_flag_spec_F77=
19587 - thread_safe_flag_spec_F77=
19588 - hardcode_libdir_flag_spec_F77=
19589 - hardcode_libdir_flag_spec_ld_F77=
19590 - hardcode_libdir_separator_F77=
19591 - hardcode_direct_F77=no
19592 - hardcode_minus_L_F77=no
19593 - hardcode_shlibpath_var_F77=unsupported
19594 - link_all_deplibs_F77=unknown
19595 - hardcode_automatic_F77=no
19597 - module_expsym_cmds_F77=
19598 - always_export_symbols_F77=no
19599 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19600 - # include_expsyms should be a list of space-separated symbols to be *always*
19601 - # included in the symbol list
19602 - include_expsyms_F77=
19603 - # exclude_expsyms can be an extended regexp of symbols to exclude
19604 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
19605 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19606 - # as well as any symbol that contains `d'.
19607 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
19608 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19609 - # platforms (ab)use it in PIC code, but their linkers get confused if
19610 - # the symbol is explicitly referenced. Since portable code cannot
19611 - # rely on this symbol name, it's probably fine to never include it in
19612 - # preloaded symbol tables.
19613 - extract_expsyms_cmds=
19614 - # Just being paranoid about ensuring that cc_basename is set.
19615 - for cc_temp in $compiler""; do
19617 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19618 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19623 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19626 - cygwin* | mingw* | pw32*)
19627 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
19628 - # When not using gcc, we currently assume that we are using
19629 - # Microsoft Visual C++.
19630 - if test "$GCC" != yes; then
19639 - ld_shlibs_F77=yes
19640 - if test "$with_gnu_ld" = yes; then
19641 - # If archive_cmds runs LD, not CC, wlarc should be empty
19644 - # Set some defaults for GNU ld with shared library support. These
19645 - # are reset later if shared libraries are not supported. Putting them
19646 - # here allows them to be overridden if necessary.
19647 - runpath_var=LD_RUN_PATH
19648 - hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
19649 - export_dynamic_flag_spec_F77='${wl}--export-dynamic'
19650 - # ancient GNU ld didn't support --whole-archive et. al.
19651 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19652 - whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19654 - whole_archive_flag_spec_F77=
19656 - supports_anon_versioning=no
19657 - case `$LD -v 2>/dev/null` in
19658 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19659 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19660 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19661 - *\ 2.11.*) ;; # other 2.11 versions
19662 - *) supports_anon_versioning=yes ;;
19665 - # See if GNU ld supports shared libraries.
19667 - aix3* | aix4* | aix5*)
19668 - # On AIX/PPC, the GNU linker is very broken
19669 - if test "$host_cpu" != ia64; then
19673 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19674 -*** to be unable to reliably create shared libraries on AIX.
19675 -*** Therefore, libtool is disabling shared libraries support. If you
19676 -*** really care for shared libraries, you may want to modify your PATH
19677 -*** so that a non-GNU linker is found, and then restart.
19684 - archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
19685 - hardcode_libdir_flag_spec_F77='-L$libdir'
19686 - hardcode_minus_L_F77=yes
19688 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19689 - # that the semantics of dynamic libraries on AmigaOS, at least up
19690 - # to version 4, is to share data among multiple programs linked
19691 - # with the same dynamic library. Since this doesn't match the
19692 - # behavior of shared libraries on other platforms, we can't use
19698 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19699 - allow_undefined_flag_F77=unsupported
19700 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19701 - # support --undefined. This deserves some investigation. FIXME
19702 - archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19708 - cygwin* | mingw* | pw32*)
19709 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
19710 - # as there is no search path for DLLs.
19711 - hardcode_libdir_flag_spec_F77='-L$libdir'
19712 - allow_undefined_flag_F77=unsupported
19713 - always_export_symbols_F77=no
19714 - enable_shared_with_static_runtimes_F77=yes
19715 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19717 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19718 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19719 - # If the export-symbols file already is a .def file (1st line
19720 - # is EXPORTS), use it as is; otherwise, prepend...
19721 - archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19722 - cp $export_symbols $output_objdir/$soname.def;
19724 - echo EXPORTS > $output_objdir/$soname.def;
19725 - cat $export_symbols >> $output_objdir/$soname.def;
19727 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19734 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19736 - case $cc_basename,$host_cpu in
19737 - pgcc*) # Portland Group C compiler
19738 - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19739 - tmp_addflag=' $pic_flag'
19741 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
19742 - whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19743 - tmp_addflag=' $pic_flag -Mnomain' ;;
19744 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
19745 - tmp_addflag=' -i_dynamic' ;;
19746 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
19747 - tmp_addflag=' -i_dynamic -nofor_main' ;;
19748 - ifc* | ifort*) # Intel Fortran compiler
19749 - tmp_addflag=' -nofor_main' ;;
19751 - archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19753 - if test $supports_anon_versioning = yes; then
19754 - archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
19755 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19756 - $echo "local: *; };" >> $output_objdir/$libname.ver~
19757 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19765 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19766 - archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19769 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19770 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19774 - solaris* | sysv5*)
19775 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19779 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19780 -*** create shared libraries on Solaris systems. Therefore, libtool
19781 -*** is disabling shared libraries support. We urge you to upgrade GNU
19782 -*** binutils to release 2.9.1 or newer. Another option is to modify
19783 -*** your PATH or compiler configuration so that the native linker is
19784 -*** used, and then restart.
19787 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19788 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19789 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19796 - archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19798 - hardcode_direct_F77=yes
19799 - hardcode_shlibpath_var_F77=no
19803 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19804 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19805 - archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19812 - if test "$ld_shlibs_F77" = no; then
19814 - hardcode_libdir_flag_spec_F77=
19815 - export_dynamic_flag_spec_F77=
19816 - whole_archive_flag_spec_F77=
19819 - # PORTME fill in a description of your system's linker (not GNU ld)
19822 - allow_undefined_flag_F77=unsupported
19823 - always_export_symbols_F77=yes
19824 - archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
19825 - # Note: this linker hardcodes the directories in LIBPATH if there
19826 - # are no directories specified by -L.
19827 - hardcode_minus_L_F77=yes
19828 - if test "$GCC" = yes && test -z "$link_static_flag"; then
19829 - # Neither direct hardcoding nor static linking is supported with a
19830 - # broken collect2.
19831 - hardcode_direct_F77=unsupported
19836 - if test "$host_cpu" = ia64; then
19837 - # On IA64, the linker does run time linking by default, so we don't
19838 - # have to do anything special.
19839 - aix_use_runtimelinking=no
19840 - exp_sym_flag='-Bexport'
19843 - # If we're using GNU nm, then we don't want the "-C" option.
19844 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
19845 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19846 - export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19848 - export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19850 - aix_use_runtimelinking=no
19852 - # Test if we are trying to use run time linking or normal
19853 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19854 - # need to do runtime linking.
19855 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
19856 - for ld_flag in $LDFLAGS; do
19857 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
19858 - aix_use_runtimelinking=yes
19864 - exp_sym_flag='-bexport'
19865 - no_entry_flag='-bnoentry'
19868 - # When large executables or shared objects are built, AIX ld can
19869 - # have problems creating the table of contents. If linking a library
19870 - # or program results in "error TOC overflow" add -mminimal-toc to
19871 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19872 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19874 - archive_cmds_F77=''
19875 - hardcode_direct_F77=yes
19876 - hardcode_libdir_separator_F77=':'
19877 - link_all_deplibs_F77=yes
19879 - if test "$GCC" = yes; then
19880 - case $host_os in aix4.[012]|aix4.[012].*)
19881 - # We only want to do this on AIX 4.2 and lower, the check
19882 - # below for broken collect2 doesn't work under 4.3+
19883 - collect2name=`${CC} -print-prog-name=collect2`
19884 - if test -f "$collect2name" && \
19885 - strings "$collect2name" | grep resolve_lib_name >/dev/null
19887 - # We have reworked collect2
19888 - hardcode_direct_F77=yes
19890 - # We have old collect2
19891 - hardcode_direct_F77=unsupported
19892 - # It fails to find uninstalled libraries when the uninstalled
19893 - # path is not listed in the libpath. Setting hardcode_minus_L
19894 - # to unsupported forces relinking
19895 - hardcode_minus_L_F77=yes
19896 - hardcode_libdir_flag_spec_F77='-L$libdir'
19897 - hardcode_libdir_separator_F77=
19900 - shared_flag='-shared'
19901 - if test "$aix_use_runtimelinking" = yes; then
19902 - shared_flag="$shared_flag "'${wl}-G'
19906 - if test "$host_cpu" = ia64; then
19907 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19908 - # chokes on -Wl,-G. The following line is correct:
19911 - if test "$aix_use_runtimelinking" = yes; then
19912 - shared_flag='${wl}-G'
19914 - shared_flag='${wl}-bM:SRE'
19919 - # It seems that -bexpall does not export symbols beginning with
19920 - # underscore (_), so it is better to generate a list of symbols to export.
19921 - always_export_symbols_F77=yes
19922 - if test "$aix_use_runtimelinking" = yes; then
19923 - # Warning - without using the other runtime loading flags (-brtl),
19924 - # -berok will link without error, but may produce a broken library.
19925 - allow_undefined_flag_F77='-berok'
19926 - # Determine the default libpath from the value encoded in an empty executable.
19927 - cat >conftest.$ac_ext <<_ACEOF
19932 -rm -f conftest.$ac_objext conftest$ac_exeext
19933 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19934 - (eval $ac_link) 2>conftest.er1
19936 - grep -v '^ *+' conftest.er1 >conftest.err
19937 - rm -f conftest.er1
19938 - cat conftest.err >&5
19939 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 - (exit $ac_status); } &&
19941 - { ac_try='test -z "$ac_f77_werror_flag"
19942 - || test ! -s conftest.err'
19943 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19944 - (eval $ac_try) 2>&5
19946 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 - (exit $ac_status); }; } &&
19948 - { ac_try='test -s conftest$ac_exeext'
19949 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19950 - (eval $ac_try) 2>&5
19952 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 - (exit $ac_status); }; }; then
19955 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19957 -# Check for a 64-bit object if we didn't find anything.
19958 -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; }
19961 - echo "$as_me: failed program was:" >&5
19962 -sed 's/^/| /' conftest.$ac_ext >&5
19965 -rm -f conftest.err conftest.$ac_objext \
19966 - conftest$ac_exeext conftest.$ac_ext
19967 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19969 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
19970 - archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19972 - if test "$host_cpu" = ia64; then
19973 - hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
19974 - allow_undefined_flag_F77="-z nodefs"
19975 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
19977 - # Determine the default libpath from the value encoded in an empty executable.
19978 - cat >conftest.$ac_ext <<_ACEOF
19983 -rm -f conftest.$ac_objext conftest$ac_exeext
19984 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19985 - (eval $ac_link) 2>conftest.er1
19987 - grep -v '^ *+' conftest.er1 >conftest.err
19988 - rm -f conftest.er1
19989 - cat conftest.err >&5
19990 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 - (exit $ac_status); } &&
19992 - { ac_try='test -z "$ac_f77_werror_flag"
19993 - || test ! -s conftest.err'
19994 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 - (eval $ac_try) 2>&5
19997 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 - (exit $ac_status); }; } &&
19999 - { ac_try='test -s conftest$ac_exeext'
20000 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 - (eval $ac_try) 2>&5
20003 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 - (exit $ac_status); }; }; then
20006 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
20008 -# Check for a 64-bit object if we didn't find anything.
20009 -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; }
20012 - echo "$as_me: failed program was:" >&5
20013 -sed 's/^/| /' conftest.$ac_ext >&5
20016 -rm -f conftest.err conftest.$ac_objext \
20017 - conftest$ac_exeext conftest.$ac_ext
20018 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
20020 - hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
20021 - # Warning - without using the other run time loading flags,
20022 - # -berok will link without error, but may produce a broken library.
20023 - no_undefined_flag_F77=' ${wl}-bernotok'
20024 - allow_undefined_flag_F77=' ${wl}-berok'
20025 - # -bexpall does not export symbols beginning with underscore (_)
20026 - always_export_symbols_F77=yes
20027 - # Exported symbols can be pulled into shared objects from archives
20028 - whole_archive_flag_spec_F77=' '
20029 - archive_cmds_need_lc_F77=yes
20030 - # This is similar to how AIX traditionally builds its shared libraries.
20031 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
20037 - archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
20038 - hardcode_libdir_flag_spec_F77='-L$libdir'
20039 - hardcode_minus_L_F77=yes
20040 - # see comment about different semantics on the GNU ld section
20045 - export_dynamic_flag_spec_F77=-rdynamic
20048 - cygwin* | mingw* | pw32*)
20049 - # When not using gcc, we currently assume that we are using
20050 - # Microsoft Visual C++.
20051 - # hardcode_libdir_flag_spec is actually meaningless, as there is
20052 - # no search path for DLLs.
20053 - hardcode_libdir_flag_spec_F77=' '
20054 - allow_undefined_flag_F77=unsupported
20055 - # Tell ltmain to make .lib files, not .a files.
20057 - # Tell ltmain to make .dll files, not .so files.
20058 - shrext_cmds=".dll"
20059 - # FIXME: Setting linknames here is a bad hack.
20060 - archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
20061 - # The linker will automatically build a .lib file if we build a DLL.
20062 - old_archive_From_new_cmds_F77='true'
20063 - # FIXME: Should let the user specify the lib program.
20064 - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
20065 - fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
20066 - enable_shared_with_static_runtimes_F77=yes
20069 - darwin* | rhapsody*)
20071 - rhapsody* | darwin1.[012])
20072 - allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
20074 - *) # Darwin 1.3 on
20075 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20076 - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20078 - case ${MACOSX_DEPLOYMENT_TARGET} in
20080 - allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20083 - allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
20089 - archive_cmds_need_lc_F77=no
20090 - hardcode_direct_F77=no
20091 - hardcode_automatic_F77=yes
20092 - hardcode_shlibpath_var_F77=unsupported
20093 - whole_archive_flag_spec_F77=''
20094 - link_all_deplibs_F77=yes
20095 - if test "$GCC" = yes ; then
20096 - output_verbose_link_cmd='echo'
20097 - archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
20098 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20099 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20100 - archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20101 - module_expsym_cmds_F77='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}'
20103 - case $cc_basename in
20105 - output_verbose_link_cmd='echo'
20106 - archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
20107 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20108 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20109 - archive_expsym_cmds_F77='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}'
20110 - module_expsym_cmds_F77='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}'
20120 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20121 - hardcode_libdir_flag_spec_F77='-L$libdir'
20122 - hardcode_shlibpath_var_F77=no
20129 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20130 - # support. Future versions do this automatically, but an explicit c++rt0.o
20131 - # does not break anything, and helps significantly (at the cost of a little
20134 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20135 - hardcode_libdir_flag_spec_F77='-R$libdir'
20136 - hardcode_direct_F77=yes
20137 - hardcode_shlibpath_var_F77=no
20140 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20142 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20143 - hardcode_direct_F77=yes
20144 - hardcode_minus_L_F77=yes
20145 - hardcode_shlibpath_var_F77=no
20148 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20149 - freebsd* | kfreebsd*-gnu | dragonfly*)
20150 - archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20151 - hardcode_libdir_flag_spec_F77='-R$libdir'
20152 - hardcode_direct_F77=yes
20153 - hardcode_shlibpath_var_F77=no
20157 - if test "$GCC" = yes; then
20158 - archive_cmds_F77='$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'
20160 - archive_cmds_F77='$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'
20162 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20163 - hardcode_libdir_separator_F77=:
20164 - hardcode_direct_F77=yes
20166 - # hardcode_minus_L: Not really in the search PATH,
20167 - # but as the default location of the library.
20168 - hardcode_minus_L_F77=yes
20169 - export_dynamic_flag_spec_F77='${wl}-E'
20172 - hpux10* | hpux11*)
20173 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20174 - case $host_cpu in
20176 - archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20179 - archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20183 - case $host_cpu in
20185 - archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
20188 - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20192 - if test "$with_gnu_ld" = no; then
20193 - case $host_cpu in
20195 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20196 - hardcode_libdir_flag_spec_ld_F77='+b $libdir'
20197 - hardcode_libdir_separator_F77=:
20198 - hardcode_direct_F77=no
20199 - hardcode_shlibpath_var_F77=no
20202 - hardcode_libdir_flag_spec_F77='-L$libdir'
20203 - hardcode_direct_F77=no
20204 - hardcode_shlibpath_var_F77=no
20206 - # hardcode_minus_L: Not really in the search PATH,
20207 - # but as the default location of the library.
20208 - hardcode_minus_L_F77=yes
20211 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
20212 - hardcode_libdir_separator_F77=:
20213 - hardcode_direct_F77=yes
20214 - export_dynamic_flag_spec_F77='${wl}-E'
20216 - # hardcode_minus_L: Not really in the search PATH,
20217 - # but as the default location of the library.
20218 - hardcode_minus_L_F77=yes
20224 - irix5* | irix6* | nonstopux*)
20225 - if test "$GCC" = yes; then
20226 - archive_cmds_F77='$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'
20228 - archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20229 - hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
20231 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20232 - hardcode_libdir_separator_F77=:
20233 - link_all_deplibs_F77=yes
20237 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20238 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20240 - archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
20242 - hardcode_libdir_flag_spec_F77='-R$libdir'
20243 - hardcode_direct_F77=yes
20244 - hardcode_shlibpath_var_F77=no
20248 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20249 - hardcode_direct_F77=yes
20250 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20251 - hardcode_libdir_separator_F77=:
20252 - hardcode_shlibpath_var_F77=no
20256 - hardcode_direct_F77=yes
20257 - hardcode_shlibpath_var_F77=no
20258 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20259 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20260 - archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
20261 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20262 - export_dynamic_flag_spec_F77='${wl}-E'
20265 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20266 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20267 - hardcode_libdir_flag_spec_F77='-R$libdir'
20270 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20271 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
20278 - hardcode_libdir_flag_spec_F77='-L$libdir'
20279 - hardcode_minus_L_F77=yes
20280 - allow_undefined_flag_F77=unsupported
20281 - archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
20282 - old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20286 - if test "$GCC" = yes; then
20287 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
20288 - archive_cmds_F77='$CC -shared${allow_undefined_flag} $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'
20290 - allow_undefined_flag_F77=' -expect_unresolved \*'
20291 - archive_cmds_F77='$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'
20293 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20294 - hardcode_libdir_separator_F77=:
20297 - osf4* | osf5*) # as osf3* with the addition of -msym flag
20298 - if test "$GCC" = yes; then
20299 - allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
20300 - archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${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'
20301 - hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
20303 - allow_undefined_flag_F77=' -expect_unresolved \*'
20304 - archive_cmds_F77='$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'
20305 - archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
20306 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
20308 - # Both c and cxx compiler support -rpath directly
20309 - hardcode_libdir_flag_spec_F77='-rpath $libdir'
20311 - hardcode_libdir_separator_F77=:
20315 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20316 - hardcode_shlibpath_var_F77=no
20317 - export_dynamic_flag_spec_F77='${wl}-Bexport'
20318 - runpath_var=LD_RUN_PATH
20319 - hardcode_runpath_var=yes
20323 - no_undefined_flag_F77=' -z text'
20324 - if test "$GCC" = yes; then
20326 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20327 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20328 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20331 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20332 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20333 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20335 - hardcode_libdir_flag_spec_F77='-R$libdir'
20336 - hardcode_shlibpath_var_F77=no
20338 - solaris2.[0-5] | solaris2.[0-5].*) ;;
20340 - # The compiler driver will combine linker options so we
20341 - # cannot just pass the convience library names through
20342 - # without $wl, iff we do not link with $LD.
20343 - # Luckily, gcc supports the same syntax we need for Sun Studio.
20344 - # Supported since Solaris 2.6 (maybe 2.5.1?)
20347 - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
20349 - whole_archive_flag_spec_F77='${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' ;;
20352 - link_all_deplibs_F77=yes
20356 - if test "x$host_vendor" = xsequent; then
20357 - # Use $CC to link under sequent, because it throws in some extra .o
20358 - # files that make .init and .fini sections work.
20359 - archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20361 - archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20363 - hardcode_libdir_flag_spec_F77='-L$libdir'
20364 - hardcode_direct_F77=yes
20365 - hardcode_minus_L_F77=yes
20366 - hardcode_shlibpath_var_F77=no
20370 - case $host_vendor in
20372 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20373 - hardcode_direct_F77=yes # is this really true???
20376 - ## LD is ld it makes a PLAMLIB
20377 - ## CC just makes a GrossModule.
20378 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20379 - reload_cmds_F77='$CC -r -o $output$reload_objs'
20380 - hardcode_direct_F77=no
20383 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20384 - hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
20387 - runpath_var='LD_RUN_PATH'
20388 - hardcode_shlibpath_var_F77=no
20392 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20393 - hardcode_shlibpath_var_F77=no
20394 - export_dynamic_flag_spec_F77='-Bexport'
20398 - if test -d /usr/nec; then
20399 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20400 - hardcode_shlibpath_var_F77=no
20401 - runpath_var=LD_RUN_PATH
20402 - hardcode_runpath_var=yes
20403 - ld_shlibs_F77=yes
20408 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20409 - hardcode_direct_F77=yes
20410 - hardcode_minus_L_F77=no
20411 - hardcode_shlibpath_var_F77=no
20412 - hardcode_runpath_var=yes
20413 - runpath_var=LD_RUN_PATH
20416 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
20417 - no_undefined_flag_F77='${wl}-z ${wl}text'
20418 - if test "$GCC" = yes; then
20419 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20421 - archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20423 - runpath_var='LD_RUN_PATH'
20424 - hardcode_shlibpath_var_F77=no
20428 - no_undefined_flag_F77=' -z text'
20429 - # $CC -shared without GNU ld will not create a library from C++
20430 - # object files and a static libstdc++, better avoid it by now
20431 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20432 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20433 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20434 - hardcode_libdir_flag_spec_F77=
20435 - hardcode_shlibpath_var_F77=no
20436 - runpath_var='LD_RUN_PATH'
20440 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20441 - hardcode_libdir_flag_spec_F77='-L$libdir'
20442 - hardcode_shlibpath_var_F77=no
20451 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
20452 -echo "${ECHO_T}$ld_shlibs_F77" >&6
20453 -test "$ld_shlibs_F77" = no && can_build_shared=no
20455 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20456 -if test "$GCC" = yes; then
20457 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20461 -# Do we need to explicitly link libc?
20463 -case "x$archive_cmds_need_lc_F77" in
20465 - # Assume -lc should be added
20466 - archive_cmds_need_lc_F77=yes
20468 - if test "$enable_shared" = yes && test "$GCC" = yes; then
20469 - case $archive_cmds_F77 in
20471 - # FIXME: we may have to deal with multi-command sequences.
20474 - # Test whether the compiler implicitly links with -lc since on some
20475 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
20476 - # to ld, don't add -lc before -lgcc.
20477 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20478 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
20480 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20482 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20483 - (eval $ac_compile) 2>&5
20485 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 - (exit $ac_status); } 2>conftest.err; then
20489 - libobjs=conftest.$ac_objext
20491 - wl=$lt_prog_compiler_wl_F77
20492 - compiler_flags=-v
20497 - lt_save_allow_undefined_flag=$allow_undefined_flag_F77
20498 - allow_undefined_flag_F77=
20499 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20500 - (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20502 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 - (exit $ac_status); }
20505 - archive_cmds_need_lc_F77=no
20507 - archive_cmds_need_lc_F77=yes
20509 - allow_undefined_flag_F77=$lt_save_allow_undefined_flag
20511 - cat conftest.err 1>&5
20514 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
20515 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
20522 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20523 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
20524 -library_names_spec=
20525 -libname_spec='lib$name'
20529 -postuninstall_cmds=
20533 -shlibpath_overrides_runpath=unknown
20535 -dynamic_linker="$host_os ld.so"
20536 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
20537 -if test "$GCC" = yes; then
20538 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20539 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
20540 - # if the path contains ";" then we assume it to be the separator
20541 - # otherwise default to the standard path separator (i.e. ":") - it is
20542 - # assumed that no part of a normal pathname contains ";" but that should
20543 - # okay in the real world where ";" in dirpaths is itself problematic.
20544 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20546 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20549 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20551 -need_lib_prefix=unknown
20552 -hardcode_into_libs=no
20554 -# when you set need_version to no, make sure it does not cause -set_version
20555 -# flags to be left without arguments
20556 -need_version=unknown
20560 - version_type=linux
20561 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20562 - shlibpath_var=LIBPATH
20564 - # AIX 3 has no versioning support, so we append a major version to the name.
20565 - soname_spec='${libname}${release}${shared_ext}$major'
20569 - version_type=linux
20570 - need_lib_prefix=no
20572 - hardcode_into_libs=yes
20573 - if test "$host_cpu" = ia64; then
20574 - # AIX 5 supports IA64
20575 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20576 - shlibpath_var=LD_LIBRARY_PATH
20578 - # With GCC up to 2.95.x, collect2 would create an import file
20579 - # for dependence libraries. The import file would start with
20580 - # the line `#! .'. This would cause the generated library to
20581 - # depend on `.', always an invalid library. This was fixed in
20582 - # development snapshots of GCC prior to 3.0.
20584 - aix4 | aix4.[01] | aix4.[01].*)
20585 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20587 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20590 - can_build_shared=no
20594 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20595 - # soname into executable. Probably we can add versioning support to
20596 - # collect2, so additional links can be useful in future.
20597 - if test "$aix_use_runtimelinking" = yes; then
20598 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20599 - # instead of lib<name>.a to let people know that these are not
20600 - # typical AIX shared libraries.
20601 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20603 - # We preserve .a as extension for shared libraries through AIX4.2
20604 - # and later when we are not doing run time linking.
20605 - library_names_spec='${libname}${release}.a $libname.a'
20606 - soname_spec='${libname}${release}${shared_ext}$major'
20608 - shlibpath_var=LIBPATH
20613 - library_names_spec='$libname.ixlibrary $libname.a'
20614 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
20615 - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
20619 - library_names_spec='${libname}${shared_ext}'
20620 - dynamic_linker="$host_os ld.so"
20621 - shlibpath_var=LIBRARY_PATH
20625 - version_type=linux
20627 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20628 - soname_spec='${libname}${release}${shared_ext}$major'
20629 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20630 - shlibpath_var=LD_LIBRARY_PATH
20631 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20632 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20633 - # the default ld.so.conf also contains /usr/contrib/lib and
20634 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20635 - # libtool to hard-code these into programs
20638 -cygwin* | mingw* | pw32*)
20639 - version_type=windows
20640 - shrext_cmds=".dll"
20642 - need_lib_prefix=no
20644 - case $GCC,$host_os in
20645 - yes,cygwin* | yes,mingw* | yes,pw32*)
20646 - library_names_spec='$libname.dll.a'
20647 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
20648 - postinstall_cmds='base_file=`basename \${file}`~
20649 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20650 - dldir=$destdir/`dirname \$dlpath`~
20651 - test -d \$dldir || mkdir -p \$dldir~
20652 - $install_prog $dir/$dlname \$dldir/$dlname~
20653 - chmod a+x \$dldir/$dlname'
20654 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20655 - dlpath=$dir/\$dldll~
20657 - shlibpath_overrides_runpath=yes
20661 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20662 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20663 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20666 - # MinGW DLLs use traditional 'lib' prefix
20667 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20668 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20669 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20670 - # It is most probably a Windows format PATH printed by
20671 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
20672 - # path with ; separators, and with drive letters. We can handle the
20673 - # drive letters (cygwin fileutils understands them), so leave them,
20674 - # especially as we might pass files found there to a mingw objdump,
20675 - # which wouldn't understand a cygwinified path. Ahh.
20676 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20678 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20682 - # pw32 DLLs use 'pw' prefix rather than 'lib'
20683 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20689 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20692 - dynamic_linker='Win32 ld.exe'
20693 - # FIXME: first we should search . and the directory the executable is in
20694 - shlibpath_var=PATH
20697 -darwin* | rhapsody*)
20698 - dynamic_linker="$host_os dyld"
20699 - version_type=darwin
20700 - need_lib_prefix=no
20702 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20703 - soname_spec='${libname}${release}${major}$shared_ext'
20704 - shlibpath_overrides_runpath=yes
20705 - shlibpath_var=DYLD_LIBRARY_PATH
20706 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20707 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20708 - if test "$GCC" = yes; then
20709 - 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"`
20711 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20713 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20717 - version_type=linux
20718 - need_lib_prefix=no
20720 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20721 - soname_spec='${libname}${release}${shared_ext}$major'
20722 - shlibpath_var=LD_LIBRARY_PATH
20726 - dynamic_linker=no
20730 - version_type=linux
20731 - need_lib_prefix=no
20733 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20734 - soname_spec='${libname}${release}${shared_ext}$major'
20735 - shlibpath_var=LD_LIBRARY_PATH
20736 - shlibpath_overrides_runpath=no
20737 - hardcode_into_libs=yes
20738 - dynamic_linker='GNU ld.so'
20741 -freebsd* | dragonfly*)
20742 - # DragonFly does not have aout. When/if they implement a new
20743 - # versioning mechanism, adjust this.
20744 - if test -x /usr/bin/objformat; then
20745 - objformat=`/usr/bin/objformat`
20748 - freebsd[123]*) objformat=aout ;;
20749 - *) objformat=elf ;;
20752 - version_type=freebsd-$objformat
20753 - case $version_type in
20755 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20757 - need_lib_prefix=no
20760 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20764 - shlibpath_var=LD_LIBRARY_PATH
20767 - shlibpath_overrides_runpath=yes
20769 - freebsd3.[01]* | freebsdelf3.[01]*)
20770 - shlibpath_overrides_runpath=yes
20771 - hardcode_into_libs=yes
20774 - shlibpath_overrides_runpath=no
20775 - hardcode_into_libs=yes
20781 - version_type=linux
20782 - need_lib_prefix=no
20784 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20785 - soname_spec='${libname}${release}${shared_ext}$major'
20786 - shlibpath_var=LD_LIBRARY_PATH
20787 - hardcode_into_libs=yes
20790 -hpux9* | hpux10* | hpux11*)
20791 - # Give a soname corresponding to the major version so that dld.sl refuses to
20792 - # link against other versions.
20793 - version_type=sunos
20794 - need_lib_prefix=no
20796 - case $host_cpu in
20798 - shrext_cmds='.so'
20799 - hardcode_into_libs=yes
20800 - dynamic_linker="$host_os dld.so"
20801 - shlibpath_var=LD_LIBRARY_PATH
20802 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20803 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20804 - soname_spec='${libname}${release}${shared_ext}$major'
20805 - if test "X$HPUX_IA64_MODE" = X32; then
20806 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20808 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20810 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20813 - shrext_cmds='.sl'
20814 - hardcode_into_libs=yes
20815 - dynamic_linker="$host_os dld.sl"
20816 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20817 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20818 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20819 - soname_spec='${libname}${release}${shared_ext}$major'
20820 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20821 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20824 - shrext_cmds='.sl'
20825 - dynamic_linker="$host_os dld.sl"
20826 - shlibpath_var=SHLIB_PATH
20827 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20828 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20829 - soname_spec='${libname}${release}${shared_ext}$major'
20832 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
20833 - postinstall_cmds='chmod 555 $lib'
20836 -irix5* | irix6* | nonstopux*)
20838 - nonstopux*) version_type=nonstopux ;;
20840 - if test "$lt_cv_prog_gnu_ld" = yes; then
20841 - version_type=linux
20843 - version_type=irix
20846 - need_lib_prefix=no
20848 - soname_spec='${libname}${release}${shared_ext}$major'
20849 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20851 - irix5* | nonstopux*)
20852 - libsuff= shlibsuff=
20855 - case $LD in # libtool.m4 will add one of these switches to LD
20856 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20857 - libsuff= shlibsuff= libmagic=32-bit;;
20858 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20859 - libsuff=32 shlibsuff=N32 libmagic=N32;;
20860 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20861 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
20862 - *) libsuff= shlibsuff= libmagic=never-match;;
20866 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20867 - shlibpath_overrides_runpath=no
20868 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20869 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20870 - hardcode_into_libs=yes
20873 -# No shared lib support for Linux oldld, aout, or coff.
20874 -linux*oldld* | linux*aout* | linux*coff*)
20875 - dynamic_linker=no
20878 -# This must be Linux ELF.
20880 - version_type=linux
20881 - need_lib_prefix=no
20883 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20884 - soname_spec='${libname}${release}${shared_ext}$major'
20885 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20886 - shlibpath_var=LD_LIBRARY_PATH
20887 - shlibpath_overrides_runpath=no
20888 - # This implies no fast_install, which is unacceptable.
20889 - # Some rework will be needed to allow for fast_install
20890 - # before this can be enabled.
20891 - hardcode_into_libs=yes
20893 - # Append ld.so.conf contents to the search path
20894 - if test -f /etc/ld.so.conf; then
20895 - 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' ' '`
20896 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20899 - # We used to test for /lib/ld.so.1 and disable shared libraries on
20900 - # powerpc, because MkLinux only supported shared libraries with the
20901 - # GNU dynamic linker. Since this was broken with cross compilers,
20902 - # most powerpc-linux boxes support dynamic linking these days and
20903 - # people can always --disable-shared, the test was removed, and we
20904 - # assume the GNU/Linux dynamic linker is in use.
20905 - dynamic_linker='GNU/Linux ld.so'
20909 - version_type=linux
20910 - need_lib_prefix=no
20912 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20913 - soname_spec='${libname}${release}${shared_ext}$major'
20914 - shlibpath_var=LD_LIBRARY_PATH
20915 - shlibpath_overrides_runpath=no
20916 - hardcode_into_libs=yes
20917 - dynamic_linker='GNU ld.so'
20921 - version_type=sunos
20922 - need_lib_prefix=no
20924 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20925 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20926 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20927 - dynamic_linker='NetBSD (a.out) ld.so'
20929 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20930 - soname_spec='${libname}${release}${shared_ext}$major'
20931 - dynamic_linker='NetBSD ld.elf_so'
20933 - shlibpath_var=LD_LIBRARY_PATH
20934 - shlibpath_overrides_runpath=yes
20935 - hardcode_into_libs=yes
20939 - version_type=linux
20940 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20941 - shlibpath_var=LD_LIBRARY_PATH
20942 - shlibpath_overrides_runpath=yes
20946 - version_type=linux
20947 - need_lib_prefix=no
20949 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20950 - soname_spec='${libname}${release}${shared_ext}$major'
20951 - shlibpath_var=LD_LIBRARY_PATH
20952 - shlibpath_overrides_runpath=yes
20956 - version_type=sunos
20957 - need_lib_prefix=no
20958 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20960 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20961 - *) need_version=no ;;
20963 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20964 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20965 - shlibpath_var=LD_LIBRARY_PATH
20966 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20968 - openbsd2.[89] | openbsd2.[89].*)
20969 - shlibpath_overrides_runpath=no
20972 - shlibpath_overrides_runpath=yes
20976 - shlibpath_overrides_runpath=yes
20981 - libname_spec='$name'
20982 - shrext_cmds=".dll"
20983 - need_lib_prefix=no
20984 - library_names_spec='$libname${shared_ext} $libname.a'
20985 - dynamic_linker='OS/2 ld.exe'
20986 - shlibpath_var=LIBPATH
20989 -osf3* | osf4* | osf5*)
20991 - need_lib_prefix=no
20993 - soname_spec='${libname}${release}${shared_ext}$major'
20994 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20995 - shlibpath_var=LD_LIBRARY_PATH
20996 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20997 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21002 - soname_spec='${libname}${release}${shared_ext}$major'
21003 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21004 - shlibpath_var=LD_LIBRARY_PATH
21008 - version_type=linux
21009 - need_lib_prefix=no
21011 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21012 - soname_spec='${libname}${release}${shared_ext}$major'
21013 - shlibpath_var=LD_LIBRARY_PATH
21014 - shlibpath_overrides_runpath=yes
21015 - hardcode_into_libs=yes
21016 - # ldd complains unless libraries are executable
21017 - postinstall_cmds='chmod +x $lib'
21021 - version_type=sunos
21022 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21023 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21024 - shlibpath_var=LD_LIBRARY_PATH
21025 - shlibpath_overrides_runpath=yes
21026 - if test "$with_gnu_ld" = yes; then
21027 - need_lib_prefix=no
21032 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
21033 - version_type=linux
21034 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21035 - soname_spec='${libname}${release}${shared_ext}$major'
21036 - shlibpath_var=LD_LIBRARY_PATH
21037 - case $host_vendor in
21039 - shlibpath_overrides_runpath=no
21040 - need_lib_prefix=no
21041 - export_dynamic_flag_spec='${wl}-Blargedynsym'
21042 - runpath_var=LD_RUN_PATH
21045 - need_lib_prefix=no
21048 - need_lib_prefix=no
21050 - shlibpath_overrides_runpath=no
21051 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21057 - if test -d /usr/nec ;then
21058 - version_type=linux
21059 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21060 - soname_spec='$libname${shared_ext}.$major'
21061 - shlibpath_var=LD_LIBRARY_PATH
21066 - version_type=linux
21067 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21068 - soname_spec='${libname}${release}${shared_ext}$major'
21069 - shlibpath_var=LD_LIBRARY_PATH
21073 - dynamic_linker=no
21076 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21077 -echo "${ECHO_T}$dynamic_linker" >&6
21078 -test "$dynamic_linker" = no && can_build_shared=no
21080 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21081 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
21082 -hardcode_action_F77=
21083 -if test -n "$hardcode_libdir_flag_spec_F77" || \
21084 - test -n "$runpath_var_F77" || \
21085 - test "X$hardcode_automatic_F77" = "Xyes" ; then
21087 - # We can hardcode non-existant directories.
21088 - if test "$hardcode_direct_F77" != no &&
21089 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
21090 - # have to relink, otherwise we might link with an installed library
21091 - # when we should be linking with a yet-to-be-installed one
21092 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
21093 - test "$hardcode_minus_L_F77" != no; then
21094 - # Linking always hardcodes the temporary library directory.
21095 - hardcode_action_F77=relink
21097 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
21098 - hardcode_action_F77=immediate
21101 - # We cannot hardcode anything, or else we can only hardcode existing
21103 - hardcode_action_F77=unsupported
21105 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
21106 -echo "${ECHO_T}$hardcode_action_F77" >&6
21108 -if test "$hardcode_action_F77" = relink; then
21109 - # Fast installation is not supported
21110 - enable_fast_install=no
21111 -elif test "$shlibpath_overrides_runpath" = yes ||
21112 - test "$enable_shared" = no; then
21113 - # Fast installation is not necessary
21114 - enable_fast_install=needless
21119 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
21120 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
21121 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
21122 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
21123 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
21124 - echo "$as_me:$LINENO: result: yes" >&5
21125 -echo "${ECHO_T}yes" >&6
21127 -# FIXME - insert some real tests, host_os isn't really good enough
21130 - if test -n "$STRIP" ; then
21131 - striplib="$STRIP -x"
21132 - echo "$as_me:$LINENO: result: yes" >&5
21133 -echo "${ECHO_T}yes" >&6
21135 - echo "$as_me:$LINENO: result: no" >&5
21136 -echo "${ECHO_T}no" >&6
21140 - echo "$as_me:$LINENO: result: no" >&5
21141 -echo "${ECHO_T}no" >&6
21148 -# The else clause should only fire when bootstrapping the
21149 -# libtool distribution, otherwise you forgot to ship ltmain.sh
21150 -# with your package, and you will get complaints that there are
21151 -# no rules to generate ltmain.sh.
21152 -if test -f "$ltmain"; then
21153 - # See if we are running on zsh, and set the options which allow our commands through
21154 - # without removal of \ escapes.
21155 - if test -n "${ZSH_VERSION+set}" ; then
21156 - setopt NO_GLOB_SUBST
21158 - # Now quote all the things that may contain metacharacters while being
21159 - # careful not to overquote the AC_SUBSTed values. We take copies of the
21160 - # variables and quote the copies for generation of the libtool script.
21161 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
21162 - SED SHELL STRIP \
21163 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21164 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21165 - deplibs_check_method reload_flag reload_cmds need_locks \
21166 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21167 - lt_cv_sys_global_symbol_to_c_name_address \
21168 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21169 - old_postinstall_cmds old_postuninstall_cmds \
21173 - lt_prog_compiler_wl_F77 \
21174 - lt_prog_compiler_pic_F77 \
21175 - lt_prog_compiler_static_F77 \
21176 - lt_prog_compiler_no_builtin_flag_F77 \
21177 - export_dynamic_flag_spec_F77 \
21178 - thread_safe_flag_spec_F77 \
21179 - whole_archive_flag_spec_F77 \
21180 - enable_shared_with_static_runtimes_F77 \
21181 - old_archive_cmds_F77 \
21182 - old_archive_from_new_cmds_F77 \
21183 - predep_objects_F77 \
21184 - postdep_objects_F77 \
21187 - compiler_lib_search_path_F77 \
21188 - archive_cmds_F77 \
21189 - archive_expsym_cmds_F77 \
21190 - postinstall_cmds_F77 \
21191 - postuninstall_cmds_F77 \
21192 - old_archive_from_expsyms_cmds_F77 \
21193 - allow_undefined_flag_F77 \
21194 - no_undefined_flag_F77 \
21195 - export_symbols_cmds_F77 \
21196 - hardcode_libdir_flag_spec_F77 \
21197 - hardcode_libdir_flag_spec_ld_F77 \
21198 - hardcode_libdir_separator_F77 \
21199 - hardcode_automatic_F77 \
21200 - module_cmds_F77 \
21201 - module_expsym_cmds_F77 \
21202 - lt_cv_prog_compiler_c_o_F77 \
21203 - exclude_expsyms_F77 \
21204 - include_expsyms_F77; do
21207 - old_archive_cmds_F77 | \
21208 - old_archive_from_new_cmds_F77 | \
21209 - archive_cmds_F77 | \
21210 - archive_expsym_cmds_F77 | \
21211 - module_cmds_F77 | \
21212 - module_expsym_cmds_F77 | \
21213 - old_archive_from_expsyms_cmds_F77 | \
21214 - export_symbols_cmds_F77 | \
21215 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
21216 - postinstall_cmds | postuninstall_cmds | \
21217 - old_postinstall_cmds | old_postuninstall_cmds | \
21218 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21219 - # Double-quote double-evaled strings.
21220 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21223 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21229 - *'\$0 --fallback-echo"')
21230 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21236 - cat <<__EOF__ >> "$cfgfile"
21237 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21239 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21241 -# Shell to use when invoking shell scripts.
21244 -# Whether or not to build shared libraries.
21245 -build_libtool_libs=$enable_shared
21247 -# Whether or not to build static libraries.
21248 -build_old_libs=$enable_static
21250 -# Whether or not to add -lc for building shared libraries.
21251 -build_libtool_need_lc=$archive_cmds_need_lc_F77
21253 -# Whether or not to disallow shared libs when runtime libs are static
21254 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
21256 -# Whether or not to optimize for fast installation.
21257 -fast_install=$enable_fast_install
21259 -# The host system.
21260 -host_alias=$host_alias
21264 -# The build system.
21265 -build_alias=$build_alias
21267 -build_os=$build_os
21269 -# An echo program that does not interpret backslashes.
21274 -AR_FLAGS=$lt_AR_FLAGS
21279 -# A language-specific compiler.
21280 -CC=$lt_compiler_F77
21282 -# Is the compiler the GNU C compiler?
21288 -# The linker used to build libraries.
21291 -# Whether we need hard or soft links.
21294 -# A BSD-compatible nm program.
21297 -# A symbol stripping program
21300 -# Used to examine libraries when file_magic_cmd begins "file"
21301 -MAGIC_CMD=$MAGIC_CMD
21303 -# Used on cygwin: DLL creation program.
21304 -DLLTOOL="$DLLTOOL"
21306 -# Used on cygwin: object dumper.
21307 -OBJDUMP="$OBJDUMP"
21309 -# Used on cygwin: assembler.
21312 -# The name of the directory that contains temporary libtool files.
21315 -# How to create reloadable object files.
21316 -reload_flag=$lt_reload_flag
21317 -reload_cmds=$lt_reload_cmds
21319 -# How to pass a linker flag through the compiler.
21320 -wl=$lt_lt_prog_compiler_wl_F77
21322 -# Object file suffix (normally "o").
21323 -objext="$ac_objext"
21325 -# Old archive suffix (normally "a").
21328 -# Shared library suffix (normally ".so").
21329 -shrext_cmds='$shrext_cmds'
21331 -# Executable file suffix (normally "").
21334 -# Additional compiler flags for building library objects.
21335 -pic_flag=$lt_lt_prog_compiler_pic_F77
21336 -pic_mode=$pic_mode
21338 -# What is the maximum length of a command?
21339 -max_cmd_len=$lt_cv_sys_max_cmd_len
21341 -# Does compiler simultaneously support -c and -o options?
21342 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
21344 -# Must we lock files when doing compilation?
21345 -need_locks=$lt_need_locks
21347 -# Do we need the lib prefix for modules?
21348 -need_lib_prefix=$need_lib_prefix
21350 -# Do we need a version for libraries?
21351 -need_version=$need_version
21353 -# Whether dlopen is supported.
21354 -dlopen_support=$enable_dlopen
21356 -# Whether dlopen of programs is supported.
21357 -dlopen_self=$enable_dlopen_self
21359 -# Whether dlopen of statically linked programs is supported.
21360 -dlopen_self_static=$enable_dlopen_self_static
21362 -# Compiler flag to prevent dynamic linking.
21363 -link_static_flag=$lt_lt_prog_compiler_static_F77
21365 -# Compiler flag to turn off builtin functions.
21366 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
21368 -# Compiler flag to allow reflexive dlopens.
21369 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
21371 -# Compiler flag to generate shared objects directly from archives.
21372 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
21374 -# Compiler flag to generate thread-safe objects.
21375 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
21377 -# Library versioning type.
21378 -version_type=$version_type
21380 -# Format of library name prefix.
21381 -libname_spec=$lt_libname_spec
21383 -# List of archive names. First name is the real one, the rest are links.
21384 -# The last name is the one that the linker finds with -lNAME.
21385 -library_names_spec=$lt_library_names_spec
21387 -# The coded name of the library, if different from the real name.
21388 -soname_spec=$lt_soname_spec
21390 -# Commands used to build and install an old-style archive.
21392 -old_archive_cmds=$lt_old_archive_cmds_F77
21393 -old_postinstall_cmds=$lt_old_postinstall_cmds
21394 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
21396 -# Create an old-style archive from a shared archive.
21397 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
21399 -# Create a temporary old-style archive to link instead of a shared archive.
21400 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
21402 -# Commands used to build and install a shared archive.
21403 -archive_cmds=$lt_archive_cmds_F77
21404 -archive_expsym_cmds=$lt_archive_expsym_cmds_F77
21405 -postinstall_cmds=$lt_postinstall_cmds
21406 -postuninstall_cmds=$lt_postuninstall_cmds
21408 -# Commands used to build a loadable module (assumed same as above if empty)
21409 -module_cmds=$lt_module_cmds_F77
21410 -module_expsym_cmds=$lt_module_expsym_cmds_F77
21412 -# Commands to strip libraries.
21413 -old_striplib=$lt_old_striplib
21414 -striplib=$lt_striplib
21416 -# Dependencies to place before the objects being linked to create a
21418 -predep_objects=$lt_predep_objects_F77
21420 -# Dependencies to place after the objects being linked to create a
21422 -postdep_objects=$lt_postdep_objects_F77
21424 -# Dependencies to place before the objects being linked to create a
21426 -predeps=$lt_predeps_F77
21428 -# Dependencies to place after the objects being linked to create a
21430 -postdeps=$lt_postdeps_F77
21432 -# The library search path used internally by the compiler when linking
21433 -# a shared library.
21434 -compiler_lib_search_path=$lt_compiler_lib_search_path_F77
21436 -# Method to check whether dependent libraries are shared objects.
21437 -deplibs_check_method=$lt_deplibs_check_method
21439 -# Command to use when deplibs_check_method == file_magic.
21440 -file_magic_cmd=$lt_file_magic_cmd
21442 -# Flag that allows shared libraries with undefined symbols to be built.
21443 -allow_undefined_flag=$lt_allow_undefined_flag_F77
21445 -# Flag that forces no undefined symbols.
21446 -no_undefined_flag=$lt_no_undefined_flag_F77
21448 -# Commands used to finish a libtool library installation in a directory.
21449 -finish_cmds=$lt_finish_cmds
21451 -# Same as above, but a single script fragment to be evaled but not shown.
21452 -finish_eval=$lt_finish_eval
21454 -# Take the output of nm and produce a listing of raw symbols and C names.
21455 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21457 -# Transform the output of nm in a proper C declaration
21458 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21460 -# Transform the output of nm in a C name address pair
21461 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21463 -# This is the shared library runtime path variable.
21464 -runpath_var=$runpath_var
21466 -# This is the shared library path variable.
21467 -shlibpath_var=$shlibpath_var
21469 -# Is shlibpath searched before the hard-coded library search path?
21470 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21472 -# How to hardcode a shared library path into an executable.
21473 -hardcode_action=$hardcode_action_F77
21475 -# Whether we should hardcode library paths into libraries.
21476 -hardcode_into_libs=$hardcode_into_libs
21478 -# Flag to hardcode \$libdir into a binary during linking.
21479 -# This must work even if \$libdir does not exist.
21480 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
21482 -# If ld is used when linking, flag to hardcode \$libdir into
21483 -# a binary during linking. This must work even if \$libdir does
21485 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
21487 -# Whether we need a single -rpath flag with a separated argument.
21488 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
21490 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21491 -# resulting binary.
21492 -hardcode_direct=$hardcode_direct_F77
21494 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21495 -# resulting binary.
21496 -hardcode_minus_L=$hardcode_minus_L_F77
21498 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21499 -# the resulting binary.
21500 -hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
21502 -# Set to yes if building a shared library automatically hardcodes DIR into the library
21503 -# and all subsequent libraries and executables linked against it.
21504 -hardcode_automatic=$hardcode_automatic_F77
21506 -# Variables whose values should be saved in libtool wrapper scripts and
21507 -# restored at relink time.
21508 -variables_saved_for_relink="$variables_saved_for_relink"
21510 -# Whether libtool must link a program against all its dependency libraries.
21511 -link_all_deplibs=$link_all_deplibs_F77
21513 -# Compile-time system search path for libraries
21514 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21516 -# Run-time system search path for libraries
21517 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21519 -# Fix the shell variable \$srcfile for the compiler.
21520 -fix_srcfile_path="$fix_srcfile_path_F77"
21523 +STRIP=$ac_cv_prog_STRIP
21524 +if test -n "$STRIP"; then
21525 + echo "$as_me:$LINENO: result: $STRIP" >&5
21526 +echo "${ECHO_T}$STRIP" >&6
21528 + echo "$as_me:$LINENO: result: no" >&5
21529 +echo "${ECHO_T}no" >&6
21532 -# Set to yes if exported symbols are required.
21533 -always_export_symbols=$always_export_symbols_F77
21535 +if test -z "$ac_cv_prog_STRIP"; then
21536 + ac_ct_STRIP=$STRIP
21537 + # Extract the first word of "strip", so it can be a program name with args.
21538 +set dummy strip; ac_word=$2
21539 +echo "$as_me:$LINENO: checking for $ac_word" >&5
21540 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21541 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
21542 + echo $ECHO_N "(cached) $ECHO_C" >&6
21544 + if test -n "$ac_ct_STRIP"; then
21545 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
21547 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21548 +for as_dir in $PATH
21551 + test -z "$as_dir" && as_dir=.
21552 + for ac_exec_ext in '' $ac_executable_extensions; do
21553 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21554 + ac_cv_prog_ac_ct_STRIP="strip"
21555 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21561 -# The commands to list exported symbols.
21562 -export_symbols_cmds=$lt_export_symbols_cmds_F77
21563 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
21566 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
21567 +if test -n "$ac_ct_STRIP"; then
21568 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
21569 +echo "${ECHO_T}$ac_ct_STRIP" >&6
21571 + echo "$as_me:$LINENO: result: no" >&5
21572 +echo "${ECHO_T}no" >&6
21575 -# The commands to extract the exported symbol list from a shared archive.
21576 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
21577 + STRIP=$ac_ct_STRIP
21579 + STRIP="$ac_cv_prog_STRIP"
21582 -# Symbols that should not be listed in the preloaded symbols.
21583 -exclude_expsyms=$lt_exclude_expsyms_F77
21585 -# Symbols that must always be exported.
21586 -include_expsyms=$lt_include_expsyms_F77
21588 +enable_win32_dll=no
21590 -# ### END LIBTOOL TAG CONFIG: $tagname
21591 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
21592 +if test "${enable_libtool_lock+set}" = set; then
21593 + enableval="$enable_libtool_lock"
21597 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
21599 +# Some flags need to be propagated to the compiler or linker for good
21600 +# libtool support.
21603 + # Find out which ABI we are using.
21604 + echo '#line 4708 "configure"' > conftest.$ac_ext
21605 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21606 + (eval $ac_compile) 2>&5
21608 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 + (exit $ac_status); }; then
21610 + case `/usr/bin/file conftest.$ac_objext` in
21612 + LD="${LD-ld} -32"
21615 + LD="${LD-ld} -n32"
21618 + LD="${LD-ld} -64"
21626 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
21627 + SAVE_CFLAGS="$CFLAGS"
21628 + CFLAGS="$CFLAGS -belf"
21629 + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
21630 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
21631 +if test "${lt_cv_cc_needs_belf+set}" = set; then
21632 + echo $ECHO_N "(cached) $ECHO_C" >&6
21634 - # If there is no Makefile yet, we rely on a make rule to execute
21635 - # `config.status --recheck' to rerun these tests and create the
21636 - # libtool script then.
21637 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21638 - if test -f "$ltmain_in"; then
21639 - test -f Makefile && make "$ltmain"
21646 ac_cpp='$CPP $CPPFLAGS'
21647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21659 - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
21660 + cat >conftest.$ac_ext <<_ACEOF
21663 +cat confdefs.h >>conftest.$ac_ext
21664 +cat >>conftest.$ac_ext <<_ACEOF
21665 +/* end confdefs.h. */
21675 +rm -f conftest.$ac_objext conftest$ac_exeext
21676 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21677 + (eval $ac_link) 2>conftest.er1
21679 + grep -v '^ *+' conftest.er1 >conftest.err
21680 + rm -f conftest.er1
21681 + cat conftest.err >&5
21682 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 + (exit $ac_status); } &&
21684 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21685 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21686 + (eval $ac_try) 2>&5
21688 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 + (exit $ac_status); }; } &&
21690 + { ac_try='test -s conftest$ac_exeext'
21691 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21692 + (eval $ac_try) 2>&5
21694 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 + (exit $ac_status); }; }; then
21696 + lt_cv_cc_needs_belf=yes
21698 + echo "$as_me: failed program was:" >&5
21699 +sed 's/^/| /' conftest.$ac_ext >&5
21701 -# Source file extension for Java test sources.
21703 +lt_cv_cc_needs_belf=no
21705 +rm -f conftest.err conftest.$ac_objext \
21706 + conftest$ac_exeext conftest.$ac_ext
21708 +ac_cpp='$CPP $CPPFLAGS'
21709 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21710 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21711 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
21713 -# Object file extension for compiled Java test sources.
21715 -objext_GCJ=$objext
21717 +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
21718 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
21719 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
21720 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
21721 + CFLAGS="$SAVE_CFLAGS"
21725 -# Code to be used in simple compile tests
21726 -lt_simple_compile_test_code="class foo {}\n"
21728 -# Code to be used in simple link tests
21729 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
21732 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21733 +# Sed substitution that helps us do robust quoting. It backslashifies
21734 +# metacharacters that are still active within double-quoted strings.
21735 +Xsed='sed -e s/^X//'
21736 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
21738 -# If no C compiler was specified, use CC.
21739 -LTCC=${LTCC-"$CC"}
21740 +# Same as above, but do not quote variable references.
21741 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
21743 -# Allow CC to be a program name with arguments.
21745 +# Sed substitution to delay expansion of an escaped shell variable in a
21746 +# double_quote_subst'ed string.
21747 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
21752 -# save warnings/boilerplate of simple test code
21753 -ac_outfile=conftest.$ac_objext
21754 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
21755 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
21756 -_lt_compiler_boilerplate=`cat conftest.err`
21759 -ac_outfile=conftest.$ac_objext
21760 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
21761 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
21762 -_lt_linker_boilerplate=`cat conftest.err`
21764 +# Global variables:
21765 +default_ofile=libtool
21766 +can_build_shared=yes
21768 +# All known linkers require a `.a' archive for static linking (except M$VC,
21769 +# which needs '.lib').
21771 +ltmain="$ac_aux_dir/ltmain.sh"
21772 +ofile="$default_ofile"
21773 +with_gnu_ld="$lt_cv_prog_gnu_ld"
21774 +need_locks="$enable_libtool_lock"
21776 -# Allow CC to be a program name with arguments.
21781 -for cc_temp in $compiler""; do
21783 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21784 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21789 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21791 +old_CFLAGS="$CFLAGS"
21793 +# Set sane defaults for various variables
21794 +test -z "$AR" && AR=ar
21795 +test -z "$AR_FLAGS" && AR_FLAGS=cru
21796 +test -z "$AS" && AS=as
21797 +test -z "$CC" && CC=cc
21798 +test -z "$DLLTOOL" && DLLTOOL=dlltool
21799 +test -z "$LD" && LD=ld
21800 +test -z "$LN_S" && LN_S="ln -s"
21801 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
21802 +test -z "$NM" && NM=nm
21803 +test -z "$OBJDUMP" && OBJDUMP=objdump
21804 +test -z "$RANLIB" && RANLIB=:
21805 +test -z "$STRIP" && STRIP=:
21806 +test -z "$ac_objext" && ac_objext=o
21808 -# GCJ did not exist at the time GCC didn't implicitly link libc in.
21809 -archive_cmds_need_lc_GCJ=no
21810 +if test x"$host" != x"$build"; then
21811 + ac_tool_prefix=${host_alias}-
21816 -old_archive_cmds_GCJ=$old_archive_cmds
21817 +# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
21820 +linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
21825 + # AIX sometimes has problems with the GCC collect2 program. For some
21826 + # reason, if we set the COLLECT_NAMES environment variable, the problems
21827 + # vanish in a puff of smoke.
21828 + if test "X${COLLECT_NAMES+set}" != Xset; then
21830 + export COLLECT_NAMES
21835 -lt_prog_compiler_no_builtin_flag_GCJ=
21836 +# Determine commands to create old-style static archives.
21837 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
21838 +old_postinstall_cmds='chmod 644 $oldlib'
21839 +old_postuninstall_cmds=
21841 -if test "$GCC" = yes; then
21842 - lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
21843 +if test -n "$RANLIB"; then
21846 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
21849 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
21852 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
21855 +# Allow CC to be a program name with arguments.
21859 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
21860 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
21861 -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
21862 - echo $ECHO_N "(cached) $ECHO_C" >&6
21863 +echo "$as_me:$LINENO: checking for objdir" >&5
21864 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6
21865 +rm -f .libs 2>/dev/null
21866 +mkdir .libs 2>/dev/null
21867 +if test -d .libs; then
21870 - lt_cv_prog_compiler_rtti_exceptions=no
21871 - ac_outfile=conftest.$ac_objext
21872 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
21873 - lt_compiler_flag="-fno-rtti -fno-exceptions"
21874 - # Insert the option either (1) after the last *FLAGS variable, or
21875 - # (2) before a word containing "conftest.", or (3) at the end.
21876 - # Note that $ac_compile itself does not contain backslashes and begins
21877 - # with a dollar sign (not a hyphen), so the echo should work correctly.
21878 - # The option is referenced via a variable to avoid confusing sed.
21879 - lt_compile=`echo "$ac_compile" | $SED \
21880 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21881 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21882 - -e 's:$: $lt_compiler_flag:'`
21883 - (eval echo "\"\$as_me:15820: $lt_compile\"" >&5)
21884 - (eval "$lt_compile" 2>conftest.err)
21886 - cat conftest.err >&5
21887 - echo "$as_me:15824: \$? = $ac_status" >&5
21888 - if (exit $ac_status) && test -s "$ac_outfile"; then
21889 - # The compiler can only warn and ignore the option if not recognized
21890 - # So say no if there are warnings other than the usual output.
21891 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
21892 - $SED '/^$/d' conftest.err >conftest.er2
21893 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
21894 - lt_cv_prog_compiler_rtti_exceptions=yes
21899 + # MS-DOS does not allow filenames that begin with a dot.
21902 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
21903 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
21904 +rmdir .libs 2>/dev/null
21905 +echo "$as_me:$LINENO: result: $objdir" >&5
21906 +echo "${ECHO_T}$objdir" >&6
21908 -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
21909 - lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
21916 -lt_prog_compiler_wl_GCJ=
21917 -lt_prog_compiler_pic_GCJ=
21918 -lt_prog_compiler_static_GCJ=
21919 +# Check whether --with-pic or --without-pic was given.
21920 +if test "${with_pic+set}" = set; then
21921 + withval="$with_pic"
21922 + pic_mode="$withval"
21926 +test -z "$pic_mode" && pic_mode=default
21928 +# We assume here that the value for lt_cv_prog_cc_pic will not be cached
21929 +# in isolation, and that seeing it set (from the cache) indicates that
21930 +# the associated values are set (in the cache) correctly too.
21931 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21932 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
21933 +if test "${lt_cv_prog_cc_pic+set}" = set; then
21934 + echo $ECHO_N "(cached) $ECHO_C" >&6
21936 + lt_cv_prog_cc_pic=
21937 + lt_cv_prog_cc_shlib=
21938 + lt_cv_prog_cc_wl=
21939 + lt_cv_prog_cc_static=
21940 + lt_cv_prog_cc_no_builtin=
21941 + lt_cv_prog_cc_can_build_shared=$can_build_shared
21943 if test "$GCC" = yes; then
21944 - lt_prog_compiler_wl_GCJ='-Wl,'
21945 - lt_prog_compiler_static_GCJ='-static'
21946 + lt_cv_prog_cc_wl='-Wl,'
21947 + lt_cv_prog_cc_static='-static'
21951 - # All AIX code is PIC.
21952 - if test "$host_cpu" = ia64; then
21953 - # AIX 5 now supports IA64 processor
21954 - lt_prog_compiler_static_GCJ='-Bstatic'
21957 + # Below there is a dirty hack to force normal static linking with -ldl
21958 + # The problem is because libdl dynamically linked with both libc and
21959 + # libC (AIX C++ library), which obviously doesn't included in libraries
21960 + # list by gcc. This cause undefined symbols with -static flags.
21961 + # This hack allows C programs to be linked with "-static -ldl", but
21962 + # not sure about C++ programs.
21963 + lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
21967 # FIXME: we need at least 68020 code to build shared libraries, but
21968 # adding the `-m68020' flag to GCC prevents building anything better,
21970 - lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
21971 + lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
21974 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21975 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21976 # PIC is the default for these OSes.
21979 - mingw* | pw32* | os2*)
21980 - # This hack is so that the source file can tell whether it is being
21981 - # built for inclusion in a dll (and should export symbols for example).
21982 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
21985 darwin* | rhapsody*)
21986 # PIC is the default on this platform
21987 # Common symbols not allowed in MH_DYLIB files
21988 - lt_prog_compiler_pic_GCJ='-fno-common'
21989 + lt_cv_prog_cc_pic='-fno-common'
21993 - # Just because we use GCC doesn't mean we suddenly get shared libraries
21994 - # on systems that don't support them.
21995 - lt_prog_compiler_can_build_shared_GCJ=no
21997 + cygwin* | mingw* | pw32* | os2*)
21998 + # This hack is so that the source file can tell whether it is being
21999 + # built for inclusion in a dll (and should export symbols for example).
22000 + lt_cv_prog_cc_pic='-DDLL_EXPORT'
22004 if test -d /usr/nec; then
22005 - lt_prog_compiler_pic_GCJ=-Kconform_pic
22006 + lt_cv_prog_cc_pic=-Kconform_pic
22011 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22012 - # not for PA HP-UX.
22013 - case $host_cpu in
22018 - lt_prog_compiler_pic_GCJ='-fPIC'
22024 - lt_prog_compiler_pic_GCJ='-fPIC'
22025 + lt_cv_prog_cc_pic='-fPIC'
22029 - # PORTME Check for flag to pass linker flags through the system compiler.
22030 + # PORTME Check for PIC flags for the system compiler.
22033 - lt_prog_compiler_wl_GCJ='-Wl,'
22034 + aix3* | aix4* | aix5*)
22035 + lt_cv_prog_cc_wl='-Wl,'
22036 + # All AIX code is PIC.
22037 if test "$host_cpu" = ia64; then
22038 # AIX 5 now supports IA64 processor
22039 - lt_prog_compiler_static_GCJ='-Bstatic'
22040 + lt_cv_prog_cc_static='-Bstatic'
22042 - lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
22043 + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
22047 - # PIC is the default on this platform
22048 - # Common symbols not allowed in MH_DYLIB files
22049 - case $cc_basename in
22051 - lt_prog_compiler_pic_GCJ='-qnocommon'
22052 - lt_prog_compiler_wl_GCJ='-Wl,'
22057 - mingw* | pw32* | os2*)
22058 - # This hack is so that the source file can tell whether it is being
22059 - # built for inclusion in a dll (and should export symbols for example).
22060 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
22063 hpux9* | hpux10* | hpux11*)
22064 - lt_prog_compiler_wl_GCJ='-Wl,'
22065 - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22066 - # not for PA HP-UX.
22067 - case $host_cpu in
22072 - lt_prog_compiler_pic_GCJ='+Z'
22075 - # Is there a better lt_prog_compiler_static that works with the bundled CC?
22076 - lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
22077 + # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
22078 + lt_cv_prog_cc_wl='-Wl,'
22079 + lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
22080 + lt_cv_prog_cc_pic='+Z'
22083 irix5* | irix6* | nonstopux*)
22084 - lt_prog_compiler_wl_GCJ='-Wl,'
22085 + lt_cv_prog_cc_wl='-Wl,'
22086 + lt_cv_prog_cc_static='-non_shared'
22087 # PIC (with -KPIC) is the default.
22088 - lt_prog_compiler_static_GCJ='-non_shared'
22092 - lt_prog_compiler_pic_GCJ='-KPIC'
22093 - lt_prog_compiler_static_GCJ='-Bstatic'
22094 + cygwin* | mingw* | pw32* | os2*)
22095 + # This hack is so that the source file can tell whether it is being
22096 + # built for inclusion in a dll (and should export symbols for example).
22097 + lt_cv_prog_cc_pic='-DDLL_EXPORT'
22101 - case $cc_basename in
22103 - lt_prog_compiler_wl_GCJ='-Wl,'
22104 - lt_prog_compiler_pic_GCJ='-KPIC'
22105 - lt_prog_compiler_static_GCJ='-static'
22107 - pgcc* | pgf77* | pgf90* | pgf95*)
22108 - # Portland Group compilers (*not* the Pentium gcc compiler,
22109 - # which looks to be a dead project)
22110 - lt_prog_compiler_wl_GCJ='-Wl,'
22111 - lt_prog_compiler_pic_GCJ='-fpic'
22112 - lt_prog_compiler_static_GCJ='-Bstatic'
22115 - lt_prog_compiler_wl_GCJ='-Wl,'
22116 - # All Alpha code is PIC.
22117 - lt_prog_compiler_static_GCJ='-non_shared'
22121 + lt_cv_prog_cc_pic='-KPIC'
22122 + lt_cv_prog_cc_static='-Bstatic'
22125 osf3* | osf4* | osf5*)
22126 - lt_prog_compiler_wl_GCJ='-Wl,'
22127 # All OSF/1 code is PIC.
22128 - lt_prog_compiler_static_GCJ='-non_shared'
22129 + lt_cv_prog_cc_wl='-Wl,'
22130 + lt_cv_prog_cc_static='-non_shared'
22134 - lt_prog_compiler_pic_GCJ='-Kpic'
22135 - lt_prog_compiler_static_GCJ='-dn'
22136 + lt_cv_prog_cc_pic='-Kpic'
22137 + lt_cv_prog_cc_static='-dn'
22138 + lt_cv_prog_cc_shlib='-belf'
22142 - lt_prog_compiler_pic_GCJ='-KPIC'
22143 - lt_prog_compiler_static_GCJ='-Bstatic'
22144 - case $cc_basename in
22145 - f77* | f90* | f95*)
22146 - lt_prog_compiler_wl_GCJ='-Qoption ld ';;
22148 - lt_prog_compiler_wl_GCJ='-Wl,';;
22150 + lt_cv_prog_cc_pic='-KPIC'
22151 + lt_cv_prog_cc_static='-Bstatic'
22152 + lt_cv_prog_cc_wl='-Wl,'
22156 - lt_prog_compiler_wl_GCJ='-Qoption ld '
22157 - lt_prog_compiler_pic_GCJ='-PIC'
22158 - lt_prog_compiler_static_GCJ='-Bstatic'
22159 + lt_cv_prog_cc_pic='-PIC'
22160 + lt_cv_prog_cc_static='-Bstatic'
22161 + lt_cv_prog_cc_wl='-Qoption ld '
22164 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
22165 - lt_prog_compiler_wl_GCJ='-Wl,'
22166 - lt_prog_compiler_pic_GCJ='-KPIC'
22167 - lt_prog_compiler_static_GCJ='-Bstatic'
22168 + lt_cv_prog_cc_pic='-KPIC'
22169 + lt_cv_prog_cc_static='-Bstatic'
22170 + lt_cv_prog_cc_wl='-Wl,'
22174 + lt_cv_prog_cc_pic='-pic'
22175 + lt_cv_prog_cc_static='-Bstatic'
22179 if test -d /usr/nec ;then
22180 - lt_prog_compiler_pic_GCJ='-Kconform_pic'
22181 - lt_prog_compiler_static_GCJ='-Bstatic'
22182 + lt_cv_prog_cc_pic='-Kconform_pic'
22183 + lt_cv_prog_cc_static='-Bstatic'
22188 - lt_prog_compiler_wl_GCJ='-Wl,'
22189 - lt_prog_compiler_can_build_shared_GCJ=no
22193 - lt_prog_compiler_pic_GCJ='-pic'
22194 - lt_prog_compiler_static_GCJ='-Bstatic'
22198 - lt_prog_compiler_can_build_shared_GCJ=no
22199 + lt_cv_prog_cc_can_build_shared=no
22204 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
22205 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
22208 -# Check to make sure the PIC flag actually works.
22210 -if test -n "$lt_prog_compiler_pic_GCJ"; then
22212 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
22213 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
22214 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
22215 - echo $ECHO_N "(cached) $ECHO_C" >&6
22217 - lt_prog_compiler_pic_works_GCJ=no
22218 - ac_outfile=conftest.$ac_objext
22219 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22220 - lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
22221 - # Insert the option either (1) after the last *FLAGS variable, or
22222 - # (2) before a word containing "conftest.", or (3) at the end.
22223 - # Note that $ac_compile itself does not contain backslashes and begins
22224 - # with a dollar sign (not a hyphen), so the echo should work correctly.
22225 - # The option is referenced via a variable to avoid confusing sed.
22226 - lt_compile=`echo "$ac_compile" | $SED \
22227 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22228 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22229 - -e 's:$: $lt_compiler_flag:'`
22230 - (eval echo "\"\$as_me:16082: $lt_compile\"" >&5)
22231 - (eval "$lt_compile" 2>conftest.err)
22233 - cat conftest.err >&5
22234 - echo "$as_me:16086: \$? = $ac_status" >&5
22235 - if (exit $ac_status) && test -s "$ac_outfile"; then
22236 - # The compiler can only warn and ignore the option if not recognized
22237 - # So say no if there are warnings other than the usual output.
22238 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
22239 - $SED '/^$/d' conftest.err >conftest.er2
22240 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
22241 - lt_prog_compiler_pic_works_GCJ=yes
22247 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
22248 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
22250 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
22251 - case $lt_prog_compiler_pic_GCJ in
22253 - *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
22255 +if test -z "$lt_cv_prog_cc_pic"; then
22256 + echo "$as_me:$LINENO: result: none" >&5
22257 +echo "${ECHO_T}none" >&6
22259 - lt_prog_compiler_pic_GCJ=
22260 - lt_prog_compiler_can_build_shared_GCJ=no
22265 - # For platforms which do not support PIC, -DPIC is meaningless:
22267 - lt_prog_compiler_pic_GCJ=
22270 - lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
22273 + echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
22274 +echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
22276 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22277 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
22278 -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
22279 + # Check to make sure the pic_flag actually works.
22280 + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
22281 +echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
22282 + if test "${lt_cv_prog_cc_pic_works+set}" = set; then
22283 echo $ECHO_N "(cached) $ECHO_C" >&6
22285 - lt_cv_prog_compiler_c_o_GCJ=no
22286 - $rm -r conftest 2>/dev/null
22290 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22292 - lt_compiler_flag="-o out/conftest2.$ac_objext"
22293 - # Insert the option either (1) after the last *FLAGS variable, or
22294 - # (2) before a word containing "conftest.", or (3) at the end.
22295 - # Note that $ac_compile itself does not contain backslashes and begins
22296 - # with a dollar sign (not a hyphen), so the echo should work correctly.
22297 - lt_compile=`echo "$ac_compile" | $SED \
22298 - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22299 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22300 - -e 's:$: $lt_compiler_flag:'`
22301 - (eval echo "\"\$as_me:16144: $lt_compile\"" >&5)
22302 - (eval "$lt_compile" 2>out/conftest.err)
22304 - cat out/conftest.err >&5
22305 - echo "$as_me:16148: \$? = $ac_status" >&5
22306 - if (exit $ac_status) && test -s out/conftest2.$ac_objext
22308 - # The compiler can only warn and ignore the option if not recognized
22309 - # So say no if there are warnings
22310 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
22311 - $SED '/^$/d' out/conftest.err >out/conftest.er2
22312 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22313 - lt_cv_prog_compiler_c_o_GCJ=yes
22318 - # SGI C++ compiler will create directory out/ii_files/ for
22319 - # template instantiation
22320 - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
22321 - $rm out/* && rmdir out
22325 + save_CFLAGS="$CFLAGS"
22326 + CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
22327 + cat >conftest.$ac_ext <<_ACEOF
22330 +cat confdefs.h >>conftest.$ac_ext
22331 +cat >>conftest.$ac_ext <<_ACEOF
22332 +/* end confdefs.h. */
22335 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
22336 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
22345 +rm -f conftest.$ac_objext
22346 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22347 + (eval $ac_compile) 2>conftest.er1
22349 + grep -v '^ *+' conftest.er1 >conftest.err
22350 + rm -f conftest.er1
22351 + cat conftest.err >&5
22352 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22353 + (exit $ac_status); } &&
22354 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22355 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22356 + (eval $ac_try) 2>&5
22358 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 + (exit $ac_status); }; } &&
22360 + { ac_try='test -s conftest.$ac_objext'
22361 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22362 + (eval $ac_try) 2>&5
22364 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 + (exit $ac_status); }; }; then
22367 + hpux9* | hpux10* | hpux11*)
22368 + # On HP-UX, both CC and GCC only warn that PIC is supported... then
22369 + # they create non-PIC objects. So, if there were any warnings, we
22370 + # assume that PIC is not supported.
22371 + if test -s conftest.err; then
22372 + lt_cv_prog_cc_pic_works=no
22374 + lt_cv_prog_cc_pic_works=yes
22378 + lt_cv_prog_cc_pic_works=yes
22382 -hard_links="nottested"
22383 -if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
22384 - # do not overwrite the value of need_locks provided by the user
22385 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22386 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
22389 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
22391 - ln conftest.a conftest.b 2>&5 || hard_links=no
22392 - ln conftest.a conftest.b 2>/dev/null && hard_links=no
22393 - echo "$as_me:$LINENO: result: $hard_links" >&5
22394 -echo "${ECHO_T}$hard_links" >&6
22395 - if test "$hard_links" = no; then
22396 - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22397 -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22404 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22405 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
22408 - allow_undefined_flag_GCJ=
22409 - enable_shared_with_static_runtimes_GCJ=no
22410 - archive_cmds_GCJ=
22411 - archive_expsym_cmds_GCJ=
22412 - old_archive_From_new_cmds_GCJ=
22413 - old_archive_from_expsyms_cmds_GCJ=
22414 - export_dynamic_flag_spec_GCJ=
22415 - whole_archive_flag_spec_GCJ=
22416 - thread_safe_flag_spec_GCJ=
22417 - hardcode_libdir_flag_spec_GCJ=
22418 - hardcode_libdir_flag_spec_ld_GCJ=
22419 - hardcode_libdir_separator_GCJ=
22420 - hardcode_direct_GCJ=no
22421 - hardcode_minus_L_GCJ=no
22422 - hardcode_shlibpath_var_GCJ=unsupported
22423 - link_all_deplibs_GCJ=unknown
22424 - hardcode_automatic_GCJ=no
22426 - module_expsym_cmds_GCJ=
22427 - always_export_symbols_GCJ=no
22428 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22429 - # include_expsyms should be a list of space-separated symbols to be *always*
22430 - # included in the symbol list
22431 - include_expsyms_GCJ=
22432 - # exclude_expsyms can be an extended regexp of symbols to exclude
22433 - # it will be wrapped by ` (' and `)$', so one must not match beginning or
22434 - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
22435 - # as well as any symbol that contains `d'.
22436 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
22437 - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22438 - # platforms (ab)use it in PIC code, but their linkers get confused if
22439 - # the symbol is explicitly referenced. Since portable code cannot
22440 - # rely on this symbol name, it's probably fine to never include it in
22441 - # preloaded symbol tables.
22442 - extract_expsyms_cmds=
22443 - # Just being paranoid about ensuring that cc_basename is set.
22444 - for cc_temp in $compiler""; do
22446 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22447 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22452 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22455 - cygwin* | mingw* | pw32*)
22456 - # FIXME: the MSVC++ port hasn't been tested in a loooong time
22457 - # When not using gcc, we currently assume that we are using
22458 - # Microsoft Visual C++.
22459 - if test "$GCC" != yes; then
22467 + echo "$as_me: failed program was:" >&5
22468 +sed 's/^/| /' conftest.$ac_ext >&5
22470 - ld_shlibs_GCJ=yes
22471 - if test "$with_gnu_ld" = yes; then
22472 - # If archive_cmds runs LD, not CC, wlarc should be empty
22474 + lt_cv_prog_cc_pic_works=no
22476 - # Set some defaults for GNU ld with shared library support. These
22477 - # are reset later if shared libraries are not supported. Putting them
22478 - # here allows them to be overridden if necessary.
22479 - runpath_var=LD_RUN_PATH
22480 - hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
22481 - export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
22482 - # ancient GNU ld didn't support --whole-archive et. al.
22483 - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
22484 - whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
22486 - whole_archive_flag_spec_GCJ=
22488 - supports_anon_versioning=no
22489 - case `$LD -v 2>/dev/null` in
22490 - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
22491 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
22492 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
22493 - *\ 2.11.*) ;; # other 2.11 versions
22494 - *) supports_anon_versioning=yes ;;
22497 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22498 + CFLAGS="$save_CFLAGS"
22500 - # See if GNU ld supports shared libraries.
22502 - aix3* | aix4* | aix5*)
22503 - # On AIX/PPC, the GNU linker is very broken
22504 - if test "$host_cpu" != ia64; then
22509 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
22510 -*** to be unable to reliably create shared libraries on AIX.
22511 -*** Therefore, libtool is disabling shared libraries support. If you
22512 -*** really care for shared libraries, you may want to modify your PATH
22513 -*** so that a non-GNU linker is found, and then restart.
22518 + if test "X$lt_cv_prog_cc_pic_works" = Xno; then
22519 + lt_cv_prog_cc_pic=
22520 + lt_cv_prog_cc_can_build_shared=no
22522 + lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
22526 - archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
22527 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
22528 - hardcode_minus_L_GCJ=yes
22530 - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22531 - # that the semantics of dynamic libraries on AmigaOS, at least up
22532 - # to version 4, is to share data among multiple programs linked
22533 - # with the same dynamic library. Since this doesn't match the
22534 - # behavior of shared libraries on other platforms, we can't use
22538 + echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
22539 +echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
22543 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22544 - allow_undefined_flag_GCJ=unsupported
22545 - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22546 - # support --undefined. This deserves some investigation. FIXME
22547 - archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22552 +# Check for any special shared library compilation flags.
22553 +if test -n "$lt_cv_prog_cc_shlib"; then
22554 + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
22555 +echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
22556 + if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
22558 + { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
22559 +echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
22560 + lt_cv_prog_cc_can_build_shared=no
22564 - cygwin* | mingw* | pw32*)
22565 - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
22566 - # as there is no search path for DLLs.
22567 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
22568 - allow_undefined_flag_GCJ=unsupported
22569 - always_export_symbols_GCJ=no
22570 - enable_shared_with_static_runtimes_GCJ=yes
22571 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
22573 - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22574 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22575 - # If the export-symbols file already is a .def file (1st line
22576 - # is EXPORTS), use it as is; otherwise, prepend...
22577 - archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22578 - cp $export_symbols $output_objdir/$soname.def;
22580 - echo EXPORTS > $output_objdir/$soname.def;
22581 - cat $export_symbols >> $output_objdir/$soname.def;
22583 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
22588 +echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
22589 +echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
22590 +if test "${lt_cv_prog_cc_static_works+set}" = set; then
22591 + echo $ECHO_N "(cached) $ECHO_C" >&6
22593 + lt_cv_prog_cc_static_works=no
22594 + save_LDFLAGS="$LDFLAGS"
22595 + LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
22596 + cat >conftest.$ac_ext <<_ACEOF
22599 +cat confdefs.h >>conftest.$ac_ext
22600 +cat >>conftest.$ac_ext <<_ACEOF
22601 +/* end confdefs.h. */
22604 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22606 - case $cc_basename,$host_cpu in
22607 - pgcc*) # Portland Group C compiler
22608 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
22609 - tmp_addflag=' $pic_flag'
22611 - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
22612 - whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
22613 - tmp_addflag=' $pic_flag -Mnomain' ;;
22614 - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
22615 - tmp_addflag=' -i_dynamic' ;;
22616 - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
22617 - tmp_addflag=' -i_dynamic -nofor_main' ;;
22618 - ifc* | ifort*) # Intel Fortran compiler
22619 - tmp_addflag=' -nofor_main' ;;
22621 - archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22626 - if test $supports_anon_versioning = yes; then
22627 - archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
22628 - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22629 - $echo "local: *; };" >> $output_objdir/$libname.ver~
22630 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22640 +rm -f conftest.$ac_objext conftest$ac_exeext
22641 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22642 + (eval $ac_link) 2>conftest.er1
22644 + grep -v '^ *+' conftest.er1 >conftest.err
22645 + rm -f conftest.er1
22646 + cat conftest.err >&5
22647 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 + (exit $ac_status); } &&
22649 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22650 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22651 + (eval $ac_try) 2>&5
22653 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 + (exit $ac_status); }; } &&
22655 + { ac_try='test -s conftest$ac_exeext'
22656 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22657 + (eval $ac_try) 2>&5
22659 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 + (exit $ac_status); }; }; then
22661 + lt_cv_prog_cc_static_works=yes
22663 + echo "$as_me: failed program was:" >&5
22664 +sed 's/^/| /' conftest.$ac_ext >&5
22667 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22668 - archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22671 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22672 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22676 +rm -f conftest.err conftest.$ac_objext \
22677 + conftest$ac_exeext conftest.$ac_ext
22678 + LDFLAGS="$save_LDFLAGS"
22680 - solaris* | sysv5*)
22681 - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22686 -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
22687 -*** create shared libraries on Solaris systems. Therefore, libtool
22688 -*** is disabling shared libraries support. We urge you to upgrade GNU
22689 -*** binutils to release 2.9.1 or newer. Another option is to modify
22690 -*** your PATH or compiler configuration so that the native linker is
22691 -*** used, and then restart.
22694 - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22695 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22696 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22701 +# Belt *and* braces to stop my trousers falling down:
22702 +test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
22703 +echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
22704 +echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
22707 - archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22709 - hardcode_direct_GCJ=yes
22710 - hardcode_shlibpath_var_GCJ=no
22712 +pic_flag="$lt_cv_prog_cc_pic"
22713 +special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
22714 +wl="$lt_cv_prog_cc_wl"
22715 +link_static_flag="$lt_cv_prog_cc_static"
22716 +no_builtin_flag="$lt_cv_prog_cc_no_builtin"
22717 +can_build_shared="$lt_cv_prog_cc_can_build_shared"
22720 - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22721 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22722 - archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22729 - if test "$ld_shlibs_GCJ" = no; then
22731 - hardcode_libdir_flag_spec_GCJ=
22732 - export_dynamic_flag_spec_GCJ=
22733 - whole_archive_flag_spec_GCJ=
22736 - # PORTME fill in a description of your system's linker (not GNU ld)
22739 - allow_undefined_flag_GCJ=unsupported
22740 - always_export_symbols_GCJ=yes
22741 - archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
22742 - # Note: this linker hardcodes the directories in LIBPATH if there
22743 - # are no directories specified by -L.
22744 - hardcode_minus_L_GCJ=yes
22745 - if test "$GCC" = yes && test -z "$link_static_flag"; then
22746 - # Neither direct hardcoding nor static linking is supported with a
22747 - # broken collect2.
22748 - hardcode_direct_GCJ=unsupported
22751 +# Check to see if options -o and -c are simultaneously supported by compiler
22752 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22753 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
22754 +if test "${lt_cv_compiler_c_o+set}" = set; then
22755 + echo $ECHO_N "(cached) $ECHO_C" >&6
22759 - if test "$host_cpu" = ia64; then
22760 - # On IA64, the linker does run time linking by default, so we don't
22761 - # have to do anything special.
22762 - aix_use_runtimelinking=no
22763 - exp_sym_flag='-Bexport'
22766 - # If we're using GNU nm, then we don't want the "-C" option.
22767 - # -C means demangle to AIX nm, but means don't demangle with GNU nm
22768 - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22769 - export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22771 - export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22773 - aix_use_runtimelinking=no
22774 +$rm -r conftest 2>/dev/null
22777 +echo "int some_variable = 0;" > conftest.$ac_ext
22779 +# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
22780 +# that will create temporary files in the current directory regardless of
22781 +# the output directory. Thus, making CWD read-only will cause this test
22782 +# to fail, enabling locking or at least warning the user not to do parallel
22785 +save_CFLAGS="$CFLAGS"
22786 +CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
22788 +if { (eval echo configure:5263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
22789 + # The compiler can only warn and ignore the option if not recognized
22790 + # So say no if there are warnings
22791 + if test -s out/conftest.err; then
22792 + lt_cv_compiler_c_o=no
22794 + lt_cv_compiler_c_o=yes
22797 + # Append any errors to the config.log.
22798 + cat out/conftest.err 1>&5
22799 + lt_cv_compiler_c_o=no
22801 +CFLAGS="$save_CFLAGS"
22803 +$rm conftest* out/*
22807 +$rm -r conftest 2>/dev/null
22809 - # Test if we are trying to use run time linking or normal
22810 - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22811 - # need to do runtime linking.
22812 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
22813 - for ld_flag in $LDFLAGS; do
22814 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
22815 - aix_use_runtimelinking=yes
22822 - exp_sym_flag='-bexport'
22823 - no_entry_flag='-bnoentry'
22825 +compiler_c_o=$lt_cv_compiler_c_o
22826 +echo "$as_me:$LINENO: result: $compiler_c_o" >&5
22827 +echo "${ECHO_T}$compiler_c_o" >&6
22829 - # When large executables or shared objects are built, AIX ld can
22830 - # have problems creating the table of contents. If linking a library
22831 - # or program results in "error TOC overflow" add -mminimal-toc to
22832 - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22833 - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22835 - archive_cmds_GCJ=''
22836 - hardcode_direct_GCJ=yes
22837 - hardcode_libdir_separator_GCJ=':'
22838 - link_all_deplibs_GCJ=yes
22840 - if test "$GCC" = yes; then
22841 - case $host_os in aix4.[012]|aix4.[012].*)
22842 - # We only want to do this on AIX 4.2 and lower, the check
22843 - # below for broken collect2 doesn't work under 4.3+
22844 - collect2name=`${CC} -print-prog-name=collect2`
22845 - if test -f "$collect2name" && \
22846 - strings "$collect2name" | grep resolve_lib_name >/dev/null
22848 - # We have reworked collect2
22849 - hardcode_direct_GCJ=yes
22851 - # We have old collect2
22852 - hardcode_direct_GCJ=unsupported
22853 - # It fails to find uninstalled libraries when the uninstalled
22854 - # path is not listed in the libpath. Setting hardcode_minus_L
22855 - # to unsupported forces relinking
22856 - hardcode_minus_L_GCJ=yes
22857 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
22858 - hardcode_libdir_separator_GCJ=
22861 - shared_flag='-shared'
22862 - if test "$aix_use_runtimelinking" = yes; then
22863 - shared_flag="$shared_flag "'${wl}-G'
22867 - if test "$host_cpu" = ia64; then
22868 - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22869 - # chokes on -Wl,-G. The following line is correct:
22872 - if test "$aix_use_runtimelinking" = yes; then
22873 - shared_flag='${wl}-G'
22875 - shared_flag='${wl}-bM:SRE'
22879 +if test x"$compiler_c_o" = x"yes"; then
22880 + # Check to see if we can write to a .lo
22881 + echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
22882 +echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
22883 + if test "${lt_cv_compiler_o_lo+set}" = set; then
22884 + echo $ECHO_N "(cached) $ECHO_C" >&6
22887 - # It seems that -bexpall does not export symbols beginning with
22888 - # underscore (_), so it is better to generate a list of symbols to export.
22889 - always_export_symbols_GCJ=yes
22890 - if test "$aix_use_runtimelinking" = yes; then
22891 - # Warning - without using the other runtime loading flags (-brtl),
22892 - # -berok will link without error, but may produce a broken library.
22893 - allow_undefined_flag_GCJ='-berok'
22894 - # Determine the default libpath from the value encoded in an empty executable.
22895 - cat >conftest.$ac_ext <<_ACEOF
22896 + lt_cv_compiler_o_lo=no
22897 + save_CFLAGS="$CFLAGS"
22898 + CFLAGS="$CFLAGS -c -o conftest.lo"
22899 + save_objext="$ac_objext"
22901 + cat >conftest.$ac_ext <<_ACEOF
22904 cat confdefs.h >>conftest.$ac_ext
22905 @@ -16555,58 +5310,90 @@
22910 +int some_variable = 0;
22915 -rm -f conftest.$ac_objext conftest$ac_exeext
22916 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22917 - (eval $ac_link) 2>conftest.er1
22918 +rm -f conftest.$ac_objext
22919 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22920 + (eval $ac_compile) 2>conftest.er1
22922 grep -v '^ *+' conftest.er1 >conftest.err
22924 cat conftest.err >&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); } &&
22927 - { ac_try='test -z "$ac_c_werror_flag"
22928 - || test ! -s conftest.err'
22929 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; } &&
22935 - { ac_try='test -s conftest$ac_exeext'
22936 + { ac_try='test -s conftest.$ac_objext'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; }; then
22942 + # The compiler can only warn and ignore the option if not recognized
22943 + # So say no if there are warnings
22944 + if test -s conftest.err; then
22945 + lt_cv_compiler_o_lo=no
22947 + lt_cv_compiler_o_lo=yes
22950 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22952 -# Check for a 64-bit object if we didn't find anything.
22953 -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; }
22956 echo "$as_me: failed program was:" >&5
22957 sed 's/^/| /' conftest.$ac_ext >&5
22960 -rm -f conftest.err conftest.$ac_objext \
22961 - conftest$ac_exeext conftest.$ac_ext
22962 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22963 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22964 + ac_objext="$save_objext"
22965 + CFLAGS="$save_CFLAGS"
22967 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
22968 - archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
22970 - if test "$host_cpu" = ia64; then
22971 - hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
22972 - allow_undefined_flag_GCJ="-z nodefs"
22973 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
22975 - # Determine the default libpath from the value encoded in an empty executable.
22976 - cat >conftest.$ac_ext <<_ACEOF
22979 + compiler_o_lo=$lt_cv_compiler_o_lo
22980 + echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
22981 +echo "${ECHO_T}$compiler_o_lo" >&6
22986 +# Check to see if we can do hard links to lock some files if needed
22987 +hard_links="nottested"
22988 +if test "$compiler_c_o" = no && test "$need_locks" != no; then
22989 + # do not overwrite the value of need_locks provided by the user
22990 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22991 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
22994 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
22996 + ln conftest.a conftest.b 2>&5 || hard_links=no
22997 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
22998 + echo "$as_me:$LINENO: result: $hard_links" >&5
22999 +echo "${ECHO_T}$hard_links" >&6
23000 + if test "$hard_links" = no; then
23001 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
23002 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
23009 +if test "$GCC" = yes; then
23010 + # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
23011 + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
23012 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
23013 + echo "int some_variable = 0;" > conftest.$ac_ext
23014 + save_CFLAGS="$CFLAGS"
23015 + CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
23016 + compiler_rtti_exceptions=no
23017 + cat >conftest.$ac_ext <<_ACEOF
23020 cat confdefs.h >>conftest.$ac_ext
23021 @@ -16616,556 +5403,808 @@
23026 +int some_variable = 0;
23031 -rm -f conftest.$ac_objext conftest$ac_exeext
23032 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23033 - (eval $ac_link) 2>conftest.er1
23034 +rm -f conftest.$ac_objext
23035 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23036 + (eval $ac_compile) 2>conftest.er1
23038 grep -v '^ *+' conftest.er1 >conftest.err
23040 cat conftest.err >&5
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); } &&
23043 - { ac_try='test -z "$ac_c_werror_flag"
23044 - || test ! -s conftest.err'
23045 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; } &&
23051 - { ac_try='test -s conftest$ac_exeext'
23052 + { ac_try='test -s conftest.$ac_objext'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; }; then
23058 + # The compiler can only warn and ignore the option if not recognized
23059 + # So say no if there are warnings
23060 + if test -s conftest.err; then
23061 + compiler_rtti_exceptions=no
23063 + compiler_rtti_exceptions=yes
23066 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
23068 -# Check for a 64-bit object if we didn't find anything.
23069 -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; }
23072 echo "$as_me: failed program was:" >&5
23073 sed 's/^/| /' conftest.$ac_ext >&5
23076 -rm -f conftest.err conftest.$ac_objext \
23077 - conftest$ac_exeext conftest.$ac_ext
23078 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
23079 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23080 + CFLAGS="$save_CFLAGS"
23081 + echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
23082 +echo "${ECHO_T}$compiler_rtti_exceptions" >&6
23084 + if test "$compiler_rtti_exceptions" = "yes"; then
23085 + no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
23087 + no_builtin_flag=' -fno-builtin'
23091 +# See if the linker supports building shared libraries.
23092 +echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
23093 +echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
23095 +allow_undefined_flag=
23096 +no_undefined_flag=
23097 +need_lib_prefix=unknown
23098 +need_version=unknown
23099 +# when you set need_version to no, make sure it does not cause -set_version
23100 +# flags to be left without arguments
23102 +archive_expsym_cmds=
23103 +old_archive_from_new_cmds=
23104 +old_archive_from_expsyms_cmds=
23105 +export_dynamic_flag_spec=
23106 +whole_archive_flag_spec=
23107 +thread_safe_flag_spec=
23108 +hardcode_into_libs=no
23109 +hardcode_libdir_flag_spec=
23110 +hardcode_libdir_separator=
23111 +hardcode_direct=no
23112 +hardcode_minus_L=no
23113 +hardcode_shlibpath_var=unsupported
23115 +link_all_deplibs=unknown
23116 +always_export_symbols=no
23117 +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
23118 +# include_expsyms should be a list of space-separated symbols to be *always*
23119 +# included in the symbol list
23121 +# exclude_expsyms can be an egrep regular expression of symbols to exclude
23122 +# it will be wrapped by ` (' and `)$', so one must not match beginning or
23123 +# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
23124 +# as well as any symbol that contains `d'.
23125 +exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
23126 +# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
23127 +# platforms (ab)use it in PIC code, but their linkers get confused if
23128 +# the symbol is explicitly referenced. Since portable code cannot
23129 +# rely on this symbol name, it's probably fine to never include it in
23130 +# preloaded symbol tables.
23131 +extract_expsyms_cmds=
23134 +cygwin* | mingw* | pw32*)
23135 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
23136 + # When not using gcc, we currently assume that we are using
23137 + # Microsoft Visual C++.
23138 + if test "$GCC" != yes; then
23148 +if test "$with_gnu_ld" = yes; then
23149 + # If archive_cmds runs LD, not CC, wlarc should be empty
23152 + # See if GNU ld supports shared libraries.
23154 + aix3* | aix4* | aix5*)
23155 + # On AIX, the GNU linker is very broken
23156 + # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
23160 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
23161 +*** to be unable to reliably create shared libraries on AIX.
23162 +*** Therefore, libtool is disabling shared libraries support. If you
23163 +*** really care for shared libraries, you may want to modify your PATH
23164 +*** so that a non-GNU linker is found, and then restart.
23170 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
23171 + hardcode_libdir_flag_spec='-L$libdir'
23172 + hardcode_minus_L=yes
23174 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
23175 + # that the semantics of dynamic libraries on AmigaOS, at least up
23176 + # to version 4, is to share data among multiple programs linked
23177 + # with the same dynamic library. Since this doesn't match the
23178 + # behavior of shared libraries on other platforms, we can use
23184 + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
23185 + allow_undefined_flag=unsupported
23186 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
23187 + # support --undefined. This deserves some investigation. FIXME
23188 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23194 + cygwin* | mingw* | pw32*)
23195 + # hardcode_libdir_flag_spec is actually meaningless, as there is
23196 + # no search path for DLLs.
23197 + hardcode_libdir_flag_spec='-L$libdir'
23198 + allow_undefined_flag=unsupported
23199 + always_export_symbols=yes
23201 + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
23202 + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
23203 + test -f $output_objdir/impgen.exe || (cd $output_objdir && \
23204 + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
23205 + else $CC -o impgen impgen.c ; fi)~
23206 + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
23208 + old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
23210 + # cygwin and mingw dlls have different entry points and sets of symbols
23212 + # FIXME: what about values for MSVC?
23213 + dll_entry=__cygwin_dll_entry@12
23214 + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
23218 + dll_entry=_DllMainCRTStartup@12
23219 + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
23223 + # mingw and cygwin differ, and it's simplest to just exclude the union
23224 + # of the two symbol sets.
23225 + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
23227 + # recent cygwin and mingw systems supply a stub DllMain which the user
23228 + # can override, but on older systems we have to supply one (in ltdll.c)
23229 + if test "x$lt_cv_need_dllmain" = "xyes"; then
23230 + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
23231 + ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
23232 + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
23238 + # Extract the symbol export list from an `--export-all' def file,
23239 + # then regenerate the def file from the symbol export list, so that
23240 + # the compiled dll only exports the symbol export list.
23241 + # Be careful not to strip the DATA tag left be newer dlltools.
23242 + export_symbols_cmds="$ltdll_cmds"'
23243 + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
23244 + sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
23246 + # If the export-symbols file already is a .def file (1st line
23247 + # is EXPORTS), use it as is.
23248 + # If DATA tags from a recent dlltool are present, honour them!
23249 + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
23250 + cp $export_symbols $output_objdir/$soname-def;
23252 + echo EXPORTS > $output_objdir/$soname-def;
23254 + cat $export_symbols | while read symbol; do
23255 + set dummy \$symbol;
23257 + 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
23258 + 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
23259 + *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
23261 + _lt_hint=`expr 1 + \$_lt_hint`;
23265 + $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
23266 + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
23267 + $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
23268 + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
23269 + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
23272 + netbsd* | knetbsd*-gnu)
23273 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23274 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
23277 + archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23278 + archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23282 + solaris* | sysv5*)
23283 + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
23287 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
23288 +*** create shared libraries on Solaris systems. Therefore, libtool
23289 +*** is disabling shared libraries support. We urge you to upgrade GNU
23290 +*** binutils to release 2.9.1 or newer. Another option is to modify
23291 +*** your PATH or compiler configuration so that the native linker is
23292 +*** used, and then restart.
23295 + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
23296 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23297 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23304 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23306 + hardcode_direct=yes
23307 + hardcode_shlibpath_var=no
23311 + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
23312 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
23313 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
23320 + if test "$ld_shlibs" = yes; then
23321 + runpath_var=LD_RUN_PATH
23322 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
23323 + export_dynamic_flag_spec='${wl}--export-dynamic'
23325 + cygwin* | mingw* | pw32*)
23326 + # dlltool doesn't understand --whole-archive et. al.
23327 + whole_archive_flag_spec=
23330 + # ancient GNU ld didn't support --whole-archive et. al.
23331 + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
23332 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
23334 + whole_archive_flag_spec=
23340 + # PORTME fill in a description of your system's linker (not GNU ld)
23343 + allow_undefined_flag=unsupported
23344 + always_export_symbols=yes
23345 + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
23346 + # Note: this linker hardcodes the directories in LIBPATH if there
23347 + # are no directories specified by -L.
23348 + hardcode_minus_L=yes
23349 + if test "$GCC" = yes && test -z "$link_static_flag"; then
23350 + # Neither direct hardcoding nor static linking is supported with a
23351 + # broken collect2.
23352 + hardcode_direct=unsupported
23357 + if test "$host_cpu" = ia64; then
23358 + # On IA64, the linker does run time linking by default, so we don't
23359 + # have to do anything special.
23360 + aix_use_runtimelinking=no
23361 + exp_sym_flag='-Bexport'
23364 + aix_use_runtimelinking=no
23366 + # Test if we are trying to use run time linking or normal
23367 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
23368 + # need to do runtime linking.
23369 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
23370 + for ld_flag in $LDFLAGS; do
23373 + aix_use_runtimelinking=yes
23380 + exp_sym_flag='-bexport'
23381 + no_entry_flag='-bnoentry'
23384 + # When large executables or shared objects are built, AIX ld can
23385 + # have problems creating the table of contents. If linking a library
23386 + # or program results in "error TOC overflow" add -mminimal-toc to
23387 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
23388 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
23390 + hardcode_direct=yes
23392 + hardcode_libdir_separator=':'
23393 + if test "$GCC" = yes; then
23394 + case $host_os in aix4.[012]|aix4.[012].*)
23395 + collect2name=`${CC} -print-prog-name=collect2`
23396 + if test -f "$collect2name" && \
23397 + strings "$collect2name" | grep resolve_lib_name >/dev/null
23399 + # We have reworked collect2
23400 + hardcode_direct=yes
23402 + # We have old collect2
23403 + hardcode_direct=unsupported
23404 + # It fails to find uninstalled libraries when the uninstalled
23405 + # path is not listed in the libpath. Setting hardcode_minus_L
23406 + # to unsupported forces relinking
23407 + hardcode_minus_L=yes
23408 + hardcode_libdir_flag_spec='-L$libdir'
23409 + hardcode_libdir_separator=
23413 - hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
23414 - # Warning - without using the other run time loading flags,
23415 - # -berok will link without error, but may produce a broken library.
23416 - no_undefined_flag_GCJ=' ${wl}-bernotok'
23417 - allow_undefined_flag_GCJ=' ${wl}-berok'
23418 - # -bexpall does not export symbols beginning with underscore (_)
23419 - always_export_symbols_GCJ=yes
23420 - # Exported symbols can be pulled into shared objects from archives
23421 - whole_archive_flag_spec_GCJ=' '
23422 - archive_cmds_need_lc_GCJ=yes
23423 - # This is similar to how AIX traditionally builds its shared libraries.
23424 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
23425 + shared_flag='-shared'
23428 + if test "$host_cpu" = ia64; then
23429 + shared_flag='${wl}-G'
23431 + if test "$aix_use_runtimelinking" = yes; then
23432 + shared_flag='${wl}-G'
23434 + shared_flag='${wl}-bM:SRE'
23440 - archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
23441 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
23442 - hardcode_minus_L_GCJ=yes
23443 - # see comment about different semantics on the GNU ld section
23448 - export_dynamic_flag_spec_GCJ=-rdynamic
23451 - cygwin* | mingw* | pw32*)
23452 - # When not using gcc, we currently assume that we are using
23453 - # Microsoft Visual C++.
23454 - # hardcode_libdir_flag_spec is actually meaningless, as there is
23455 - # no search path for DLLs.
23456 - hardcode_libdir_flag_spec_GCJ=' '
23457 - allow_undefined_flag_GCJ=unsupported
23458 - # Tell ltmain to make .lib files, not .a files.
23460 - # Tell ltmain to make .dll files, not .so files.
23461 - shrext_cmds=".dll"
23462 - # FIXME: Setting linknames here is a bad hack.
23463 - archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
23464 - # The linker will automatically build a .lib file if we build a DLL.
23465 - old_archive_From_new_cmds_GCJ='true'
23466 - # FIXME: Should let the user specify the lib program.
23467 - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
23468 - fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
23469 - enable_shared_with_static_runtimes_GCJ=yes
23473 - darwin* | rhapsody*)
23475 - rhapsody* | darwin1.[012])
23476 - allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
23478 - *) # Darwin 1.3 on
23479 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
23480 - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23482 - case ${MACOSX_DEPLOYMENT_TARGET} in
23484 - allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23487 - allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
23493 - archive_cmds_need_lc_GCJ=no
23494 - hardcode_direct_GCJ=no
23495 - hardcode_automatic_GCJ=yes
23496 - hardcode_shlibpath_var_GCJ=unsupported
23497 - whole_archive_flag_spec_GCJ=''
23498 - link_all_deplibs_GCJ=yes
23499 - if test "$GCC" = yes ; then
23500 - output_verbose_link_cmd='echo'
23501 - archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
23502 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23503 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
23504 - archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
23505 - module_expsym_cmds_GCJ='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}'
23506 + # It seems that -bexpall can do strange things, so it is better to
23507 + # generate a list of symbols to export.
23508 + always_export_symbols=yes
23509 + if test "$aix_use_runtimelinking" = yes; then
23510 + # Warning - without using the other runtime loading flags (-brtl),
23511 + # -berok will link without error, but may produce a broken library.
23512 + allow_undefined_flag='-berok'
23513 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
23514 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
23516 - case $cc_basename in
23518 - output_verbose_link_cmd='echo'
23519 - archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
23520 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23521 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
23522 - archive_expsym_cmds_GCJ='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}'
23523 - module_expsym_cmds_GCJ='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}'
23529 + if test "$host_cpu" = ia64; then
23530 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
23531 + allow_undefined_flag="-z nodefs"
23532 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
23534 + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
23535 + # Warning - without using the other run time loading flags,
23536 + # -berok will link without error, but may produce a broken library.
23537 + allow_undefined_flag='${wl}-berok'
23538 + # This is a bit strange, but is similar to how AIX traditionally builds
23539 + # it's shared libraries.
23540 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname'
23547 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23548 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
23549 - hardcode_shlibpath_var_GCJ=no
23552 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
23553 + hardcode_libdir_flag_spec='-L$libdir'
23554 + hardcode_minus_L=yes
23555 + # see comment about different semantics on the GNU ld section
23562 + cygwin* | mingw* | pw32*)
23563 + # When not using gcc, we currently assume that we are using
23564 + # Microsoft Visual C++.
23565 + # hardcode_libdir_flag_spec is actually meaningless, as there is
23566 + # no search path for DLLs.
23567 + hardcode_libdir_flag_spec=' '
23568 + allow_undefined_flag=unsupported
23569 + # Tell ltmain to make .lib files, not .a files.
23571 + # FIXME: Setting linknames here is a bad hack.
23572 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
23573 + # The linker will automatically build a .lib file if we build a DLL.
23574 + old_archive_from_new_cmds='true'
23575 + # FIXME: Should let the user specify the lib program.
23576 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
23577 + fix_srcfile_path='`cygpath -w "$srcfile"`'
23580 + darwin* | rhapsody*)
23581 + case "$host_os" in
23582 + rhapsody* | darwin1.[012])
23583 + allow_undefined_flag='-undefined suppress'
23585 + *) # Darwin 1.3 on
23586 + allow_undefined_flag='-flat_namespace -undefined suppress'
23589 + # FIXME: Relying on posixy $() will cause problems for
23590 + # cross-compilation, but unfortunately the echo tests do not
23591 + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
23592 + # `"' quotes if we put them in here... so don't!
23593 + 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)'
23594 + # We need to add '_' to the symbols in $export_symbols first
23595 + #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
23596 + hardcode_direct=yes
23597 + hardcode_shlibpath_var=no
23598 + whole_archive_flag_spec='-all_load $convenience'
23605 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
23606 + # support. Future versions do this automatically, but an explicit c++rt0.o
23607 + # does not break anything, and helps significantly (at the cost of a little
23610 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
23611 + hardcode_libdir_flag_spec='-R$libdir'
23612 + hardcode_direct=yes
23613 + hardcode_shlibpath_var=no
23616 - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
23617 - # support. Future versions do this automatically, but an explicit c++rt0.o
23618 - # does not break anything, and helps significantly (at the cost of a little
23621 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
23622 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
23623 - hardcode_direct_GCJ=yes
23624 - hardcode_shlibpath_var_GCJ=no
23626 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
23628 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23629 + hardcode_direct=yes
23630 + hardcode_minus_L=yes
23631 + hardcode_shlibpath_var=no
23634 - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
23636 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23637 - hardcode_direct_GCJ=yes
23638 - hardcode_minus_L_GCJ=yes
23639 - hardcode_shlibpath_var_GCJ=no
23641 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
23643 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
23644 + hardcode_libdir_flag_spec='-R$libdir'
23645 + hardcode_direct=yes
23646 + hardcode_shlibpath_var=no
23649 - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
23650 - freebsd* | kfreebsd*-gnu | dragonfly*)
23651 - archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
23652 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
23653 - hardcode_direct_GCJ=yes
23654 - hardcode_shlibpath_var_GCJ=no
23656 + hpux9* | hpux10* | hpux11*)
23658 + hpux9*) archive_cmds='$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' ;;
23659 + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
23661 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
23662 + hardcode_libdir_separator=:
23663 + hardcode_direct=yes
23664 + hardcode_minus_L=yes # Not in the search PATH, but as the default
23665 + # location of the library.
23666 + export_dynamic_flag_spec='${wl}-E'
23670 - if test "$GCC" = yes; then
23671 - archive_cmds_GCJ='$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'
23673 - archive_cmds_GCJ='$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'
23675 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23676 - hardcode_libdir_separator_GCJ=:
23677 - hardcode_direct_GCJ=yes
23679 - # hardcode_minus_L: Not really in the search PATH,
23680 - # but as the default location of the library.
23681 - hardcode_minus_L_GCJ=yes
23682 - export_dynamic_flag_spec_GCJ='${wl}-E'
23684 + irix5* | irix6* | nonstopux*)
23685 + if test "$GCC" = yes; then
23686 + 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'
23687 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
23689 + 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'
23690 + hardcode_libdir_flag_spec='-rpath $libdir'
23692 + hardcode_libdir_separator=:
23693 + link_all_deplibs=yes
23696 - hpux10* | hpux11*)
23697 - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
23698 - case $host_cpu in
23700 - archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23703 - archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23707 - case $host_cpu in
23709 - archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
23712 - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
23716 - if test "$with_gnu_ld" = no; then
23717 - case $host_cpu in
23719 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23720 - hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
23721 - hardcode_libdir_separator_GCJ=:
23722 - hardcode_direct_GCJ=no
23723 - hardcode_shlibpath_var_GCJ=no
23726 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
23727 - hardcode_direct_GCJ=no
23728 - hardcode_shlibpath_var_GCJ=no
23730 - # hardcode_minus_L: Not really in the search PATH,
23731 - # but as the default location of the library.
23732 - hardcode_minus_L_GCJ=yes
23735 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
23736 - hardcode_libdir_separator_GCJ=:
23737 - hardcode_direct_GCJ=yes
23738 - export_dynamic_flag_spec_GCJ='${wl}-E'
23740 - # hardcode_minus_L: Not really in the search PATH,
23741 - # but as the default location of the library.
23742 - hardcode_minus_L_GCJ=yes
23747 + netbsd* | knetbsd*-gnu)
23748 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23749 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
23751 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
23753 + hardcode_libdir_flag_spec='-R$libdir'
23754 + hardcode_direct=yes
23755 + hardcode_shlibpath_var=no
23758 - irix5* | irix6* | nonstopux*)
23759 - if test "$GCC" = yes; then
23760 - archive_cmds_GCJ='$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'
23762 - archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
23763 - hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
23765 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23766 - hardcode_libdir_separator_GCJ=:
23767 - link_all_deplibs_GCJ=yes
23770 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23771 + hardcode_direct=yes
23772 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
23773 + hardcode_libdir_separator=:
23774 + hardcode_shlibpath_var=no
23778 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23779 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
23781 - archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
23783 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
23784 - hardcode_direct_GCJ=yes
23785 - hardcode_shlibpath_var_GCJ=no
23788 + hardcode_direct=yes
23789 + hardcode_shlibpath_var=no
23790 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23791 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23792 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
23793 + export_dynamic_flag_spec='${wl}-E'
23795 + case "$host_os" in
23796 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
23797 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23798 + hardcode_libdir_flag_spec='-R$libdir'
23801 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23802 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
23809 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23810 - hardcode_direct_GCJ=yes
23811 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23812 - hardcode_libdir_separator_GCJ=:
23813 - hardcode_shlibpath_var_GCJ=no
23816 + hardcode_libdir_flag_spec='-L$libdir'
23817 + hardcode_minus_L=yes
23818 + allow_undefined_flag=unsupported
23819 + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
23820 + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
23824 - hardcode_direct_GCJ=yes
23825 - hardcode_shlibpath_var_GCJ=no
23826 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23827 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23828 - archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
23829 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23830 - export_dynamic_flag_spec_GCJ='${wl}-E'
23833 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
23834 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23835 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
23838 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23839 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
23845 + if test "$GCC" = yes; then
23846 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
23847 + archive_cmds='$CC -shared${allow_undefined_flag} $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'
23849 + allow_undefined_flag=' -expect_unresolved \*'
23850 + archive_cmds='$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'
23852 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
23853 + hardcode_libdir_separator=:
23857 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
23858 - hardcode_minus_L_GCJ=yes
23859 - allow_undefined_flag_GCJ=unsupported
23860 - archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
23861 - old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
23863 + osf4* | osf5*) # as osf3* with the addition of -msym flag
23864 + if test "$GCC" = yes; then
23865 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
23866 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${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'
23867 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
23869 + allow_undefined_flag=' -expect_unresolved \*'
23870 + archive_cmds='$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'
23871 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
23872 + $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'
23875 - if test "$GCC" = yes; then
23876 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23877 - archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $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'
23879 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
23880 - archive_cmds_GCJ='$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'
23882 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23883 - hardcode_libdir_separator_GCJ=:
23885 + #Both c and cxx compiler support -rpath directly
23886 + hardcode_libdir_flag_spec='-rpath $libdir'
23888 + hardcode_libdir_separator=:
23891 - osf4* | osf5*) # as osf3* with the addition of -msym flag
23892 - if test "$GCC" = yes; then
23893 - allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
23894 - archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${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'
23895 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
23897 - allow_undefined_flag_GCJ=' -expect_unresolved \*'
23898 - archive_cmds_GCJ='$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'
23899 - archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
23900 - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
23902 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23903 + hardcode_shlibpath_var=no
23904 + runpath_var=LD_RUN_PATH
23905 + hardcode_runpath_var=yes
23906 + export_dynamic_flag_spec='${wl}-Bexport'
23909 - # Both c and cxx compiler support -rpath directly
23910 - hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
23912 - hardcode_libdir_separator_GCJ=:
23915 + # gcc --version < 3.0 without binutils cannot create self contained
23916 + # shared libraries reliably, requiring libgcc.a to resolve some of
23917 + # the object symbols generated in some cases. Libraries that use
23918 + # assert need libgcc.a to resolve __eprintf, for example. Linking
23919 + # a copy of libgcc.a into every shared library to guarantee resolving
23920 + # such symbols causes other problems: According to Tim Van Holder
23921 + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
23922 + # (to the application) exception stack for one thing.
23923 + no_undefined_flag=' -z defs'
23924 + if test "$GCC" = yes; then
23925 + case `$CC --version 2>/dev/null` in
23930 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23931 - hardcode_shlibpath_var_GCJ=no
23932 - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
23933 - runpath_var=LD_RUN_PATH
23934 - hardcode_runpath_var=yes
23936 +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
23937 +*** create self contained shared libraries on Solaris systems, without
23938 +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
23939 +*** -no-undefined support, which will at least allow you to build shared
23940 +*** libraries. However, you may find that when you link such libraries
23941 +*** into an application without using GCC, you have to manually add
23942 +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
23943 +*** upgrade to a newer version of GCC. Another option is to rebuild your
23944 +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
23947 - no_undefined_flag_GCJ=' -z text'
23948 - if test "$GCC" = yes; then
23950 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23951 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23952 - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
23955 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23956 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23957 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23959 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
23960 - hardcode_shlibpath_var_GCJ=no
23962 - solaris2.[0-5] | solaris2.[0-5].*) ;;
23964 - # The compiler driver will combine linker options so we
23965 - # cannot just pass the convience library names through
23966 - # without $wl, iff we do not link with $LD.
23967 - # Luckily, gcc supports the same syntax we need for Sun Studio.
23968 - # Supported since Solaris 2.6 (maybe 2.5.1?)
23971 - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
23973 - whole_archive_flag_spec_GCJ='${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' ;;
23976 + no_undefined_flag=
23979 - link_all_deplibs_GCJ=yes
23982 + # $CC -shared without GNU ld will not create a library from C++
23983 + # object files and a static libstdc++, better avoid it by now
23984 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23985 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23986 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23987 + hardcode_libdir_flag_spec='-R$libdir'
23988 + hardcode_shlibpath_var=no
23990 + solaris2.[0-5] | solaris2.[0-5].*) ;;
23991 + *) # Supported since Solaris 2.6 (maybe 2.5.1?)
23992 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
23994 + link_all_deplibs=yes
23998 - if test "x$host_vendor" = xsequent; then
23999 - # Use $CC to link under sequent, because it throws in some extra .o
24000 - # files that make .init and .fini sections work.
24001 - archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
24003 - archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
24005 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
24006 - hardcode_direct_GCJ=yes
24007 - hardcode_minus_L_GCJ=yes
24008 - hardcode_shlibpath_var_GCJ=no
24011 + if test "x$host_vendor" = xsequent; then
24012 + # Use $CC to link under sequent, because it throws in some extra .o
24013 + # files that make .init and .fini sections work.
24014 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
24016 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
24018 + hardcode_libdir_flag_spec='-L$libdir'
24019 + hardcode_direct=yes
24020 + hardcode_minus_L=yes
24021 + hardcode_shlibpath_var=no
24025 - case $host_vendor in
24027 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24028 - hardcode_direct_GCJ=yes # is this really true???
24031 - ## LD is ld it makes a PLAMLIB
24032 - ## CC just makes a GrossModule.
24033 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24034 - reload_cmds_GCJ='$CC -r -o $output$reload_objs'
24035 - hardcode_direct_GCJ=no
24037 + case $host_vendor in
24039 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24040 + hardcode_direct=yes # is this really true???
24043 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24044 - hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
24047 - runpath_var='LD_RUN_PATH'
24048 - hardcode_shlibpath_var_GCJ=no
24051 + ## LD is ld it makes a PLAMLIB
24052 + ## CC just makes a GrossModule.
24053 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24054 + reload_cmds='$CC -r -o $output$reload_objs'
24055 + hardcode_direct=no
24058 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24059 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
24062 + runpath_var='LD_RUN_PATH'
24063 + hardcode_shlibpath_var=no
24067 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24068 - hardcode_shlibpath_var_GCJ=no
24069 - export_dynamic_flag_spec_GCJ='-Bexport'
24072 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24073 + hardcode_shlibpath_var=no
24074 + export_dynamic_flag_spec='-Bexport'
24078 + no_undefined_flag=' -z text'
24079 + # $CC -shared without GNU ld will not create a library from C++
24080 + # object files and a static libstdc++, better avoid it by now
24081 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24082 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24083 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24084 + hardcode_libdir_flag_spec=
24085 + hardcode_shlibpath_var=no
24086 + runpath_var='LD_RUN_PATH'
24090 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24091 + hardcode_libdir_flag_spec='-L$libdir'
24092 + hardcode_shlibpath_var=no
24096 - if test -d /usr/nec; then
24097 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24098 - hardcode_shlibpath_var_GCJ=no
24099 - runpath_var=LD_RUN_PATH
24100 - hardcode_runpath_var=yes
24101 - ld_shlibs_GCJ=yes
24105 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24106 + hardcode_libdir_flag_spec='-L$libdir'
24107 + hardcode_shlibpath_var=no
24111 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24112 - hardcode_direct_GCJ=yes
24113 - hardcode_minus_L_GCJ=no
24114 - hardcode_shlibpath_var_GCJ=no
24115 - hardcode_runpath_var=yes
24117 + if test -d /usr/nec; then
24118 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24119 + hardcode_shlibpath_var=no
24120 runpath_var=LD_RUN_PATH
24123 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
24124 - no_undefined_flag_GCJ='${wl}-z ${wl}text'
24125 - if test "$GCC" = yes; then
24126 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24128 - archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24130 - runpath_var='LD_RUN_PATH'
24131 - hardcode_shlibpath_var_GCJ=no
24133 + hardcode_runpath_var=yes
24139 - no_undefined_flag_GCJ=' -z text'
24140 - # $CC -shared without GNU ld will not create a library from C++
24141 - # object files and a static libstdc++, better avoid it by now
24142 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
24143 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
24144 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
24145 - hardcode_libdir_flag_spec_GCJ=
24146 - hardcode_shlibpath_var_GCJ=no
24147 - runpath_var='LD_RUN_PATH'
24150 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
24151 + hardcode_direct=yes
24152 + hardcode_minus_L=no
24153 + hardcode_shlibpath_var=no
24154 + hardcode_runpath_var=yes
24155 + runpath_var=LD_RUN_PATH
24159 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
24160 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
24161 - hardcode_shlibpath_var_GCJ=no
24163 + sysv5uw7* | unixware7*)
24164 + no_undefined_flag='${wl}-z ${wl}text'
24165 + if test "$GCC" = yes; then
24166 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24168 + archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
24170 + runpath_var='LD_RUN_PATH'
24171 + hardcode_shlibpath_var=no
24184 +echo "$as_me:$LINENO: result: $ld_shlibs" >&5
24185 +echo "${ECHO_T}$ld_shlibs" >&6
24186 +test "$ld_shlibs" = no && can_build_shared=no
24188 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
24189 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
24190 -test "$ld_shlibs_GCJ" = no && can_build_shared=no
24191 +# Check hardcoding attributes.
24192 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24193 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
24195 +if test -n "$hardcode_libdir_flag_spec" || \
24196 + test -n "$runpath_var"; then
24198 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24199 -if test "$GCC" = yes; then
24200 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24201 + # We can hardcode non-existant directories.
24202 + if test "$hardcode_direct" != no &&
24203 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
24204 + # have to relink, otherwise we might link with an installed library
24205 + # when we should be linking with a yet-to-be-installed one
24206 + ## test "$hardcode_shlibpath_var" != no &&
24207 + test "$hardcode_minus_L" != no; then
24208 + # Linking always hardcodes the temporary library directory.
24209 + hardcode_action=relink
24211 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
24212 + hardcode_action=immediate
24215 + # We cannot hardcode anything, or else we can only hardcode existing
24217 + hardcode_action=unsupported
24219 +echo "$as_me:$LINENO: result: $hardcode_action" >&5
24220 +echo "${ECHO_T}$hardcode_action" >&6
24223 -# Do we need to explicitly link libc?
24225 -case "x$archive_cmds_need_lc_GCJ" in
24227 - # Assume -lc should be added
24228 - archive_cmds_need_lc_GCJ=yes
24230 - if test "$enable_shared" = yes && test "$GCC" = yes; then
24231 - case $archive_cmds_GCJ in
24233 - # FIXME: we may have to deal with multi-command sequences.
24236 - # Test whether the compiler implicitly links with -lc since on some
24237 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
24238 - # to ld, don't add -lc before -lgcc.
24239 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
24240 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
24242 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24245 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
24246 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
24247 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
24248 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
24249 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
24250 + echo "$as_me:$LINENO: result: yes" >&5
24251 +echo "${ECHO_T}yes" >&6
24253 + echo "$as_me:$LINENO: result: no" >&5
24254 +echo "${ECHO_T}no" >&6
24257 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24258 - (eval $ac_compile) 2>&5
24260 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 - (exit $ac_status); } 2>conftest.err; then
24264 - libobjs=conftest.$ac_objext
24266 - wl=$lt_prog_compiler_wl_GCJ
24267 - compiler_flags=-v
24272 - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
24273 - allow_undefined_flag_GCJ=
24274 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
24275 - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
24277 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 - (exit $ac_status); }
24280 - archive_cmds_need_lc_GCJ=no
24282 - archive_cmds_need_lc_GCJ=yes
24284 - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
24286 - cat conftest.err 1>&5
24289 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
24290 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
24296 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
24297 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
24299 +# PORTME Fill in your ld.so characteristics
24300 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
24301 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
24302 library_names_spec=
24303 libname_spec='lib$name'
24307 postuninstall_cmds=
24309 @@ -17175,35 +6214,16 @@
24311 dynamic_linker="$host_os ld.so"
24312 sys_lib_dlsearch_path_spec="/lib /usr/lib"
24313 -if test "$GCC" = yes; then
24314 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
24315 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
24316 - # if the path contains ";" then we assume it to be the separator
24317 - # otherwise default to the standard path separator (i.e. ":") - it is
24318 - # assumed that no part of a normal pathname contains ";" but that should
24319 - # okay in the real world where ";" in dirpaths is itself problematic.
24320 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
24322 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
24325 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
24327 -need_lib_prefix=unknown
24328 -hardcode_into_libs=no
24330 -# when you set need_version to no, make sure it does not cause -set_version
24331 -# flags to be left without arguments
24332 -need_version=unknown
24333 +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
24338 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
24339 + library_names_spec='${libname}${release}.so$versuffix $libname.a'
24340 shlibpath_var=LIBPATH
24342 - # AIX 3 has no versioning support, so we append a major version to the name.
24343 - soname_spec='${libname}${release}${shared_ext}$major'
24344 + # AIX has no versioning support, so we append a major version to the name.
24345 + soname_spec='${libname}${release}.so$major'
24349 @@ -17213,7 +6233,7 @@
24350 hardcode_into_libs=yes
24351 if test "$host_cpu" = ia64; then
24352 # AIX 5 supports IA64
24353 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
24354 + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
24355 shlibpath_var=LD_LIBRARY_PATH
24357 # With GCC up to 2.95.x, collect2 would create an import file
24358 @@ -17223,54 +6243,57 @@
24359 # development snapshots of GCC prior to 3.0.
24361 aix4 | aix4.[01] | aix4.[01].*)
24362 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
24364 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
24367 - can_build_shared=no
24370 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
24372 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
24375 + can_build_shared=no
24379 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
24380 - # soname into executable. Probably we can add versioning support to
24381 - # collect2, so additional links can be useful in future.
24382 + # AIX (on Power*) has no versioning support, so currently we can
24383 + # not hardcode correct soname into executable. Probably we can
24384 + # add versioning support to collect2, so additional links can
24385 + # be useful in future.
24386 if test "$aix_use_runtimelinking" = yes; then
24387 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
24388 # instead of lib<name>.a to let people know that these are not
24389 # typical AIX shared libraries.
24390 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24391 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24393 # We preserve .a as extension for shared libraries through AIX4.2
24394 # and later when we are not doing run time linking.
24395 library_names_spec='${libname}${release}.a $libname.a'
24396 - soname_spec='${libname}${release}${shared_ext}$major'
24397 + soname_spec='${libname}${release}.so$major'
24399 shlibpath_var=LIBPATH
24401 + hardcode_into_libs=yes
24405 library_names_spec='$libname.ixlibrary $libname.a'
24406 # Create ${libname}_ixlibrary.a entries in /sys/libs.
24407 - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
24408 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
24412 - library_names_spec='${libname}${shared_ext}'
24413 + library_names_spec='${libname}.so'
24414 dynamic_linker="$host_os ld.so"
24415 shlibpath_var=LIBRARY_PATH
24422 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24423 - soname_spec='${libname}${release}${shared_ext}$major'
24424 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24425 + soname_spec='${libname}${release}.so$major'
24426 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
24427 shlibpath_var=LD_LIBRARY_PATH
24428 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
24429 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
24430 + export_dynamic_flag_spec=-rdynamic
24431 # the default ld.so.conf also contains /usr/contrib/lib and
24432 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
24433 # libtool to hard-code these into programs
24434 @@ -17278,56 +6301,29 @@
24436 cygwin* | mingw* | pw32*)
24437 version_type=windows
24438 - shrext_cmds=".dll"
24442 case $GCC,$host_os in
24443 - yes,cygwin* | yes,mingw* | yes,pw32*)
24445 library_names_spec='$libname.dll.a'
24446 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
24447 - postinstall_cmds='base_file=`basename \${file}`~
24448 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
24449 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
24450 + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
24451 dldir=$destdir/`dirname \$dlpath`~
24452 test -d \$dldir || mkdir -p \$dldir~
24453 - $install_prog $dir/$dlname \$dldir/$dlname~
24454 - chmod a+x \$dldir/$dlname'
24455 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
24456 + $install_prog .libs/$dlname \$dldir/$dlname'
24457 + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
24458 dlpath=$dir/\$dldll~
24460 - shlibpath_overrides_runpath=yes
24464 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
24465 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24466 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
24469 - # MinGW DLLs use traditional 'lib' prefix
24470 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24471 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
24472 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
24473 - # It is most probably a Windows format PATH printed by
24474 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
24475 - # path with ; separators, and with drive letters. We can handle the
24476 - # drive letters (cygwin fileutils understands them), so leave them,
24477 - # especially as we might pass files found there to a mingw objdump,
24478 - # which wouldn't understand a cygwinified path. Ahh.
24479 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
24481 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
24485 - # pw32 DLLs use 'pw' prefix rather than 'lib'
24486 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
24492 + library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
24493 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
24496 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
24499 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
24500 + library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
24503 dynamic_linker='Win32 ld.exe'
24504 @@ -17340,65 +6336,42 @@
24505 version_type=darwin
24508 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
24509 - soname_spec='${libname}${release}${major}$shared_ext'
24510 + # FIXME: Relying on posixy $() will cause problems for
24511 + # cross-compilation, but unfortunately the echo tests do not
24512 + # yet detect zsh echo's removal of \ escapes.
24513 + library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
24514 + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
24515 shlibpath_overrides_runpath=yes
24516 shlibpath_var=DYLD_LIBRARY_PATH
24517 - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
24518 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
24519 - if test "$GCC" = yes; then
24520 - 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"`
24522 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
24524 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
24528 - version_type=linux
24529 - need_lib_prefix=no
24531 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
24532 - soname_spec='${libname}${release}${shared_ext}$major'
24533 - shlibpath_var=LD_LIBRARY_PATH
24545 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24546 - soname_spec='${libname}${release}${shared_ext}$major'
24547 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24548 + soname_spec='${libname}${release}.so$major'
24549 shlibpath_var=LD_LIBRARY_PATH
24550 shlibpath_overrides_runpath=no
24551 hardcode_into_libs=yes
24552 - dynamic_linker='GNU ld.so'
24553 + dynamic_linker='GNU/FreeBSD ld.so'
24556 -freebsd* | dragonfly*)
24557 - # DragonFly does not have aout. When/if they implement a new
24558 - # versioning mechanism, adjust this.
24559 - if test -x /usr/bin/objformat; then
24560 - objformat=`/usr/bin/objformat`
24563 - freebsd[123]*) objformat=aout ;;
24564 - *) objformat=elf ;;
24568 + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
24569 version_type=freebsd-$objformat
24570 case $version_type in
24572 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
24573 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
24578 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
24579 + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
24583 @@ -17407,11 +6380,7 @@
24585 shlibpath_overrides_runpath=yes
24587 - freebsd3.[01]* | freebsdelf3.[01]*)
24588 - shlibpath_overrides_runpath=yes
24589 - hardcode_into_libs=yes
24593 shlibpath_overrides_runpath=no
24594 hardcode_into_libs=yes
24596 @@ -17422,8 +6391,8 @@
24600 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
24601 - soname_spec='${libname}${release}${shared_ext}$major'
24602 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
24603 + soname_spec='${libname}${release}.so$major'
24604 shlibpath_var=LD_LIBRARY_PATH
24605 hardcode_into_libs=yes
24607 @@ -17431,45 +6400,14 @@
24608 hpux9* | hpux10* | hpux11*)
24609 # Give a soname corresponding to the major version so that dld.sl refuses to
24610 # link against other versions.
24611 + dynamic_linker="$host_os dld.sl"
24615 - case $host_cpu in
24617 - shrext_cmds='.so'
24618 - hardcode_into_libs=yes
24619 - dynamic_linker="$host_os dld.so"
24620 - shlibpath_var=LD_LIBRARY_PATH
24621 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24622 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24623 - soname_spec='${libname}${release}${shared_ext}$major'
24624 - if test "X$HPUX_IA64_MODE" = X32; then
24625 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
24627 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
24629 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24632 - shrext_cmds='.sl'
24633 - hardcode_into_libs=yes
24634 - dynamic_linker="$host_os dld.sl"
24635 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
24636 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
24637 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24638 - soname_spec='${libname}${release}${shared_ext}$major'
24639 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
24640 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24643 - shrext_cmds='.sl'
24644 - dynamic_linker="$host_os dld.sl"
24645 - shlibpath_var=SHLIB_PATH
24646 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
24647 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24648 - soname_spec='${libname}${release}${shared_ext}$major'
24651 + shlibpath_var=SHLIB_PATH
24652 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
24653 + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
24654 + soname_spec='${libname}${release}.sl$major'
24655 # HP-UX runs *really* slowly unless shared libraries are mode 555.
24656 postinstall_cmds='chmod 555 $lib'
24658 @@ -17477,29 +6415,21 @@
24659 irix5* | irix6* | nonstopux*)
24661 nonstopux*) version_type=nonstopux ;;
24663 - if test "$lt_cv_prog_gnu_ld" = yes; then
24664 - version_type=linux
24666 - version_type=irix
24668 + *) version_type=irix ;;
24672 - soname_spec='${libname}${release}${shared_ext}$major'
24673 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
24674 + soname_spec='${libname}${release}.so$major'
24675 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
24677 irix5* | nonstopux*)
24678 libsuff= shlibsuff=
24681 case $LD in # libtool.m4 will add one of these switches to LD
24682 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
24683 - libsuff= shlibsuff= libmagic=32-bit;;
24684 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
24685 - libsuff=32 shlibsuff=N32 libmagic=N32;;
24686 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
24687 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
24688 + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
24689 + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
24690 + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
24691 *) libsuff= shlibsuff= libmagic=never-match;;
24694 @@ -17508,21 +6438,20 @@
24695 shlibpath_overrides_runpath=no
24696 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
24697 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
24698 - hardcode_into_libs=yes
24701 # No shared lib support for Linux oldld, aout, or coff.
24702 -linux*oldld* | linux*aout* | linux*coff*)
24703 +linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
24707 # This must be Linux ELF.
24713 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24714 - soname_spec='${libname}${release}${shared_ext}$major'
24715 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24716 + soname_spec='${libname}${release}.so$major'
24717 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
24718 shlibpath_var=LD_LIBRARY_PATH
24719 shlibpath_overrides_runpath=no
24720 @@ -17531,12 +6460,6 @@
24721 # before this can be enabled.
24722 hardcode_into_libs=yes
24724 - # Append ld.so.conf contents to the search path
24725 - if test -f /etc/ld.so.conf; then
24726 - 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' ' '`
24727 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
24730 # We used to test for /lib/ld.so.1 and disable shared libraries on
24731 # powerpc, because MkLinux only supported shared libraries with the
24732 # GNU dynamic linker. Since this was broken with cross compilers,
24733 @@ -17550,8 +6473,8 @@
24737 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24738 - soname_spec='${libname}${release}${shared_ext}$major'
24739 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24740 + soname_spec='${libname}${release}.so$major'
24741 shlibpath_var=LD_LIBRARY_PATH
24742 shlibpath_overrides_runpath=no
24743 hardcode_into_libs=yes
24744 @@ -17563,12 +6486,12 @@
24747 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24748 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24749 + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
24750 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24751 dynamic_linker='NetBSD (a.out) ld.so'
24753 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
24754 - soname_spec='${libname}${release}${shared_ext}$major'
24755 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
24756 + soname_spec='${libname}${release}.so$major'
24757 dynamic_linker='NetBSD ld.elf_so'
24759 shlibpath_var=LD_LIBRARY_PATH
24760 @@ -17578,17 +6501,7 @@
24764 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24765 - shlibpath_var=LD_LIBRARY_PATH
24766 - shlibpath_overrides_runpath=yes
24770 - version_type=linux
24771 - need_lib_prefix=no
24773 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24774 - soname_spec='${libname}${release}${shared_ext}$major'
24775 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24776 shlibpath_var=LD_LIBRARY_PATH
24777 shlibpath_overrides_runpath=yes
24779 @@ -17596,52 +6509,48 @@
24783 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
24785 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
24786 - *) need_version=no ;;
24788 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24789 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24790 - shlibpath_var=LD_LIBRARY_PATH
24792 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
24794 - openbsd2.[89] | openbsd2.[89].*)
24795 - shlibpath_overrides_runpath=no
24798 - shlibpath_overrides_runpath=yes
24801 + case "$host_os" in
24802 + openbsd2.[89] | openbsd2.[89].*)
24803 + shlibpath_overrides_runpath=no
24806 + shlibpath_overrides_runpath=yes
24810 shlibpath_overrides_runpath=yes
24812 + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
24813 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24814 + shlibpath_var=LD_LIBRARY_PATH
24818 libname_spec='$name'
24819 - shrext_cmds=".dll"
24821 - library_names_spec='$libname${shared_ext} $libname.a'
24822 + library_names_spec='$libname.dll $libname.a'
24823 dynamic_linker='OS/2 ld.exe'
24824 shlibpath_var=LIBPATH
24827 osf3* | osf4* | osf5*)
24829 - need_lib_prefix=no
24831 - soname_spec='${libname}${release}${shared_ext}$major'
24832 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24833 + need_lib_prefix=no
24834 + soname_spec='${libname}${release}.so$major'
24835 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24836 shlibpath_var=LD_LIBRARY_PATH
24837 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
24838 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
24839 + hardcode_into_libs=yes
24844 - soname_spec='${libname}${release}${shared_ext}$major'
24845 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24846 + soname_spec='${libname}${release}.so$major'
24847 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24848 shlibpath_var=LD_LIBRARY_PATH
24851 @@ -17649,8 +6558,8 @@
24855 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24856 - soname_spec='${libname}${release}${shared_ext}$major'
24857 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24858 + soname_spec='${libname}${release}.so$major'
24859 shlibpath_var=LD_LIBRARY_PATH
24860 shlibpath_overrides_runpath=yes
24861 hardcode_into_libs=yes
24862 @@ -17660,7 +6569,7 @@
24866 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24867 + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
24868 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
24869 shlibpath_var=LD_LIBRARY_PATH
24870 shlibpath_overrides_runpath=yes
24871 @@ -17672,8 +6581,8 @@
24873 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
24875 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24876 - soname_spec='${libname}${release}${shared_ext}$major'
24877 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24878 + soname_spec='${libname}${release}.so$major'
24879 shlibpath_var=LD_LIBRARY_PATH
24880 case $host_vendor in
24882 @@ -17694,22 +6603,31 @@
24887 + version_type=linux
24888 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24889 + soname_spec='${libname}${release}.so$major'
24890 + shlibpath_var=LD_LIBRARY_PATH
24894 + version_type=linux
24895 + need_lib_prefix=no
24897 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
24898 + soname_spec='${libname}${release}.so$major'
24899 + shlibpath_var=LD_LIBRARY_PATH
24903 if test -d /usr/nec ;then
24905 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
24906 - soname_spec='$libname${shared_ext}.$major'
24907 + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
24908 + soname_spec='$libname.so.$major'
24909 shlibpath_var=LD_LIBRARY_PATH
24914 - version_type=linux
24915 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24916 - soname_spec='${libname}${release}${shared_ext}$major'
24917 - shlibpath_var=LD_LIBRARY_PATH
24923 @@ -17718,35 +6636,44 @@
24924 echo "${ECHO_T}$dynamic_linker" >&6
24925 test "$dynamic_linker" = no && can_build_shared=no
24927 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24928 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
24929 -hardcode_action_GCJ=
24930 -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
24931 - test -n "$runpath_var_GCJ" || \
24932 - test "X$hardcode_automatic_GCJ" = "Xyes" ; then
24933 +# Report the final consequences.
24934 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
24935 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
24936 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
24937 +echo "${ECHO_T}$can_build_shared" >&6
24939 - # We can hardcode non-existant directories.
24940 - if test "$hardcode_direct_GCJ" != no &&
24941 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
24942 - # have to relink, otherwise we might link with an installed library
24943 - # when we should be linking with a yet-to-be-installed one
24944 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
24945 - test "$hardcode_minus_L_GCJ" != no; then
24946 - # Linking always hardcodes the temporary library directory.
24947 - hardcode_action_GCJ=relink
24949 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
24950 - hardcode_action_GCJ=immediate
24951 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
24952 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
24953 +test "$can_build_shared" = "no" && enable_shared=no
24955 +# On AIX, shared libraries and static libraries use the same namespace, and
24956 +# are all built from PIC.
24957 +case "$host_os" in
24959 + test "$enable_shared" = yes && enable_static=no
24960 + if test -n "$RANLIB"; then
24961 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
24962 + postinstall_cmds='$RANLIB $lib'
24965 - # We cannot hardcode anything, or else we can only hardcode existing
24967 - hardcode_action_GCJ=unsupported
24969 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
24970 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
24974 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
24975 + test "$enable_shared" = yes && enable_static=no
24979 +echo "$as_me:$LINENO: result: $enable_shared" >&5
24980 +echo "${ECHO_T}$enable_shared" >&6
24982 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
24983 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
24984 +# Make sure either enable_shared or enable_static is yes.
24985 +test "$enable_shared" = yes || enable_static=yes
24986 +echo "$as_me:$LINENO: result: $enable_static" >&5
24987 +echo "${ECHO_T}$enable_static" >&6
24989 -if test "$hardcode_action_GCJ" = relink; then
24990 +if test "$hardcode_action" = relink; then
24991 # Fast installation is not supported
24992 enable_fast_install=no
24993 elif test "$shlibpath_overrides_runpath" = yes ||
24994 @@ -17755,33 +6682,9 @@
24995 enable_fast_install=needless
25000 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
25001 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
25002 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
25003 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
25004 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
25005 - echo "$as_me:$LINENO: result: yes" >&5
25006 -echo "${ECHO_T}yes" >&6
25008 -# FIXME - insert some real tests, host_os isn't really good enough
25011 - if test -n "$STRIP" ; then
25012 - striplib="$STRIP -x"
25013 - echo "$as_me:$LINENO: result: yes" >&5
25014 -echo "${ECHO_T}yes" >&6
25016 - echo "$as_me:$LINENO: result: no" >&5
25017 -echo "${ECHO_T}no" >&6
25021 - echo "$as_me:$LINENO: result: no" >&5
25022 -echo "${ECHO_T}no" >&6
25025 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
25026 +if test "$GCC" = yes; then
25027 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
25030 if test "x$enable_dlopen" != xyes; then
25031 @@ -17792,99 +6695,16 @@
25037 - lt_cv_dlopen="load_add_on"
25038 - lt_cv_dlopen_libs=
25039 - lt_cv_dlopen_self=yes
25043 - lt_cv_dlopen="LoadLibrary"
25044 - lt_cv_dlopen_libs=
25048 - lt_cv_dlopen="dlopen"
25049 - lt_cv_dlopen_libs=
25053 - # if libdl is installed we need to link against it
25054 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
25055 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
25056 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
25057 - echo $ECHO_N "(cached) $ECHO_C" >&6
25059 - ac_check_lib_save_LIBS=$LIBS
25061 -cat >conftest.$ac_ext <<_ACEOF
25064 -cat confdefs.h >>conftest.$ac_ext
25065 -cat >>conftest.$ac_ext <<_ACEOF
25066 -/* end confdefs.h. */
25068 -/* Override any gcc2 internal prototype to avoid an error. */
25069 -#ifdef __cplusplus
25072 -/* We use char because int might match the return type of a gcc2
25073 - builtin and then its argument prototype would still apply. */
25083 -rm -f conftest.$ac_objext conftest$ac_exeext
25084 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25085 - (eval $ac_link) 2>conftest.er1
25087 - grep -v '^ *+' conftest.er1 >conftest.err
25088 - rm -f conftest.er1
25089 - cat conftest.err >&5
25090 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25091 - (exit $ac_status); } &&
25092 - { ac_try='test -z "$ac_c_werror_flag"
25093 - || test ! -s conftest.err'
25094 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25095 - (eval $ac_try) 2>&5
25097 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098 - (exit $ac_status); }; } &&
25099 - { ac_try='test -s conftest$ac_exeext'
25100 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25101 - (eval $ac_try) 2>&5
25103 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 - (exit $ac_status); }; }; then
25105 - ac_cv_lib_dl_dlopen=yes
25107 - echo "$as_me: failed program was:" >&5
25108 -sed 's/^/| /' conftest.$ac_ext >&5
25110 -ac_cv_lib_dl_dlopen=no
25112 -rm -f conftest.err conftest.$ac_objext \
25113 - conftest$ac_exeext conftest.$ac_ext
25114 -LIBS=$ac_check_lib_save_LIBS
25116 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
25117 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
25118 -if test $ac_cv_lib_dl_dlopen = yes; then
25119 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
25122 - lt_cv_dlopen="dyld"
25125 + lt_cv_dlopen="load_add_on"
25127 lt_cv_dlopen_self=yes
25132 + cygwin* | mingw* | pw32*)
25133 + lt_cv_dlopen="LoadLibrary"
25134 + lt_cv_dlopen_libs=
25138 @@ -17953,8 +6773,7 @@
25139 cat conftest.err >&5
25140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25141 (exit $ac_status); } &&
25142 - { ac_try='test -z "$ac_c_werror_flag"
25143 - || test ! -s conftest.err'
25144 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25146 (eval $ac_try) 2>&5
25148 @@ -18019,8 +6838,7 @@
25149 cat conftest.err >&5
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); } &&
25152 - { ac_try='test -z "$ac_c_werror_flag"
25153 - || test ! -s conftest.err'
25154 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25156 (eval $ac_try) 2>&5
25158 @@ -18113,8 +6931,7 @@
25159 cat conftest.err >&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } &&
25162 - { ac_try='test -z "$ac_c_werror_flag"
25163 - || test ! -s conftest.err'
25164 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25166 (eval $ac_try) 2>&5
25168 @@ -18179,8 +6996,7 @@
25169 cat conftest.err >&5
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); } &&
25172 - { ac_try='test -z "$ac_c_werror_flag"
25173 - || test ! -s conftest.err'
25174 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25176 (eval $ac_try) 2>&5
25178 @@ -18246,8 +7062,7 @@
25179 cat conftest.err >&5
25180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25181 (exit $ac_status); } &&
25182 - { ac_try='test -z "$ac_c_werror_flag"
25183 - || test ! -s conftest.err'
25184 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25186 (eval $ac_try) 2>&5
25188 @@ -18313,8 +7128,7 @@
25189 cat conftest.err >&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 - { ac_try='test -z "$ac_c_werror_flag"
25193 - || test ! -s conftest.err'
25194 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25196 (eval $ac_try) 2>&5
25198 @@ -18370,7 +7184,7 @@
25199 case $lt_cv_dlopen in
25201 save_CPPFLAGS="$CPPFLAGS"
25202 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
25203 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
25205 save_LDFLAGS="$LDFLAGS"
25206 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
25207 @@ -18386,10 +7200,10 @@
25208 if test "$cross_compiling" = yes; then :
25209 lt_cv_dlopen_self=cross
25211 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
25212 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
25213 lt_status=$lt_dlunknown
25214 cat > conftest.$ac_ext <<EOF
25215 -#line 18392 "configure"
25216 +#line 7206 "configure"
25217 #include "confdefs.h"
25220 @@ -18455,7 +7269,7 @@
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
25224 - (./conftest; exit; ) >&5 2>/dev/null
25225 + (./conftest; exit; ) 2>/dev/null
25227 case x$lt_status in
25228 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
25229 @@ -18484,10 +7298,10 @@
25230 if test "$cross_compiling" = yes; then :
25231 lt_cv_dlopen_self_static=cross
25233 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
25234 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
25235 lt_status=$lt_dlunknown
25236 cat > conftest.$ac_ext <<EOF
25237 -#line 18490 "configure"
25238 +#line 7304 "configure"
25239 #include "confdefs.h"
25242 @@ -18553,7 +7367,7 @@
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
25246 - (./conftest; exit; ) >&5 2>/dev/null
25247 + (./conftest; exit; ) 2>/dev/null
25249 case x$lt_status in
25250 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
25251 @@ -18584,407 +7398,76 @@
25252 *) enable_dlopen_self=unknown ;;
25255 - case $lt_cv_dlopen_self_static in
25256 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
25257 - *) enable_dlopen_self_static=unknown ;;
25262 -# The else clause should only fire when bootstrapping the
25263 -# libtool distribution, otherwise you forgot to ship ltmain.sh
25264 -# with your package, and you will get complaints that there are
25265 -# no rules to generate ltmain.sh.
25266 -if test -f "$ltmain"; then
25267 - # See if we are running on zsh, and set the options which allow our commands through
25268 - # without removal of \ escapes.
25269 - if test -n "${ZSH_VERSION+set}" ; then
25270 - setopt NO_GLOB_SUBST
25272 - # Now quote all the things that may contain metacharacters while being
25273 - # careful not to overquote the AC_SUBSTed values. We take copies of the
25274 - # variables and quote the copies for generation of the libtool script.
25275 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25276 - SED SHELL STRIP \
25277 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25278 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25279 - deplibs_check_method reload_flag reload_cmds need_locks \
25280 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25281 - lt_cv_sys_global_symbol_to_c_name_address \
25282 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25283 - old_postinstall_cmds old_postuninstall_cmds \
25287 - lt_prog_compiler_wl_GCJ \
25288 - lt_prog_compiler_pic_GCJ \
25289 - lt_prog_compiler_static_GCJ \
25290 - lt_prog_compiler_no_builtin_flag_GCJ \
25291 - export_dynamic_flag_spec_GCJ \
25292 - thread_safe_flag_spec_GCJ \
25293 - whole_archive_flag_spec_GCJ \
25294 - enable_shared_with_static_runtimes_GCJ \
25295 - old_archive_cmds_GCJ \
25296 - old_archive_from_new_cmds_GCJ \
25297 - predep_objects_GCJ \
25298 - postdep_objects_GCJ \
25301 - compiler_lib_search_path_GCJ \
25302 - archive_cmds_GCJ \
25303 - archive_expsym_cmds_GCJ \
25304 - postinstall_cmds_GCJ \
25305 - postuninstall_cmds_GCJ \
25306 - old_archive_from_expsyms_cmds_GCJ \
25307 - allow_undefined_flag_GCJ \
25308 - no_undefined_flag_GCJ \
25309 - export_symbols_cmds_GCJ \
25310 - hardcode_libdir_flag_spec_GCJ \
25311 - hardcode_libdir_flag_spec_ld_GCJ \
25312 - hardcode_libdir_separator_GCJ \
25313 - hardcode_automatic_GCJ \
25314 - module_cmds_GCJ \
25315 - module_expsym_cmds_GCJ \
25316 - lt_cv_prog_compiler_c_o_GCJ \
25317 - exclude_expsyms_GCJ \
25318 - include_expsyms_GCJ; do
25321 - old_archive_cmds_GCJ | \
25322 - old_archive_from_new_cmds_GCJ | \
25323 - archive_cmds_GCJ | \
25324 - archive_expsym_cmds_GCJ | \
25325 - module_cmds_GCJ | \
25326 - module_expsym_cmds_GCJ | \
25327 - old_archive_from_expsyms_cmds_GCJ | \
25328 - export_symbols_cmds_GCJ | \
25329 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
25330 - postinstall_cmds | postuninstall_cmds | \
25331 - old_postinstall_cmds | old_postuninstall_cmds | \
25332 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25333 - # Double-quote double-evaled strings.
25334 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25337 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
25343 - *'\$0 --fallback-echo"')
25344 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25350 - cat <<__EOF__ >> "$cfgfile"
25351 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
25353 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25355 -# Shell to use when invoking shell scripts.
25358 -# Whether or not to build shared libraries.
25359 -build_libtool_libs=$enable_shared
25361 -# Whether or not to build static libraries.
25362 -build_old_libs=$enable_static
25364 -# Whether or not to add -lc for building shared libraries.
25365 -build_libtool_need_lc=$archive_cmds_need_lc_GCJ
25367 -# Whether or not to disallow shared libs when runtime libs are static
25368 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
25370 -# Whether or not to optimize for fast installation.
25371 -fast_install=$enable_fast_install
25373 -# The host system.
25374 -host_alias=$host_alias
25378 -# The build system.
25379 -build_alias=$build_alias
25381 -build_os=$build_os
25383 -# An echo program that does not interpret backslashes.
25388 -AR_FLAGS=$lt_AR_FLAGS
25393 -# A language-specific compiler.
25394 -CC=$lt_compiler_GCJ
25396 -# Is the compiler the GNU C compiler?
25402 -# The linker used to build libraries.
25405 -# Whether we need hard or soft links.
25408 -# A BSD-compatible nm program.
25411 -# A symbol stripping program
25414 -# Used to examine libraries when file_magic_cmd begins "file"
25415 -MAGIC_CMD=$MAGIC_CMD
25417 -# Used on cygwin: DLL creation program.
25418 -DLLTOOL="$DLLTOOL"
25420 -# Used on cygwin: object dumper.
25421 -OBJDUMP="$OBJDUMP"
25423 -# Used on cygwin: assembler.
25426 -# The name of the directory that contains temporary libtool files.
25429 -# How to create reloadable object files.
25430 -reload_flag=$lt_reload_flag
25431 -reload_cmds=$lt_reload_cmds
25433 -# How to pass a linker flag through the compiler.
25434 -wl=$lt_lt_prog_compiler_wl_GCJ
25436 -# Object file suffix (normally "o").
25437 -objext="$ac_objext"
25439 -# Old archive suffix (normally "a").
25442 -# Shared library suffix (normally ".so").
25443 -shrext_cmds='$shrext_cmds'
25445 -# Executable file suffix (normally "").
25448 -# Additional compiler flags for building library objects.
25449 -pic_flag=$lt_lt_prog_compiler_pic_GCJ
25450 -pic_mode=$pic_mode
25452 -# What is the maximum length of a command?
25453 -max_cmd_len=$lt_cv_sys_max_cmd_len
25455 -# Does compiler simultaneously support -c and -o options?
25456 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
25458 -# Must we lock files when doing compilation?
25459 -need_locks=$lt_need_locks
25461 -# Do we need the lib prefix for modules?
25462 -need_lib_prefix=$need_lib_prefix
25464 -# Do we need a version for libraries?
25465 -need_version=$need_version
25467 -# Whether dlopen is supported.
25468 -dlopen_support=$enable_dlopen
25470 -# Whether dlopen of programs is supported.
25471 -dlopen_self=$enable_dlopen_self
25473 -# Whether dlopen of statically linked programs is supported.
25474 -dlopen_self_static=$enable_dlopen_self_static
25476 -# Compiler flag to prevent dynamic linking.
25477 -link_static_flag=$lt_lt_prog_compiler_static_GCJ
25479 -# Compiler flag to turn off builtin functions.
25480 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
25482 -# Compiler flag to allow reflexive dlopens.
25483 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
25485 -# Compiler flag to generate shared objects directly from archives.
25486 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
25488 -# Compiler flag to generate thread-safe objects.
25489 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
25491 -# Library versioning type.
25492 -version_type=$version_type
25494 -# Format of library name prefix.
25495 -libname_spec=$lt_libname_spec
25497 -# List of archive names. First name is the real one, the rest are links.
25498 -# The last name is the one that the linker finds with -lNAME.
25499 -library_names_spec=$lt_library_names_spec
25501 -# The coded name of the library, if different from the real name.
25502 -soname_spec=$lt_soname_spec
25504 -# Commands used to build and install an old-style archive.
25506 -old_archive_cmds=$lt_old_archive_cmds_GCJ
25507 -old_postinstall_cmds=$lt_old_postinstall_cmds
25508 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
25510 -# Create an old-style archive from a shared archive.
25511 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
25513 -# Create a temporary old-style archive to link instead of a shared archive.
25514 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
25516 -# Commands used to build and install a shared archive.
25517 -archive_cmds=$lt_archive_cmds_GCJ
25518 -archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
25519 -postinstall_cmds=$lt_postinstall_cmds
25520 -postuninstall_cmds=$lt_postuninstall_cmds
25522 -# Commands used to build a loadable module (assumed same as above if empty)
25523 -module_cmds=$lt_module_cmds_GCJ
25524 -module_expsym_cmds=$lt_module_expsym_cmds_GCJ
25526 -# Commands to strip libraries.
25527 -old_striplib=$lt_old_striplib
25528 -striplib=$lt_striplib
25530 -# Dependencies to place before the objects being linked to create a
25532 -predep_objects=$lt_predep_objects_GCJ
25534 -# Dependencies to place after the objects being linked to create a
25536 -postdep_objects=$lt_postdep_objects_GCJ
25538 -# Dependencies to place before the objects being linked to create a
25540 -predeps=$lt_predeps_GCJ
25542 -# Dependencies to place after the objects being linked to create a
25544 -postdeps=$lt_postdeps_GCJ
25546 -# The library search path used internally by the compiler when linking
25547 -# a shared library.
25548 -compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
25550 -# Method to check whether dependent libraries are shared objects.
25551 -deplibs_check_method=$lt_deplibs_check_method
25553 -# Command to use when deplibs_check_method == file_magic.
25554 -file_magic_cmd=$lt_file_magic_cmd
25556 -# Flag that allows shared libraries with undefined symbols to be built.
25557 -allow_undefined_flag=$lt_allow_undefined_flag_GCJ
25559 -# Flag that forces no undefined symbols.
25560 -no_undefined_flag=$lt_no_undefined_flag_GCJ
25562 -# Commands used to finish a libtool library installation in a directory.
25563 -finish_cmds=$lt_finish_cmds
25565 -# Same as above, but a single script fragment to be evaled but not shown.
25566 -finish_eval=$lt_finish_eval
25568 -# Take the output of nm and produce a listing of raw symbols and C names.
25569 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25571 -# Transform the output of nm in a proper C declaration
25572 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25574 -# Transform the output of nm in a C name address pair
25575 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25577 -# This is the shared library runtime path variable.
25578 -runpath_var=$runpath_var
25580 -# This is the shared library path variable.
25581 -shlibpath_var=$shlibpath_var
25583 -# Is shlibpath searched before the hard-coded library search path?
25584 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25586 -# How to hardcode a shared library path into an executable.
25587 -hardcode_action=$hardcode_action_GCJ
25589 -# Whether we should hardcode library paths into libraries.
25590 -hardcode_into_libs=$hardcode_into_libs
25592 -# Flag to hardcode \$libdir into a binary during linking.
25593 -# This must work even if \$libdir does not exist.
25594 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
25596 -# If ld is used when linking, flag to hardcode \$libdir into
25597 -# a binary during linking. This must work even if \$libdir does
25599 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
25601 -# Whether we need a single -rpath flag with a separated argument.
25602 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
25604 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
25605 -# resulting binary.
25606 -hardcode_direct=$hardcode_direct_GCJ
25608 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
25609 -# resulting binary.
25610 -hardcode_minus_L=$hardcode_minus_L_GCJ
25612 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
25613 -# the resulting binary.
25614 -hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
25616 -# Set to yes if building a shared library automatically hardcodes DIR into the library
25617 -# and all subsequent libraries and executables linked against it.
25618 -hardcode_automatic=$hardcode_automatic_GCJ
25620 -# Variables whose values should be saved in libtool wrapper scripts and
25621 -# restored at relink time.
25622 -variables_saved_for_relink="$variables_saved_for_relink"
25624 -# Whether libtool must link a program against all its dependency libraries.
25625 -link_all_deplibs=$link_all_deplibs_GCJ
25627 -# Compile-time system search path for libraries
25628 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25630 -# Run-time system search path for libraries
25631 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25633 -# Fix the shell variable \$srcfile for the compiler.
25634 -fix_srcfile_path="$fix_srcfile_path_GCJ"
25636 -# Set to yes if exported symbols are required.
25637 -always_export_symbols=$always_export_symbols_GCJ
25639 -# The commands to list exported symbols.
25640 -export_symbols_cmds=$lt_export_symbols_cmds_GCJ
25642 -# The commands to extract the exported symbol list from a shared archive.
25643 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
25645 -# Symbols that should not be listed in the preloaded symbols.
25646 -exclude_expsyms=$lt_exclude_expsyms_GCJ
25647 + case $lt_cv_dlopen_self_static in
25648 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
25649 + *) enable_dlopen_self_static=unknown ;;
25653 -# Symbols that must always be exported.
25654 -include_expsyms=$lt_include_expsyms_GCJ
25656 -# ### END LIBTOOL TAG CONFIG: $tagname
25657 +if test "$enable_shared" = yes && test "$GCC" = yes; then
25658 + case $archive_cmds in
25660 + # FIXME: we may have to deal with multi-command sequences.
25663 + # Test whether the compiler implicitly links with -lc since on some
25664 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
25665 + # to ld, don't add -lc before -lgcc.
25666 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25667 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
25668 + if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
25669 + echo $ECHO_N "(cached) $ECHO_C" >&6
25672 + echo 'static int dummy;' > conftest.$ac_ext
25675 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25676 + (eval $ac_compile) 2>&5
25678 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679 + (exit $ac_status); }; then
25682 + libobjs=conftest.$ac_objext
25684 + wl=$lt_cv_prog_cc_wl
25685 + compiler_flags=-v
25690 + save_allow_undefined_flag=$allow_undefined_flag
25691 + allow_undefined_flag=
25692 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25693 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
25695 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 + (exit $ac_status); }
25698 + lt_cv_archive_cmds_need_lc=no
25700 + lt_cv_archive_cmds_need_lc=yes
25702 + allow_undefined_flag=$save_allow_undefined_flag
25704 + cat conftest.err 1>&5
25708 + echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
25709 +echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
25713 +need_lc=${lt_cv_archive_cmds_need_lc-yes}
25715 +# The second clause should only fire when bootstrapping the
25716 +# libtool distribution, otherwise you forgot to ship ltmain.sh
25717 +# with your package, and you will get complaints that there are
25718 +# no rules to generate ltmain.sh.
25719 +if test -f "$ltmain"; then
25722 # If there is no Makefile yet, we rely on a make rule to execute
25723 # `config.status --recheck' to rerun these tests and create the
25724 @@ -18995,148 +7478,39 @@
25728 +if test -f "$ltmain"; then
25729 + trap "$rm \"${ofile}T\"; exit 1" 1 2 15
25730 + $rm -f "${ofile}T"
25733 -ac_cpp='$CPP $CPPFLAGS'
25734 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25735 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25736 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
25749 -# Source file extension for RC test sources.
25752 -# Object file extension for compiled RC test sources.
25756 -# Code to be used in simple compile tests
25757 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
25759 -# Code to be used in simple link tests
25760 -lt_simple_link_test_code="$lt_simple_compile_test_code"
25762 -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
25764 -# If no C compiler was specified, use CC.
25765 -LTCC=${LTCC-"$CC"}
25767 -# Allow CC to be a program name with arguments.
25771 -# save warnings/boilerplate of simple test code
25772 -ac_outfile=conftest.$ac_objext
25773 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
25774 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
25775 -_lt_compiler_boilerplate=`cat conftest.err`
25778 -ac_outfile=conftest.$ac_objext
25779 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
25780 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
25781 -_lt_linker_boilerplate=`cat conftest.err`
25785 -# Allow CC to be a program name with arguments.
25787 -CC=${RC-"windres"}
25790 -for cc_temp in $compiler""; do
25792 - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25793 - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25798 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25800 -lt_cv_prog_compiler_c_o_RC=yes
25801 + echo creating $ofile
25803 -# The else clause should only fire when bootstrapping the
25804 -# libtool distribution, otherwise you forgot to ship ltmain.sh
25805 -# with your package, and you will get complaints that there are
25806 -# no rules to generate ltmain.sh.
25807 -if test -f "$ltmain"; then
25808 - # See if we are running on zsh, and set the options which allow our commands through
25809 - # without removal of \ escapes.
25810 - if test -n "${ZSH_VERSION+set}" ; then
25811 - setopt NO_GLOB_SUBST
25813 # Now quote all the things that may contain metacharacters while being
25814 # careful not to overquote the AC_SUBSTed values. We take copies of the
25815 # variables and quote the copies for generation of the libtool script.
25816 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
25817 - SED SHELL STRIP \
25818 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
25819 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
25820 - deplibs_check_method reload_flag reload_cmds need_locks \
25821 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
25822 - lt_cv_sys_global_symbol_to_c_name_address \
25823 + for var in echo old_CC old_CFLAGS SED \
25824 + AR AR_FLAGS CC LD LN_S NM SHELL STRIP \
25825 + reload_flag reload_cmds wl \
25826 + pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
25827 + thread_safe_flag_spec whole_archive_flag_spec libname_spec \
25828 + library_names_spec soname_spec \
25829 + RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
25830 + old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
25831 + postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
25832 + old_striplib striplib file_magic_cmd export_symbols_cmds \
25833 + deplibs_check_method allow_undefined_flag no_undefined_flag \
25834 + finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
25835 + global_symbol_to_c_name_address \
25836 + hardcode_libdir_flag_spec hardcode_libdir_separator \
25837 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
25838 - old_postinstall_cmds old_postuninstall_cmds \
25842 - lt_prog_compiler_wl_RC \
25843 - lt_prog_compiler_pic_RC \
25844 - lt_prog_compiler_static_RC \
25845 - lt_prog_compiler_no_builtin_flag_RC \
25846 - export_dynamic_flag_spec_RC \
25847 - thread_safe_flag_spec_RC \
25848 - whole_archive_flag_spec_RC \
25849 - enable_shared_with_static_runtimes_RC \
25850 - old_archive_cmds_RC \
25851 - old_archive_from_new_cmds_RC \
25852 - predep_objects_RC \
25853 - postdep_objects_RC \
25856 - compiler_lib_search_path_RC \
25857 - archive_cmds_RC \
25858 - archive_expsym_cmds_RC \
25859 - postinstall_cmds_RC \
25860 - postuninstall_cmds_RC \
25861 - old_archive_from_expsyms_cmds_RC \
25862 - allow_undefined_flag_RC \
25863 - no_undefined_flag_RC \
25864 - export_symbols_cmds_RC \
25865 - hardcode_libdir_flag_spec_RC \
25866 - hardcode_libdir_flag_spec_ld_RC \
25867 - hardcode_libdir_separator_RC \
25868 - hardcode_automatic_RC \
25870 - module_expsym_cmds_RC \
25871 - lt_cv_prog_compiler_c_o_RC \
25872 - exclude_expsyms_RC \
25873 - include_expsyms_RC; do
25874 + compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
25877 - old_archive_cmds_RC | \
25878 - old_archive_from_new_cmds_RC | \
25879 - archive_cmds_RC | \
25880 - archive_expsym_cmds_RC | \
25881 - module_cmds_RC | \
25882 - module_expsym_cmds_RC | \
25883 - old_archive_from_expsyms_cmds_RC | \
25884 - export_symbols_cmds_RC | \
25885 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
25886 - postinstall_cmds | postuninstall_cmds | \
25887 + reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
25888 old_postinstall_cmds | old_postuninstall_cmds | \
25889 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25890 + export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
25891 + extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
25892 + postinstall_cmds | postuninstall_cmds | \
25893 + finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
25894 # Double-quote double-evaled strings.
25895 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
25897 @@ -19146,16 +7520,46 @@
25902 - *'\$0 --fallback-echo"')
25903 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
25906 + cat <<__EOF__ > "${ofile}T"
25909 +# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
25910 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
25911 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
25913 +# Copyright (C) 1996-2000 Free Software Foundation, Inc.
25914 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
25916 +# This program is free software; you can redistribute it and/or modify
25917 +# it under the terms of the GNU General Public License as published by
25918 +# the Free Software Foundation; either version 2 of the License, or
25919 +# (at your option) any later version.
25921 +# This program is distributed in the hope that it will be useful, but
25922 +# WITHOUT ANY WARRANTY; without even the implied warranty of
25923 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25924 +# General Public License for more details.
25926 +# You should have received a copy of the GNU General Public License
25927 +# along with this program; if not, write to the Free Software
25928 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25930 +# As a special exception to the GNU General Public License, if you
25931 +# distribute this file as part of a program that contains a
25932 +# configuration script generated by Autoconf, you may include it under
25933 +# the same distribution terms that you use for the rest of that program.
25936 +# A sed that does not truncate output.
25939 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
25940 +Xsed="${SED} -e s/^X//"
25942 +# The HP-UX ksh and POSIX shell print the target directory to stdout
25943 +# if CDPATH is set.
25944 +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
25946 - cat <<__EOF__ >> "$cfgfile"
25947 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
25948 +# ### BEGIN LIBTOOL CONFIG
25950 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25952 @@ -19169,10 +7573,7 @@
25953 build_old_libs=$enable_static
25955 # Whether or not to add -lc for building shared libraries.
25956 -build_libtool_need_lc=$archive_cmds_need_lc_RC
25958 -# Whether or not to disallow shared libs when runtime libs are static
25959 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
25960 +build_libtool_need_lc=$need_lc
25962 # Whether or not to optimize for fast installation.
25963 fast_install=$enable_fast_install
25964 @@ -19180,12 +7581,6 @@
25966 host_alias=$host_alias
25970 -# The build system.
25971 -build_alias=$build_alias
25973 -build_os=$build_os
25975 # An echo program that does not interpret backslashes.
25977 @@ -19194,20 +7589,14 @@
25979 AR_FLAGS=$lt_AR_FLAGS
25984 -# A language-specific compiler.
25985 -CC=$lt_compiler_RC
25986 +# The default C compiler.
25989 # Is the compiler the GNU C compiler?
25996 # The linker used to build libraries.
26000 # Whether we need hard or soft links.
26002 @@ -19238,7 +7627,7 @@
26003 reload_cmds=$lt_reload_cmds
26005 # How to pass a linker flag through the compiler.
26006 -wl=$lt_lt_prog_compiler_wl_RC
26009 # Object file suffix (normally "o").
26010 objext="$ac_objext"
26011 @@ -19246,23 +7635,20 @@
26012 # Old archive suffix (normally "a").
26015 -# Shared library suffix (normally ".so").
26016 -shrext_cmds='$shrext_cmds'
26018 # Executable file suffix (normally "").
26021 # Additional compiler flags for building library objects.
26022 -pic_flag=$lt_lt_prog_compiler_pic_RC
26023 +pic_flag=$lt_pic_flag
26026 -# What is the maximum length of a command?
26027 -max_cmd_len=$lt_cv_sys_max_cmd_len
26029 # Does compiler simultaneously support -c and -o options?
26030 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26031 +compiler_c_o=$lt_compiler_c_o
26033 +# Can we write directly to a .lo ?
26034 +compiler_o_lo=$lt_compiler_o_lo
26036 -# Must we lock files when doing compilation?
26037 +# Must we lock files when doing compilation ?
26038 need_locks=$lt_need_locks
26040 # Do we need the lib prefix for modules?
26041 @@ -19281,19 +7667,19 @@
26042 dlopen_self_static=$enable_dlopen_self_static
26044 # Compiler flag to prevent dynamic linking.
26045 -link_static_flag=$lt_lt_prog_compiler_static_RC
26046 +link_static_flag=$lt_link_static_flag
26048 # Compiler flag to turn off builtin functions.
26049 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26050 +no_builtin_flag=$lt_no_builtin_flag
26052 # Compiler flag to allow reflexive dlopens.
26053 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26054 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26056 # Compiler flag to generate shared objects directly from archives.
26057 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26058 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
26060 # Compiler flag to generate thread-safe objects.
26061 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26062 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
26064 # Library versioning type.
26065 version_type=$version_type
26066 @@ -19310,50 +7696,26 @@
26068 # Commands used to build and install an old-style archive.
26070 -old_archive_cmds=$lt_old_archive_cmds_RC
26071 +old_archive_cmds=$lt_old_archive_cmds
26072 old_postinstall_cmds=$lt_old_postinstall_cmds
26073 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26075 # Create an old-style archive from a shared archive.
26076 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26077 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26079 # Create a temporary old-style archive to link instead of a shared archive.
26080 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26081 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26083 # Commands used to build and install a shared archive.
26084 -archive_cmds=$lt_archive_cmds_RC
26085 -archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26086 +archive_cmds=$lt_archive_cmds
26087 +archive_expsym_cmds=$lt_archive_expsym_cmds
26088 postinstall_cmds=$lt_postinstall_cmds
26089 postuninstall_cmds=$lt_postuninstall_cmds
26091 -# Commands used to build a loadable module (assumed same as above if empty)
26092 -module_cmds=$lt_module_cmds_RC
26093 -module_expsym_cmds=$lt_module_expsym_cmds_RC
26095 # Commands to strip libraries.
26096 old_striplib=$lt_old_striplib
26097 striplib=$lt_striplib
26099 -# Dependencies to place before the objects being linked to create a
26101 -predep_objects=$lt_predep_objects_RC
26103 -# Dependencies to place after the objects being linked to create a
26105 -postdep_objects=$lt_postdep_objects_RC
26107 -# Dependencies to place before the objects being linked to create a
26109 -predeps=$lt_predeps_RC
26111 -# Dependencies to place after the objects being linked to create a
26113 -postdeps=$lt_postdeps_RC
26115 -# The library search path used internally by the compiler when linking
26116 -# a shared library.
26117 -compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26119 # Method to check whether dependent libraries are shared objects.
26120 deplibs_check_method=$lt_deplibs_check_method
26122 @@ -19361,10 +7723,10 @@
26123 file_magic_cmd=$lt_file_magic_cmd
26125 # Flag that allows shared libraries with undefined symbols to be built.
26126 -allow_undefined_flag=$lt_allow_undefined_flag_RC
26127 +allow_undefined_flag=$lt_allow_undefined_flag
26129 # Flag that forces no undefined symbols.
26130 -no_undefined_flag=$lt_no_undefined_flag_RC
26131 +no_undefined_flag=$lt_no_undefined_flag
26133 # Commands used to finish a libtool library installation in a directory.
26134 finish_cmds=$lt_finish_cmds
26135 @@ -19373,13 +7735,13 @@
26136 finish_eval=$lt_finish_eval
26138 # Take the output of nm and produce a listing of raw symbols and C names.
26139 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26140 +global_symbol_pipe=$lt_global_symbol_pipe
26142 # Transform the output of nm in a proper C declaration
26143 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26144 +global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
26146 # Transform the output of nm in a C name address pair
26147 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26148 +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
26150 # This is the shared library runtime path variable.
26151 runpath_var=$runpath_var
26152 @@ -19391,45 +7753,36 @@
26153 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26155 # How to hardcode a shared library path into an executable.
26156 -hardcode_action=$hardcode_action_RC
26157 +hardcode_action=$hardcode_action
26159 # Whether we should hardcode library paths into libraries.
26160 hardcode_into_libs=$hardcode_into_libs
26162 # Flag to hardcode \$libdir into a binary during linking.
26163 # This must work even if \$libdir does not exist.
26164 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
26166 -# If ld is used when linking, flag to hardcode \$libdir into
26167 -# a binary during linking. This must work even if \$libdir does
26169 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
26170 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26172 # Whether we need a single -rpath flag with a separated argument.
26173 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
26174 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
26176 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26177 +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
26178 # resulting binary.
26179 -hardcode_direct=$hardcode_direct_RC
26180 +hardcode_direct=$hardcode_direct
26182 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26183 # resulting binary.
26184 -hardcode_minus_L=$hardcode_minus_L_RC
26185 +hardcode_minus_L=$hardcode_minus_L
26187 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26188 # the resulting binary.
26189 -hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
26191 -# Set to yes if building a shared library automatically hardcodes DIR into the library
26192 -# and all subsequent libraries and executables linked against it.
26193 -hardcode_automatic=$hardcode_automatic_RC
26194 +hardcode_shlibpath_var=$hardcode_shlibpath_var
26196 # Variables whose values should be saved in libtool wrapper scripts and
26197 # restored at relink time.
26198 variables_saved_for_relink="$variables_saved_for_relink"
26200 # Whether libtool must link a program against all its dependency libraries.
26201 -link_all_deplibs=$link_all_deplibs_RC
26202 +link_all_deplibs=$link_all_deplibs
26204 # Compile-time system search path for libraries
26205 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26206 @@ -19438,75 +7791,234 @@
26207 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26209 # Fix the shell variable \$srcfile for the compiler.
26210 -fix_srcfile_path="$fix_srcfile_path_RC"
26211 +fix_srcfile_path="$fix_srcfile_path"
26213 # Set to yes if exported symbols are required.
26214 -always_export_symbols=$always_export_symbols_RC
26215 +always_export_symbols=$always_export_symbols
26217 # The commands to list exported symbols.
26218 -export_symbols_cmds=$lt_export_symbols_cmds_RC
26219 +export_symbols_cmds=$lt_export_symbols_cmds
26221 # The commands to extract the exported symbol list from a shared archive.
26222 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26224 # Symbols that should not be listed in the preloaded symbols.
26225 -exclude_expsyms=$lt_exclude_expsyms_RC
26226 +exclude_expsyms=$lt_exclude_expsyms
26228 # Symbols that must always be exported.
26229 -include_expsyms=$lt_include_expsyms_RC
26230 +include_expsyms=$lt_include_expsyms
26232 -# ### END LIBTOOL TAG CONFIG: $tagname
26233 +# ### END LIBTOOL CONFIG
26239 + cat <<\EOF >> "${ofile}T"
26242 - # If there is no Makefile yet, we rely on a make rule to execute
26243 - # `config.status --recheck' to rerun these tests and create the
26244 - # libtool script then.
26245 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26246 - if test -f "$ltmain_in"; then
26247 - test -f Makefile && make "$ltmain"
26249 +# AIX sometimes has problems with the GCC collect2 program. For some
26250 +# reason, if we set the COLLECT_NAMES environment variable, the problems
26251 +# vanish in a puff of smoke.
26252 +if test "X${COLLECT_NAMES+set}" != Xset; then
26254 + export COLLECT_NAMES
26261 + cygwin* | mingw* | pw32* | os2*)
26262 + cat <<'EOF' >> "${ofile}T"
26263 + # This is a source program that is used to create dlls on Windows
26264 + # Don't remove nor modify the starting and closing comments
26265 +# /* ltdll.c starts here */
26266 +# #define WIN32_LEAN_AND_MEAN
26267 +# #include <windows.h>
26268 +# #undef WIN32_LEAN_AND_MEAN
26269 +# #include <stdio.h>
26271 +# #ifndef __CYGWIN__
26272 +# # ifdef __CYGWIN32__
26273 +# # define __CYGWIN__ __CYGWIN32__
26277 +# #ifdef __cplusplus
26280 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
26281 +# #ifdef __cplusplus
26285 +# #ifdef __CYGWIN__
26286 +# #include <cygwin/cygwin_dll.h>
26287 +# DECLARE_CYGWIN_DLL( DllMain );
26289 +# HINSTANCE __hDllInstance_base;
26292 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
26294 +# __hDllInstance_base = hInst;
26297 +# /* ltdll.c ends here */
26298 + # This is a source program that is used to create import libraries
26299 + # on Windows for dlls which lack them. Don't remove nor modify the
26300 + # starting and closing comments
26301 +# /* impgen.c starts here */
26302 +# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
26304 +# This file is part of GNU libtool.
26306 +# This program is free software; you can redistribute it and/or modify
26307 +# it under the terms of the GNU General Public License as published by
26308 +# the Free Software Foundation; either version 2 of the License, or
26309 +# (at your option) any later version.
26311 +# This program is distributed in the hope that it will be useful,
26312 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
26313 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26314 +# GNU General Public License for more details.
26316 +# You should have received a copy of the GNU General Public License
26317 +# along with this program; if not, write to the Free Software
26318 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26321 +# #include <stdio.h> /* for printf() */
26322 +# #include <unistd.h> /* for open(), lseek(), read() */
26323 +# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
26324 +# #include <string.h> /* for strdup() */
26326 +# /* O_BINARY isn't required (or even defined sometimes) under Unix */
26327 +# #ifndef O_BINARY
26328 +# #define O_BINARY 0
26331 +# static unsigned int
26332 +# pe_get16 (fd, offset)
26336 +# unsigned char b[2];
26337 +# lseek (fd, offset, SEEK_SET);
26338 +# read (fd, b, 2);
26339 +# return b[0] + (b[1]<<8);
26342 +# static unsigned int
26343 +# pe_get32 (fd, offset)
26347 +# unsigned char b[4];
26348 +# lseek (fd, offset, SEEK_SET);
26349 +# read (fd, b, 4);
26350 +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
26353 +# static unsigned int
26357 +# unsigned char *b = ptr;
26358 +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
26362 +# main (argc, argv)
26367 +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
26368 +# unsigned long export_rva, export_size, nsections, secptr, expptr;
26369 +# unsigned long name_rvas, nexp;
26370 +# unsigned char *expdata, *erva;
26371 +# char *filename, *dll_name;
26373 +# filename = argv[1];
26375 +# dll = open(filename, O_RDONLY|O_BINARY);
26379 +# dll_name = filename;
26381 +# for (i=0; filename[i]; i++)
26382 +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
26383 +# dll_name = filename + i +1;
26385 +# pe_header_offset = pe_get32 (dll, 0x3c);
26386 +# opthdr_ofs = pe_header_offset + 4 + 20;
26387 +# num_entries = pe_get32 (dll, opthdr_ofs + 92);
26389 +# if (num_entries < 1) /* no exports */
26392 +# export_rva = pe_get32 (dll, opthdr_ofs + 96);
26393 +# export_size = pe_get32 (dll, opthdr_ofs + 100);
26394 +# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
26395 +# secptr = (pe_header_offset + 4 + 20 +
26396 +# pe_get16 (dll, pe_header_offset + 4 + 16));
26399 +# for (i = 0; i < nsections; i++)
26402 +# unsigned long secptr1 = secptr + 40 * i;
26403 +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
26404 +# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
26405 +# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
26406 +# lseek(dll, secptr1, SEEK_SET);
26407 +# read(dll, sname, 8);
26408 +# if (vaddr <= export_rva && vaddr+vsize > export_rva)
26410 +# expptr = fptr + (export_rva - vaddr);
26411 +# if (export_rva + export_size > vaddr + vsize)
26412 +# export_size = vsize - (export_rva - vaddr);
26417 +# expdata = (unsigned char*)malloc(export_size);
26418 +# lseek (dll, expptr, SEEK_SET);
26419 +# read (dll, expdata, export_size);
26420 +# erva = expdata - export_rva;
26422 +# nexp = pe_as32 (expdata+24);
26423 +# name_rvas = pe_as32 (expdata+32);
26425 +# printf ("EXPORTS\n");
26426 +# for (i = 0; i<nexp; i++)
26428 +# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
26429 +# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
26434 +# /* impgen.c ends here */
26437 -ac_cpp='$CPP $CPPFLAGS'
26438 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26439 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26440 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
26448 + # We use sed instead of cat because bash on DJGPP gets confused if
26449 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
26450 + # text mode, it properly converts lines to CR/LF. This bash problem
26451 + # is reportedly fixed, but why not run on old versions too?
26452 + sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
26455 - { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
26456 -echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
26457 - { (exit 1); exit 1; }; }
26460 + mv -f "${ofile}T" "$ofile" || \
26461 + (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
26462 + chmod +x "$ofile"
26465 - # Append the new tag name to the list of available tags.
26466 - if test -n "$tagname" ; then
26467 - available_tags="$available_tags $tagname"
26471 - IFS="$lt_save_ifs"
26473 - # Now substitute the updated list of available tags.
26474 - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
26475 - mv "${ofile}T" "$ofile"
26476 - chmod +x "$ofile"
26478 - rm -f "${ofile}T"
26479 - { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
26480 -echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
26481 - { (exit 1); exit 1; }; }
26487 @@ -19521,24 +8033,6 @@
26510 if test -z "$GCC"; then
26511 XIPH_CPPFLAGS="-D_REENTRANT"
26512 @@ -19614,8 +8108,7 @@
26513 cat conftest.err >&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); } &&
26516 - { ac_try='test -z "$ac_c_werror_flag"
26517 - || test ! -s conftest.err'
26518 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26520 (eval $ac_try) 2>&5
26522 @@ -19782,8 +8275,7 @@
26523 cat conftest.err >&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 - { ac_try='test -z "$ac_c_werror_flag"
26527 - || test ! -s conftest.err'
26528 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530 (eval $ac_try) 2>&5
26532 @@ -19932,8 +8424,7 @@
26533 cat conftest.err >&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); } &&
26536 - { ac_try='test -z "$ac_c_werror_flag"
26537 - || test ! -s conftest.err'
26538 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 (eval $ac_try) 2>&5
26542 @@ -20086,8 +8577,7 @@
26543 cat conftest.err >&5
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); } &&
26546 - { ac_try='test -z "$ac_c_werror_flag"
26547 - || test ! -s conftest.err'
26548 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26550 (eval $ac_try) 2>&5
26552 @@ -20279,8 +8769,7 @@
26553 cat conftest.err >&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); } &&
26556 - { ac_try='test -z "$ac_c_werror_flag"
26557 - || test ! -s conftest.err'
26558 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26560 (eval $ac_try) 2>&5
26562 @@ -20350,8 +8839,7 @@
26563 cat conftest.err >&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); } &&
26566 - { ac_try='test -z "$ac_c_werror_flag"
26567 - || test ! -s conftest.err'
26568 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26570 (eval $ac_try) 2>&5
26572 @@ -20405,8 +8893,7 @@
26573 cat conftest.err >&5
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); } &&
26576 - { ac_try='test -z "$ac_c_werror_flag"
26577 - || test ! -s conftest.err'
26578 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26580 (eval $ac_try) 2>&5
26582 @@ -20476,8 +8963,7 @@
26583 cat conftest.err >&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } &&
26586 - { ac_try='test -z "$ac_c_werror_flag"
26587 - || test ! -s conftest.err'
26588 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26592 @@ -20631,8 +9117,7 @@
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 - { ac_try='test -z "$ac_c_werror_flag"
26597 - || test ! -s conftest.err'
26598 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26600 (eval $ac_try) 2>&5
26602 @@ -20693,8 +9178,7 @@
26603 cat conftest.err >&5
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); } &&
26606 - { ac_try='test -z "$ac_c_werror_flag"
26607 - || test ! -s conftest.err'
26608 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610 (eval $ac_try) 2>&5
26612 @@ -20738,8 +9222,7 @@
26613 cat conftest.err >&5
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); } &&
26616 - { ac_try='test -z "$ac_c_werror_flag"
26617 - || test ! -s conftest.err'
26618 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26622 @@ -20813,8 +9296,7 @@
26623 cat conftest.err >&5
26624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26625 (exit $ac_status); } &&
26626 - { ac_try='test -z "$ac_c_werror_flag"
26627 - || test ! -s conftest.err'
26628 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26630 (eval $ac_try) 2>&5
26632 @@ -20959,8 +9441,7 @@
26633 cat conftest.err >&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); } &&
26636 - { ac_try='test -z "$ac_c_werror_flag"
26637 - || test ! -s conftest.err'
26638 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26640 (eval $ac_try) 2>&5
26642 @@ -21116,8 +9597,7 @@
26643 cat conftest.err >&5
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); } &&
26646 - { ac_try='test -z "$ac_c_werror_flag"
26647 - || test ! -s conftest.err'
26648 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26650 (eval $ac_try) 2>&5
26652 @@ -21171,8 +9651,7 @@
26653 cat conftest.err >&5
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); } &&
26656 - { ac_try='test -z "$ac_c_werror_flag"
26657 - || test ! -s conftest.err'
26658 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26662 @@ -21246,8 +9725,7 @@
26663 cat conftest.err >&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); } &&
26666 - { ac_try='test -z "$ac_c_werror_flag"
26667 - || test ! -s conftest.err'
26668 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26670 (eval $ac_try) 2>&5
26672 @@ -21301,8 +9779,7 @@
26673 cat conftest.err >&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); } &&
26676 - { ac_try='test -z "$ac_c_werror_flag"
26677 - || test ! -s conftest.err'
26678 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26680 (eval $ac_try) 2>&5
26682 @@ -21410,8 +9887,7 @@
26683 cat conftest.err >&5
26684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685 (exit $ac_status); } &&
26686 - { ac_try='test -z "$ac_c_werror_flag"
26687 - || test ! -s conftest.err'
26688 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690 (eval $ac_try) 2>&5
26692 @@ -21478,8 +9954,7 @@
26693 cat conftest.err >&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); } &&
26696 - { ac_try='test -z "$ac_c_werror_flag"
26697 - || test ! -s conftest.err'
26698 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700 (eval $ac_try) 2>&5
26702 @@ -21524,8 +9999,7 @@
26703 cat conftest.err >&5
26704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26705 (exit $ac_status); } &&
26706 - { ac_try='test -z "$ac_c_werror_flag"
26707 - || test ! -s conftest.err'
26708 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26710 (eval $ac_try) 2>&5
26712 @@ -21625,8 +10099,7 @@
26713 cat conftest.err >&5
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); } &&
26716 - { ac_try='test -z "$ac_c_werror_flag"
26717 - || test ! -s conftest.err'
26718 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26720 (eval $ac_try) 2>&5
26722 @@ -21802,8 +10275,7 @@
26723 cat conftest.err >&5
26724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725 (exit $ac_status); } &&
26726 - { ac_try='test -z "$ac_c_werror_flag"
26727 - || test ! -s conftest.err'
26728 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26730 (eval $ac_try) 2>&5
26732 @@ -21930,8 +10402,7 @@
26733 cat conftest.err >&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } &&
26736 - { ac_try='test -z "$ac_c_werror_flag"
26737 - || test ! -s conftest.err'
26738 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26740 (eval $ac_try) 2>&5
26742 @@ -22009,8 +10480,7 @@
26743 cat conftest.err >&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); } &&
26746 - { ac_try='test -z "$ac_c_werror_flag"
26747 - || test ! -s conftest.err'
26748 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26752 @@ -22051,8 +10521,7 @@
26753 cat conftest.err >&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); } &&
26756 - { ac_try='test -z "$ac_c_werror_flag"
26757 - || test ! -s conftest.err'
26758 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26760 (eval $ac_try) 2>&5
26762 @@ -22154,8 +10623,7 @@
26763 cat conftest.err >&5
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); } &&
26766 - { ac_try='test -z "$ac_c_werror_flag"
26767 - || test ! -s conftest.err'
26768 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26770 (eval $ac_try) 2>&5
26772 @@ -22232,8 +10700,7 @@
26773 cat conftest.err >&5
26774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); } &&
26776 - { ac_try='test -z "$ac_c_werror_flag"
26777 - || test ! -s conftest.err'
26778 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26780 (eval $ac_try) 2>&5
26782 @@ -22282,8 +10749,7 @@
26783 cat conftest.err >&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } &&
26786 - { ac_try='test -z "$ac_c_werror_flag"
26787 - || test ! -s conftest.err'
26788 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26790 (eval $ac_try) 2>&5
26792 @@ -22351,8 +10817,7 @@
26793 cat conftest.err >&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); } &&
26796 - { ac_try='test -z "$ac_c_werror_flag"
26797 - || test ! -s conftest.err'
26798 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26800 (eval $ac_try) 2>&5
26802 @@ -22513,8 +10978,7 @@
26803 cat conftest.err >&5
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); } &&
26806 - { ac_try='test -z "$ac_c_werror_flag"
26807 - || test ! -s conftest.err'
26808 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26810 (eval $ac_try) 2>&5
26812 @@ -22586,8 +11050,7 @@
26813 cat conftest.err >&5
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); } &&
26816 - { ac_try='test -z "$ac_c_werror_flag"
26817 - || test ! -s conftest.err'
26818 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26822 @@ -22639,8 +11102,7 @@
26823 cat conftest.err >&5
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); } &&
26826 - { ac_try='test -z "$ac_c_werror_flag"
26827 - || test ! -s conftest.err'
26828 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26830 (eval $ac_try) 2>&5
26832 @@ -22792,8 +11254,7 @@
26833 cat conftest.err >&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); } &&
26836 - { ac_try='test -z "$ac_c_werror_flag"
26837 - || test ! -s conftest.err'
26838 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840 (eval $ac_try) 2>&5
26842 @@ -22866,8 +11327,7 @@
26843 cat conftest.err >&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } &&
26846 - { ac_try='test -z "$ac_c_werror_flag"
26847 - || test ! -s conftest.err'
26848 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26850 (eval $ac_try) 2>&5
26852 @@ -22917,8 +11377,7 @@
26853 cat conftest.err >&5
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); } &&
26856 - { ac_try='test -z "$ac_c_werror_flag"
26857 - || test ! -s conftest.err'
26858 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26860 (eval $ac_try) 2>&5
26862 @@ -22969,8 +11428,7 @@
26863 cat conftest.err >&5
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); } &&
26866 - { ac_try='test -z "$ac_c_werror_flag"
26867 - || test ! -s conftest.err'
26868 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26870 (eval $ac_try) 2>&5
26872 @@ -23118,8 +11576,7 @@
26873 cat conftest.err >&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); } &&
26876 - { ac_try='test -z "$ac_c_werror_flag"
26877 - || test ! -s conftest.err'
26878 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880 (eval $ac_try) 2>&5
26882 @@ -23299,8 +11756,7 @@
26883 cat conftest.err >&5
26884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885 (exit $ac_status); } &&
26886 - { ac_try='test -z "$ac_c_werror_flag"
26887 - || test ! -s conftest.err'
26888 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26890 (eval $ac_try) 2>&5
26892 @@ -23371,8 +11827,7 @@
26893 cat conftest.err >&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } &&
26896 - { ac_try='test -z "$ac_c_werror_flag"
26897 - || test ! -s conftest.err'
26898 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26900 (eval $ac_try) 2>&5
26902 @@ -23448,8 +11903,7 @@
26903 cat conftest.err >&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); } &&
26906 - { ac_try='test -z "$ac_c_werror_flag"
26907 - || test ! -s conftest.err'
26908 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26912 @@ -23654,7 +12108,11 @@
26916 -if test "x$curl_prefix" != "x" -a "x$curl_prefix" != "xyes"; then
26919 +if test "x$curl_prefix" == "xno"; then
26921 +elif test "x$curl_prefix" != "x" -a "x$curl_prefix" != "xyes"; then
26922 CURL_LIBS="-L$curl_prefix/lib -lcurl"
26923 CURL_CFLAGS="-I$curl_prefix/include"
26924 elif test "x$CURL_CONFIG" != "x"; then
26925 @@ -23675,8 +12133,8 @@
26926 CURL_CFLAGS="-I$curl_prefix/include"
26931 +if test "$curl_ok" = "yes"
26933 xt_curl_CPPFLAGS="$CPPFLAGS"
26934 xt_curl_LIBS="$LIBS"
26935 CPPFLAGS="$CPPFLAGS $CURL_CFLAGS"
26936 @@ -23715,8 +12173,7 @@
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } &&
26940 - { ac_try='test -z "$ac_c_werror_flag"
26941 - || test ! -s conftest.err'
26942 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26944 (eval $ac_try) 2>&5
26946 @@ -23835,16 +12292,7 @@
26948 echo "$as_me:$LINENO: checking for libcurl" >&5
26949 echo $ECHO_N "checking for libcurl... $ECHO_C" >&6
26950 -if test "$curl_ok" = "yes"
26952 - if test "$cross_compiling" = yes; then
26953 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26954 -See \`config.log' for more details." >&5
26955 -echo "$as_me: error: cannot run test program while cross compiling
26956 -See \`config.log' for more details." >&2;}
26957 - { (exit 1); exit 1; }; }
26959 - cat >conftest.$ac_ext <<_ACEOF
26960 +cat >conftest.$ac_ext <<_ACEOF
26963 cat confdefs.h >>conftest.$ac_ext
26964 @@ -23858,12 +12306,22 @@
26968 -rm -f conftest$ac_exeext
26969 +rm -f conftest.$ac_objext conftest$ac_exeext
26970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26971 - (eval $ac_link) 2>&5
26972 + (eval $ac_link) 2>conftest.er1
26974 + grep -v '^ *+' conftest.er1 >conftest.err
26975 + rm -f conftest.er1
26976 + cat conftest.err >&5
26977 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 + (exit $ac_status); } &&
26979 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26980 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26981 + (eval $ac_try) 2>&5
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26985 + (exit $ac_status); }; } &&
26986 + { ac_try='test -s conftest$ac_exeext'
26987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26988 (eval $ac_try) 2>&5
26990 @@ -23871,16 +12329,13 @@
26991 (exit $ac_status); }; }; then
26994 - echo "$as_me: program exited with status $ac_status" >&5
26995 -echo "$as_me: failed program was:" >&5
26996 + echo "$as_me: failed program was:" >&5
26997 sed 's/^/| /' conftest.$ac_ext >&5
26999 -( exit $ac_status )
27002 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27005 +rm -f conftest.err conftest.$ac_objext \
27006 + conftest$ac_exeext conftest.$ac_ext
27007 if test "$curl_ok" = "yes"; then
27008 echo "$as_me:$LINENO: result: yes" >&5
27009 echo "${ECHO_T}yes" >&6
27010 @@ -23924,8 +12379,7 @@
27011 cat conftest.err >&5
27012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27013 (exit $ac_status); } &&
27014 - { ac_try='test -z "$ac_c_werror_flag"
27015 - || test ! -s conftest.err'
27016 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27018 (eval $ac_try) 2>&5
27020 @@ -24003,6 +12457,7 @@
27022 CPPFLAGS="$xt_curl_CPPFLAGS"
27023 LIBS="$xt_curl_LIBS"
27026 # Check whether --enable-yp or --disable-yp was given.
27027 if test "${enable_yp+set}" = set; then
27028 @@ -24734,22 +13189,12 @@
27029 s,@host_cpu@,$host_cpu,;t t
27030 s,@host_vendor@,$host_vendor,;t t
27031 s,@host_os@,$host_os,;t t
27032 -s,@EGREP@,$EGREP,;t t
27033 s,@LN_S@,$LN_S,;t t
27034 s,@ECHO@,$ECHO,;t t
27036 -s,@ac_ct_AR@,$ac_ct_AR,;t t
27037 s,@RANLIB@,$RANLIB,;t t
27038 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
27041 -s,@CXXFLAGS@,$CXXFLAGS,;t t
27042 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
27043 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
27044 -s,@CXXCPP@,$CXXCPP,;t t
27046 -s,@FFLAGS@,$FFLAGS,;t t
27047 -s,@ac_ct_F77@,$ac_ct_F77,;t t
27048 +s,@EGREP@,$EGREP,;t t
27049 s,@LIBTOOL@,$LIBTOOL,;t t
27050 s,@XSLTCONFIG@,$XSLTCONFIG,;t t
27051 s,@FGREP@,$FGREP,;t t
27052 @@ -24953,11 +13398,6 @@
27053 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
27056 - if test x"$ac_file" != x-; then
27057 - { echo "$as_me:$LINENO: creating $ac_file" >&5
27058 -echo "$as_me: creating $ac_file" >&6;}
27061 # Let's still pretend it is `configure' which instantiates (i.e., don't
27062 # use $as_me), people would be surprised to read:
27063 # /* config.h. Generated by config.status. */
27064 @@ -24996,6 +13436,12 @@
27067 done` || { (exit 1); exit 1; }
27069 + if test x"$ac_file" != x-; then
27070 + { echo "$as_me:$LINENO: creating $ac_file" >&5
27071 +echo "$as_me: creating $ac_file" >&6;}
27075 cat >>$CONFIG_STATUS <<_ACEOF
27077 diff -ruN icecast-2.3.0-old/m4/xiph_curl.m4 icecast-2.3.0-new/m4/xiph_curl.m4
27078 --- icecast-2.3.0-old/m4/xiph_curl.m4 2005-08-19 04:02:00.000000000 +0200
27079 +++ icecast-2.3.0-new/m4/xiph_curl.m4 2005-10-02 12:34:19.000000000 +0200
27081 AC_HELP_STRING([--with-curl-config=curl-config],[Use curl-config to find libcurl]),
27082 CURL_CONFIG="$withval", [AC_PATH_PROGS(CURL_CONFIG, [curl-config], "")])
27084 -if test "x$curl_prefix" != "x" -a "x$curl_prefix" != "xyes"; then
27087 +if test "x$curl_prefix" == "xno"; then
27089 +elif test "x$curl_prefix" != "x" -a "x$curl_prefix" != "xyes"; then
27090 CURL_LIBS="-L$curl_prefix/lib -lcurl"
27091 CURL_CFLAGS="-I$curl_prefix/include"
27092 elif test "x$CURL_CONFIG" != "x"; then
27094 CURL_CFLAGS="-I$curl_prefix/include"
27099 +if test "$curl_ok" = "yes"
27101 xt_curl_CPPFLAGS="$CPPFLAGS"
27102 xt_curl_LIBS="$LIBS"
27103 CPPFLAGS="$CPPFLAGS $CURL_CFLAGS"
27104 @@ -44,16 +48,13 @@
27106 AC_CHECK_HEADERS([curl/curl.h],, curl_ok="no")
27107 AC_MSG_CHECKING(for libcurl)
27108 -if test "$curl_ok" = "yes"
27110 - AC_RUN_IFELSE(AC_LANG_SOURCE([
27111 +AC_LINK_IFELSE(AC_LANG_SOURCE([
27112 #include <curl/curl.h>
27117 ]),,[curl_ok="no"])
27119 if test "$curl_ok" = "yes"; then
27121 AC_DEFINE(HAVE_CURL, 1, [Define if you have libcurl.])
27124 CPPFLAGS="$xt_curl_CPPFLAGS"
27125 LIBS="$xt_curl_LIBS"