1 Index: lesstif2-0.95.0/aclocal.m4
2 ===================================================================
3 --- lesstif2-0.95.0.orig/aclocal.m4 2006-06-10 11:35:23.000000000 +0200
4 +++ lesstif2-0.95.0/aclocal.m4 2006-07-11 11:11:59.000000000 +0200
6 -# generated automatically by aclocal 1.9.4 -*- Autoconf -*-
7 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
9 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
10 -# Free Software Foundation, Inc.
11 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
12 +# 2005 Free Software Foundation, Inc.
13 # This file is free software; the Free Software Foundation
14 # gives unlimited permission to copy and/or distribute it,
15 # with or without modifications, as long as this notice is preserved.
18 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
20 -# serial 47 AC_PROG_LIBTOOL
21 +# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
24 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
29 -# All known linkers require a `.a' archive for static linking (except M$VC,
30 +# All known linkers require a `.a' archive for static linking (except MSVC,
31 # which needs '.lib').
33 ltmain="$ac_aux_dir/ltmain.sh"
35 test -z "$AS" && AS=as
36 test -z "$CC" && CC=cc
37 test -z "$LTCC" && LTCC=$CC
38 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
39 test -z "$DLLTOOL" && DLLTOOL=dlltool
40 test -z "$LD" && LD=ld
41 test -z "$LN_S" && LN_S="ln -s"
43 if test -n "$RANLIB"; then
46 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
47 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
50 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
51 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
54 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
56 # If no C compiler was specified, use CC.
59 +# If no C compiler flags were specified, use CFLAGS.
60 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
62 # Allow CC to be a program name with arguments.
64 ])# _LT_AC_SYS_COMPILER
66 AC_DEFUN([_LT_COMPILER_BOILERPLATE],
67 [ac_outfile=conftest.$ac_objext
68 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
69 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
70 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
71 _lt_compiler_boilerplate=`cat conftest.err`
73 ])# _LT_COMPILER_BOILERPLATE
75 AC_DEFUN([_LT_LINKER_BOILERPLATE],
76 [ac_outfile=conftest.$ac_objext
77 printf "$lt_simple_link_test_code" >conftest.$ac_ext
78 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
79 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
80 _lt_linker_boilerplate=`cat conftest.err`
82 ])# _LT_LINKER_BOILERPLATE
84 # find a string as large as possible, as long as the shell can cope with it
85 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
86 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
87 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
88 - echo_test_string="`eval $cmd`" &&
89 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
90 + echo_test_string=`eval $cmd` &&
91 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
95 # Find out which ABI we are using.
96 echo 'int i;' > conftest.$ac_ext
97 if AC_TRY_EVAL(ac_compile); then
98 - case "`/usr/bin/file conftest.o`" in
99 + case `/usr/bin/file conftest.o` in
104 CFLAGS="$SAVE_CFLAGS"
108 + # Find out which ABI we are using.
109 + echo 'int i;' > conftest.$ac_ext
110 + if AC_TRY_EVAL(ac_compile); then
111 + case `/usr/bin/file conftest.o` in
113 + case $lt_cv_prog_gnu_ld in
114 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
115 + *) LD="${LD-ld} -64" ;;
123 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
124 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
125 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
127 # with a dollar sign (not a hyphen), so the echo should work correctly.
128 # The option is referenced via a variable to avoid confusing sed.
129 lt_compile=`echo "$ac_compile" | $SED \
130 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
131 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
132 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
133 -e 's:$: $lt_compiler_flag:'`
134 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
136 if (exit $ac_status) && test -s "$ac_outfile"; then
137 # The compiler can only warn and ignore the option if not recognized
138 # So say no if there are warnings other than the usual output.
139 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
140 - $SED '/^$/d' conftest.err >conftest.er2
141 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
142 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
143 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
144 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
148 @@ -650,13 +670,13 @@
149 LDFLAGS="$LDFLAGS $3"
150 printf "$lt_simple_link_test_code" > conftest.$ac_ext
151 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
152 - # The compiler can only warn and ignore the option if not recognized
153 + # The linker can only warn and ignore the option if not recognized
154 # So say no if there are warnings
155 if test -s conftest.err; then
156 # Append any errors to the config.log.
157 cat conftest.err 1>&AS_MESSAGE_LOG_FD
158 - $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
159 - $SED '/^$/d' conftest.err >conftest.er2
160 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
161 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
162 if diff conftest.exp conftest.er2 >/dev/null; then
165 @@ -725,25 +745,42 @@
166 elif test -x /usr/sbin/sysctl; then
167 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
169 - lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
170 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
172 # And add a safety zone
173 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
174 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
178 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
179 + lt_cv_sys_max_cmd_len=196608
183 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
184 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
185 # nice to cause kernel panics so lets avoid the loop below.
186 # First set a reasonable default.
187 lt_cv_sys_max_cmd_len=16384
190 if test -x /sbin/sysconfig; then
191 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
192 *1*) lt_cv_sys_max_cmd_len=-1 ;;
197 + lt_cv_sys_max_cmd_len=102400
199 + sysv5* | sco5v6* | sysv4.2uw2*)
200 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
201 + if test -n "$kargmax"; then
202 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
204 + lt_cv_sys_max_cmd_len=32768
208 # If test is not a shell built-in, we'll probably end up computing a
209 # maximum length that is only half of the actual maximum length, but
214 -# --------------------
215 +# ------------------
216 AC_DEFUN([_LT_AC_CHECK_DLFCN],
217 [AC_CHECK_HEADERS(dlfcn.h)dnl
218 ])# _LT_AC_CHECK_DLFCN
221 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
222 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
223 -# ------------------------------------------------------------------
224 +# ---------------------------------------------------------------------
225 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
226 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
227 if test "$cross_compiling" = yes; then :
228 @@ -849,17 +886,19 @@
229 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
230 /* dlclose (self); */
238 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
239 - (./conftest; exit; ) 2>/dev/null
240 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
243 x$lt_dlno_uscore) $1 ;;
244 x$lt_dlneed_uscore) $2 ;;
245 - x$lt_unknown|x*) $3 ;;
246 + x$lt_dlunknown|x*) $3 ;;
253 # AC_LIBTOOL_DLOPEN_SELF
254 -# -------------------
255 +# ----------------------
256 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
257 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
258 if test "x$enable_dlopen" != xyes; then
260 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
262 save_LDFLAGS="$LDFLAGS"
263 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
264 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
267 LIBS="$lt_cv_dlopen_libs $LIBS"
271 if test "x$lt_cv_dlopen_self" = xyes; then
272 - LDFLAGS="$LDFLAGS $link_static_flag"
273 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
274 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
275 lt_cv_dlopen_self_static, [dnl
276 _LT_AC_TRY_DLOPEN_SELF(
277 @@ -1003,7 +1042,7 @@
278 # Note that $ac_compile itself does not contain backslashes and begins
279 # with a dollar sign (not a hyphen), so the echo should work correctly.
280 lt_compile=`echo "$ac_compile" | $SED \
281 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
282 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
283 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
284 -e 's:$: $lt_compiler_flag:'`
285 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
286 @@ -1015,13 +1054,13 @@
288 # The compiler can only warn and ignore the option if not recognized
289 # So say no if there are warnings
290 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
291 - $SED '/^$/d' out/conftest.err >out/conftest.er2
292 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
293 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
294 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
295 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
296 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
300 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
302 # SGI C++ compiler will create directory out/ii_files/ for
303 # template instantiation
304 @@ -1281,7 +1320,8 @@
305 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
306 dldir=$destdir/`dirname \$dlpath`~
307 test -d \$dldir || mkdir -p \$dldir~
308 - $install_prog $dir/$dlname \$dldir/$dlname'
309 + $install_prog $dir/$dlname \$dldir/$dlname~
310 + chmod a+x \$dldir/$dlname'
311 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
314 @@ -1334,7 +1374,7 @@
315 soname_spec='${libname}${release}${major}$shared_ext'
316 shlibpath_overrides_runpath=yes
317 shlibpath_var=DYLD_LIBRARY_PATH
318 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
319 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
320 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
321 if test "$GCC" = yes; then
322 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"`
323 @@ -1357,22 +1397,17 @@
331 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
332 - soname_spec='${libname}${release}${shared_ext}$major'
333 - shlibpath_var=LD_LIBRARY_PATH
334 - shlibpath_overrides_runpath=no
335 - hardcode_into_libs=yes
336 - dynamic_linker='GNU ld.so'
339 freebsd* | dragonfly*)
340 # DragonFly does not have aout. When/if they implement a new
341 # versioning mechanism, adjust this.
342 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
343 + if test -x /usr/bin/objformat; then
344 + objformat=`/usr/bin/objformat`
347 + freebsd[[123]]*) objformat=aout ;;
348 + *) objformat=elf ;;
351 version_type=freebsd-$objformat
352 case $version_type in
354 @@ -1394,10 +1429,15 @@
355 shlibpath_overrides_runpath=yes
356 hardcode_into_libs=yes
359 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
360 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
361 shlibpath_overrides_runpath=no
362 hardcode_into_libs=yes
364 + freebsd*) # from 4.6 on
365 + shlibpath_overrides_runpath=yes
366 + hardcode_into_libs=yes
371 @@ -1417,7 +1457,7 @@
375 - case "$host_cpu" in
379 hardcode_into_libs=yes
380 @@ -1457,6 +1497,18 @@
381 postinstall_cmds='chmod 555 $lib'
388 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
389 + soname_spec='${libname}${release}${shared_ext}$major'
390 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
391 + shlibpath_var=LD_LIBRARY_PATH
392 + shlibpath_overrides_runpath=no
393 + hardcode_into_libs=yes
396 irix5* | irix6* | nonstopux*)
398 nonstopux*) version_type=nonstopux ;;
399 @@ -1500,7 +1552,7 @@
402 # This must be Linux ELF.
404 +linux* | k*bsd*-gnu)
408 @@ -1514,27 +1566,10 @@
409 # before this can be enabled.
410 hardcode_into_libs=yes
412 - # find out which ABI we are using
414 - case "$host_cpu" in
415 - x86_64*|s390x*|powerpc64*)
416 - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
417 - if AC_TRY_EVAL(ac_compile); then
418 - case `/usr/bin/file conftest.$ac_objext` in
421 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
429 # Append ld.so.conf contents to the search path
430 if test -f /etc/ld.so.conf; then
431 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' ' '`
432 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
433 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
436 # We used to test for /lib/ld.so.1 and disable shared libraries on
437 @@ -1546,7 +1581,7 @@
438 dynamic_linker='GNU/Linux ld.so'
446 @@ -1555,7 +1590,7 @@
447 shlibpath_var=LD_LIBRARY_PATH
448 shlibpath_overrides_runpath=no
449 hardcode_into_libs=yes
450 - dynamic_linker='GNU ld.so'
451 + dynamic_linker='NetBSD ld.elf_so'
455 @@ -1595,6 +1630,7 @@
459 + sys_lib_dlsearch_path_spec="/usr/lib"
461 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
463 @@ -1638,13 +1674,6 @@
464 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
469 - soname_spec='${libname}${release}${shared_ext}$major'
470 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
471 - shlibpath_var=LD_LIBRARY_PATH
477 @@ -1670,7 +1699,7 @@
481 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
485 soname_spec='${libname}${release}${shared_ext}$major'
486 @@ -1703,6 +1732,29 @@
490 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
491 + version_type=freebsd-elf
494 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
495 + soname_spec='${libname}${release}${shared_ext}$major'
496 + shlibpath_var=LD_LIBRARY_PATH
497 + hardcode_into_libs=yes
498 + if test "$with_gnu_ld" = yes; then
499 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
500 + shlibpath_overrides_runpath=no
502 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
503 + shlibpath_overrides_runpath=yes
506 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
510 + sys_lib_dlsearch_path_spec='/usr/lib'
515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
516 @@ -1716,6 +1768,11 @@
518 AC_MSG_RESULT([$dynamic_linker])
519 test "$dynamic_linker" = no && can_build_shared=no
521 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
522 +if test "$GCC" = yes; then
523 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
525 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
528 @@ -1740,6 +1797,9 @@
529 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
532 + if test -z "$LTCFLAGS"; then
533 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
536 # Extract list of available tagged configurations in $ofile.
537 # Note that this assumes the entire list is on one line.
538 @@ -1830,7 +1890,7 @@
540 # AC_LIBTOOL_WIN32_DLL
541 # --------------------
542 -# declare package support for building win32 dll's
543 +# declare package support for building win32 DLLs
544 AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
545 [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
546 ])# AC_LIBTOOL_WIN32_DLL
547 @@ -1868,7 +1928,7 @@
551 -#- set the default shared flag to --disable-shared
552 +# set the default shared flag to --disable-shared
553 AC_DEFUN([AC_DISABLE_SHARED],
554 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
556 @@ -2004,7 +2064,7 @@
557 if test -n "$file_magic_test_file"; then
558 case $deplibs_check_method in
560 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
561 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
562 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
563 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
564 $EGREP "$file_magic_regex" > /dev/null; then
565 @@ -2114,7 +2174,7 @@
566 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
567 lt_cv_path_LD="$ac_dir/$ac_prog"
568 # Check to see if the program is GNU ld. I'd rather use --version,
569 - # but apparently some GNU ld's only accept -v.
570 + # but apparently some variants of GNU ld only accept -v.
571 # Break only if it was the GNU/non-GNU ld that we prefer.
572 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
573 *GNU* | *'with BFD'*)
574 @@ -2146,7 +2206,7 @@
575 AC_DEFUN([AC_PROG_LD_GNU],
576 [AC_REQUIRE([AC_PROG_EGREP])dnl
577 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
578 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
579 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
580 case `$LD -v 2>&1 </dev/null` in
581 *GNU* | *'with BFD'*)
582 lt_cv_prog_gnu_ld=yes
583 @@ -2176,7 +2236,7 @@
586 if test "$GCC" = yes; then
587 - reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
588 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
590 reload_cmds='$LD$reload_flag -o $output$reload_objs'
592 @@ -2238,7 +2298,7 @@
593 lt_cv_deplibs_check_method=pass_all
596 -freebsd* | kfreebsd*-gnu | dragonfly*)
597 +freebsd* | dragonfly*)
598 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
601 @@ -2260,7 +2320,7 @@
603 hpux10.20* | hpux11*)
604 lt_cv_file_magic_cmd=/usr/bin/file
605 - case "$host_cpu" in
608 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
609 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
610 @@ -2276,6 +2336,11 @@
615 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
616 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
619 irix5* | irix6* | nonstopux*)
621 *-32|*"-32 ") libmagic=32-bit;;
622 @@ -2287,11 +2352,11 @@
625 # This must be Linux ELF.
627 +linux* | k*bsd*-gnu)
628 lt_cv_deplibs_check_method=pass_all
632 +netbsd* | netbsdelf*-gnu)
633 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
634 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
636 @@ -2321,15 +2386,11 @@
637 lt_cv_deplibs_check_method=pass_all
641 - lt_cv_deplibs_check_method=pass_all
645 lt_cv_deplibs_check_method=pass_all
648 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
652 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]]'
653 @@ -2350,10 +2411,13 @@
655 lt_cv_deplibs_check_method=pass_all
658 + lt_cv_deplibs_check_method=pass_all
663 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
664 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
665 lt_cv_deplibs_check_method=pass_all
668 @@ -2373,36 +2437,43 @@
669 # Let the user override the test.
672 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
673 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
675 - test -z "$ac_dir" && ac_dir=.
676 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
677 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
678 - # Check to see if the nm accepts a BSD-compat flag.
679 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
680 - # nm: unknown option "B" ignored
681 - # Tru64's nm complains that /dev/null is an invalid object file
682 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
683 - */dev/null* | *'Invalid file or object type'*)
684 - lt_cv_path_NM="$tmp_nm -B"
688 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
690 - lt_cv_path_NM="$tmp_nm -p"
691 + lt_nm_to_check="${ac_tool_prefix}nm"
692 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
693 + lt_nm_to_check="$lt_nm_to_check nm"
695 + for lt_tmp_nm in $lt_nm_to_check; do
696 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
697 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
699 + test -z "$ac_dir" && ac_dir=.
700 + tmp_nm="$ac_dir/$lt_tmp_nm"
701 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
702 + # Check to see if the nm accepts a BSD-compat flag.
703 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
704 + # nm: unknown option "B" ignored
705 + # Tru64's nm complains that /dev/null is an invalid object file
706 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
707 + */dev/null* | *'Invalid file or object type'*)
708 + lt_cv_path_NM="$tmp_nm -B"
712 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
713 - continue # so that we can try to find one that supports BSD flags
714 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
716 + lt_cv_path_NM="$tmp_nm -p"
720 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
721 + continue # so that we can try to find one that supports BSD flags
733 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
736 @@ -2434,13 +2505,13 @@
737 # -----------------------------------
738 # sets LIBLTDL to the link flags for the libltdl convenience library and
739 # LTDLINCL to the include flags for the libltdl header and adds
740 -# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
741 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
742 -# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
743 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
744 -# '${top_srcdir}/' (note the single quotes!). If your package is not
745 -# flat and you're not using automake, define top_builddir and
746 -# top_srcdir appropriately in the Makefiles.
747 +# --enable-ltdl-convenience to the configure arguments. Note that
748 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
749 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
750 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
751 +# (note the single quotes!). If your package is not flat and you're not
752 +# using automake, define top_builddir and top_srcdir appropriately in
754 AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
755 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
756 case $enable_ltdl_convenience in
757 @@ -2459,13 +2530,13 @@
758 # -----------------------------------
759 # sets LIBLTDL to the link flags for the libltdl installable library and
760 # LTDLINCL to the include flags for the libltdl header and adds
761 -# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
762 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
763 -# DIRECTORY is not provided and an installed libltdl is not found, it is
764 -# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
765 -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
766 -# quotes!). If your package is not flat and you're not using automake,
767 -# define top_builddir and top_srcdir appropriately in the Makefiles.
768 +# --enable-ltdl-install to the configure arguments. Note that
769 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
770 +# and an installed libltdl is not found, it is assumed to be `libltdl'.
771 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
772 +# '${top_srcdir}/' (note the single quotes!). If your package is not
773 +# flat and you're not using automake, define top_builddir and top_srcdir
774 +# appropriately in the Makefiles.
775 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
776 AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
777 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
778 @@ -2508,7 +2579,7 @@
783 +# ------------------
784 AC_DEFUN([_LT_AC_PROG_CXXCPP],
786 AC_REQUIRE([AC_PROG_CXX])
787 @@ -2557,7 +2628,7 @@
793 # enable support for Windows resource files
794 AC_DEFUN([AC_LIBTOOL_RC],
795 [AC_REQUIRE([LT_AC_PROG_RC])
796 @@ -2594,37 +2665,6 @@
797 _LT_COMPILER_BOILERPLATE
798 _LT_LINKER_BOILERPLATE
801 -# Check for any special shared library compilation flags.
803 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
804 -if test "$GCC" = no; then
807 - _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
811 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
812 - AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
813 - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
815 - AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
816 - _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
822 -# Check to make sure the static flag actually works.
824 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
825 - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
826 - $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
828 - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
831 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
832 AC_LIBTOOL_PROG_COMPILER_PIC($1)
833 AC_LIBTOOL_PROG_CC_C_O($1)
834 @@ -2633,9 +2673,9 @@
835 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
836 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
837 AC_LIBTOOL_SYS_LIB_STRIP
838 -AC_LIBTOOL_DLOPEN_SELF($1)
839 +AC_LIBTOOL_DLOPEN_SELF
841 -# Report which librarie types wil actually be built
842 +# Report which library types will actually be built
843 AC_MSG_CHECKING([if libtool supports shared libraries])
844 AC_MSG_RESULT([$can_build_shared])
846 @@ -2644,7 +2684,7 @@
848 # On AIX, shared libraries and static libraries use the same namespace, and
849 # are all built from PIC.
853 test "$enable_shared" = yes && enable_static=no
854 if test -n "$RANLIB"; then
855 @@ -2694,6 +2734,7 @@
856 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
857 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
858 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
859 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
860 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
861 _LT_AC_TAGVAR(module_cmds, $1)=
862 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
863 @@ -2711,7 +2752,7 @@
864 _LT_AC_TAGVAR(compiler_lib_search_path, $1)=
866 # Source file extension for C++ test sources.
870 # Object file extension for compiled C++ test sources.
872 @@ -2721,7 +2762,7 @@
873 lt_simple_compile_test_code="int some_variable = 0;\n"
875 # Code to be used in simple link tests
876 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
877 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
879 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
881 @@ -2740,12 +2781,12 @@
882 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
883 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
885 - unset lt_cv_prog_gnu_ld
886 + $as_unset lt_cv_prog_gnu_ld
888 if test -n "${lt_cv_path_LDCXX+set}"; then
889 lt_cv_path_LD=$lt_cv_path_LDCXX
891 - unset lt_cv_path_LD
892 + $as_unset lt_cv_path_LD
894 test -z "${LDCXX+set}" || LD=$LDCXX
896 @@ -2840,6 +2881,7 @@
903 exp_sym_flag='-bexport'
904 @@ -2877,6 +2919,7 @@
905 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
906 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
910 shared_flag='-shared'
911 if test "$aix_use_runtimelinking" = yes; then
912 @@ -2908,12 +2951,12 @@
913 _LT_AC_SYS_LIBPATH_AIX
914 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
916 - _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"
917 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
919 if test "$host_cpu" = ia64; then
920 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
921 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
922 - _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"
923 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
925 # Determine the default libpath from the value encoded in an empty executable.
926 _LT_AC_SYS_LIBPATH_AIX
927 @@ -2922,16 +2965,26 @@
928 # -berok will link without error, but may produce a broken library.
929 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
930 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
931 - # -bexpall does not export symbols beginning with underscore (_)
932 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
933 # Exported symbols can be pulled into shared objects from archives
934 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
935 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
936 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
937 - # This is similar to how AIX traditionally builds it's shared libraries.
938 - _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'
939 + # This is similar to how AIX traditionally builds its shared libraries.
940 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
946 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
947 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
948 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
949 + # support --undefined. This deserves some investigation. FIXME
950 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
952 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
959 @@ -2941,7 +2994,6 @@
964 cygwin* | mingw* | pw32*)
965 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
966 # as there is no search path for DLLs.
967 @@ -2951,7 +3003,7 @@
968 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
970 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
971 - _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'
972 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
973 # If the export-symbols file already is a .def file (1st line
974 # is EXPORTS), use it as is; otherwise, prepend...
975 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
976 @@ -2960,13 +3012,13 @@
977 echo EXPORTS > $output_objdir/$soname.def;
978 cat $export_symbols >> $output_objdir/$soname.def;
980 - $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'
981 + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
983 _LT_AC_TAGVAR(ld_shlibs, $1)=no
989 rhapsody* | darwin1.[[012]])
990 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
992 @@ -3004,7 +3056,7 @@
993 _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'
995 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
996 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
997 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
998 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
999 _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}'
1001 @@ -3017,7 +3069,7 @@
1002 output_verbose_link_cmd='echo'
1003 _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'
1004 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1005 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1006 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1007 _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}'
1008 _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}'
1010 @@ -3052,7 +3104,7 @@
1012 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1014 - freebsd* | kfreebsd*-gnu | dragonfly*)
1015 + freebsd* | dragonfly*)
1016 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1018 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
1019 @@ -3097,33 +3149,22 @@
1022 if test $with_gnu_ld = no; then
1023 - case "$host_cpu" in
1025 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1026 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1027 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1031 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
1032 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1035 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1038 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1039 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1040 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1044 - case "$host_cpu" in
1046 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
1047 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1052 _LT_AC_TAGVAR(hardcode_direct, $1)=no
1053 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1054 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
1055 - # but as the default
1056 - # location of the library.
1059 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1060 @@ -3139,9 +3180,12 @@
1061 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1064 - case "$host_cpu" in
1066 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1069 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1072 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1075 _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'
1076 @@ -3160,9 +3204,12 @@
1078 if test "$GXX" = yes; then
1079 if test $with_gnu_ld = no; then
1080 - case "$host_cpu" in
1082 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1085 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1088 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1091 _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'
1092 @@ -3176,6 +3223,20 @@
1097 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
1098 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1099 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
1100 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1101 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
1102 + # Instead, shared libraries are loaded at an image base (0x10000000 by
1103 + # default) and relocated if they conflict, which is a slow very memory
1104 + # consuming and fragmenting process. To avoid this, we pick a random,
1105 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
1106 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
1107 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
1108 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
1111 case $cc_basename in
1113 @@ -3202,7 +3263,7 @@
1114 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
1115 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1118 + linux* | k*bsd*-gnu)
1119 case $cc_basename in
1121 # Kuck and Associates, Inc. (KAI) C++ Compiler
1122 @@ -3261,7 +3322,7 @@
1124 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
1125 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
1126 - _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'
1127 + _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'
1131 @@ -3304,7 +3365,7 @@
1136 + netbsd* | netbsdelf*-gnu)
1137 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1138 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
1140 @@ -3458,19 +3519,6 @@
1141 # FIXME: insert proper C++ library support
1142 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1145 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1146 - case $cc_basename in
1148 - # FIXME: insert proper C++ library support
1149 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
1152 - # FIXME: insert proper C++ library support
1153 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
1158 case $cc_basename in
1160 @@ -3493,10 +3541,11 @@
1161 case $cc_basename in
1163 # Sun C++ 4.2, 5.x and Centerline C++
1164 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
1165 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
1166 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1167 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1168 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1169 - $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
1170 + $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'
1172 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
1173 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1174 @@ -3516,15 +3565,7 @@
1176 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1178 - # Commands to make compiler produce verbose output that lists
1179 - # what "hidden" libraries, object files and flags are used when
1180 - # linking a shared library.
1182 - # There doesn't appear to be a way to prevent this compiler from
1183 - # explicitly linking system object files so we need to strip them
1184 - # from the output so that they don't get included in the library
1186 - output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
1187 + output_verbose_link_cmd='echo'
1189 # Archives containing C++ object files must be created using
1190 # "CC -xar", where "CC" is the Sun C++ compiler. This is
1191 @@ -3570,8 +3611,59 @@
1195 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
1196 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
1197 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
1198 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1199 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1200 + runpath_var='LD_RUN_PATH'
1202 + case $cc_basename in
1204 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1205 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1208 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1209 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1213 + sysv5* | sco3.2v5* | sco5v6*)
1214 + # Note: We can NOT use -z defs as we might desire, because we do not
1215 + # link with -lc, and that would cause any symbols used from libc to
1216 + # always be unresolved, which means just about no library would
1217 + # ever link correctly. If we're not using GNU ld we use -z text
1218 + # though, which does catch some bad symbols but isn't as heavy-handed
1220 + # For security reasons, it is highly recommended that you always
1221 + # use absolute paths for naming shared libraries, and exclude the
1222 + # DT_RUNPATH tag from executables and libraries. But doing so
1223 + # requires that you compile everything twice, which is a pain.
1224 + # So that behaviour is only enabled if SCOABSPATH is set to a
1225 + # non-empty value in the environment. Most likely only useful for
1226 + # creating official distributions of packages.
1227 + # This is a hack until libtool officially supports absolute path
1228 + # names for shared libraries.
1229 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
1230 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
1231 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1232 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1233 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
1234 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
1235 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1236 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
1237 + runpath_var='LD_RUN_PATH'
1239 + case $cc_basename in
1241 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
1242 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
1245 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
1246 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
1251 case $cc_basename in
1252 @@ -3608,8 +3700,6 @@
1253 AC_LIBTOOL_PROG_LD_SHLIBS($1)
1254 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1255 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1256 -AC_LIBTOOL_SYS_LIB_STRIP
1257 -AC_LIBTOOL_DLOPEN_SELF($1)
1259 AC_LIBTOOL_CONFIG($1)
1261 @@ -3627,7 +3717,7 @@
1262 ])# AC_LIBTOOL_LANG_CXX_CONFIG
1264 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
1265 -# ------------------------
1266 +# ------------------------------------
1267 # Figure out "hidden" library dependencies from verbose
1268 # compiler output when linking a shared library.
1269 # Parse the compiler output and extract the necessary
1270 @@ -3681,7 +3771,7 @@
1271 # The `*' in the case matches for architectures that use `case' in
1272 # $output_verbose_cmd can trigger glob expansion during the loop
1273 # eval without this substitution.
1274 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
1275 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
1277 for p in `eval $output_verbose_link_cmd`; do
1279 @@ -3757,13 +3847,37 @@
1281 $rm -f confest.$objext
1283 +# PORTME: override above test on systems where it is broken
1287 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
1288 + # hack all around it, let's just trust "g++" to DTRT.
1289 + _LT_AC_TAGVAR(predep_objects,$1)=
1290 + _LT_AC_TAGVAR(postdep_objects,$1)=
1291 + _LT_AC_TAGVAR(postdeps,$1)=
1295 + case $cc_basename in
1297 + # Adding this requires a known-good setup of shared libraries for
1298 + # Sun compiler versions before 5.6, else PIC objects from an old
1299 + # archive will be linked into the output, leading to subtle bugs.
1300 + _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
1307 case " $_LT_AC_TAGVAR(postdeps, $1) " in
1308 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
1310 ])# AC_LIBTOOL_POSTDEP_PREDEP
1312 # AC_LIBTOOL_LANG_F77_CONFIG
1313 -# ------------------------
1314 +# --------------------------
1315 # Ensure that the configuration vars for the C compiler are
1316 # suitably defined. Those variables are subsequently used by
1317 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
1318 @@ -3826,7 +3940,7 @@
1320 # On AIX, shared libraries and static libraries use the same namespace, and
1321 # are all built from PIC.
1325 test "$enable_shared" = yes && enable_static=no
1326 if test -n "$RANLIB"; then
1327 @@ -3847,8 +3961,6 @@
1328 test "$enable_shared" = yes || enable_static=yes
1329 AC_MSG_RESULT([$enable_static])
1331 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
1333 _LT_AC_TAGVAR(GCC, $1)="$G77"
1334 _LT_AC_TAGVAR(LD, $1)="$LD"
1336 @@ -3858,8 +3970,6 @@
1337 AC_LIBTOOL_PROG_LD_SHLIBS($1)
1338 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1339 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1340 -AC_LIBTOOL_SYS_LIB_STRIP
1343 AC_LIBTOOL_CONFIG($1)
1345 @@ -3916,8 +4026,6 @@
1346 AC_LIBTOOL_PROG_LD_SHLIBS($1)
1347 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1348 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1349 -AC_LIBTOOL_SYS_LIB_STRIP
1350 -AC_LIBTOOL_DLOPEN_SELF($1)
1352 AC_LIBTOOL_CONFIG($1)
1354 @@ -3927,7 +4035,7 @@
1357 # AC_LIBTOOL_LANG_RC_CONFIG
1358 -# --------------------------
1359 +# -------------------------
1360 # Ensure that the configuration vars for the Windows resource compiler are
1361 # suitably defined. Those variables are subsequently used by
1362 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
1363 @@ -3990,7 +4098,7 @@
1364 # Now quote all the things that may contain metacharacters while being
1365 # careful not to overquote the AC_SUBSTed values. We take copies of the
1366 # variables and quote the copies for generation of the libtool script.
1367 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1368 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
1370 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1371 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1372 @@ -4159,6 +4267,9 @@
1376 +# LTCC compiler flags.
1377 +LTCFLAGS=$lt_LTCFLAGS
1379 # A language-specific compiler.
1380 CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
1382 @@ -4519,7 +4630,7 @@
1383 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1384 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'"
1387 +linux* | k*bsd*-gnu)
1388 if test "$host_cpu" = ia64; then
1389 symcode='[[ABCDGIRSTW]]'
1390 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1391 @@ -4532,9 +4643,18 @@
1393 symcode='[[BCDEGQRST]]'
1405 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
1406 + symcode='[[ABDT]]'
1409 symcode='[[DFNSTU]]'
1411 @@ -4717,6 +4837,10 @@
1412 # DJGPP does not support shared libraries at all
1413 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
1416 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
1417 + # Instead, we relocate shared libraries at runtime.
1420 if test -d /usr/nec; then
1421 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
1422 @@ -4725,7 +4849,7 @@
1424 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1426 - case "$host_cpu" in
1431 @@ -4779,22 +4903,22 @@
1435 - freebsd* | kfreebsd*-gnu | dragonfly*)
1436 + freebsd* | dragonfly*)
1437 # FreeBSD uses GNU C++
1439 hpux9* | hpux10* | hpux11*)
1440 case $cc_basename in
1442 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1443 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1444 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
1445 if test "$host_cpu" != ia64; then
1446 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
1450 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1451 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1452 - case "$host_cpu" in
1453 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
1458 @@ -4807,6 +4931,10 @@
1463 + # This is c89, which is MS Visual C++ (no shared libs)
1464 + # Anyone wants to do a port?
1466 irix5* | irix6* | nonstopux*)
1467 case $cc_basename in
1469 @@ -4818,7 +4946,7 @@
1474 + linux* | k*bsd*-gnu)
1475 case $cc_basename in
1478 @@ -4835,7 +4963,7 @@
1479 # Portland Group C++ compiler.
1480 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1481 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
1482 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
1483 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1487 @@ -4861,7 +4989,7 @@
1492 + netbsd* | netbsdelf*-gnu)
1494 osf3* | osf4* | osf5*)
1495 case $cc_basename in
1496 @@ -4886,16 +5014,7 @@
1501 - case $cc_basename in
1503 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
1511 case $cc_basename in
1513 # Sun C++ 4.2, 5.x and Centerline C++
1514 @@ -4936,7 +5055,14 @@
1519 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
1520 + case $cc_basename in
1522 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1523 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1524 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1530 @@ -4983,6 +5109,11 @@
1531 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
1535 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
1536 + # Instead, we relocate shared libraries at runtime.
1540 # Just because we use GCC doesn't mean we suddenly get shared libraries
1541 # on systems that don't support them.
1542 @@ -4999,7 +5130,7 @@
1544 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1546 - case "$host_cpu" in
1551 @@ -5046,7 +5177,7 @@
1552 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1553 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1555 - case "$host_cpu" in
1560 @@ -5069,19 +5200,19 @@
1561 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1565 + linux* | k*bsd*-gnu)
1566 case $cc_basename in
1568 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1569 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1570 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
1572 - pgcc* | pgf77* | pgf90*)
1573 + pgcc* | pgf77* | pgf90* | pgf95*)
1574 # Portland Group compilers (*not* the Pentium gcc compiler,
1575 # which looks to be a dead project)
1576 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1577 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
1578 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
1579 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1582 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1583 @@ -5097,11 +5228,6 @@
1584 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
1588 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
1589 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
1593 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1594 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1595 @@ -5119,7 +5245,7 @@
1596 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1599 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1600 + sysv4 | sysv4.2uw2* | sysv4.3*)
1601 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1602 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1603 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1604 @@ -5132,6 +5258,12 @@
1608 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
1609 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1610 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1611 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1615 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1616 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
1617 @@ -5164,7 +5296,7 @@
1618 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
1619 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
1623 # For platforms which do not support PIC, -DPIC is meaningless:
1625 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
1626 @@ -5173,6 +5305,16 @@
1627 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
1632 +# Check to make sure the static flag actually works.
1634 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
1635 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
1636 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
1637 + $lt_tmp_static_flag,
1639 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
1643 @@ -5199,6 +5341,9 @@
1645 _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'
1647 + linux* | k*bsd*-gnu)
1648 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
1651 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1653 @@ -5251,6 +5396,10 @@
1658 + # we just hope/assume this is gcc and not c89 (= MSVC++)
1664 @@ -5260,7 +5409,7 @@
1665 if test "$with_gnu_ld" = yes; then
1666 # If archive_cmds runs LD, not CC, wlarc should be empty
1670 # Set some defaults for GNU ld with shared library support. These
1671 # are reset later if shared libraries are not supported. Putting them
1672 # here allows them to be overridden if necessary.
1673 @@ -5281,7 +5430,7 @@
1674 *\ 2.11.*) ;; # other 2.11 versions
1675 *) supports_anon_versioning=yes ;;
1679 # See if GNU ld supports shared libraries.
1681 aix3* | aix4* | aix5*)
1682 @@ -5335,7 +5484,7 @@
1683 _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'
1685 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1686 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1687 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1688 # If the export-symbols file already is a .def file (1st line
1689 # is EXPORTS), use it as is; otherwise, prepend...
1690 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1691 @@ -5344,22 +5493,37 @@
1692 echo EXPORTS > $output_objdir/$soname.def;
1693 cat $export_symbols >> $output_objdir/$soname.def;
1695 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1696 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1698 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1704 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
1705 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1706 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
1707 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1708 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
1709 + # Instead, shared libraries are loaded at an image base (0x10000000 by
1710 + # default) and relocated if they conflict, which is a slow very memory
1711 + # consuming and fragmenting process. To avoid this, we pick a random,
1712 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
1713 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
1714 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
1715 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
1718 + linux* | k*bsd*-gnu)
1719 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1721 case $cc_basename,$host_cpu in
1722 pgcc*) # Portland Group C compiler
1723 - _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'
1724 + _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'
1725 tmp_addflag=' $pic_flag'
1727 - pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
1728 - _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'
1729 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
1730 + _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'
1731 tmp_addflag=' $pic_flag -Mnomain' ;;
1732 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
1733 tmp_addflag=' -i_dynamic' ;;
1734 @@ -5376,12 +5540,13 @@
1735 $echo "local: *; };" >> $output_objdir/$libname.ver~
1736 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1738 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
1740 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1745 + netbsd* | netbsdelf*-gnu)
1746 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1747 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1749 @@ -5391,7 +5556,7 @@
1753 - solaris* | sysv5*)
1755 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1756 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1758 @@ -5412,6 +5577,33 @@
1762 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
1763 + case `$LD -v 2>&1` in
1764 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
1765 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
1766 + cat <<_LT_EOF 1>&2
1768 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
1769 +*** reliably create shared libraries on SCO systems. Therefore, libtool
1770 +*** is disabling shared libraries support. We urge you to upgrade GNU
1771 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
1772 +*** your PATH or compiler configuration so that the native linker is
1773 +*** used, and then restart.
1778 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1779 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
1780 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
1781 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
1783 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
1790 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1792 @@ -5445,7 +5637,7 @@
1793 # Note: this linker hardcodes the directories in LIBPATH if there
1794 # are no directories specified by -L.
1795 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
1796 - if test "$GCC" = yes && test -z "$link_static_flag"; then
1797 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
1798 # Neither direct hardcoding nor static linking is supported with a
1800 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
1801 @@ -5479,6 +5671,7 @@
1808 exp_sym_flag='-bexport'
1809 @@ -5516,6 +5709,7 @@
1810 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1811 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
1815 shared_flag='-shared'
1816 if test "$aix_use_runtimelinking" = yes; then
1817 @@ -5528,11 +5722,11 @@
1818 # chokes on -Wl,-G. The following line is correct:
1821 - if test "$aix_use_runtimelinking" = yes; then
1822 + if test "$aix_use_runtimelinking" = yes; then
1823 shared_flag='${wl}-G'
1825 shared_flag='${wl}-bM:SRE'
1831 @@ -5546,12 +5740,12 @@
1832 # Determine the default libpath from the value encoded in an empty executable.
1833 _LT_AC_SYS_LIBPATH_AIX
1834 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1835 - _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"
1836 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1838 if test "$host_cpu" = ia64; then
1839 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
1840 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
1841 - _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"
1842 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1844 # Determine the default libpath from the value encoded in an empty executable.
1845 _LT_AC_SYS_LIBPATH_AIX
1846 @@ -5560,13 +5754,11 @@
1847 # -berok will link without error, but may produce a broken library.
1848 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
1849 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
1850 - # -bexpall does not export symbols beginning with underscore (_)
1851 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
1852 # Exported symbols can be pulled into shared objects from archives
1853 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
1854 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
1855 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
1856 - # This is similar to how AIX traditionally builds it's shared libraries.
1857 - _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'
1858 + # This is similar to how AIX traditionally builds its shared libraries.
1859 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1863 @@ -5605,7 +5797,7 @@
1866 darwin* | rhapsody*)
1867 - case "$host_os" in
1869 rhapsody* | darwin1.[[012]])
1870 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
1872 @@ -5634,7 +5826,7 @@
1873 output_verbose_link_cmd='echo'
1874 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
1875 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1876 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1877 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1878 _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}'
1879 _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}'
1881 @@ -5643,7 +5835,7 @@
1882 output_verbose_link_cmd='echo'
1883 _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'
1884 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1885 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1886 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1887 _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}'
1888 _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}'
1890 @@ -5684,7 +5876,7 @@
1893 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1894 - freebsd* | kfreebsd*-gnu | dragonfly*)
1895 + freebsd* | dragonfly*)
1896 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1897 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
1898 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1899 @@ -5707,47 +5899,62 @@
1900 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1903 - hpux10* | hpux11*)
1905 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1906 - case "$host_cpu" in
1908 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1910 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1912 + if test "$with_gnu_ld" = no; then
1913 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1914 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1916 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1917 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1919 + # hardcode_minus_L: Not really in the search PATH,
1920 + # but as the default location of the library.
1921 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
1926 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
1929 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1932 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1935 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1939 - case "$host_cpu" in
1941 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
1944 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1947 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1950 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1951 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1955 if test "$with_gnu_ld" = no; then
1956 - case "$host_cpu" in
1958 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1959 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1960 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1964 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
1965 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1966 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
1967 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1970 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1971 _LT_AC_TAGVAR(hardcode_direct, $1)=no
1972 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1974 - # hardcode_minus_L: Not really in the search PATH,
1975 - # but as the default location of the library.
1976 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
1979 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1980 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1981 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1982 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1984 @@ -5771,7 +5978,7 @@
1985 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1989 + netbsd* | netbsdelf*-gnu)
1990 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1991 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1993 @@ -5849,14 +6056,6 @@
1994 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1998 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
1999 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2000 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
2001 - runpath_var=LD_RUN_PATH
2002 - hardcode_runpath_var=yes
2006 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
2007 if test "$GCC" = yes; then
2008 @@ -5942,36 +6141,45 @@
2013 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
2014 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2015 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
2016 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
2017 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2018 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2019 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2020 - hardcode_runpath_var=yes
2021 - runpath_var=LD_RUN_PATH
2023 + runpath_var='LD_RUN_PATH'
2025 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
2026 - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
2027 if test "$GCC" = yes; then
2028 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
2029 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2030 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2032 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
2033 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2034 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2036 - runpath_var='LD_RUN_PATH'
2037 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2041 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
2042 - # $CC -shared without GNU ld will not create a library from C++
2043 - # object files and a static libstdc++, better avoid it by now
2044 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
2045 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
2046 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
2047 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
2048 + sysv5* | sco3.2v5* | sco5v6*)
2049 + # Note: We can NOT use -z defs as we might desire, because we do not
2050 + # link with -lc, and that would cause any symbols used from libc to
2051 + # always be unresolved, which means just about no library would
2052 + # ever link correctly. If we're not using GNU ld we use -z text
2053 + # though, which does catch some bad symbols but isn't as heavy-handed
2055 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2056 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
2057 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2058 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2059 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
2060 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
2061 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2062 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
2063 runpath_var='LD_RUN_PATH'
2065 + if test "$GCC" = yes; then
2066 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2067 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2069 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2070 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2075 @@ -5989,11 +6197,6 @@
2076 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
2077 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
2079 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
2080 -if test "$GCC" = yes; then
2081 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2085 # Do we need to explicitly link libc?
2087 @@ -6021,6 +6224,7 @@
2088 libobjs=conftest.$ac_objext
2090 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
2091 + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
2095 @@ -6176,23 +6380,11 @@
2096 AC_MSG_RESULT([$SED])
2100 -# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
2101 -# Generated from amversion.in; do not edit by hand.
2103 -# This program is free software; you can redistribute it and/or modify
2104 -# it under the terms of the GNU General Public License as published by
2105 -# the Free Software Foundation; either version 2, or (at your option)
2106 -# any later version.
2108 -# This program is distributed in the hope that it will be useful,
2109 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2110 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2111 -# GNU General Public License for more details.
2113 -# You should have received a copy of the GNU General Public License
2114 -# along with this program; if not, write to the Free Software
2115 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2116 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
2118 +# This file is free software; the Free Software Foundation
2119 +# gives unlimited permission to copy and/or distribute it,
2120 +# with or without modifications, as long as this notice is preserved.
2122 # AM_AUTOMAKE_VERSION(VERSION)
2123 # ----------------------------
2124 @@ -6205,26 +6397,15 @@
2125 # Call AM_AUTOMAKE_VERSION so it can be traced.
2126 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
2127 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
2128 - [AM_AUTOMAKE_VERSION([1.9.4])])
2129 + [AM_AUTOMAKE_VERSION([1.9.6])])
2131 -# AM_AUX_DIR_EXPAND
2132 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
2134 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
2136 -# This program is free software; you can redistribute it and/or modify
2137 -# it under the terms of the GNU General Public License as published by
2138 -# the Free Software Foundation; either version 2, or (at your option)
2139 -# any later version.
2141 -# This program is distributed in the hope that it will be useful,
2142 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2143 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2144 -# GNU General Public License for more details.
2146 -# You should have received a copy of the GNU General Public License
2147 -# along with this program; if not, write to the Free Software
2148 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2150 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
2152 +# This file is free software; the Free Software Foundation
2153 +# gives unlimited permission to copy and/or distribute it,
2154 +# with or without modifications, as long as this notice is preserved.
2156 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
2157 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
2158 @@ -6272,25 +6453,14 @@
2162 -# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003
2163 +# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005
2164 # Free Software Foundation, Inc.
2166 +# This file is free software; the Free Software Foundation
2167 +# gives unlimited permission to copy and/or distribute it,
2168 +# with or without modifications, as long as this notice is preserved.
2170 -# This program is free software; you can redistribute it and/or modify
2171 -# it under the terms of the GNU General Public License as published by
2172 -# the Free Software Foundation; either version 2, or (at your option)
2173 -# any later version.
2175 -# This program is distributed in the hope that it will be useful,
2176 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2177 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2178 -# GNU General Public License for more details.
2180 -# You should have received a copy of the GNU General Public License
2181 -# along with this program; if not, write to the Free Software
2182 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2188 # This was merged into AC_PROG_CC in Autoconf.
2190 @@ -6305,26 +6475,16 @@
2192 AU_DEFUN([fp_PROG_CC_STDC])
2194 -# AM_CONDITIONAL -*- Autoconf -*-
2196 -# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
2198 -# This program is free software; you can redistribute it and/or modify
2199 -# it under the terms of the GNU General Public License as published by
2200 -# the Free Software Foundation; either version 2, or (at your option)
2201 -# any later version.
2203 -# This program is distributed in the hope that it will be useful,
2204 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2205 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2206 -# GNU General Public License for more details.
2207 +# AM_CONDITIONAL -*- Autoconf -*-
2209 -# You should have received a copy of the GNU General Public License
2210 -# along with this program; if not, write to the Free Software
2211 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2213 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
2214 +# Free Software Foundation, Inc.
2216 +# This file is free software; the Free Software Foundation
2217 +# gives unlimited permission to copy and/or distribute it,
2218 +# with or without modifications, as long as this notice is preserved.
2223 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
2224 # -------------------------------------
2225 @@ -6348,26 +6508,15 @@
2226 Usually this means the macro was only invoked conditionally.]])
2229 -# serial 7 -*- Autoconf -*-
2231 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
2232 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
2233 # Free Software Foundation, Inc.
2235 +# This file is free software; the Free Software Foundation
2236 +# gives unlimited permission to copy and/or distribute it,
2237 +# with or without modifications, as long as this notice is preserved.
2239 -# This program is free software; you can redistribute it and/or modify
2240 -# it under the terms of the GNU General Public License as published by
2241 -# the Free Software Foundation; either version 2, or (at your option)
2242 -# any later version.
2244 -# This program is distributed in the hope that it will be useful,
2245 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2246 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2247 -# GNU General Public License for more details.
2249 -# You should have received a copy of the GNU General Public License
2250 -# along with this program; if not, write to the Free Software
2251 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2256 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
2257 # written in clear, in which case automake, when reading aclocal.m4,
2258 @@ -6376,7 +6525,6 @@
2259 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
2263 # _AM_DEPENDENCIES(NAME)
2264 # ----------------------
2265 # See how the compiler implements dependency checking.
2266 @@ -6516,27 +6664,16 @@
2267 AC_SUBST([AMDEPBACKSLASH])
2270 -# Generate code to set up dependency tracking. -*- Autoconf -*-
2272 -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
2273 -# Free Software Foundation, Inc.
2275 -# This program is free software; you can redistribute it and/or modify
2276 -# it under the terms of the GNU General Public License as published by
2277 -# the Free Software Foundation; either version 2, or (at your option)
2278 -# any later version.
2280 -# This program is distributed in the hope that it will be useful,
2281 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2282 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2283 -# GNU General Public License for more details.
2284 +# Generate code to set up dependency tracking. -*- Autoconf -*-
2286 -# You should have received a copy of the GNU General Public License
2287 -# along with this program; if not, write to the Free Software
2288 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2290 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
2291 +# Free Software Foundation, Inc.
2293 +# This file is free software; the Free Software Foundation
2294 +# gives unlimited permission to copy and/or distribute it,
2295 +# with or without modifications, as long as this notice is preserved.
2300 # _AM_OUTPUT_DEPENDENCY_COMMANDS
2301 # ------------------------------
2302 @@ -6595,54 +6732,31 @@
2303 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
2306 -# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
2308 -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
2310 -# This program is free software; you can redistribute it and/or modify
2311 -# it under the terms of the GNU General Public License as published by
2312 -# the Free Software Foundation; either version 2, or (at your option)
2313 -# any later version.
2315 -# This program is distributed in the hope that it will be useful,
2316 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2317 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2318 -# GNU General Public License for more details.
2320 -# You should have received a copy of the GNU General Public License
2321 -# along with this program; if not, write to the Free Software
2322 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2324 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
2325 +# Free Software Foundation, Inc.
2327 +# This file is free software; the Free Software Foundation
2328 +# gives unlimited permission to copy and/or distribute it,
2329 +# with or without modifications, as long as this notice is preserved.
2334 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
2335 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
2337 -# Do all the work for Automake. -*- Autoconf -*-
2339 -# This macro actually does too much some checks are only needed if
2340 -# your package does certain things. But this isn't really a big deal.
2341 +# Do all the work for Automake. -*- Autoconf -*-
2343 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
2344 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
2345 # Free Software Foundation, Inc.
2347 +# This file is free software; the Free Software Foundation
2348 +# gives unlimited permission to copy and/or distribute it,
2349 +# with or without modifications, as long as this notice is preserved.
2351 -# This program is free software; you can redistribute it and/or modify
2352 -# it under the terms of the GNU General Public License as published by
2353 -# the Free Software Foundation; either version 2, or (at your option)
2354 -# any later version.
2356 -# This program is distributed in the hope that it will be useful,
2357 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2358 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2359 -# GNU General Public License for more details.
2361 -# You should have received a copy of the GNU General Public License
2362 -# along with this program; if not, write to the Free Software
2363 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2368 +# This macro actually does too much. Some checks are only needed if
2369 +# your package does certain things. But this isn't really a big deal.
2371 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
2372 # AM_INIT_AUTOMAKE([OPTIONS])
2373 @@ -6744,51 +6858,27 @@
2375 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
2377 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
2379 +# This file is free software; the Free Software Foundation
2380 +# gives unlimited permission to copy and/or distribute it,
2381 +# with or without modifications, as long as this notice is preserved.
2383 # AM_PROG_INSTALL_SH
2384 # ------------------
2385 # Define $install_sh.
2387 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
2389 -# This program is free software; you can redistribute it and/or modify
2390 -# it under the terms of the GNU General Public License as published by
2391 -# the Free Software Foundation; either version 2, or (at your option)
2392 -# any later version.
2394 -# This program is distributed in the hope that it will be useful,
2395 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2396 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2397 -# GNU General Public License for more details.
2399 -# You should have received a copy of the GNU General Public License
2400 -# along with this program; if not, write to the Free Software
2401 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2404 AC_DEFUN([AM_PROG_INSTALL_SH],
2405 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2406 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2407 AC_SUBST(install_sh)])
2410 -# Copyright (C) 2003 Free Software Foundation, Inc.
2412 -# This program is free software; you can redistribute it and/or modify
2413 -# it under the terms of the GNU General Public License as published by
2414 -# the Free Software Foundation; either version 2, or (at your option)
2415 -# any later version.
2417 -# This program is distributed in the hope that it will be useful,
2418 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2419 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2420 -# GNU General Public License for more details.
2422 -# You should have received a copy of the GNU General Public License
2423 -# along with this program; if not, write to the Free Software
2424 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2426 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
2428 +# This file is free software; the Free Software Foundation
2429 +# gives unlimited permission to copy and/or distribute it,
2430 +# with or without modifications, as long as this notice is preserved.
2435 # Check whether the underlying file-system supports filenames
2436 # with a leading dot. For instance MS-DOS doesn't.
2437 @@ -6803,26 +6893,14 @@
2438 rmdir .tst 2>/dev/null
2439 AC_SUBST([am__leading_dot])])
2442 -# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
2443 +# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005
2444 # Free Software Foundation, Inc.
2446 +# This file is free software; the Free Software Foundation
2447 +# gives unlimited permission to copy and/or distribute it,
2448 +# with or without modifications, as long as this notice is preserved.
2450 -# This program is free software; you can redistribute it and/or modify
2451 -# it under the terms of the GNU General Public License as published by
2452 -# the Free Software Foundation; either version 2, or (at your option)
2453 -# any later version.
2455 -# This program is distributed in the hope that it will be useful,
2456 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2457 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2458 -# GNU General Public License for more details.
2460 -# You should have received a copy of the GNU General Public License
2461 -# along with this program; if not, write to the Free Software
2462 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2470 @@ -6836,28 +6914,17 @@
2471 LEX=${am_missing_run}flex
2474 -# Add --enable-maintainer-mode option to configure.
2475 +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
2478 -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004
2479 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
2480 # Free Software Foundation, Inc.
2482 +# This file is free software; the Free Software Foundation
2483 +# gives unlimited permission to copy and/or distribute it,
2484 +# with or without modifications, as long as this notice is preserved.
2486 -# This program is free software; you can redistribute it and/or modify
2487 -# it under the terms of the GNU General Public License as published by
2488 -# the Free Software Foundation; either version 2, or (at your option)
2489 -# any later version.
2491 -# This program is distributed in the hope that it will be useful,
2492 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2493 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2494 -# GNU General Public License for more details.
2496 -# You should have received a copy of the GNU General Public License
2497 -# along with this program; if not, write to the Free Software
2498 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2504 AC_DEFUN([AM_MAINTAINER_MODE],
2505 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
2506 @@ -6876,26 +6943,15 @@
2508 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
2510 -# Check to see how 'make' treats includes. -*- Autoconf -*-
2512 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
2514 -# This program is free software; you can redistribute it and/or modify
2515 -# it under the terms of the GNU General Public License as published by
2516 -# the Free Software Foundation; either version 2, or (at your option)
2517 -# any later version.
2519 -# This program is distributed in the hope that it will be useful,
2520 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2521 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2522 -# GNU General Public License for more details.
2523 +# Check to see how 'make' treats includes. -*- Autoconf -*-
2525 -# You should have received a copy of the GNU General Public License
2526 -# along with this program; if not, write to the Free Software
2527 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2529 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
2531 +# This file is free software; the Free Software Foundation
2532 +# gives unlimited permission to copy and/or distribute it,
2533 +# with or without modifications, as long as this notice is preserved.
2540 @@ -6939,27 +6995,16 @@
2541 rm -f confinc confmf
2547 -# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
2549 -# This program is free software; you can redistribute it and/or modify
2550 -# it under the terms of the GNU General Public License as published by
2551 -# the Free Software Foundation; either version 2, or (at your option)
2552 -# any later version.
2554 -# This program is distributed in the hope that it will be useful,
2555 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2556 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2557 -# GNU General Public License for more details.
2558 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
2560 -# You should have received a copy of the GNU General Public License
2561 -# along with this program; if not, write to the Free Software
2562 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2564 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
2565 +# Free Software Foundation, Inc.
2567 +# This file is free software; the Free Software Foundation
2568 +# gives unlimited permission to copy and/or distribute it,
2569 +# with or without modifications, as long as this notice is preserved.
2574 # AM_MISSING_PROG(NAME, PROGRAM)
2575 # ------------------------------
2576 @@ -6985,27 +7030,16 @@
2580 +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
2582 +# This file is free software; the Free Software Foundation
2583 +# gives unlimited permission to copy and/or distribute it,
2584 +# with or without modifications, as long as this notice is preserved.
2588 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
2590 -# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
2592 -# This program is free software; you can redistribute it and/or modify
2593 -# it under the terms of the GNU General Public License as published by
2594 -# the Free Software Foundation; either version 2, or (at your option)
2595 -# any later version.
2597 -# This program is distributed in the hope that it will be useful,
2598 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2599 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2600 -# GNU General Public License for more details.
2602 -# You should have received a copy of the GNU General Public License
2603 -# along with this program; if not, write to the Free Software
2604 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2608 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
2609 # created by `make install' are always world readable, even if the
2610 # installer happens to have an overly restrictive umask (e.g. 077).
2611 @@ -7059,26 +7093,15 @@
2613 AC_SUBST([mkdir_p])])
2615 -# Helper functions for option handling. -*- Autoconf -*-
2617 -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
2619 -# This program is free software; you can redistribute it and/or modify
2620 -# it under the terms of the GNU General Public License as published by
2621 -# the Free Software Foundation; either version 2, or (at your option)
2622 -# any later version.
2624 -# This program is distributed in the hope that it will be useful,
2625 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2626 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2627 -# GNU General Public License for more details.
2628 +# Helper functions for option handling. -*- Autoconf -*-
2630 -# You should have received a copy of the GNU General Public License
2631 -# along with this program; if not, write to the Free Software
2632 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2634 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
2636 +# This file is free software; the Free Software Foundation
2637 +# gives unlimited permission to copy and/or distribute it,
2638 +# with or without modifications, as long as this notice is preserved.
2643 # _AM_MANGLE_OPTION(NAME)
2644 # -----------------------
2645 @@ -7103,28 +7126,16 @@
2646 AC_DEFUN([_AM_IF_OPTION],
2647 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
2650 -# Check to make sure that the build environment is sane.
2653 -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
2654 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
2656 -# This program is free software; you can redistribute it and/or modify
2657 -# it under the terms of the GNU General Public License as published by
2658 -# the Free Software Foundation; either version 2, or (at your option)
2659 -# any later version.
2661 -# This program is distributed in the hope that it will be useful,
2662 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2663 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2664 -# GNU General Public License for more details.
2666 -# You should have received a copy of the GNU General Public License
2667 -# along with this program; if not, write to the Free Software
2668 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2670 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
2671 +# Free Software Foundation, Inc.
2673 +# This file is free software; the Free Software Foundation
2674 +# gives unlimited permission to copy and/or distribute it,
2675 +# with or without modifications, as long as this notice is preserved.
2682 @@ -7167,25 +7178,14 @@
2684 AC_MSG_RESULT(yes)])
2686 -# AM_PROG_INSTALL_STRIP
2688 -# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
2690 -# This program is free software; you can redistribute it and/or modify
2691 -# it under the terms of the GNU General Public License as published by
2692 -# the Free Software Foundation; either version 2, or (at your option)
2693 -# any later version.
2695 -# This program is distributed in the hope that it will be useful,
2696 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2697 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2698 -# GNU General Public License for more details.
2700 -# You should have received a copy of the GNU General Public License
2701 -# along with this program; if not, write to the Free Software
2702 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2704 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
2706 +# This file is free software; the Free Software Foundation
2707 +# gives unlimited permission to copy and/or distribute it,
2708 +# with or without modifications, as long as this notice is preserved.
2710 +# AM_PROG_INSTALL_STRIP
2711 +# ---------------------
2712 # One issue with vendor `install' (even GNU) is that you can't
2713 # specify the program used to strip binaries. This is especially
2714 # annoying in cross-compiling environments, where the build's strip
2715 @@ -7208,25 +7208,13 @@
2717 # Check how to create a tarball. -*- Autoconf -*-
2719 -# Copyright (C) 2004 Free Software Foundation, Inc.
2721 -# This program is free software; you can redistribute it and/or modify
2722 -# it under the terms of the GNU General Public License as published by
2723 -# the Free Software Foundation; either version 2, or (at your option)
2724 -# any later version.
2726 -# This program is distributed in the hope that it will be useful,
2727 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
2728 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2729 -# GNU General Public License for more details.
2731 -# You should have received a copy of the GNU General Public License
2732 -# along with this program; if not, write to the Free Software
2733 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2737 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
2739 +# This file is free software; the Free Software Foundation
2740 +# gives unlimited permission to copy and/or distribute it,
2741 +# with or without modifications, as long as this notice is preserved.
2745 # _AM_PROG_TAR(FORMAT)
2746 # --------------------