1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 03_libtool.dpatch by <elacour@home-dn.net>
4 ## All lines beginning with `## DP:' are a description of the patch.
8 --- ./Makefile.in 2005-11-26 20:29:02.000000000 +0100
9 +++ ./Makefile.in 2006-10-10 17:43:48.000000000 +0200
11 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
12 ChangeLog INSTALL NEWS config/config.guess config/config.sub \
13 config/depcomp config/install-sh config/ltmain.sh \
15 + config/missing config/mkinstalldirs
17 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
18 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
21 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
22 configure.lineno configure.status.lineno
23 -mkinstalldirs = $(install_sh) -d
24 +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
25 CONFIG_HEADER = $(top_builddir)/src/config.h
33 INSTALL_DATA = @INSTALL_DATA@
34 INSTALL_PROGRAM = @INSTALL_PROGRAM@
35 INSTALL_SCRIPT = @INSTALL_SCRIPT@
40 -ac_ct_AR = @ac_ct_AR@
42 ac_ct_CXX = @ac_ct_CXX@
43 ac_ct_F77 = @ac_ct_F77@
44 -ac_ct_RANLIB = @ac_ct_RANLIB@
45 -ac_ct_STRIP = @ac_ct_STRIP@
46 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
47 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
48 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
51 build_vendor = @build_vendor@
53 +datarootdir = @datarootdir@
56 exec_prefix = @exec_prefix@
58 host_alias = @host_alias@
61 host_vendor = @host_vendor@
63 includedir = @includedir@
65 install_sh = @install_sh@
67 libexecdir = @libexecdir@
68 +localedir = @localedir@
69 localstatedir = @localstatedir@
72 oldincludedir = @oldincludedir@
75 program_transform_name = @program_transform_name@
78 sharedstatedir = @sharedstatedir@
79 sysconfdir = @sysconfdir@
80 --- ./acinclude.m4 2005-11-26 16:10:57.000000000 +0100
81 +++ ./acinclude.m4 2006-10-10 17:27:50.000000000 +0200
83 dnl value of apr_config to fetch any necessary build/link information.
86 -AC_DEFUN(APR_FIND_APR, [
87 +AC_DEFUN([APR_FIND_APR], [
90 if test "$ac_cv_emxos2" = "yes"; then
91 --- ./aclocal.m4 2005-11-26 20:29:02.000000000 +0100
92 +++ ./aclocal.m4 2006-10-10 17:27:56.000000000 +0200
95 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
97 -# serial 47 AC_PROG_LIBTOOL
98 +# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
101 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
103 default_ofile=libtool
106 -# All known linkers require a `.a' archive for static linking (except M$VC,
107 +# All known linkers require a `.a' archive for static linking (except MSVC,
108 # which needs '.lib').
110 ltmain="$ac_aux_dir/ltmain.sh"
112 test -z "$AS" && AS=as
113 test -z "$CC" && CC=cc
114 test -z "$LTCC" && LTCC=$CC
115 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
116 test -z "$DLLTOOL" && DLLTOOL=dlltool
117 test -z "$LD" && LD=ld
118 test -z "$LN_S" && LN_S="ln -s"
119 @@ -182,10 +183,10 @@
120 if test -n "$RANLIB"; then
123 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
124 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
127 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
128 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
131 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
134 test -z "$pic_mode" && pic_mode=default
136 -# Check if we have a version mismatch between libtool.m4 and ltmain.sh.
138 -# Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
139 -# We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
140 -# calls AC_LIBTOOL_CONFIG and creates libtool.
144 # Use C for the default configuration in the libtool script
146 AC_LIBTOOL_LANG_C_CONFIG
153 -AC_DEFUN([_LT_VERSION_CHECK],
154 -[AC_MSG_CHECKING([for correct ltmain.sh version])
155 -if test -z "$ltmain"; then
158 - echo "*** [Gentoo] sanity check failed! ***"
159 - echo "*** \$ltmain is not defined, please check the patch for consistency! ***"
163 -gentoo_lt_version="1.5.18"
164 -gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'`
165 -if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
168 - echo "*** [Gentoo] sanity check failed! ***"
169 - echo "*** libtool.m4 and ltmain.sh have a version mismatch! ***"
170 - echo "*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***"
174 - echo " libtoolize --copy --force"
176 - echo "if appropriate, please contact the maintainer of this"
177 - echo "package (or your distribution) for help."
183 -])# _LT_VERSION_CHECK
186 # _LT_AC_SYS_COMPILER
187 # -------------------
188 AC_DEFUN([_LT_AC_SYS_COMPILER],
190 # If no C compiler was specified, use CC.
193 +# If no C compiler flags were specified, use CFLAGS.
194 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
196 # Allow CC to be a program name with arguments.
198 ])# _LT_AC_SYS_COMPILER
200 AC_DEFUN([_LT_COMPILER_BOILERPLATE],
201 [ac_outfile=conftest.$ac_objext
202 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
203 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
204 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
205 _lt_compiler_boilerplate=`cat conftest.err`
207 ])# _LT_COMPILER_BOILERPLATE
209 AC_DEFUN([_LT_LINKER_BOILERPLATE],
210 [ac_outfile=conftest.$ac_objext
211 printf "$lt_simple_link_test_code" >conftest.$ac_ext
212 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
213 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
214 _lt_linker_boilerplate=`cat conftest.err`
216 ])# _LT_LINKER_BOILERPLATE
218 # find a string as large as possible, as long as the shell can cope with it
219 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
220 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
221 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
222 - echo_test_string="`eval $cmd`" &&
223 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
224 + echo_test_string=`eval $cmd` &&
225 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
229 # Find out which ABI we are using.
230 echo 'int i;' > conftest.$ac_ext
231 if AC_TRY_EVAL(ac_compile); then
232 - case "`/usr/bin/file conftest.o`" in
233 + case `/usr/bin/file conftest.o` in
242 - # Test if the compiler is 64bit
243 - echo 'int i;' > conftest.$ac_ext
244 - lt_cv_cc_64bit_output=no
245 - if AC_TRY_EVAL(ac_compile); then
246 - case `/usr/bin/file conftest.$ac_objext` in
248 - lt_cv_cc_64bit_output=yes
256 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
257 SAVE_CFLAGS="$CFLAGS"
259 CFLAGS="$SAVE_CFLAGS"
263 + # Find out which ABI we are using.
264 + echo 'int i;' > conftest.$ac_ext
265 + if AC_TRY_EVAL(ac_compile); then
266 + case `/usr/bin/file conftest.o` in
268 + case $lt_cv_prog_gnu_ld in
269 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
270 + *) LD="${LD-ld} -64" ;;
278 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
279 [*-*-cygwin* | *-*-mingw* | *-*-pw32*)
280 AC_CHECK_TOOL(DLLTOOL, dlltool, false)
282 # with a dollar sign (not a hyphen), so the echo should work correctly.
283 # The option is referenced via a variable to avoid confusing sed.
284 lt_compile=`echo "$ac_compile" | $SED \
285 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
286 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
287 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
288 -e 's:$: $lt_compiler_flag:'`
289 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
291 if (exit $ac_status) && test -s "$ac_outfile"; then
292 # The compiler can only warn and ignore the option if not recognized
293 # So say no if there are warnings other than the usual output.
294 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
295 - $SED '/^$/d' conftest.err >conftest.er2
296 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
297 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
298 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
299 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
303 @@ -707,13 +670,13 @@
304 LDFLAGS="$LDFLAGS $3"
305 printf "$lt_simple_link_test_code" > conftest.$ac_ext
306 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
307 - # The compiler can only warn and ignore the option if not recognized
308 + # The linker can only warn and ignore the option if not recognized
309 # So say no if there are warnings
310 if test -s conftest.err; then
311 # Append any errors to the config.log.
312 cat conftest.err 1>&AS_MESSAGE_LOG_FD
313 - $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
314 - $SED '/^$/d' conftest.err >conftest.er2
315 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
316 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
317 if diff conftest.exp conftest.er2 >/dev/null; then
320 @@ -782,25 +745,42 @@
321 elif test -x /usr/sbin/sysctl; then
322 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
324 - lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
325 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
327 # And add a safety zone
328 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
329 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
333 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
334 + lt_cv_sys_max_cmd_len=196608
338 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
339 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
340 # nice to cause kernel panics so lets avoid the loop below.
341 # First set a reasonable default.
342 lt_cv_sys_max_cmd_len=16384
345 if test -x /sbin/sysconfig; then
346 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
347 *1*) lt_cv_sys_max_cmd_len=-1 ;;
352 + lt_cv_sys_max_cmd_len=102400
354 + sysv5* | sco5v6* | sysv4.2uw2*)
355 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
356 + if test -n "$kargmax"; then
357 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
359 + lt_cv_sys_max_cmd_len=32768
363 # If test is not a shell built-in, we'll probably end up computing a
364 # maximum length that is only half of the actual maximum length, but
369 -# --------------------
370 +# ------------------
371 AC_DEFUN([_LT_AC_CHECK_DLFCN],
372 [AC_CHECK_HEADERS(dlfcn.h)dnl
373 ])# _LT_AC_CHECK_DLFCN
376 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
377 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
378 -# ------------------------------------------------------------------
379 +# ---------------------------------------------------------------------
380 AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
381 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
382 if test "$cross_compiling" = yes; then :
383 @@ -906,17 +886,19 @@
384 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
385 /* dlclose (self); */
393 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
394 - (./conftest; exit; ) 2>/dev/null
395 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
398 x$lt_dlno_uscore) $1 ;;
399 x$lt_dlneed_uscore) $2 ;;
400 - x$lt_unknown|x*) $3 ;;
401 + x$lt_dlunknown|x*) $3 ;;
408 # AC_LIBTOOL_DLOPEN_SELF
409 -# -------------------
410 +# ----------------------
411 AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
412 [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
413 if test "x$enable_dlopen" != xyes; then
415 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
417 save_LDFLAGS="$LDFLAGS"
418 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
419 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
422 LIBS="$lt_cv_dlopen_libs $LIBS"
426 if test "x$lt_cv_dlopen_self" = xyes; then
427 - LDFLAGS="$LDFLAGS $link_static_flag"
428 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
429 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
430 lt_cv_dlopen_self_static, [dnl
431 _LT_AC_TRY_DLOPEN_SELF(
432 @@ -1060,7 +1042,7 @@
433 # Note that $ac_compile itself does not contain backslashes and begins
434 # with a dollar sign (not a hyphen), so the echo should work correctly.
435 lt_compile=`echo "$ac_compile" | $SED \
436 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
437 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
438 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
439 -e 's:$: $lt_compiler_flag:'`
440 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
441 @@ -1072,13 +1054,13 @@
443 # The compiler can only warn and ignore the option if not recognized
444 # So say no if there are warnings
445 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
446 - $SED '/^$/d' out/conftest.err >out/conftest.er2
447 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
448 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
449 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
450 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
451 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
455 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
457 # SGI C++ compiler will create directory out/ii_files/ for
458 # template instantiation
459 @@ -1338,7 +1320,8 @@
460 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
461 dldir=$destdir/`dirname \$dlpath`~
462 test -d \$dldir || mkdir -p \$dldir~
463 - $install_prog $dir/$dlname \$dldir/$dlname'
464 + $install_prog $dir/$dlname \$dldir/$dlname~
465 + chmod a+x \$dldir/$dlname'
466 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
469 @@ -1373,30 +1356,6 @@
474 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
475 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
476 - supports_anon_versioning=no
477 - case `$LD -v 2>/dev/null` in
478 - *\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
479 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
480 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
481 - *\ 2.11.*) ;; # other 2.11 versions
482 - *) supports_anon_versioning=yes ;;
484 - if test $supports_anon_versioning = yes; then
485 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
486 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
487 -$echo "local: *; };" >> $output_objdir/$libname.ver~
488 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
490 - $archive_expsym_cmds="$archive_cmds"
498 library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
500 @@ -1415,7 +1374,7 @@
501 soname_spec='${libname}${release}${major}$shared_ext'
502 shlibpath_overrides_runpath=yes
503 shlibpath_var=DYLD_LIBRARY_PATH
504 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
505 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
506 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
507 if test "$GCC" = yes; then
508 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"`
509 @@ -1438,22 +1397,17 @@
517 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
518 - soname_spec='${libname}${release}${shared_ext}$major'
519 - shlibpath_var=LD_LIBRARY_PATH
520 - shlibpath_overrides_runpath=no
521 - hardcode_into_libs=yes
522 - dynamic_linker='GNU ld.so'
525 freebsd* | dragonfly*)
526 # DragonFly does not have aout. When/if they implement a new
527 # versioning mechanism, adjust this.
528 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
529 + if test -x /usr/bin/objformat; then
530 + objformat=`/usr/bin/objformat`
533 + freebsd[[123]]*) objformat=aout ;;
534 + *) objformat=elf ;;
537 version_type=freebsd-$objformat
538 case $version_type in
540 @@ -1475,10 +1429,15 @@
541 shlibpath_overrides_runpath=yes
542 hardcode_into_libs=yes
545 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
546 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
547 shlibpath_overrides_runpath=no
548 hardcode_into_libs=yes
550 + freebsd*) # from 4.6 on
551 + shlibpath_overrides_runpath=yes
552 + hardcode_into_libs=yes
557 @@ -1498,7 +1457,7 @@
561 - case "$host_cpu" in
565 hardcode_into_libs=yes
566 @@ -1538,6 +1497,18 @@
567 postinstall_cmds='chmod 555 $lib'
574 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
575 + soname_spec='${libname}${release}${shared_ext}$major'
576 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
577 + shlibpath_var=LD_LIBRARY_PATH
578 + shlibpath_overrides_runpath=no
579 + hardcode_into_libs=yes
582 irix5* | irix6* | nonstopux*)
584 nonstopux*) version_type=nonstopux ;;
585 @@ -1581,7 +1552,7 @@
588 # This must be Linux ELF.
590 +linux* | k*bsd*-gnu)
594 @@ -1601,13 +1572,6 @@
595 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
598 - case $host_cpu:$lt_cv_cc_64bit_output in
599 - powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
600 - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64"
601 - sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64"
605 # We used to test for /lib/ld.so.1 and disable shared libraries on
606 # powerpc, because MkLinux only supported shared libraries with the
607 # GNU dynamic linker. Since this was broken with cross compilers,
608 @@ -1615,29 +1579,9 @@
609 # people can always --disable-shared, the test was removed, and we
610 # assume the GNU/Linux dynamic linker is in use.
611 dynamic_linker='GNU/Linux ld.so'
613 - # Find out which ABI we are using (multilib Linux x86_64 hack).
615 - case "$host_cpu" in
617 - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
618 - if AC_TRY_EVAL(ac_compile); then
619 - case `/usr/bin/file conftest.$ac_objext` in
630 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
631 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
639 @@ -1646,7 +1590,7 @@
640 shlibpath_var=LD_LIBRARY_PATH
641 shlibpath_overrides_runpath=no
642 hardcode_into_libs=yes
643 - dynamic_linker='GNU ld.so'
644 + dynamic_linker='NetBSD ld.elf_so'
648 @@ -1686,6 +1630,7 @@
652 + sys_lib_dlsearch_path_spec="/usr/lib"
654 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
656 @@ -1729,13 +1674,6 @@
657 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
662 - soname_spec='${libname}${release}${shared_ext}$major'
663 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
664 - shlibpath_var=LD_LIBRARY_PATH
670 @@ -1761,7 +1699,7 @@
674 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
678 soname_spec='${libname}${release}${shared_ext}$major'
679 @@ -1794,6 +1732,29 @@
683 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
684 + version_type=freebsd-elf
687 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
688 + soname_spec='${libname}${release}${shared_ext}$major'
689 + shlibpath_var=LD_LIBRARY_PATH
690 + hardcode_into_libs=yes
691 + if test "$with_gnu_ld" = yes; then
692 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
693 + shlibpath_overrides_runpath=no
695 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
696 + shlibpath_overrides_runpath=yes
699 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
703 + sys_lib_dlsearch_path_spec='/usr/lib'
708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
709 @@ -1807,6 +1768,11 @@
711 AC_MSG_RESULT([$dynamic_linker])
712 test "$dynamic_linker" = no && can_build_shared=no
714 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
715 +if test "$GCC" = yes; then
716 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
718 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
721 @@ -1831,6 +1797,9 @@
722 AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
725 + if test -z "$LTCFLAGS"; then
726 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
729 # Extract list of available tagged configurations in $ofile.
730 # Note that this assumes the entire list is on one line.
731 @@ -1921,7 +1890,7 @@
733 # AC_LIBTOOL_WIN32_DLL
734 # --------------------
735 -# declare package support for building win32 dll's
736 +# declare package support for building win32 DLLs
737 AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
738 [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
739 ])# AC_LIBTOOL_WIN32_DLL
740 @@ -1959,7 +1928,7 @@
744 -#- set the default shared flag to --disable-shared
745 +# set the default shared flag to --disable-shared
746 AC_DEFUN([AC_DISABLE_SHARED],
747 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
749 @@ -2095,7 +2064,7 @@
750 if test -n "$file_magic_test_file"; then
751 case $deplibs_check_method in
753 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
754 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
755 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
756 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
757 $EGREP "$file_magic_regex" > /dev/null; then
758 @@ -2205,7 +2174,7 @@
759 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
760 lt_cv_path_LD="$ac_dir/$ac_prog"
761 # Check to see if the program is GNU ld. I'd rather use --version,
762 - # but apparently some GNU ld's only accept -v.
763 + # but apparently some variants of GNU ld only accept -v.
764 # Break only if it was the GNU/non-GNU ld that we prefer.
765 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
766 *GNU* | *'with BFD'*)
767 @@ -2237,7 +2206,7 @@
768 AC_DEFUN([AC_PROG_LD_GNU],
769 [AC_REQUIRE([AC_PROG_EGREP])dnl
770 AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
771 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
772 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
773 case `$LD -v 2>&1 </dev/null` in
774 *GNU* | *'with BFD'*)
775 lt_cv_prog_gnu_ld=yes
776 @@ -2267,7 +2236,7 @@
779 if test "$GCC" = yes; then
780 - reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
781 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
783 reload_cmds='$LD$reload_flag -o $output$reload_objs'
785 @@ -2329,7 +2298,7 @@
786 lt_cv_deplibs_check_method=pass_all
789 -freebsd* | kfreebsd*-gnu | dragonfly*)
790 +freebsd* | dragonfly*)
791 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
794 @@ -2351,7 +2320,7 @@
796 hpux10.20* | hpux11*)
797 lt_cv_file_magic_cmd=/usr/bin/file
798 - case "$host_cpu" in
801 lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
802 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
803 @@ -2367,6 +2336,11 @@
808 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
809 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
812 irix5* | irix6* | nonstopux*)
814 *-32|*"-32 ") libmagic=32-bit;;
815 @@ -2378,11 +2352,11 @@
818 # This must be Linux ELF.
820 +linux* | k*bsd*-gnu)
821 lt_cv_deplibs_check_method=pass_all
825 +netbsd* | netbsdelf*-gnu)
826 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
827 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
829 @@ -2412,15 +2386,11 @@
830 lt_cv_deplibs_check_method=pass_all
834 - lt_cv_deplibs_check_method=pass_all
838 lt_cv_deplibs_check_method=pass_all
841 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
845 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]]'
846 @@ -2441,10 +2411,13 @@
848 lt_cv_deplibs_check_method=pass_all
851 + lt_cv_deplibs_check_method=pass_all
856 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
857 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
858 lt_cv_deplibs_check_method=pass_all
861 @@ -2464,36 +2437,43 @@
862 # Let the user override the test.
865 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
866 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
868 - test -z "$ac_dir" && ac_dir=.
869 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
870 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
871 - # Check to see if the nm accepts a BSD-compat flag.
872 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
873 - # nm: unknown option "B" ignored
874 - # Tru64's nm complains that /dev/null is an invalid object file
875 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
876 - */dev/null* | *'Invalid file or object type'*)
877 - lt_cv_path_NM="$tmp_nm -B"
881 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
883 - lt_cv_path_NM="$tmp_nm -p"
884 + lt_nm_to_check="${ac_tool_prefix}nm"
885 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
886 + lt_nm_to_check="$lt_nm_to_check nm"
888 + for lt_tmp_nm in $lt_nm_to_check; do
889 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
890 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
892 + test -z "$ac_dir" && ac_dir=.
893 + tmp_nm="$ac_dir/$lt_tmp_nm"
894 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
895 + # Check to see if the nm accepts a BSD-compat flag.
896 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
897 + # nm: unknown option "B" ignored
898 + # Tru64's nm complains that /dev/null is an invalid object file
899 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
900 + */dev/null* | *'Invalid file or object type'*)
901 + lt_cv_path_NM="$tmp_nm -B"
905 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
906 - continue # so that we can try to find one that supports BSD flags
907 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
909 + lt_cv_path_NM="$tmp_nm -p"
913 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
914 + continue # so that we can try to find one that supports BSD flags
926 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
929 @@ -2525,13 +2505,13 @@
930 # -----------------------------------
931 # sets LIBLTDL to the link flags for the libltdl convenience library and
932 # LTDLINCL to the include flags for the libltdl header and adds
933 -# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
934 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
935 -# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
936 -# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
937 -# '${top_srcdir}/' (note the single quotes!). If your package is not
938 -# flat and you're not using automake, define top_builddir and
939 -# top_srcdir appropriately in the Makefiles.
940 +# --enable-ltdl-convenience to the configure arguments. Note that
941 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
942 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
943 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
944 +# (note the single quotes!). If your package is not flat and you're not
945 +# using automake, define top_builddir and top_srcdir appropriately in
947 AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
948 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
949 case $enable_ltdl_convenience in
950 @@ -2550,13 +2530,13 @@
951 # -----------------------------------
952 # sets LIBLTDL to the link flags for the libltdl installable library and
953 # LTDLINCL to the include flags for the libltdl header and adds
954 -# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
955 -# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
956 -# DIRECTORY is not provided and an installed libltdl is not found, it is
957 -# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
958 -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
959 -# quotes!). If your package is not flat and you're not using automake,
960 -# define top_builddir and top_srcdir appropriately in the Makefiles.
961 +# --enable-ltdl-install to the configure arguments. Note that
962 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
963 +# and an installed libltdl is not found, it is assumed to be `libltdl'.
964 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
965 +# '${top_srcdir}/' (note the single quotes!). If your package is not
966 +# flat and you're not using automake, define top_builddir and top_srcdir
967 +# appropriately in the Makefiles.
968 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
969 AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
970 [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
971 @@ -2599,7 +2579,7 @@
976 +# ------------------
977 AC_DEFUN([_LT_AC_PROG_CXXCPP],
979 AC_REQUIRE([AC_PROG_CXX])
980 @@ -2648,7 +2628,7 @@
986 # enable support for Windows resource files
987 AC_DEFUN([AC_LIBTOOL_RC],
988 [AC_REQUIRE([LT_AC_PROG_RC])
989 @@ -2685,37 +2665,6 @@
990 _LT_COMPILER_BOILERPLATE
991 _LT_LINKER_BOILERPLATE
994 -# Check for any special shared library compilation flags.
996 -_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
997 -if test "$GCC" = no; then
1000 - _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
1004 -if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
1005 - AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
1006 - if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
1008 - AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
1009 - _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
1015 -# Check to make sure the static flag actually works.
1017 -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
1018 - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
1019 - $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
1021 - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
1024 AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
1025 AC_LIBTOOL_PROG_COMPILER_PIC($1)
1026 AC_LIBTOOL_PROG_CC_C_O($1)
1027 @@ -2724,9 +2673,9 @@
1028 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1029 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1030 AC_LIBTOOL_SYS_LIB_STRIP
1031 -AC_LIBTOOL_DLOPEN_SELF($1)
1032 +AC_LIBTOOL_DLOPEN_SELF
1034 -# Report which librarie types wil actually be built
1035 +# Report which library types will actually be built
1036 AC_MSG_CHECKING([if libtool supports shared libraries])
1037 AC_MSG_RESULT([$can_build_shared])
1039 @@ -2735,7 +2684,7 @@
1041 # On AIX, shared libraries and static libraries use the same namespace, and
1042 # are all built from PIC.
1046 test "$enable_shared" = yes && enable_static=no
1047 if test -n "$RANLIB"; then
1048 @@ -2785,6 +2734,7 @@
1049 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
1050 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
1051 _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
1052 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1053 _LT_AC_TAGVAR(hardcode_automatic, $1)=no
1054 _LT_AC_TAGVAR(module_cmds, $1)=
1055 _LT_AC_TAGVAR(module_expsym_cmds, $1)=
1056 @@ -2802,7 +2752,7 @@
1057 _LT_AC_TAGVAR(compiler_lib_search_path, $1)=
1059 # Source file extension for C++ test sources.
1063 # Object file extension for compiled C++ test sources.
1065 @@ -2812,7 +2762,7 @@
1066 lt_simple_compile_test_code="int some_variable = 0;\n"
1068 # Code to be used in simple link tests
1069 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
1070 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
1072 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
1074 @@ -2831,12 +2781,12 @@
1075 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
1076 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
1078 - unset lt_cv_prog_gnu_ld
1079 + $as_unset lt_cv_prog_gnu_ld
1081 if test -n "${lt_cv_path_LDCXX+set}"; then
1082 lt_cv_path_LD=$lt_cv_path_LDCXX
1084 - unset lt_cv_path_LD
1085 + $as_unset lt_cv_path_LD
1087 test -z "${LDCXX+set}" || LD=$LDCXX
1089 @@ -2931,6 +2881,7 @@
1096 exp_sym_flag='-bexport'
1097 @@ -2968,6 +2919,7 @@
1098 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1099 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
1103 shared_flag='-shared'
1104 if test "$aix_use_runtimelinking" = yes; then
1105 @@ -2999,12 +2951,12 @@
1106 _LT_AC_SYS_LIBPATH_AIX
1107 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1109 - _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"
1110 + _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"
1112 if test "$host_cpu" = ia64; then
1113 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
1114 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
1115 - _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"
1116 + _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"
1118 # Determine the default libpath from the value encoded in an empty executable.
1119 _LT_AC_SYS_LIBPATH_AIX
1120 @@ -3013,16 +2965,26 @@
1121 # -berok will link without error, but may produce a broken library.
1122 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
1123 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
1124 - # -bexpall does not export symbols beginning with underscore (_)
1125 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
1126 # Exported symbols can be pulled into shared objects from archives
1127 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
1128 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
1129 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
1130 - # This is similar to how AIX traditionally builds it's shared libraries.
1131 - _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'
1132 + # This is similar to how AIX traditionally builds its shared libraries.
1133 + _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'
1139 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1140 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
1141 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
1142 + # support --undefined. This deserves some investigation. FIXME
1143 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1145 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
1150 case $cc_basename in
1152 @@ -3032,7 +2994,6 @@
1157 cygwin* | mingw* | pw32*)
1158 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
1159 # as there is no search path for DLLs.
1160 @@ -3042,7 +3003,7 @@
1161 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
1163 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1164 - _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'
1165 + _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'
1166 # If the export-symbols file already is a .def file (1st line
1167 # is EXPORTS), use it as is; otherwise, prepend...
1168 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1169 @@ -3051,13 +3012,13 @@
1170 echo EXPORTS > $output_objdir/$soname.def;
1171 cat $export_symbols >> $output_objdir/$soname.def;
1173 - $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'
1174 + $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'
1176 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1179 darwin* | rhapsody*)
1180 - case "$host_os" in
1182 rhapsody* | darwin1.[[012]])
1183 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
1185 @@ -3095,7 +3056,7 @@
1186 _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'
1188 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1189 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1190 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1191 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
1192 _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}'
1194 @@ -3108,7 +3069,7 @@
1195 output_verbose_link_cmd='echo'
1196 _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'
1197 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
1198 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
1199 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
1200 _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}'
1201 _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}'
1203 @@ -3143,7 +3104,7 @@
1205 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1207 - freebsd* | kfreebsd*-gnu | dragonfly*)
1208 + freebsd* | dragonfly*)
1209 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
1211 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
1212 @@ -3188,33 +3149,22 @@
1215 if test $with_gnu_ld = no; then
1216 - case "$host_cpu" in
1218 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1219 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1220 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1224 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
1225 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1228 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1231 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
1232 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1233 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1237 - case "$host_cpu" in
1239 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
1240 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1245 _LT_AC_TAGVAR(hardcode_direct, $1)=no
1246 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1247 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
1248 - # but as the default
1249 - # location of the library.
1252 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
1253 @@ -3230,9 +3180,12 @@
1254 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1257 - case "$host_cpu" in
1259 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1262 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1265 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1268 _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'
1269 @@ -3251,9 +3204,12 @@
1271 if test "$GXX" = yes; then
1272 if test $with_gnu_ld = no; then
1273 - case "$host_cpu" in
1275 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
1278 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1281 + _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'
1284 _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'
1285 @@ -3267,6 +3223,20 @@
1290 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
1291 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1292 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
1293 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1294 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
1295 + # Instead, shared libraries are loaded at an image base (0x10000000 by
1296 + # default) and relocated if they conflict, which is a slow very memory
1297 + # consuming and fragmenting process. To avoid this, we pick a random,
1298 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
1299 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
1300 + _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'
1301 + _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'
1304 case $cc_basename in
1306 @@ -3293,7 +3263,7 @@
1307 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
1308 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
1311 + linux* | k*bsd*-gnu)
1312 case $cc_basename in
1314 # Kuck and Associates, Inc. (KAI) C++ Compiler
1315 @@ -3352,7 +3322,7 @@
1317 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
1318 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
1319 - _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'
1320 + _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'
1324 @@ -3395,7 +3365,7 @@
1329 + netbsd* | netbsdelf*-gnu)
1330 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1331 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
1333 @@ -3549,19 +3519,6 @@
1334 # FIXME: insert proper C++ library support
1335 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1338 - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1339 - case $cc_basename in
1341 - # FIXME: insert proper C++ library support
1342 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
1345 - # FIXME: insert proper C++ library support
1346 - _LT_AC_TAGVAR(ld_shlibs, $1)=no
1351 case $cc_basename in
1353 @@ -3584,10 +3541,11 @@
1354 case $cc_basename in
1356 # Sun C++ 4.2, 5.x and Centerline C++
1357 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
1358 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
1359 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1360 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1361 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
1362 - $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'
1363 + $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'
1365 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
1366 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1367 @@ -3607,15 +3565,7 @@
1369 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1371 - # Commands to make compiler produce verbose output that lists
1372 - # what "hidden" libraries, object files and flags are used when
1373 - # linking a shared library.
1375 - # There doesn't appear to be a way to prevent this compiler from
1376 - # explicitly linking system object files so we need to strip them
1377 - # from the output so that they don't get included in the library
1379 - 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'
1380 + output_verbose_link_cmd='echo'
1382 # Archives containing C++ object files must be created using
1383 # "CC -xar", where "CC" is the Sun C++ compiler. This is
1384 @@ -3661,8 +3611,59 @@
1388 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
1389 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
1390 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
1391 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1392 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1393 + runpath_var='LD_RUN_PATH'
1395 + case $cc_basename in
1397 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1398 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1401 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1402 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1406 + sysv5* | sco3.2v5* | sco5v6*)
1407 + # Note: We can NOT use -z defs as we might desire, because we do not
1408 + # link with -lc, and that would cause any symbols used from libc to
1409 + # always be unresolved, which means just about no library would
1410 + # ever link correctly. If we're not using GNU ld we use -z text
1411 + # though, which does catch some bad symbols but isn't as heavy-handed
1413 + # For security reasons, it is highly recommended that you always
1414 + # use absolute paths for naming shared libraries, and exclude the
1415 + # DT_RUNPATH tag from executables and libraries. But doing so
1416 + # requires that you compile everything twice, which is a pain.
1417 + # So that behaviour is only enabled if SCOABSPATH is set to a
1418 + # non-empty value in the environment. Most likely only useful for
1419 + # creating official distributions of packages.
1420 + # This is a hack until libtool officially supports absolute path
1421 + # names for shared libraries.
1422 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
1423 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
1424 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
1425 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1426 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
1427 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
1428 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
1429 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
1430 + runpath_var='LD_RUN_PATH'
1432 + case $cc_basename in
1434 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
1435 + _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'
1438 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
1439 + _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'
1444 case $cc_basename in
1445 @@ -3699,8 +3700,6 @@
1446 AC_LIBTOOL_PROG_LD_SHLIBS($1)
1447 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1448 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1449 -AC_LIBTOOL_SYS_LIB_STRIP
1450 -AC_LIBTOOL_DLOPEN_SELF($1)
1452 AC_LIBTOOL_CONFIG($1)
1454 @@ -3718,7 +3717,7 @@
1455 ])# AC_LIBTOOL_LANG_CXX_CONFIG
1457 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
1458 -# ------------------------
1459 +# ------------------------------------
1460 # Figure out "hidden" library dependencies from verbose
1461 # compiler output when linking a shared library.
1462 # Parse the compiler output and extract the necessary
1463 @@ -3772,7 +3771,7 @@
1464 # The `*' in the case matches for architectures that use `case' in
1465 # $output_verbose_cmd can trigger glob expansion during the loop
1466 # eval without this substitution.
1467 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
1468 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
1470 for p in `eval $output_verbose_link_cmd`; do
1472 @@ -3848,13 +3847,37 @@
1474 $rm -f confest.$objext
1476 +# PORTME: override above test on systems where it is broken
1480 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
1481 + # hack all around it, let's just trust "g++" to DTRT.
1482 + _LT_AC_TAGVAR(predep_objects,$1)=
1483 + _LT_AC_TAGVAR(postdep_objects,$1)=
1484 + _LT_AC_TAGVAR(postdeps,$1)=
1488 + case $cc_basename in
1490 + # Adding this requires a known-good setup of shared libraries for
1491 + # Sun compiler versions before 5.6, else PIC objects from an old
1492 + # archive will be linked into the output, leading to subtle bugs.
1493 + _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
1500 case " $_LT_AC_TAGVAR(postdeps, $1) " in
1501 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
1503 ])# AC_LIBTOOL_POSTDEP_PREDEP
1505 # AC_LIBTOOL_LANG_F77_CONFIG
1506 -# ------------------------
1507 +# --------------------------
1508 # Ensure that the configuration vars for the C compiler are
1509 # suitably defined. Those variables are subsequently used by
1510 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
1511 @@ -3917,7 +3940,7 @@
1513 # On AIX, shared libraries and static libraries use the same namespace, and
1514 # are all built from PIC.
1518 test "$enable_shared" = yes && enable_static=no
1519 if test -n "$RANLIB"; then
1520 @@ -3938,8 +3961,6 @@
1521 test "$enable_shared" = yes || enable_static=yes
1522 AC_MSG_RESULT([$enable_static])
1524 -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
1526 _LT_AC_TAGVAR(GCC, $1)="$G77"
1527 _LT_AC_TAGVAR(LD, $1)="$LD"
1529 @@ -3949,8 +3970,6 @@
1530 AC_LIBTOOL_PROG_LD_SHLIBS($1)
1531 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1532 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1533 -AC_LIBTOOL_SYS_LIB_STRIP
1536 AC_LIBTOOL_CONFIG($1)
1538 @@ -4007,8 +4026,6 @@
1539 AC_LIBTOOL_PROG_LD_SHLIBS($1)
1540 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
1541 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
1542 -AC_LIBTOOL_SYS_LIB_STRIP
1543 -AC_LIBTOOL_DLOPEN_SELF($1)
1545 AC_LIBTOOL_CONFIG($1)
1547 @@ -4018,7 +4035,7 @@
1550 # AC_LIBTOOL_LANG_RC_CONFIG
1551 -# --------------------------
1552 +# -------------------------
1553 # Ensure that the configuration vars for the Windows resource compiler are
1554 # suitably defined. Those variables are subsequently used by
1555 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
1556 @@ -4081,7 +4098,7 @@
1557 # Now quote all the things that may contain metacharacters while being
1558 # careful not to overquote the AC_SUBSTed values. We take copies of the
1559 # variables and quote the copies for generation of the libtool script.
1560 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
1561 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
1563 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
1564 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
1565 @@ -4250,6 +4267,9 @@
1569 +# LTCC compiler flags.
1570 +LTCFLAGS=$lt_LTCFLAGS
1572 # A language-specific compiler.
1573 CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
1575 @@ -4610,7 +4630,7 @@
1576 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1577 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'"
1580 +linux* | k*bsd*-gnu)
1581 if test "$host_cpu" = ia64; then
1582 symcode='[[ABCDGIRSTW]]'
1583 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1584 @@ -4623,9 +4643,18 @@
1586 symcode='[[BCDEGQRST]]'
1598 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
1599 + symcode='[[ABDT]]'
1602 symcode='[[DFNSTU]]'
1604 @@ -4808,6 +4837,10 @@
1605 # DJGPP does not support shared libraries at all
1606 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
1609 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
1610 + # Instead, we relocate shared libraries at runtime.
1613 if test -d /usr/nec; then
1614 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
1615 @@ -4816,7 +4849,7 @@
1617 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1619 - case "$host_cpu" in
1624 @@ -4870,22 +4903,22 @@
1628 - freebsd* | kfreebsd*-gnu | dragonfly*)
1629 + freebsd* | dragonfly*)
1630 # FreeBSD uses GNU C++
1632 hpux9* | hpux10* | hpux11*)
1633 case $cc_basename in
1635 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1636 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1637 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
1638 if test "$host_cpu" != ia64; then
1639 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
1643 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1644 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
1645 - case "$host_cpu" in
1646 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
1651 @@ -4898,6 +4931,10 @@
1656 + # This is c89, which is MS Visual C++ (no shared libs)
1657 + # Anyone wants to do a port?
1659 irix5* | irix6* | nonstopux*)
1660 case $cc_basename in
1662 @@ -4909,7 +4946,7 @@
1667 + linux* | k*bsd*-gnu)
1668 case $cc_basename in
1671 @@ -4926,7 +4963,7 @@
1672 # Portland Group C++ compiler.
1673 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1674 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
1675 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
1676 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1680 @@ -4952,7 +4989,7 @@
1685 + netbsd* | netbsdelf*-gnu)
1687 osf3* | osf4* | osf5*)
1688 case $cc_basename in
1689 @@ -4977,15 +5014,6 @@
1694 - case $cc_basename in
1696 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
1703 case $cc_basename in
1705 @@ -5027,7 +5055,14 @@
1710 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
1711 + case $cc_basename in
1713 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1714 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1715 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1721 @@ -5074,6 +5109,11 @@
1722 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
1726 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
1727 + # Instead, we relocate shared libraries at runtime.
1731 # Just because we use GCC doesn't mean we suddenly get shared libraries
1732 # on systems that don't support them.
1733 @@ -5090,7 +5130,7 @@
1735 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1737 - case "$host_cpu" in
1742 @@ -5137,7 +5177,7 @@
1743 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1744 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
1746 - case "$host_cpu" in
1751 @@ -5160,19 +5200,19 @@
1752 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1756 + linux* | k*bsd*-gnu)
1757 case $cc_basename in
1759 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1760 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1761 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
1763 - pgcc* | pgf77* | pgf90*)
1764 + pgcc* | pgf77* | pgf90* | pgf95*)
1765 # Portland Group compilers (*not* the Pentium gcc compiler,
1766 # which looks to be a dead project)
1767 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1768 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
1769 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
1770 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1773 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1774 @@ -5188,11 +5228,6 @@
1775 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
1779 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
1780 - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
1784 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1785 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1786 @@ -5210,7 +5245,7 @@
1787 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1790 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1791 + sysv4 | sysv4.2uw2* | sysv4.3*)
1792 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1793 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1794 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1795 @@ -5223,6 +5258,12 @@
1799 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
1800 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1801 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
1802 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
1806 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
1807 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
1808 @@ -5255,7 +5296,7 @@
1809 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
1810 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
1814 # For platforms which do not support PIC, -DPIC is meaningless:
1816 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
1817 @@ -5264,6 +5305,16 @@
1818 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
1823 +# Check to make sure the static flag actually works.
1825 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
1826 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
1827 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
1828 + $lt_tmp_static_flag,
1830 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
1834 @@ -5290,6 +5341,9 @@
1836 _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'
1838 + linux* | k*bsd*-gnu)
1839 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
1842 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1844 @@ -5342,6 +5396,10 @@
1849 + # we just hope/assume this is gcc and not c89 (= MSVC++)
1855 @@ -5351,7 +5409,7 @@
1856 if test "$with_gnu_ld" = yes; then
1857 # If archive_cmds runs LD, not CC, wlarc should be empty
1861 # Set some defaults for GNU ld with shared library support. These
1862 # are reset later if shared libraries are not supported. Putting them
1863 # here allows them to be overridden if necessary.
1864 @@ -5372,7 +5430,7 @@
1865 *\ 2.11.*) ;; # other 2.11 versions
1866 *) supports_anon_versioning=yes ;;
1870 # See if GNU ld supports shared libraries.
1872 aix3* | aix4* | aix5*)
1873 @@ -5426,7 +5484,7 @@
1874 _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'
1876 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
1877 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1878 + _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'
1879 # If the export-symbols file already is a .def file (1st line
1880 # is EXPORTS), use it as is; otherwise, prepend...
1881 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1882 @@ -5435,22 +5493,37 @@
1883 echo EXPORTS > $output_objdir/$soname.def;
1884 cat $export_symbols >> $output_objdir/$soname.def;
1886 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
1887 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1889 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1895 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
1896 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
1897 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
1898 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
1899 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
1900 + # Instead, shared libraries are loaded at an image base (0x10000000 by
1901 + # default) and relocated if they conflict, which is a slow very memory
1902 + # consuming and fragmenting process. To avoid this, we pick a random,
1903 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
1904 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
1905 + _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'
1906 + _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'
1909 + linux* | k*bsd*-gnu)
1910 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1912 case $cc_basename,$host_cpu in
1913 pgcc*) # Portland Group C compiler
1914 - _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'
1915 + _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'
1916 tmp_addflag=' $pic_flag'
1918 - pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
1919 - _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'
1920 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
1921 + _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'
1922 tmp_addflag=' $pic_flag -Mnomain' ;;
1923 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
1924 tmp_addflag=' -i_dynamic' ;;
1925 @@ -5467,12 +5540,13 @@
1926 $echo "local: *; };" >> $output_objdir/$libname.ver~
1927 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
1929 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
1931 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1936 + netbsd* | netbsdelf*-gnu)
1937 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1938 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
1940 @@ -5482,7 +5556,7 @@
1944 - solaris* | sysv5*)
1946 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
1947 _LT_AC_TAGVAR(ld_shlibs, $1)=no
1949 @@ -5503,6 +5577,33 @@
1953 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
1954 + case `$LD -v 2>&1` in
1955 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
1956 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
1957 + cat <<_LT_EOF 1>&2
1959 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
1960 +*** reliably create shared libraries on SCO systems. Therefore, libtool
1961 +*** is disabling shared libraries support. We urge you to upgrade GNU
1962 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
1963 +*** your PATH or compiler configuration so that the native linker is
1964 +*** used, and then restart.
1969 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
1970 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
1971 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
1972 + _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'
1974 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
1981 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1983 @@ -5536,7 +5637,7 @@
1984 # Note: this linker hardcodes the directories in LIBPATH if there
1985 # are no directories specified by -L.
1986 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
1987 - if test "$GCC" = yes && test -z "$link_static_flag"; then
1988 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
1989 # Neither direct hardcoding nor static linking is supported with a
1991 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
1992 @@ -5570,6 +5671,7 @@
1999 exp_sym_flag='-bexport'
2000 @@ -5607,6 +5709,7 @@
2001 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2002 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
2006 shared_flag='-shared'
2007 if test "$aix_use_runtimelinking" = yes; then
2008 @@ -5619,11 +5722,11 @@
2009 # chokes on -Wl,-G. The following line is correct:
2012 - if test "$aix_use_runtimelinking" = yes; then
2013 + if test "$aix_use_runtimelinking" = yes; then
2014 shared_flag='${wl}-G'
2016 shared_flag='${wl}-bM:SRE'
2022 @@ -5637,12 +5740,12 @@
2023 # Determine the default libpath from the value encoded in an empty executable.
2024 _LT_AC_SYS_LIBPATH_AIX
2025 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
2026 - _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"
2027 + _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"
2029 if test "$host_cpu" = ia64; then
2030 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
2031 _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
2032 - _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"
2033 + _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"
2035 # Determine the default libpath from the value encoded in an empty executable.
2036 _LT_AC_SYS_LIBPATH_AIX
2037 @@ -5651,13 +5754,11 @@
2038 # -berok will link without error, but may produce a broken library.
2039 _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
2040 _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
2041 - # -bexpall does not export symbols beginning with underscore (_)
2042 - _LT_AC_TAGVAR(always_export_symbols, $1)=yes
2043 # Exported symbols can be pulled into shared objects from archives
2044 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
2045 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
2046 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
2047 - # This is similar to how AIX traditionally builds it's shared libraries.
2048 - _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'
2049 + # This is similar to how AIX traditionally builds its shared libraries.
2050 + _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'
2054 @@ -5696,7 +5797,7 @@
2057 darwin* | rhapsody*)
2058 - case "$host_os" in
2060 rhapsody* | darwin1.[[012]])
2061 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
2063 @@ -5725,7 +5826,7 @@
2064 output_verbose_link_cmd='echo'
2065 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
2066 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2067 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
2068 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
2069 _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}'
2070 _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}'
2072 @@ -5734,7 +5835,7 @@
2073 output_verbose_link_cmd='echo'
2074 _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'
2075 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2076 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
2077 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
2078 _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}'
2079 _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}'
2081 @@ -5775,7 +5876,7 @@
2084 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
2085 - freebsd* | kfreebsd*-gnu | dragonfly*)
2086 + freebsd* | dragonfly*)
2087 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
2088 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
2089 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2090 @@ -5798,47 +5899,62 @@
2091 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2094 - hpux10* | hpux11*)
2096 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
2097 - case "$host_cpu" in
2099 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
2101 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
2103 + if test "$with_gnu_ld" = no; then
2104 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2105 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2107 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2108 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2110 + # hardcode_minus_L: Not really in the search PATH,
2111 + # but as the default location of the library.
2112 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
2117 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
2120 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
2123 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
2126 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
2130 - case "$host_cpu" in
2132 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
2135 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
2138 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
2141 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
2142 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
2146 if test "$with_gnu_ld" = no; then
2147 - case "$host_cpu" in
2149 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2150 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2151 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2155 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
2156 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2157 _LT_AC_TAGVAR(hardcode_direct, $1)=no
2158 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2161 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2162 - _LT_AC_TAGVAR(hardcode_direct, $1)=no
2163 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2165 - # hardcode_minus_L: Not really in the search PATH,
2166 - # but as the default location of the library.
2167 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
2170 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2171 - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2172 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2173 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2175 @@ -5862,7 +5978,7 @@
2176 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2180 + netbsd* | netbsdelf*-gnu)
2181 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
2182 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
2184 @@ -5940,14 +6056,6 @@
2185 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2189 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
2190 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2191 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
2192 - runpath_var=LD_RUN_PATH
2193 - hardcode_runpath_var=yes
2197 _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
2198 if test "$GCC" = yes; then
2199 @@ -6033,36 +6141,45 @@
2204 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
2205 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2206 - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
2207 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
2208 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2209 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2210 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2211 - hardcode_runpath_var=yes
2212 - runpath_var=LD_RUN_PATH
2214 + runpath_var='LD_RUN_PATH'
2216 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
2217 - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
2218 if test "$GCC" = yes; then
2219 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
2220 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2221 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2223 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
2224 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2225 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
2227 - runpath_var='LD_RUN_PATH'
2228 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2232 - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
2233 - # $CC -shared without GNU ld will not create a library from C++
2234 - # object files and a static libstdc++, better avoid it by now
2235 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
2236 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
2237 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
2238 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
2239 + sysv5* | sco3.2v5* | sco5v6*)
2240 + # Note: We can NOT use -z defs as we might desire, because we do not
2241 + # link with -lc, and that would cause any symbols used from libc to
2242 + # always be unresolved, which means just about no library would
2243 + # ever link correctly. If we're not using GNU ld we use -z text
2244 + # though, which does catch some bad symbols but isn't as heavy-handed
2246 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
2247 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
2248 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2249 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2250 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
2251 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
2252 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2253 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
2254 runpath_var='LD_RUN_PATH'
2256 + if test "$GCC" = yes; then
2257 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2258 + _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'
2260 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
2261 + _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'
2266 @@ -6080,11 +6197,6 @@
2267 AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
2268 test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
2270 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
2271 -if test "$GCC" = yes; then
2272 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2276 # Do we need to explicitly link libc?
2278 @@ -6112,6 +6224,7 @@
2279 libobjs=conftest.$ac_objext
2281 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
2282 + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
2286 --- ./config/config.guess 2005-11-26 20:29:02.000000000 +0100
2287 +++ ./config/config.guess 2006-08-10 17:17:12.000000000 +0200
2290 # Attempt to guess a canonical system name.
2291 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2292 -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
2293 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
2296 -timestamp='2005-03-24'
2297 +timestamp='2006-07-02'
2299 # This file is free software; you can redistribute it and/or modify it
2300 # under the terms of the GNU General Public License as published by
2303 # You should have received a copy of the GNU General Public License
2304 # along with this program; if not, write to the Free Software
2305 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2306 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
2309 # As a special exception to the GNU General Public License, if you
2310 # distribute this file as part of a program that contains a
2311 # configuration script generated by Autoconf, you may include it under
2312 # the same distribution terms that you use for the rest of that program.
2315 # Originally written by Per Bothner <per@bothner.com>.
2316 # Please send patches to <config-patches@gnu.org>. Submit a context
2317 # diff and a properly formatted ChangeLog entry.
2319 while test $# -gt 0 ; do
2321 --time-stamp | --time* | -t )
2322 - echo "$timestamp" ; exit 0 ;;
2323 + echo "$timestamp" ; exit ;;
2325 - echo "$version" ; exit 0 ;;
2326 + echo "$version" ; exit ;;
2327 --help | --h* | -h )
2328 - echo "$usage"; exit 0 ;;
2329 + echo "$usage"; exit ;;
2330 -- ) # Stop option processing
2332 - ) # Use stdin as input.
2334 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
2335 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
2337 - { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
2338 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
2339 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
2340 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
2341 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
2344 ,,*) CC_FOR_BUILD=$CC ;;
2345 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
2347 +esac ; set_cc_for_build= ;'
2349 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
2350 # (ghazi@noc.rutgers.edu 1994-08-24)
2351 @@ -136,23 +139,6 @@
2352 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
2353 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
2355 -if [ "${UNAME_SYSTEM}" = "Linux" ] ; then
2356 - eval $set_cc_for_build
2357 - cat << EOF > $dummy.c
2358 - #include <features.h>
2360 - # ifdef __UCLIBC_CONFIG_VERSION__
2361 - LIBC=uclibc __UCLIBC_CONFIG_VERSION__
2369 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep LIBC= | sed -e 's: ::g'`
2372 # Note: order is significant - the case branches are not exclusive.
2374 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
2375 @@ -213,55 +199,23 @@
2376 # contains redundant information, the shorter form:
2377 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
2378 echo "${machine}-${os}${release}"
2380 - amd64:OpenBSD:*:*)
2381 - echo x86_64-unknown-openbsd${UNAME_RELEASE}
2383 - amiga:OpenBSD:*:*)
2384 - echo m68k-unknown-openbsd${UNAME_RELEASE}
2387 - echo arm-unknown-openbsd${UNAME_RELEASE}
2389 - hp300:OpenBSD:*:*)
2390 - echo m68k-unknown-openbsd${UNAME_RELEASE}
2392 - luna88k:OpenBSD:*:*)
2393 - echo m88k-unknown-openbsd${UNAME_RELEASE}
2395 - mac68k:OpenBSD:*:*)
2396 - echo m68k-unknown-openbsd${UNAME_RELEASE}
2398 - macppc:OpenBSD:*:*)
2399 - echo powerpc-unknown-openbsd${UNAME_RELEASE}
2401 - mvme68k:OpenBSD:*:*)
2402 - echo m68k-unknown-openbsd${UNAME_RELEASE}
2404 - mvme88k:OpenBSD:*:*)
2405 - echo m88k-unknown-openbsd${UNAME_RELEASE}
2407 - mvmeppc:OpenBSD:*:*)
2408 - echo powerpc-unknown-openbsd${UNAME_RELEASE}
2411 - echo mips64-unknown-openbsd${UNAME_RELEASE}
2414 - echo m68k-unknown-openbsd${UNAME_RELEASE}
2418 - echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
2420 + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
2421 + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
2424 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
2428 + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
2431 - echo powerppc-unknown-mirbsd${UNAME_RELEASE}
2433 + echo powerpc-unknown-mirbsd${UNAME_RELEASE}
2436 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
2440 case $UNAME_RELEASE in
2442 @@ -314,40 +268,43 @@
2443 # A Xn.n version is an unreleased experimental baselevel.
2444 # 1.2 uses "1.2" for uname -r.
2445 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
2448 Alpha\ *:Windows_NT*:*)
2449 # How do we know it's Interix rather than the generic POSIX subsystem?
2450 # Should we change UNAME_MACHINE based on the output of uname instead
2451 # of the specific Alpha model?
2452 echo alpha-pc-interix
2455 21064:Windows_NT:50:3)
2456 echo alpha-dec-winnt3.5
2459 Amiga*:UNIX_System_V:4.0:*)
2460 echo m68k-unknown-sysv4
2463 *:[Aa]miga[Oo][Ss]:*:*)
2464 echo ${UNAME_MACHINE}-unknown-amigaos
2467 *:[Mm]orph[Oo][Ss]:*:*)
2468 echo ${UNAME_MACHINE}-unknown-morphos
2472 echo i370-ibm-openedition
2480 echo powerpc-ibm-os400
2483 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
2484 echo arm-acorn-riscix${UNAME_RELEASE}
2487 + arm:riscos:*:*|arm:RISCOS:*:*)
2488 + echo arm-unknown-riscos
2490 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
2491 echo hppa1.1-hitachi-hiuxmpp
2494 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
2495 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
2496 if test "`(/bin/universe) 2>/dev/null`" = att ; then
2497 @@ -355,32 +312,32 @@
2499 echo pyramid-pyramid-bsd
2504 echo pyramid-pyramid-svr4
2507 DRS?6000:unix:4.0:6*)
2511 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
2512 case `/usr/bin/uname -p` in
2513 - sparc) echo sparc-icl-nx7 && exit 0 ;;
2514 + sparc) echo sparc-icl-nx7; exit ;;
2517 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2520 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
2521 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2525 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2529 # According to config.sub, this is the proper way to canonicalize
2530 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
2531 # it's likely to be more like Solaris than SunOS4.
2532 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2536 case "`/usr/bin/arch -k`" in
2538 @@ -389,10 +346,10 @@
2540 # Japanese Language versions have a version number like `4.1.3-JL'.
2541 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
2545 echo m68k-sun-sunos${UNAME_RELEASE}
2549 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
2550 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
2551 @@ -404,10 +361,10 @@
2552 echo sparc-sun-sunos${UNAME_RELEASE}
2558 echo sparc-auspex-sunos${UNAME_RELEASE}
2561 # The situation for MiNT is a little confusing. The machine name
2562 # can be virtually everything (everything which is not
2563 # "atarist" or "atariste" at least should have a processor
2564 @@ -418,40 +375,40 @@
2566 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
2567 echo m68k-atari-mint${UNAME_RELEASE}
2570 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
2571 echo m68k-atari-mint${UNAME_RELEASE}
2574 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
2575 echo m68k-atari-mint${UNAME_RELEASE}
2578 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
2579 echo m68k-milan-mint${UNAME_RELEASE}
2582 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
2583 echo m68k-hades-mint${UNAME_RELEASE}
2586 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
2587 echo m68k-unknown-mint${UNAME_RELEASE}
2591 echo m68k-apple-machten${UNAME_RELEASE}
2594 powerpc:machten:*:*)
2595 echo powerpc-apple-machten${UNAME_RELEASE}
2599 echo mips-dec-mach_bsd4.3
2603 echo mips-dec-ultrix${UNAME_RELEASE}
2607 echo vax-dec-ultrix${UNAME_RELEASE}
2610 2020:CLIX:*:* | 2430:CLIX:*:*)
2611 echo clipper-intergraph-clix${UNAME_RELEASE}
2614 mips:*:*:UMIPS | mips:*:*:RISCos)
2615 eval $set_cc_for_build
2616 sed 's/^ //' << EOF >$dummy.c
2617 @@ -475,32 +432,33 @@
2621 - $CC_FOR_BUILD -o $dummy $dummy.c \
2622 - && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
2624 + $CC_FOR_BUILD -o $dummy $dummy.c &&
2625 + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
2626 + SYSTEM_NAME=`$dummy $dummyarg` &&
2627 + { echo "$SYSTEM_NAME"; exit; }
2628 echo mips-mips-riscos${UNAME_RELEASE}
2631 Motorola:PowerMAX_OS:*:*)
2632 echo powerpc-motorola-powermax
2635 Motorola:*:4.3:PL8-*)
2636 echo powerpc-harris-powermax
2639 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
2640 echo powerpc-harris-powermax
2643 Night_Hawk:Power_UNIX:*:*)
2644 echo powerpc-harris-powerunix
2648 echo m88k-harris-cxux7
2652 echo m88k-motorola-sysv4
2656 echo m88k-motorola-sysv3
2660 # DG/UX returns AViiON for all architectures
2661 UNAME_PROCESSOR=`/usr/bin/uname -p`
2662 @@ -516,29 +474,29 @@
2664 echo i586-dg-dgux${UNAME_RELEASE}
2668 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
2669 echo m88k-dolphin-sysv3
2673 # Delta 88k system running SVR3
2674 echo m88k-motorola-sysv3
2677 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
2678 echo m88k-tektronix-sysv3
2681 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
2682 echo m68k-tektronix-bsd
2686 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
2689 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
2690 - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
2691 - exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
2692 + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
2693 + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
2699 if [ -x /usr/bin/oslevel ] ; then
2700 IBM_REV=`/usr/bin/oslevel`
2702 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
2704 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
2708 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
2709 eval $set_cc_for_build
2710 @@ -561,14 +519,18 @@
2714 - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
2715 - echo rs6000-ibm-aix3.2.5
2716 + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
2718 + echo "$SYSTEM_NAME"
2720 + echo rs6000-ibm-aix3.2.5
2722 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
2723 echo rs6000-ibm-aix3.2.4
2725 echo rs6000-ibm-aix3.2
2730 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
2731 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
2732 @@ -582,28 +544,28 @@
2733 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
2735 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
2742 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
2743 echo romp-ibm-bsd4.4
2746 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
2747 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
2748 - exit 0 ;; # report: romp-ibm BSD 4.3
2749 + exit ;; # report: romp-ibm BSD 4.3
2751 echo rs6000-bull-bosx
2754 DPX/2?00:B.O.S.:*:*)
2755 echo m68k-bull-sysv3
2758 9000/[34]??:4.3bsd:1.*:*)
2762 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
2766 9000/[34678]??:HP-UX:*:*)
2767 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
2768 case "${UNAME_MACHINE}" in
2769 @@ -665,9 +627,19 @@
2771 if [ ${HP_ARCH} = "hppa2.0w" ]
2773 - # avoid double evaluation of $set_cc_for_build
2774 - test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
2775 - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
2776 + eval $set_cc_for_build
2778 + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
2779 + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
2780 + # generating 64-bit code. GNU and HP use different nomenclature:
2782 + # $ CC_FOR_BUILD=cc ./config.guess
2783 + # => hppa2.0w-hp-hpux11.23
2784 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
2785 + # => hppa64-hp-hpux11.23
2787 + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
2788 + grep __LP64__ >/dev/null
2792 @@ -675,11 +647,11 @@
2795 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
2799 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
2800 echo ia64-hp-hpux${HPUX_REV}
2804 eval $set_cc_for_build
2805 sed 's/^ //' << EOF >$dummy.c
2806 @@ -707,161 +679,179 @@
2810 - $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
2811 + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
2812 + { echo "$SYSTEM_NAME"; exit; }
2813 echo unknown-hitachi-hiuxwe2
2816 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
2820 9000/8??:4.3bsd:*:*)
2824 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
2825 echo hppa1.0-hp-mpeix
2828 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
2837 if [ -x /usr/sbin/sysversion ] ; then
2838 echo ${UNAME_MACHINE}-unknown-osf1mk
2840 echo ${UNAME_MACHINE}-unknown-osf1
2845 echo hppa1.1-hp-lites
2848 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
2852 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
2853 if getsysinfo -f scalar_acc
2854 then echo c32-convex-bsd
2855 else echo c2-convex-bsd
2859 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
2863 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
2867 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
2872 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2876 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
2877 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
2878 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
2883 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2887 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2891 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2895 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2898 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
2899 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
2900 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
2901 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
2902 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
2905 5000:UNIX_System_V:4.*:*)
2906 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
2907 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
2908 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
2911 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
2912 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
2916 echo sparc-unknown-bsdi${UNAME_RELEASE}
2920 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
2924 - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
2926 + case ${UNAME_MACHINE} in
2928 + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2930 + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2932 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
2936 echo ${UNAME_MACHINE}-pc-cygwin
2940 echo ${UNAME_MACHINE}-pc-mingw32
2944 + # uname -m includes "-pc" on this system.
2945 + echo ${UNAME_MACHINE}-mingw32
2948 echo ${UNAME_MACHINE}-pc-pw32
2950 - x86:Interix*:[34]*)
2951 - echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
2954 + x86:Interix*:[3456]*)
2955 + echo i586-pc-interix${UNAME_RELEASE}
2957 + EM64T:Interix*:[3456]*)
2958 + echo x86_64-unknown-interix${UNAME_RELEASE}
2960 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
2961 echo i${UNAME_MACHINE}-pc-mks
2964 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
2965 # How do we know it's Interix rather than the generic POSIX subsystem?
2966 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
2967 # UNAME_MACHINE based on the output of uname instead of i386?
2968 echo i586-pc-interix
2972 echo ${UNAME_MACHINE}-pc-uwin
2974 - amd64:CYGWIN*:*:*)
2976 + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
2977 echo x86_64-unknown-cygwin
2981 echo powerpcle-unknown-cygwin
2985 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2990 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
2994 # other systems with GNU libc and userland
2995 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
2999 echo ${UNAME_MACHINE}-pc-minix
3003 - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
3005 + echo ${UNAME_MACHINE}-unknown-linux-gnu
3008 + echo ${UNAME_MACHINE}-unknown-linux-gnu
3011 - echo cris-axis-linux-${LIBC}
3013 + echo cris-axis-linux-gnu
3016 - echo crisv32-axis-linux-${LIBC}
3018 + echo crisv32-axis-linux-gnu
3021 - echo frv-unknown-linux-${LIBC}
3023 + echo frv-unknown-linux-gnu
3026 - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
3028 + echo ${UNAME_MACHINE}-unknown-linux-gnu
3031 - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
3033 + echo ${UNAME_MACHINE}-unknown-linux-gnu
3036 - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
3038 + echo ${UNAME_MACHINE}-unknown-linux-gnu
3041 eval $set_cc_for_build
3042 sed 's/^ //' << EOF >$dummy.c
3043 @@ -878,8 +868,12 @@
3047 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
3048 - test x"${CPU}" != x && echo "${CPU}-unknown-linux-${LIBC}" && exit 0
3049 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
3054 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
3057 eval $set_cc_for_build
3058 @@ -897,15 +891,22 @@
3062 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
3063 - test x"${CPU}" != x && echo "${CPU}-unknown-linux-${LIBC}" && exit 0
3064 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
3069 + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
3072 + echo or32-unknown-linux-gnu
3075 - echo powerpc-unknown-linux-${LIBC}
3077 + echo powerpc-unknown-linux-gnu
3080 - echo powerpc64-unknown-linux-${LIBC}
3082 + echo powerpc64-unknown-linux-gnu
3085 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
3086 EV5) UNAME_MACHINE=alphaev5 ;;
3087 @@ -917,35 +918,38 @@
3088 EV68*) UNAME_MACHINE=alphaev68 ;;
3090 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
3091 - if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
3092 - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
3094 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
3095 + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
3097 parisc:Linux:*:* | hppa:Linux:*:*)
3098 # Look for CPU level
3099 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
3100 - PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
3101 - PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
3102 - *) echo hppa-unknown-linux-${LIBC} ;;
3103 + PA7*) echo hppa1.1-unknown-linux-gnu ;;
3104 + PA8*) echo hppa2.0-unknown-linux-gnu ;;
3105 + *) echo hppa-unknown-linux-gnu ;;
3109 parisc64:Linux:*:* | hppa64:Linux:*:*)
3110 - echo hppa64-unknown-linux-${LIBC}
3112 + echo hppa64-unknown-linux-gnu
3114 s390:Linux:*:* | s390x:Linux:*:*)
3115 echo ${UNAME_MACHINE}-ibm-linux
3119 - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
3121 + echo ${UNAME_MACHINE}-unknown-linux-gnu
3124 - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
3126 + echo ${UNAME_MACHINE}-unknown-linux-gnu
3128 sparc:Linux:*:* | sparc64:Linux:*:*)
3129 - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
3131 + echo ${UNAME_MACHINE}-unknown-linux-gnu
3134 + echo ${UNAME_MACHINE}-dec-linux-gnu
3137 - echo x86_64-unknown-linux-${LIBC}
3139 + echo x86_64-unknown-linux-gnu
3142 # The BFD linker knows what the default object file format is, so
3143 # first see if it will tell us. cd to the root directory to prevent
3144 @@ -959,21 +963,20 @@
3146 case "$ld_supported_targets" in
3148 - TENTATIVE="${UNAME_MACHINE}-pc-linux-${LIBC}"
3149 + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
3152 - echo "${UNAME_MACHINE}-pc-linux-${LIBC}aout"
3154 + echo "${UNAME_MACHINE}-pc-linux-gnuaout"
3157 - echo "${UNAME_MACHINE}-pc-linux-${LIBC}coff"
3159 + echo "${UNAME_MACHINE}-pc-linux-gnucoff"
3162 # Either a pre-BFD a.out linker (linux-gnuoldld) or
3163 # one that does not give us useful --help.
3164 - echo "${UNAME_MACHINE}-pc-linux-${LIBC}oldld"
3166 + echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
3169 - if [ "`echo $LIBC | sed -e 's:uclibc::'`" != "$LIBC" ] ; then echo "$TENTATIVE" && exit 0 ; fi
3170 # Determine whether the default compiler is a.out or elf
3171 eval $set_cc_for_build
3172 sed 's/^ //' << EOF >$dummy.c
3177 - #ifdef __INTEL_COMPILER
3178 + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
3182 @@ -999,16 +1002,23 @@
3186 - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
3187 - test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
3188 - test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
3189 + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
3194 + test x"${LIBC}" != x && {
3195 + echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
3198 + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
3200 i*86:DYNIX/ptx:4*:*)
3201 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
3202 # earlier versions are messed up and put the nodename in both
3203 # sysname and nodename.
3204 echo i386-sequent-sysv4
3207 i*86:UNIX_SV:4.2MP:2.*)
3208 # Unixware is an offshoot of SVR4, but it has its own version
3209 # number series starting with 2...
3210 @@ -1016,27 +1026,27 @@
3211 # I just have to hope. -- rms.
3212 # Use sysv4.2uw... so that sysv4* matches it.
3213 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
3217 # If we were able to find `uname', then EMX Unix compatibility
3218 # is probably installed.
3219 echo ${UNAME_MACHINE}-pc-os2-emx
3222 i*86:XTS-300:*:STOP)
3223 echo ${UNAME_MACHINE}-unknown-stop
3227 echo ${UNAME_MACHINE}-unknown-atheos
3229 - i*86:syllable:*:*)
3231 + i*86:syllable:*:*)
3232 echo ${UNAME_MACHINE}-pc-syllable
3235 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
3236 echo i386-unknown-lynxos${UNAME_RELEASE}
3240 echo ${UNAME_MACHINE}-pc-msdosdjgpp
3243 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
3244 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
3245 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
3246 @@ -1044,15 +1054,16 @@
3248 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
3254 + # UnixWare 7.x, OpenUNIX and OpenServer 6.
3255 case `/bin/uname -X | grep "^Machine"` in
3256 *486*) UNAME_MACHINE=i486 ;;
3257 *Pentium) UNAME_MACHINE=i586 ;;
3258 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
3260 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
3264 if test -f /usr/options/cb.name; then
3265 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
3266 @@ -1070,73 +1081,73 @@
3268 echo ${UNAME_MACHINE}-pc-sysv32
3273 # Left here for compatibility:
3274 # uname -m prints for DJGPP always 'pc', but it prints nothing about
3275 # the processor, so we play safe by assuming i386.
3276 echo i386-pc-msdosdjgpp
3284 echo i860-intel-osf1
3287 i860:*:4.*:*) # i860-SVR4
3288 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
3289 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
3290 else # Add other i860-SVR4 vendors below as they are discovered.
3291 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
3297 echo m68010-convergent-sysv
3300 mc68k:UNIX:SYSTEM5:3.51m)
3301 echo m68k-convergent-sysv
3308 M68*:*:R3V[5678]*:*)
3309 - test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
3310 + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
3311 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
3313 test -r /etc/.relid \
3314 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
3315 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
3316 - && echo i486-ncr-sysv4.3${OS_REL} && exit 0
3317 + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
3318 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
3319 - && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
3320 + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
3321 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
3322 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
3323 - && echo i486-ncr-sysv4 && exit 0 ;;
3324 + && { echo i486-ncr-sysv4; exit; } ;;
3325 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
3326 echo m68k-unknown-lynxos${UNAME_RELEASE}
3329 mc68030:UNIX_System_V:4.*:*)
3330 echo m68k-atari-sysv4
3333 TSUNAMI:LynxOS:2.*:*)
3334 echo sparc-unknown-lynxos${UNAME_RELEASE}
3337 rs6000:LynxOS:2.*:*)
3338 echo rs6000-unknown-lynxos${UNAME_RELEASE}
3341 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
3342 echo powerpc-unknown-lynxos${UNAME_RELEASE}
3345 SM[BE]S:UNIX_SV:*:*)
3346 echo mips-dde-sysv${UNAME_RELEASE}
3349 RM*:ReliantUNIX-*:*:*)
3358 if uname -p 2>/dev/null >/dev/null ; then
3359 UNAME_MACHINE=`(uname -p) 2>/dev/null`
3360 @@ -1144,69 +1155,72 @@
3366 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
3367 # says <Richard.M.Bartel@ccMail.Census.GOV>
3368 echo i586-unisys-sysv4
3371 *:UNIX_System_V:4*:FTX*)
3372 # From Gerald Hewes <hewes@openmarket.com>.
3373 # How about differentiating between stratus architectures? -djm
3374 echo hppa1.1-stratus-sysv4
3378 # From seanf@swdc.stratus.com.
3379 echo i860-stratus-sysv4
3383 + # From Paul.Green@stratus.com.
3384 + echo ${UNAME_MACHINE}-stratus-vos
3387 # From Paul.Green@stratus.com.
3388 echo hppa1.1-stratus-vos
3392 echo m68k-apple-aux${UNAME_RELEASE}
3396 echo mips-sony-newsos6
3399 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
3400 if [ -d /usr/nec ]; then
3401 echo mips-nec-sysv${UNAME_RELEASE}
3403 echo mips-unknown-sysv${UNAME_RELEASE}
3407 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
3408 echo powerpc-be-beos
3411 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
3412 echo powerpc-apple-beos
3415 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
3420 echo sx4-nec-superux${UNAME_RELEASE}
3424 echo sx5-nec-superux${UNAME_RELEASE}
3428 echo sx6-nec-superux${UNAME_RELEASE}
3431 Power*:Rhapsody:*:*)
3432 echo powerpc-apple-rhapsody${UNAME_RELEASE}
3436 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
3440 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
3441 case $UNAME_PROCESSOR in
3442 - *86) UNAME_PROCESSOR=i686 ;;
3443 unknown) UNAME_PROCESSOR=powerpc ;;
3445 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
3448 *:procnto*:*:* | *:QNX:[0123456789]*:*)
3449 UNAME_PROCESSOR=`uname -p`
3450 if test "$UNAME_PROCESSOR" = "x86"; then
3451 @@ -1214,25 +1228,25 @@
3454 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
3461 NSE-?:NONSTOP_KERNEL:*:*)
3462 echo nse-tandem-nsk${UNAME_RELEASE}
3465 NSR-?:NONSTOP_KERNEL:*:*)
3466 echo nsr-tandem-nsk${UNAME_RELEASE}
3470 echo mips-compaq-nonstopux
3474 echo bs2000-siemens-sysv
3477 DS/*:UNIX_System_V:*:*)
3478 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
3482 # "uname -m" is not consistent, so use $cputype instead. 386
3483 # is converted to i386 for consistency with other x86
3484 @@ -1243,41 +1257,47 @@
3485 UNAME_MACHINE="$cputype"
3487 echo ${UNAME_MACHINE}-unknown-plan9
3491 echo pdp10-unknown-tops10
3495 echo pdp10-unknown-tenex
3498 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
3499 echo pdp10-dec-tops20
3502 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
3503 echo pdp10-xkl-tops20
3507 echo pdp10-unknown-tops20
3511 echo pdp10-unknown-its
3515 echo mips-sei-seiux${UNAME_RELEASE}
3519 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
3523 UNAME_MACHINE=`(uname -p) 2>/dev/null`
3524 case "${UNAME_MACHINE}" in
3525 - A*) echo alpha-dec-vms && exit 0 ;;
3526 - I*) echo ia64-dec-vms && exit 0 ;;
3527 - V*) echo vax-dec-vms && exit 0 ;;
3528 + A*) echo alpha-dec-vms ; exit ;;
3529 + I*) echo ia64-dec-vms ; exit ;;
3530 + V*) echo vax-dec-vms ; exit ;;
3537 + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
3540 + echo ${UNAME_MACHINE}-pc-rdos
3544 #echo '(No uname command or uname output not recognized.)' 1>&2
3545 @@ -1309,7 +1329,7 @@
3548 #if defined (__arm) && defined (__acorn) && defined (__unix)
3549 - printf ("arm-acorn-riscix"); exit (0);
3550 + printf ("arm-acorn-riscix\n"); exit (0);
3553 #if defined (hp300) && !defined (hpux)
3554 @@ -1398,11 +1418,12 @@
3558 -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
3559 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
3560 + { echo "$SYSTEM_NAME"; exit; }
3562 # Apollos put the system type in the environment.
3564 -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
3565 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
3567 # Convex versions that predate uname can use getsysinfo(1)
3569 @@ -1411,22 +1432,22 @@
3570 case `getsysinfo -f cpu_type` in
3576 if getsysinfo -f scalar_acc
3577 then echo c32-convex-bsd
3578 else echo c2-convex-bsd
3597 --- ./config/config.sub 2005-11-26 20:29:02.000000000 +0100
3598 +++ ./config/config.sub 2006-08-10 17:17:12.000000000 +0200
3601 # Configuration validation subroutine script.
3602 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3603 -# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
3604 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
3607 -timestamp='2005-02-10'
3608 +timestamp='2006-07-02'
3610 # This file is (in principle) common to ALL GNU software.
3611 # The presence of a machine in this file suggests that SOME GNU software
3614 # You should have received a copy of the GNU General Public License
3615 # along with this program; if not, write to the Free Software
3616 -# Foundation, Inc., 59 Temple Place - Suite 330,
3617 -# Boston, MA 02111-1307, USA.
3619 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
3622 # As a special exception to the GNU General Public License, if you
3623 # distribute this file as part of a program that contains a
3624 # configuration script generated by Autoconf, you may include it under
3625 # the same distribution terms that you use for the rest of that program.
3628 # Please send patches to <config-patches@gnu.org>. Submit a context
3629 # diff and a properly formatted ChangeLog entry.
3632 while test $# -gt 0 ; do
3634 --time-stamp | --time* | -t )
3635 - echo "$timestamp" ; exit 0 ;;
3636 + echo "$timestamp" ; exit ;;
3638 - echo "$version" ; exit 0 ;;
3639 + echo "$version" ; exit ;;
3640 --help | --h* | -h )
3641 - echo "$usage"; exit 0 ;;
3642 + echo "$usage"; exit ;;
3643 -- ) # Stop option processing
3645 - ) # Use stdin as input.
3648 # First pass through any local machine types.
3656 # Here we must recognize all the valid KERNEL-OS combinations.
3657 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
3659 - nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
3660 - kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
3661 + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
3662 + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
3663 + storm-chaos* | os2-emx* | rtmk-nova*)
3665 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
3667 @@ -170,6 +173,10 @@
3673 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3677 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3678 @@ -186,6 +193,10 @@
3679 # Don't forget version if it is 3.2v4 or newer.
3680 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3683 + # Don't forget version if it is 3.2v4 or newer.
3684 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3688 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
3689 @@ -230,14 +241,16 @@
3690 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
3691 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
3693 - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
3694 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
3697 | d10v | d30v | dlx | dsp16xx \
3699 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
3700 | i370 | i860 | i960 | ia64 \
3702 - | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
3703 + | m32c | m32r | m32rle | m68000 | m68k | m88k \
3704 + | maxq | mb | microblaze | mcore \
3705 | mips | mipsbe | mipseb | mipsel | mipsle \
3707 | mips64 | mips64el \
3709 | mips64vr4100 | mips64vr4100el \
3710 | mips64vr4300 | mips64vr4300el \
3711 | mips64vr5000 | mips64vr5000el \
3712 + | mips64vr5900 | mips64vr5900el \
3713 | mipsisa32 | mipsisa32el \
3714 | mipsisa32r2 | mipsisa32r2el \
3715 | mipsisa64 | mipsisa64el \
3716 @@ -253,19 +267,21 @@
3717 | mipsisa64sb1 | mipsisa64sb1el \
3718 | mipsisa64sr71k | mipsisa64sr71kel \
3719 | mipstx39 | mipstx39el \
3720 - | mips64r5900 | mips64r5900el \
3721 | mn10200 | mn10300 \
3726 - | openrisc | or32 \
3728 | pdp10 | pdp11 | pj | pjl \
3729 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
3731 - | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
3732 + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
3734 - | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
3736 - | tahoe | dvp | thumb | tic4x | tic80 | tron \
3737 + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
3738 + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
3739 + | spu | strongarm \
3740 + | tahoe | thumb | tic4x | tic80 | tron \
3743 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
3746 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
3749 + basic_machine=mt-unknown
3752 # We use `pc' rather than `unknown'
3753 # because (1) that's what they normally are, and
3755 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
3756 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
3757 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
3760 + | avr-* | avr32-* \
3761 + | bfin-* | bs2000-* \
3762 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
3763 | clipper-* | craynv-* | cydra-* \
3764 | d10v-* | d30v-* | dlx-* \
3766 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
3767 | i*86-* | i860-* | i960-* | ia64-* \
3768 | ip2k-* | iq2000-* \
3769 - | m32r-* | m32rle-* \
3770 + | m32c-* | m32r-* | m32rle-* \
3771 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
3772 | m88110-* | m88k-* | maxq-* | mcore-* \
3773 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
3775 | mips64vr4100-* | mips64vr4100el-* \
3776 | mips64vr4300-* | mips64vr4300el-* \
3777 | mips64vr5000-* | mips64vr5000el-* \
3778 + | mips64vr5900-* | mips64vr5900el-* \
3779 | mipsisa32-* | mipsisa32el-* \
3780 | mipsisa32r2-* | mipsisa32r2el-* \
3781 | mipsisa64-* | mipsisa64el-* \
3782 @@ -327,19 +347,21 @@
3783 | mipsisa64sb1-* | mipsisa64sb1el-* \
3784 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
3785 | mipstx39-* | mipstx39el-* \
3786 - | mips64r5900-* | mips64r5900el-* \
3790 + | nios-* | nios2-* \
3791 | none-* | np1-* | ns16k-* | ns32k-* \
3793 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
3794 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
3796 | romp-* | rs6000-* \
3797 - | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
3798 + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
3799 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
3800 - | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
3801 - | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
3802 + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
3804 + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
3805 | tahoe-* | thumb-* \
3806 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
3808 @@ -667,24 +689,6 @@
3809 basic_machine=m68k-atari
3812 - mipsEE* | ee | ps2)
3813 - basic_machine=mips64r5900el-scei
3823 - basic_machine=mipsel-scei
3827 - basic_machine=dvp-scei
3831 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
3834 basic_machine=i386-pc
3838 + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
3841 basic_machine=i370-ibm
3844 basic_machine=hppa1.1-oki
3848 + openrisc | openrisc-*)
3849 basic_machine=or32-unknown
3853 basic_machine=powerpc-ibm
3854 @@ -811,6 +817,12 @@
3856 basic_machine=ns32k-pc532
3859 + basic_machine=i386-pc
3862 + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
3864 pentium | p5 | k5 | k6 | nexgen | viac3)
3865 basic_machine=i586-pc
3867 @@ -867,6 +879,10 @@
3868 basic_machine=i586-unknown
3872 + basic_machine=i386-pc
3876 basic_machine=m68k-rom68k
3878 @@ -1106,13 +1122,10 @@
3880 basic_machine=we32k-att
3882 - sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
3883 + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
3884 basic_machine=sh-unknown
3887 - basic_machine=sh64-unknown
3889 - sparc | sparcv8 | sparcv9 | sparcv9b)
3890 + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
3891 basic_machine=sparc-sun
3894 @@ -1185,20 +1198,23 @@
3896 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
3897 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
3898 - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
3899 + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
3900 + | -openbsd* | -solidbsd* \
3901 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
3902 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
3903 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
3904 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
3905 | -chorusos* | -chorusrdb* \
3906 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
3907 - | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
3908 + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
3909 + | -uxpv* | -beos* | -mpeix* | -udk* \
3910 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
3911 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
3912 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
3913 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
3914 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
3915 - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -irx*)
3916 + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
3917 + | -skyos* | -haiku* | -rdos* | -toppers*)
3918 # Remember, each alternative MUST END IN *, to match a version number.
3921 @@ -1216,7 +1232,7 @@
3922 os=`echo $os | sed -e 's|nto|nto-qnx|'`
3924 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
3925 - | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
3926 + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
3927 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
3930 @@ -1350,6 +1366,9 @@
3931 # system, and we'll never get to this point.
3933 case $basic_machine in
3940 @@ -1359,9 +1378,9 @@
3950 # This must come before the *-dec entry.
3953 @@ -1405,6 +1424,9 @@
3963 @@ -1576,7 +1598,7 @@
3966 echo $basic_machine$os
3971 # eval: (add-hook 'write-file-hooks 'time-stamp)
3972 --- ./config/ltmain.sh 2005-11-26 20:29:02.000000000 +0100
3973 +++ ./config/ltmain.sh 2006-03-11 19:49:04.000000000 +0100
3978 -# define SED for historic ltconfig's generated by Libtool 1.3
3979 -test -z "$SED" && SED=sed
3981 # The name of this program:
3982 progname=`echo "$progpath" | $SED $basename`
3983 modename="$progname"
3989 -TIMESTAMP=" (1.1220.2.246 2005/05/16 10:00:18)"
3990 +VERSION="1.5.22 Debian 1.5.22-4"
3991 +TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
3993 # See if we are running on zsh, and set the options which allow our
3994 # commands through without removal of \ escapes.
3995 if test -n "${ZSH_VERSION+set}" ; then
3996 setopt NO_GLOB_SUBST
3998 -# Same for EGREP, and just to be sure, do LTCC as well
3999 -if test "X$EGREP" = X ; then
4002 -if test "X$LTCC" = X ; then
4006 # Check that we have a working $echo.
4007 if test "X$1" = X--no-reexec; then
4009 Xsed="${SED}"' -e 1s/^X//'
4010 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
4011 # test EBCDIC or ASCII
4012 -case `echo A|tr A '\301'` in
4013 - A) # EBCDIC based system
4014 - SP2NL="tr '\100' '\n'"
4015 - NL2SP="tr '\r\n' '\100\100'"
4016 +case `echo X|tr X '\101'` in
4017 + A) # ASCII based system
4018 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4019 + SP2NL='tr \040 \012'
4020 + NL2SP='tr \015\012 \040\040'
4022 - *) # Assume ASCII based system
4023 - SP2NL="tr '\040' '\012'"
4024 - NL2SP="tr '\015\012' '\040\040'"
4025 + *) # EBCDIC based system
4026 + SP2NL='tr \100 \n'
4027 + NL2SP='tr \r\n \100\100'
4031 @@ -141,38 +132,52 @@
4037 lo2o="s/\\.lo\$/.${objext}/"
4038 o2lo="s/\\.${objext}\$/.lo/"
4039 -quote_scanset='[[~#^*{};<>?'"'"' ]'
4041 -if test -z "$max_cmd_len"; then
4046 - # If test is not a shell built-in, we'll probably end up computing a
4047 - # maximum length that is only half of the actual maximum length, but
4049 - while (test "X"`$SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
4050 - = "XX$testring") >/dev/null 2>&1 &&
4051 - new_result=`expr "X$testring" : ".*" 2>&1` &&
4052 - max_cmd_len="$new_result" &&
4053 - test "$i" != 17 # 1/2 MB should be enough
4056 - testring="$testring$testring"
4059 - # Add a significant safety factor because C++ compilers can tack on massive
4060 - # amounts of additional arguments before passing them to the linker.
4061 - # It appears as though 1/2 is a usable value.
4062 - max_cmd_len=`expr $max_cmd_len \/ 2`
4065 #####################################
4066 # Shell function definitions:
4067 # This seems to be the best place for them
4069 +# func_mktempdir [string]
4070 +# Make a temporary directory that won't clash with other running
4071 +# libtool processes, and avoids race conditions if possible. If
4072 +# given, STRING is the basename for that directory.
4075 + my_template="${TMPDIR-/tmp}/${1-$progname}"
4077 + if test "$run" = ":"; then
4078 + # Return a directory name, but don't create it in dry-run mode
4079 + my_tmpdir="${my_template}-$$"
4082 + # If mktemp works, use that first and foremost
4083 + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
4085 + if test ! -d "$my_tmpdir"; then
4086 + # Failing that, at least try and use $RANDOM to avoid a race
4087 + my_tmpdir="${my_template}-${RANDOM-0}$$"
4089 + save_mktempdir_umask=`umask`
4091 + $mkdir "$my_tmpdir"
4092 + umask $save_mktempdir_umask
4095 + # If we're not in dry-run mode, bomb out on failure
4096 + test -d "$my_tmpdir" || {
4097 + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
4098 + exit $EXIT_FAILURE
4102 + $echo "X$my_tmpdir" | $Xsed
4106 # func_win32_libid arg
4107 # return the library type of file 'arg'
4109 @@ -191,12 +196,11 @@
4110 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
4111 $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
4112 win32_nmres=`eval $NM -f posix -A $1 | \
4113 - sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
4114 - if test "X$win32_nmres" = "Ximport" ; then
4115 - win32_libid_type="x86 archive import"
4117 - win32_libid_type="x86 archive static"
4119 + $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
4120 + case $win32_nmres in
4121 + import*) win32_libid_type="x86 archive import";;
4122 + *) win32_libid_type="x86 archive static";;
4131 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4132 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4136 @@ -247,23 +251,13 @@
4138 # Double-quote args containing other shell metacharacters.
4140 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4141 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4145 CC_quoted="$CC_quoted $arg"
4147 - # user sometimes does CC=<HOST>-gcc so we need to match that to 'gcc'
4148 - trimedcc=`echo ${CC} | $SED -e "s/${host}-//g"`
4149 - # and sometimes libtool has CC=<HOST>-gcc but user does CC=gcc
4150 - extendcc=${host}-${CC}
4152 - "cc "* | " cc "* | "${host}-cc "* | " ${host}-cc "*|\
4153 - "gcc "* | " gcc "* | "${host}-gcc "* | " ${host}-gcc "*)
4156 - "$trimedcc "* | " $trimedcc "* | "`$echo $trimedcc` "* | " `$echo $trimedcc` "*|\
4157 - "$extendcc "* | " $extendcc "* | "`$echo $extendcc` "* | " `$echo $extendcc` "*|\
4158 " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
4159 # The compiler in the base compile command matches
4160 # the one in the tagged configuration.
4162 $run ${rm}r "$my_xdir"
4163 $show "$mkdir $my_xdir"
4164 $run $mkdir "$my_xdir"
4166 - if test "$status" -ne 0 && test ! -d "$my_xdir"; then
4169 + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
4175 func_extract_an_archive "$my_xdir" "$my_xabs"
4181 func_extract_an_archive "$my_xdir" "$my_xabs"
4185 eval std_shrext=\"$shrext_cmds\"
4189 # Parse our command line options once, thoroughly.
4190 while test "$#" -gt 0
4192 @@ -512,7 +508,11 @@
4193 preserve_args="$preserve_args $arg"
4196 - --tag) prevopt="--tag" prev=tag ;;
4200 + preserve_args="$preserve_args --tag"
4203 set tag "$optarg" ${1+"$@"}
4205 @@ -544,6 +544,18 @@
4209 +case $disable_libs in
4213 + build_libtool_libs=no
4214 + build_old_libs=yes
4217 + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
4221 # If this variable is set in any of the actions, the command in it
4222 # will be execed at the end. This prevents here-documents from being
4223 # left over by shells.
4228 - case "$arg_mode" in
4231 # do not "continue". Instead, add this to base_compile
4234 # Many Bourne shells cannot handle close brackets correctly
4235 # in scan sets, so we specify it separately.
4237 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4238 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4243 # in scan sets (worked around with variable expansion),
4244 # and furthermore cannot handle '|' '&' '(' ')' in scan sets
4245 # at all, so we specify them separately.
4246 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4247 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4248 lastarg="\"$lastarg\""
4251 @@ -781,13 +793,12 @@
4253 qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
4255 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4256 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4257 qlibobj="\"$qlibobj\"" ;;
4259 - if test "X$libobj" != "X$qlibobj"; then
4260 - $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
4261 - exit $EXIT_FAILURE
4263 + test "X$libobj" != "X$qlibobj" \
4264 + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
4265 + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
4266 objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
4267 xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
4268 if test "X$xdir" = "X$obj"; then
4270 # Lock this critical section if it is needed
4271 # We use this script file to make the link, it avoids creating a new file
4272 if test "$need_locks" = yes; then
4273 - until $run ln "$srcfile" "$lockfile" 2>/dev/null; do
4274 + until $run ln "$progpath" "$lockfile" 2>/dev/null; do
4275 $show "Waiting for $lockfile to be removed"
4280 qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
4282 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4283 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4284 qsrcfile="\"$qsrcfile\"" ;;
4288 if test ! -d "${xdir}$objdir"; then
4289 $show "$mkdir ${xdir}$objdir"
4290 $run $mkdir ${xdir}$objdir
4292 - if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
4295 + if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
4300 @@ -1106,6 +1117,7 @@
4304 + notinst_path= # paths that contain not-installed libtool libraries
4305 precious_files_regex=
4306 prefer_static_libs=no
4308 @@ -1134,14 +1146,15 @@
4309 if test -n "$link_static_flag"; then
4310 dlopen_self=$dlopen_self_static
4312 + prefer_static_libs=yes
4314 if test -z "$pic_flag" && test -n "$link_static_flag"; then
4315 dlopen_self=$dlopen_self_static
4317 + prefer_static_libs=built
4319 build_libtool_libs=no
4321 - prefer_static_libs=yes
4325 @@ -1155,7 +1168,7 @@
4329 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4330 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4331 qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
4334 @@ -1316,6 +1329,11 @@
4335 if test -z "$pic_object" || test "$pic_object" = none ; then
4336 arg="$non_pic_object"
4339 + # If the PIC object exists, use it instead.
4340 + # $xdir was prepended to $pic_object above.
4341 + non_pic_object="$pic_object"
4342 + non_pic_objects="$non_pic_objects $non_pic_object"
4345 # Only an error if not doing a dry-run.
4346 @@ -1399,8 +1417,8 @@
4351 - compiler_flags="$compiler_flags $arg"
4352 + darwin_framework|darwin_framework_skip)
4353 + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
4354 compile_command="$compile_command $arg"
4355 finalize_command="$finalize_command $arg"
4357 @@ -1464,13 +1482,17 @@
4362 - prev=darwin_framework
4363 - compiler_flags="$compiler_flags $arg"
4364 + -framework|-arch|-isysroot)
4366 + *" ${arg} ${1} "* | *" ${arg} ${1} "*)
4367 + prev=darwin_framework_skip ;;
4368 + *) compiler_flags="$compiler_flags $arg"
4369 + prev=darwin_framework ;;
4371 compile_command="$compile_command $arg"
4372 finalize_command="$finalize_command $arg"
4380 @@ -1498,7 +1520,8 @@
4381 absdir=`cd "$dir" && pwd`
4382 if test -z "$absdir"; then
4383 $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
4384 - exit $EXIT_FAILURE
4386 + notinst_path="$notinst_path $dir"
4390 @@ -1512,10 +1535,15 @@
4393 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
4394 + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
4395 case :$dllsearchpath: in
4397 *) dllsearchpath="$dllsearchpath:$dir";;
4399 + case :$dllsearchpath: in
4400 + *":$testbindir:"*) ;;
4401 + *) dllsearchpath="$dllsearchpath:$testbindir";;
4406 @@ -1524,11 +1552,11 @@
4408 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
4410 - *-*-cygwin* | *-*-pw32* | *-*-beos*)
4411 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
4412 # These systems don't actually have a C or math library (as such)
4415 - *-*-mingw* | *-*-os2*)
4417 # These systems don't actually have a C library (as such)
4418 test "X$arg" = "X-lc" && continue
4420 @@ -1540,6 +1568,15 @@
4421 # Rhapsody C and math libraries are in the System framework
4422 deplibs="$deplibs -framework System"
4425 + *-*-sco3.2v5* | *-*-sco5v6*)
4426 + # Causes problems with __ctype
4427 + test "X$arg" = "X-lc" && continue
4429 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
4430 + # Compiler inserts libc in the correct place for threads to work
4431 + test "X$arg" = "X-lc" && continue
4434 elif test "X$arg" = "X-lc_r"; then
4436 @@ -1581,21 +1618,24 @@
4437 # +DA*, +DD* enable 64-bit mode on the HP compiler
4438 # -q* pass through compiler args for the IBM compiler
4439 # -m* pass through architecture-specific compiler args for GCC
4440 - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*)
4441 + # -m*, -t[45]*, -txscale* pass through architecture-specific
4442 + # compiler args for GCC
4443 + # -pg pass through profiling flag for GCC
4444 + # @file GCC response files
4445 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
4446 + -t[45]*|-txscale*|@*)
4448 # Unknown arguments in both finalize_command and compile_command need
4449 # to be aesthetically quoted because they are evaled later.
4450 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
4452 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4453 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4457 compile_command="$compile_command $arg"
4458 finalize_command="$finalize_command $arg"
4459 - if test "$with_gcc" = "yes" ; then
4460 - compiler_flags="$compiler_flags $arg"
4462 + compiler_flags="$compiler_flags $arg"
4466 @@ -1703,7 +1743,7 @@
4467 for flag in $args; do
4470 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4471 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4475 @@ -1721,7 +1761,7 @@
4476 for flag in $args; do
4479 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4480 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4484 @@ -1748,18 +1788,13 @@
4488 - -Kthread | -mthreads | -mt | -pthread | -pthreads | -threads | -qthreaded | -kthread )
4489 - compiler_flags="$compiler_flags $arg"
4493 # Some other compiler flag.
4495 # Unknown arguments in both finalize_command and compile_command need
4496 # to be aesthetically quoted because they are evaled later.
4497 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
4499 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4500 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4504 @@ -1838,6 +1873,11 @@
4505 if test -z "$pic_object" || test "$pic_object" = none ; then
4506 arg="$non_pic_object"
4509 + # If the PIC object exists, use it instead.
4510 + # $xdir was prepended to $pic_object above.
4511 + non_pic_object="$pic_object"
4512 + non_pic_objects="$non_pic_objects $non_pic_object"
4515 # Only an error if not doing a dry-run.
4516 @@ -1893,7 +1933,7 @@
4517 # to be aesthetically quoted because they are evaled later.
4518 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
4520 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
4521 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
4525 @@ -1943,9 +1983,9 @@
4526 if test ! -d "$output_objdir"; then
4527 $show "$mkdir $output_objdir"
4528 $run $mkdir $output_objdir
4530 - if test "$status" -ne 0 && test ! -d "$output_objdir"; then
4533 + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
4538 @@ -2008,7 +2048,6 @@
4540 need_relink=no # whether we're linking any uninstalled libtool libraries
4541 notinst_deplibs= # not-installed libtool libraries
4542 - notinst_path= # paths that contain not-installed libtool libraries
4546 @@ -2043,7 +2082,10 @@
4548 dlopen) libs="$dlfiles" ;;
4549 dlpreopen) libs="$dlprefiles" ;;
4550 - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
4552 + libs="$deplibs %DEPLIBS%"
4553 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
4557 if test "$pass" = dlopen; then
4558 @@ -2244,7 +2286,7 @@
4560 if test "$found" = yes || test -f "$lib"; then :
4562 - $echo "$modename: cannot find the library \`$lib'" 1>&2
4563 + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
4567 @@ -2458,7 +2500,7 @@
4568 case "$temp_rpath " in
4571 - *) temp_rpath="$temp_rpath $dir" ;;
4572 + *) temp_rpath="$temp_rpath $absdir" ;;
4576 @@ -2495,8 +2537,12 @@
4579 link_static=no # Whether the deplib will be linked statically
4580 + use_static_libs=$prefer_static_libs
4581 + if test "$use_static_libs" = built && test "$installed" = yes ; then
4582 + use_static_libs=no
4584 if test -n "$library_names" &&
4585 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
4586 + { test "$use_static_libs" = no || test -z "$old_library"; }; then
4587 if test "$installed" = no; then
4588 notinst_deplibs="$notinst_deplibs $lib"
4590 @@ -2609,11 +2655,15 @@
4591 if test "$hardcode_direct" = no; then
4594 - *-*-sco3.2v5* ) add_dir="-L$dir" ;;
4595 + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
4596 + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
4597 + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
4598 + *-*-unixware7*) add_dir="-L$dir" ;;
4600 # if the lib is a module then we can not link against
4601 # it, someone is ignoring the new warnings I added
4602 - if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
4603 + if /usr/bin/file -L $add 2> /dev/null |
4604 + $EGREP ": [^:]* bundle" >/dev/null ; then
4605 $echo "** Warning, lib $linklib is a module, not a shared library"
4606 if test -z "$old_library" ; then
4608 @@ -2644,7 +2694,7 @@
4610 # Try looking first in the location we're being installed to.
4611 if test -n "$inst_prefix_dir"; then
4615 add_dir="$add_dir -L$inst_prefix_dir$libdir"
4617 @@ -2717,7 +2767,7 @@
4619 # Try looking first in the location we're being installed to.
4620 if test -n "$inst_prefix_dir"; then
4624 add_dir="$add_dir -L$inst_prefix_dir$libdir"
4626 @@ -2778,8 +2828,6 @@
4630 - convenience="$convenience $dir/$old_library"
4631 - old_convenience="$old_convenience $dir/$old_library"
4632 deplibs="$dir/$old_library $deplibs"
4635 @@ -3156,6 +3204,11 @@
4637 revision="$number_minor"
4640 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
4641 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
4642 + exit $EXIT_FAILURE
4647 @@ -3366,9 +3419,9 @@
4649 # Eliminate all temporary directories.
4650 for path in $notinst_path; do
4651 - lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
4652 - deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
4653 - dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
4654 + lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
4655 + deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
4656 + dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
4659 if test -n "$xrpath"; then
4660 @@ -3421,7 +3474,12 @@
4662 *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
4663 # Do not include libc due to us having libc/libc_r.
4664 - test "X$arg" = "X-lc" && continue
4666 + *-*-sco3.2v5* | *-*-sco5v6*)
4667 + # Causes problems with __ctype
4669 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
4670 + # Compiler inserts libc in the correct place for threads to work
4673 # Add libc to deplibs on all other systems if necessary.
4674 @@ -3465,11 +3523,11 @@
4675 int main() { return 0; }
4678 - $LTCC -o conftest conftest.c $deplibs
4679 + $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
4680 if test "$?" -eq 0 ; then
4681 ldd_output=`ldd conftest`
4682 for i in $deplibs; do
4683 - name="`expr $i : '-l\(.*\)'`"
4684 + name=`expr $i : '-l\(.*\)'`
4685 # If $name is empty we are operating on a -L argument.
4686 if test "$name" != "" && test "$name" -ne "0"; then
4687 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
4688 @@ -3506,11 +3564,11 @@
4689 # Error occurred in the first compile. Let's try to salvage
4690 # the situation: Compile a separate program for each library.
4691 for i in $deplibs; do
4692 - name="`expr $i : '-l\(.*\)'`"
4693 + name=`expr $i : '-l\(.*\)'`
4694 # If $name is empty we are operating on a -L argument.
4695 if test "$name" != "" && test "$name" != "0"; then
4697 - $LTCC -o conftest conftest.c $i
4698 + $LTCC $LTCFLAGS -o conftest conftest.c $i
4700 if test "$?" -eq 0 ; then
4701 ldd_output=`ldd conftest`
4702 @@ -3558,7 +3616,7 @@
4703 set dummy $deplibs_check_method
4704 file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
4705 for a_deplib in $deplibs; do
4706 - name="`expr $a_deplib : '-l\(.*\)'`"
4707 + name=`expr $a_deplib : '-l\(.*\)'`
4708 # If $name is empty we are operating on a -L argument.
4709 if test "$name" != "" && test "$name" != "0"; then
4710 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
4711 @@ -3592,13 +3650,6 @@
4712 *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
4715 - # It is ok to link against an archive when
4716 - # building a shared library.
4717 - if $AR -t $potlib > /dev/null 2>&1; then
4718 - newdeplibs="$newdeplibs $a_deplib"
4722 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
4724 | $EGREP "$file_magic_regex" > /dev/null; then
4725 @@ -3634,7 +3685,7 @@
4726 set dummy $deplibs_check_method
4727 match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
4728 for a_deplib in $deplibs; do
4729 - name="`expr $a_deplib : '-l\(.*\)'`"
4730 + name=`expr $a_deplib : '-l\(.*\)'`
4731 # If $name is empty we are operating on a -L argument.
4732 if test -n "$name" && test "$name" != "0"; then
4733 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
4734 @@ -3764,6 +3815,35 @@
4739 + # move library search paths that coincide with paths to not yet
4740 + # installed libraries to the beginning of the library search list
4742 + for path in $notinst_path; do
4743 + case " $new_libs " in
4744 + *" -L$path/$objdir "*) ;;
4746 + case " $deplibs " in
4747 + *" -L$path/$objdir "*)
4748 + new_libs="$new_libs -L$path/$objdir" ;;
4753 + for deplib in $deplibs; do
4756 + case " $new_libs " in
4758 + *) new_libs="$new_libs $deplib" ;;
4761 + *) new_libs="$new_libs $deplib" ;;
4764 + deplibs="$new_libs"
4767 # All the library-specific variables (install_libdir is set above).
4770 @@ -3847,6 +3927,7 @@
4773 lib="$output_objdir/$realname"
4777 linknames="$linknames $link"
4778 @@ -3875,6 +3956,9 @@
4779 # The command line is too long to execute in one step.
4780 $show "using reloadable object file for export list..."
4782 + # Break out early, otherwise skipped_export may be
4783 + # set to false by a later but shorter cmd.
4788 @@ -3944,7 +4028,8 @@
4792 - if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*"` &&
4793 + if test "X$skipped_export" != "X:" &&
4794 + len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
4795 test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
4798 @@ -3979,7 +4064,7 @@
4800 eval test_cmds=\"$reload_cmds $objlist $last_robj\"
4801 if test "X$objlist" = X ||
4802 - { len=`expr "X$test_cmds" : ".*"` &&
4803 + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
4804 test "$len" -le "$max_cmd_len"; }; then
4805 objlist="$objlist $obj"
4807 @@ -4069,13 +4154,30 @@
4811 - $run eval "$cmd" || exit $?
4812 + $run eval "$cmd" || {
4815 + # Restore the uninstalled library and exit
4816 + if test "$mode" = relink; then
4817 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
4825 # Restore the uninstalled library and exit
4826 if test "$mode" = relink; then
4827 $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
4829 + if test -n "$convenience"; then
4830 + if test -z "$whole_archive_flag_spec"; then
4831 + $show "${rm}r $gentop"
4832 + $run ${rm}r "$gentop"
4839 @@ -4257,6 +4359,35 @@
4844 + # move library search paths that coincide with paths to not yet
4845 + # installed libraries to the beginning of the library search list
4847 + for path in $notinst_path; do
4848 + case " $new_libs " in
4849 + *" -L$path/$objdir "*) ;;
4851 + case " $compile_deplibs " in
4852 + *" -L$path/$objdir "*)
4853 + new_libs="$new_libs -L$path/$objdir" ;;
4858 + for deplib in $compile_deplibs; do
4861 + case " $new_libs " in
4863 + *) new_libs="$new_libs $deplib" ;;
4866 + *) new_libs="$new_libs $deplib" ;;
4869 + compile_deplibs="$new_libs"
4872 compile_command="$compile_command $compile_deplibs"
4873 finalize_command="$finalize_command $finalize_deplibs"
4875 @@ -4301,10 +4432,15 @@
4878 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
4879 + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
4880 case :$dllsearchpath: in
4882 *) dllsearchpath="$dllsearchpath:$libdir";;
4884 + case :$dllsearchpath: in
4885 + *":$testbindir:"*) ;;
4886 + *) dllsearchpath="$dllsearchpath:$testbindir";;
4891 @@ -4420,11 +4556,23 @@
4892 if test -z "$export_symbols"; then
4893 export_symbols="$output_objdir/$outputname.exp"
4894 $run $rm $export_symbols
4895 - $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
4896 + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
4898 + *cygwin* | *mingw* )
4899 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
4900 + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
4904 - $run eval "${SED} -e 's/\([ ][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
4905 + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
4906 $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
4907 $run eval 'mv "$nlist"T "$nlist"'
4909 + *cygwin* | *mingw* )
4910 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
4911 + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
4917 @@ -4541,16 +4689,29 @@
4920 # Now compile the dynamic symbol file.
4921 - $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
4922 - $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
4923 + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
4924 + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
4926 # Clean up the generated files.
4927 $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
4928 $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
4930 # Transform the symbol file into the correct name.
4931 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4932 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4934 + *cygwin* | *mingw* )
4935 + if test -f "$output_objdir/${outputname}.def" ; then
4936 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
4937 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
4939 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4940 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4944 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4945 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
4950 $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
4951 @@ -4575,7 +4736,7 @@
4952 # We have no uninstalled library dependencies, so finalize right now.
4953 $show "$link_command"
4954 $run eval "$link_command"
4958 # Delete the generated files.
4959 if test -n "$dlsyms"; then
4960 @@ -4583,7 +4744,7 @@
4961 $run $rm "$output_objdir/${outputname}S.${objext}"
4968 if test -n "$shlibpath_var"; then
4969 @@ -4723,10 +4884,12 @@
4972 *cygwin* | *mingw* )
4973 - cwrappersource=`$echo ${objdir}/lt-${outputname}.c`
4974 - cwrapper=`$echo ${output}.exe`
4975 - $rm $cwrappersource $cwrapper
4976 - trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
4977 + output_name=`basename $output`
4978 + output_path=`dirname $output`
4979 + cwrappersource="$output_path/$objdir/lt-$output_name.c"
4980 + cwrapper="$output_path/$output_name.exe"
4981 + $rm $cwrappersource $cwrapper
4982 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
4984 cat > $cwrappersource <<EOF
4986 @@ -4751,6 +4914,9 @@
4990 +#include <string.h>
4992 +#include <sys/stat.h>
4994 #if defined(PATH_MAX)
4995 # define LT_PATHMAX PATH_MAX
4996 @@ -4761,15 +4927,19 @@
4999 #ifndef DIR_SEPARATOR
5000 -#define DIR_SEPARATOR '/'
5001 +# define DIR_SEPARATOR '/'
5002 +# define PATH_SEPARATOR ':'
5005 #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
5007 -#define HAVE_DOS_BASED_FILE_SYSTEM
5008 -#ifndef DIR_SEPARATOR_2
5009 -#define DIR_SEPARATOR_2 '\\'
5011 +# define HAVE_DOS_BASED_FILE_SYSTEM
5012 +# ifndef DIR_SEPARATOR_2
5013 +# define DIR_SEPARATOR_2 '\\'
5015 +# ifndef PATH_SEPARATOR_2
5016 +# define PATH_SEPARATOR_2 ';'
5020 #ifndef DIR_SEPARATOR_2
5021 @@ -4779,17 +4949,32 @@
5022 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
5023 #endif /* DIR_SEPARATOR_2 */
5025 +#ifndef PATH_SEPARATOR_2
5026 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
5027 +#else /* PATH_SEPARATOR_2 */
5028 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
5029 +#endif /* PATH_SEPARATOR_2 */
5031 #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
5032 #define XFREE(stale) do { \
5033 if (stale) { free ((void *) stale); stale = 0; } \
5036 +/* -DDEBUG is fairly common in CFLAGS. */
5038 +#if defined DEBUGWRAPPER
5039 +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
5041 +# define DEBUG(format, ...)
5044 const char *program_name = NULL;
5046 void * xmalloc (size_t num);
5047 char * xstrdup (const char *string);
5048 -char * basename (const char *name);
5049 -char * fnqualify(const char *path);
5050 +const char * base_name (const char *name);
5051 +char * find_executable(const char *wrapper);
5052 +int check_executable(const char *path);
5053 char * strendzap(char *str, const char *pat);
5054 void lt_fatal (const char *message, ...);
5056 @@ -4799,29 +4984,51 @@
5060 - program_name = (char *) xstrdup ((char *) basename (argv[0]));
5061 + program_name = (char *) xstrdup (base_name (argv[0]));
5062 + DEBUG("(main) argv[0] : %s\n",argv[0]);
5063 + DEBUG("(main) program_name : %s\n",program_name);
5064 newargz = XMALLOC(char *, argc+2);
5067 - cat >> $cwrappersource <<EOF
5068 - newargz[0] = "$SHELL";
5069 + cat >> $cwrappersource <<EOF
5070 + newargz[0] = (char *) xstrdup("$SHELL");
5073 - cat >> $cwrappersource <<"EOF"
5074 - newargz[1] = fnqualify(argv[0]);
5075 + cat >> $cwrappersource <<"EOF"
5076 + newargz[1] = find_executable(argv[0]);
5077 + if (newargz[1] == NULL)
5078 + lt_fatal("Couldn't find %s", argv[0]);
5079 + DEBUG("(main) found exe at : %s\n",newargz[1]);
5080 /* we know the script has the same name, without the .exe */
5081 /* so make sure newargz[1] doesn't end in .exe */
5082 strendzap(newargz[1],".exe");
5083 for (i = 1; i < argc; i++)
5084 newargz[i+1] = xstrdup(argv[i]);
5085 newargz[argc+1] = NULL;
5087 + for (i=0; i<argc+1; i++)
5089 + DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
5095 - cat >> $cwrappersource <<EOF
5098 + cat >> $cwrappersource <<EOF
5099 + execv("$SHELL",(char const **)newargz);
5103 + cat >> $cwrappersource <<EOF
5104 execv("$SHELL",newargz);
5109 - cat >> $cwrappersource <<"EOF"
5110 + cat >> $cwrappersource <<"EOF"
5115 @@ -4841,48 +5048,148 @@
5120 -basename (const char *name)
5122 +base_name (const char *name)
5126 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
5127 /* Skip over the disk name in MSDOS pathnames. */
5128 - if (isalpha (name[0]) && name[1] == ':')
5129 + if (isalpha ((unsigned char)name[0]) && name[1] == ':')
5133 for (base = name; *name; name++)
5134 if (IS_DIR_SEPARATOR (*name))
5136 - return (char *) base;
5141 +check_executable(const char * path)
5145 + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
5146 + if ((!path) || (!*path))
5149 + if ((stat (path, &st) >= 0) &&
5151 + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
5152 +#if defined (S_IXOTH)
5153 + ((st.st_mode & S_IXOTH) == S_IXOTH) ||
5155 +#if defined (S_IXGRP)
5156 + ((st.st_mode & S_IXGRP) == S_IXGRP) ||
5158 + ((st.st_mode & S_IXUSR) == S_IXUSR))
5165 +/* Searches for the full path of the wrapper. Returns
5166 + newly allocated full path name if found, NULL otherwise */
5168 -fnqualify(const char *path)
5169 +find_executable (const char* wrapper)
5173 + int has_slash = 0;
5175 + const char* p_next;
5176 + /* static buffer for getcwd */
5177 char tmp[LT_PATHMAX + 1];
5179 + char* concat_name;
5181 + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
5183 - assert(path != NULL);
5184 + if ((wrapper == NULL) || (*wrapper == '\0'))
5187 - /* Is it qualified already? */
5188 + /* Absolute path? */
5189 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
5190 + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
5192 + concat_name = xstrdup (wrapper);
5193 + if (check_executable(concat_name))
5194 + return concat_name;
5195 + XFREE(concat_name);
5200 + if (IS_DIR_SEPARATOR (wrapper[0]))
5202 + concat_name = xstrdup (wrapper);
5203 + if (check_executable(concat_name))
5204 + return concat_name;
5205 + XFREE(concat_name);
5207 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
5208 - if (isalpha (path[0]) && path[1] == ':')
5209 - return xstrdup (path);
5212 - if (IS_DIR_SEPARATOR (path[0]))
5213 - return xstrdup (path);
5215 - /* prepend the current directory */
5216 - /* doesn't handle '~' */
5217 + for (p = wrapper; *p; p++)
5225 + /* no slashes; search PATH */
5226 + const char* path = getenv ("PATH");
5229 + for (p = path; *p; p = p_next)
5233 + for (q = p; *q; q++)
5234 + if (IS_PATH_SEPARATOR(*q))
5237 + p_next = (*q == '\0' ? q : q + 1);
5240 + /* empty path: current directory */
5241 + if (getcwd (tmp, LT_PATHMAX) == NULL)
5242 + lt_fatal ("getcwd failed");
5243 + tmp_len = strlen(tmp);
5244 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
5245 + memcpy (concat_name, tmp, tmp_len);
5246 + concat_name[tmp_len] = '/';
5247 + strcpy (concat_name + tmp_len + 1, wrapper);
5251 + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
5252 + memcpy (concat_name, p, p_len);
5253 + concat_name[p_len] = '/';
5254 + strcpy (concat_name + p_len + 1, wrapper);
5256 + if (check_executable(concat_name))
5257 + return concat_name;
5258 + XFREE(concat_name);
5261 + /* not found in PATH; assume curdir */
5263 + /* Relative path | not found in path: prepend cwd */
5264 if (getcwd (tmp, LT_PATHMAX) == NULL)
5265 lt_fatal ("getcwd failed");
5266 - size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
5267 - p = XMALLOC(char, size);
5268 - sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
5270 + tmp_len = strlen(tmp);
5271 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
5272 + memcpy (concat_name, tmp, tmp_len);
5273 + concat_name[tmp_len] = '/';
5274 + strcpy (concat_name + tmp_len + 1, wrapper);
5276 + if (check_executable(concat_name))
5277 + return concat_name;
5278 + XFREE(concat_name);
5283 @@ -4926,16 +5233,16 @@
5287 - # we should really use a build-platform specific compiler
5288 - # here, but OTOH, the wrappers (shell script and this C one)
5289 - # are only useful if you want to execute the "real" binary.
5290 - # Since the "real" binary is built for $host, then this
5291 - # wrapper might as well be built for $host, too.
5292 - $run $LTCC -s -o $cwrapper $cwrappersource
5296 - trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
5297 + # we should really use a build-platform specific compiler
5298 + # here, but OTOH, the wrappers (shell script and this C one)
5299 + # are only useful if you want to execute the "real" binary.
5300 + # Since the "real" binary is built for $host, then this
5301 + # wrapper might as well be built for $host, too.
5302 + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
5306 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
5310 @@ -5085,13 +5392,13 @@
5311 # Backslashes separate directories on plain windows
5312 *-*-mingw | *-*-os2*)
5314 - exec \$progdir\\\\\$program \${1+\"\$@\"}
5315 + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
5321 - exec \$progdir/\$program \${1+\"\$@\"}
5322 + exec \"\$progdir/\$program\" \${1+\"\$@\"}
5326 @@ -5101,7 +5408,7 @@
5329 # The program doesn't exist.
5330 - \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
5331 + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
5332 \$echo \"This script is just a wrapper for \$program.\" 1>&2
5333 $echo \"See the $PACKAGE documentation for more information.\" 1>&2
5335 @@ -5165,9 +5472,9 @@
5336 $run ${rm}r "$gentop"
5337 $show "$mkdir $gentop"
5338 $run $mkdir "$gentop"
5340 - if test "$status" -ne 0 && test ! -d "$gentop"; then
5343 + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
5348 @@ -5224,7 +5531,7 @@
5349 oldobjs="$objlist $obj"
5350 objlist="$objlist $obj"
5351 eval test_cmds=\"$old_archive_cmds\"
5352 - if len=`expr "X$test_cmds" : ".*"` &&
5353 + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
5354 test "$len" -le "$max_cmd_len"; then
5357 @@ -5307,53 +5614,9 @@
5358 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
5361 - if test "X$EGREP" = X ; then
5364 - # We do not want portage's install root ($D) present. Check only for
5365 - # this if the .la is being installed.
5366 - if test "$installed" = yes && test "$D"; then
5367 - eval mynewdependency_lib=`echo "$libdir/$name" |sed -e "s:$D:/:g" -e 's:/\+:/:g'`
5369 - mynewdependency_lib="$libdir/$name"
5371 - # Do not add duplicates
5372 - if test "$mynewdependency_lib"; then
5373 - my_little_ninja_foo_1=`echo $newdependency_libs |$EGREP -e "$mynewdependency_lib"`
5374 - if test -z "$my_little_ninja_foo_1"; then
5375 - newdependency_libs="$newdependency_libs $mynewdependency_lib"
5380 - if test "$installed" = yes; then
5381 - # Rather use S=WORKDIR if our version of portage supports it.
5382 - # This is because some ebuild (gcc) do not use $S as buildroot.
5383 - if test "$PWORKDIR"; then
5386 - # We do not want portage's build root ($S) present.
5387 - my_little_ninja_foo_2=`echo $deplib |$EGREP -e "$S"`
5388 - if test -n "$my_little_ninja_foo_2" && test "$S"; then
5389 - mynewdependency_lib=""
5390 - # We do not want portage's install root ($D) present.
5391 - my_little_ninja_foo_3=`echo $deplib |$EGREP -e "$D"`
5392 - elif test -n "$my_little_ninja_foo_3" && test "$D"; then
5393 - eval mynewdependency_lib=`echo "$deplib" |sed -e "s:$D:/:g" -e 's:/\+:/:g'`
5395 - mynewdependency_lib="$deplib"
5398 - mynewdependency_lib="$deplib"
5400 - # Do not add duplicates
5401 - if test "$mynewdependency_lib"; then
5402 - my_little_ninja_foo_4=`echo $newdependency_libs |$EGREP -e "$mynewdependency_lib"`
5403 - if test -z "$my_little_ninja_foo_4"; then
5404 - newdependency_libs="$newdependency_libs $mynewdependency_lib"
5407 + newdependency_libs="$newdependency_libs $libdir/$name"
5409 + *) newdependency_libs="$newdependency_libs $deplib" ;;
5412 dependency_libs="$newdependency_libs"
5413 @@ -5405,10 +5668,6 @@
5414 case $host,$output,$installed,$module,$dlname in
5415 *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
5417 - # Do not add duplicates
5418 - if test "$installed" = yes && test "$D"; then
5419 - install_libdir=`echo "$install_libdir" |sed -e "s:$D:/:g" -e 's:/\+:/:g'`
5422 # $outputname - a libtool library file
5423 # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
5424 @@ -5469,11 +5728,11 @@
5425 # install_prog (especially on Windows NT).
5426 if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
5427 # Allow the use of GNU shtool's install command.
5428 - $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
5429 + $echo "X$nonopt" | grep shtool > /dev/null; then
5430 # Aesthetically quote it.
5431 arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
5433 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
5434 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
5438 @@ -5482,14 +5741,14 @@
5446 # The real first argument should be the name of the installation program.
5447 # Aesthetically quote it.
5448 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
5450 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
5451 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
5455 @@ -5507,28 +5766,31 @@
5457 if test -n "$dest"; then
5458 files="$files $dest"
5471 + case " $install_prog " in
5476 + -g | -m | -o) prev=$arg ;;
5486 # If the previous option needed an argument, then skip it.
5487 if test -n "$prev"; then
5495 @@ -5537,7 +5799,7 @@
5496 # Aesthetically quote the argument.
5497 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
5499 - *$quote_scanset* | *]* | *\|* | *\&* | *\(* | *\)* | "")
5500 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
5504 @@ -5706,11 +5968,14 @@
5506 if test "$#" -gt 0; then
5507 # Delete the old symlinks, and create new ones.
5508 + # Try `ln -sf' first, because the `ln' binary might depend on
5509 + # the symlink we replace! Solaris /bin/ln does not understand -f,
5510 + # so we also need to try rm && ln -s.
5513 if test "$linkname" != "$realname"; then
5514 - $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
5515 - $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
5516 + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
5517 + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
5521 @@ -5723,7 +5988,16 @@
5525 - $run eval "$cmd" || exit $?
5526 + $run eval "$cmd" || {
5529 + # Restore the uninstalled library and exit
5530 + if test "$mode" = relink; then
5531 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
5539 @@ -5817,17 +6091,15 @@
5543 - # To insure that "foo" is sourced, and not "foo.exe",
5544 - # finese the cygwin/MSYS system by explicitly sourcing "foo."
5545 - # which disallows the automatic-append-.exe behavior.
5547 - *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
5548 - *) wrapperdot=${wrapper} ;;
5550 + # Note that it is not necessary on cygwin/mingw to append a dot to
5551 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
5552 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
5553 + # `FILE.' does not work on cygwin managed mounts.
5555 # If there is no directory component, then add one.
5557 - */* | *\\*) . ${wrapperdot} ;;
5558 - *) . ./${wrapperdot} ;;
5560 + */* | *\\*) . ${wrapper} ;;
5561 + *) . ./${wrapper} ;;
5564 # Check the variables that should have been set.
5565 @@ -5855,34 +6127,21 @@
5569 - # To insure that "foo" is sourced, and not "foo.exe",
5570 - # finese the cygwin/MSYS system by explicitly sourcing "foo."
5571 - # which disallows the automatic-append-.exe behavior.
5573 - *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
5574 - *) wrapperdot=${wrapper} ;;
5576 + # Note that it is not necessary on cygwin/mingw to append a dot to
5577 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
5578 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
5579 + # `FILE.' does not work on cygwin managed mounts.
5581 # If there is no directory component, then add one.
5583 - */* | *\\*) . ${wrapperdot} ;;
5584 - *) . ./${wrapperdot} ;;
5586 + */* | *\\*) . ${wrapper} ;;
5587 + *) . ./${wrapper} ;;
5591 if test "$fast_install" = no && test -n "$relink_command"; then
5592 if test "$finalize" = yes && test -z "$run"; then
5594 - test -n "$TMPDIR" && tmpdir="$TMPDIR"
5595 - tmpdir="$tmpdir/libtool-$$"
5596 - save_umask=`umask`
5598 - if $mkdir "$tmpdir"; then
5602 - $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
5605 + tmpdir=`func_mktempdir`
5606 file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
5607 outputname="$tmpdir/$file"
5608 # Replace the output file specification.
5609 @@ -5906,7 +6165,7 @@
5612 # remove .exe since cygwin /usr/bin/install will append another
5615 case $install_prog,$host in
5616 */usr/bin/install*,*cygwin*)
5617 case $file:$destfile in
5618 @@ -6006,7 +6265,7 @@
5619 # Exit here if they wanted silent mode.
5620 test "$show" = : && exit $EXIT_SUCCESS
5622 - $echo "----------------------------------------------------------------------"
5623 + $echo "X----------------------------------------------------------------------" | $Xsed
5624 $echo "Libraries have been installed in:"
5625 for libdir in $libdirs; do
5627 @@ -6039,7 +6298,7 @@
5629 $echo "See any operating system documentation about shared libraries for"
5630 $echo "more information, such as the ld(1) and ld.so(8) manual pages."
5631 - $echo "----------------------------------------------------------------------"
5632 + $echo "X----------------------------------------------------------------------" | $Xsed
5636 @@ -6256,9 +6515,17 @@
5637 rmfiles="$rmfiles $objdir/$n"
5639 test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
5640 - test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
5642 - if test "$mode" = uninstall; then
5645 + case " $library_names " in
5646 + # " " in the beginning catches empty $dlname
5648 + *) rmfiles="$rmfiles $objdir/$dlname" ;;
5650 + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
5653 if test -n "$library_names"; then
5654 # Do each command in the postuninstall commands.
5655 cmds=$postuninstall_cmds
5656 @@ -6291,7 +6558,8 @@
5659 # FIXME: should reinstall the best remaining shared library.
5666 @@ -6590,12 +6858,11 @@
5667 # configuration. But we'll never go from static-only to shared-only.
5669 # ### BEGIN LIBTOOL TAG CONFIG: disable-shared
5670 -build_libtool_libs=no
5672 +disable_libs=shared
5673 # ### END LIBTOOL TAG CONFIG: disable-shared
5675 # ### BEGIN LIBTOOL TAG CONFIG: disable-static
5676 -build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
5677 +disable_libs=static
5678 # ### END LIBTOOL TAG CONFIG: disable-static
5681 --- ./configure 2005-11-26 20:46:25.000000000 +0100
5682 +++ ./configure 2006-10-10 17:43:59.000000000 +0200
5685 # Guess values for system-dependent variables and create Makefiles.
5686 -# Generated by GNU Autoconf 2.59 for suPHP 0.6.1.
5687 +# Generated by GNU Autoconf 2.60a for suPHP 0.6.1.
5689 # Report bugs to <sebastian.marsching@suphp.org>.
5691 -# Copyright (C) 2003 Free Software Foundation, Inc.
5692 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5693 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
5694 # This configure script is free software; the Free Software Foundation
5695 # gives unlimited permission to copy, distribute and modify it.
5696 ## --------------------- ##
5698 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5699 # is contrary to our usage. Disable this feature.
5700 alias -g '${1+"$@"}'='"$@"'
5701 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5703 + setopt NO_GLOB_SUBST
5705 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
5707 +BIN_SH=xpg4; export BIN_SH # for Tru64
5708 DUALCASE=1; export DUALCASE # for MKS sh
5712 +# Avoid depending upon Character Ranges.
5713 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5714 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5715 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5716 +as_cr_digits='0123456789'
5717 +as_cr_alnum=$as_cr_Letters$as_cr_digits
5719 +# The user is always right.
5720 +if test "${PATH_SEPARATOR+set}" != set; then
5721 + echo "#! /bin/sh" >conf$$.sh
5722 + echo "exit 0" >>conf$$.sh
5723 + chmod +x conf$$.sh
5724 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5725 + PATH_SEPARATOR=';'
5732 # Support unset when possible.
5733 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5740 +# We need space, tab and new line, in precisely that order. Quoting is
5741 +# there to prevent editors from complaining about space-tab.
5742 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5743 +# splitting by setting IFS to empty value.)
5748 +# Find who we are. Look in the path if we contain no directory separator.
5750 + *[\\/]* ) as_myself=$0 ;;
5751 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 +for as_dir in $PATH
5755 + test -z "$as_dir" && as_dir=.
5756 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5762 +# We did not find ourselves, most probably we were run as `sh COMMAND'
5763 +# in which case we are not to be found in the path.
5764 +if test "x$as_myself" = x; then
5767 +if test ! -f "$as_myself"; then
5768 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5769 + { (exit 1); exit 1; }
5772 # Work around bugs in pre-3.0 UWIN ksh.
5773 -$as_unset ENV MAIL MAILPATH
5774 +for as_var in ENV MAIL MAILPATH
5775 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5780 @@ -46,18 +106,19 @@
5781 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5782 eval $as_var=C; export $as_var
5785 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5789 # Required to use basename.
5790 -if expr a : '\(a\)' >/dev/null 2>&1; then
5791 +if expr a : '\(a\)' >/dev/null 2>&1 &&
5792 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
5798 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5799 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5800 as_basename=basename
5803 @@ -65,157 +126,386 @@
5806 # Name of the executable.
5807 -as_me=`$as_basename "$0" ||
5808 +as_me=`$as_basename -- "$0" ||
5809 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5810 X"$0" : 'X\(//\)$' \| \
5811 - X"$0" : 'X\(/\)$' \| \
5812 - . : '\(.\)' 2>/dev/null ||
5813 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5815 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5816 - /^X\/\(\/\/\)$/{ s//\1/; q; }
5817 - /^X\/\(\/\).*/{ s//\1/; q; }
5819 + sed '/^.*\/\([^/][^/]*\)\/*$/{
5836 -# PATH needs CR, and LINENO needs CR and PATH.
5837 -# Avoid depending upon Character Ranges.
5838 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5839 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5840 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5841 -as_cr_digits='0123456789'
5842 -as_cr_alnum=$as_cr_Letters$as_cr_digits
5844 -# The user is always right.
5845 -if test "${PATH_SEPARATOR+set}" != set; then
5846 - echo "#! /bin/sh" >conf$$.sh
5847 - echo "exit 0" >>conf$$.sh
5848 - chmod +x conf$$.sh
5849 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5850 - PATH_SEPARATOR=';'
5855 +if test "x$CONFIG_SHELL" = x; then
5856 + if (eval ":") 2>/dev/null; then
5857 + as_have_required=yes
5859 + as_have_required=no
5862 + if test $as_have_required = yes && (eval ":
5863 +(as_func_return () {
5866 +as_func_success () {
5869 +as_func_failure () {
5872 +as_func_ret_success () {
5875 +as_func_ret_failure () {
5879 - as_lineno_1=$LINENO
5880 - as_lineno_2=$LINENO
5881 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5882 - test "x$as_lineno_1" != "x$as_lineno_2" &&
5883 - test "x$as_lineno_3" = "x$as_lineno_2" || {
5884 - # Find who we are. Look in the path if we contain no path at all
5885 - # relative or not.
5887 - *[\\/]* ) as_myself=$0 ;;
5888 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 -for as_dir in $PATH
5892 - test -z "$as_dir" && as_dir=.
5893 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5896 +if as_func_success; then
5900 + echo as_func_success failed.
5905 - # We did not find ourselves, most probably we were run as `sh COMMAND'
5906 - # in which case we are not to be found in the path.
5907 - if test "x$as_myself" = x; then
5910 - if test ! -f "$as_myself"; then
5911 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
5912 - { (exit 1); exit 1; }; }
5914 - case $CONFIG_SHELL in
5916 +if as_func_failure; then
5918 + echo as_func_failure succeeded.
5921 +if as_func_ret_success; then
5925 + echo as_func_ret_success failed.
5928 +if as_func_ret_failure; then
5930 + echo as_func_ret_failure succeeded.
5933 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
5937 + echo positional parameters were not saved.
5940 +test \$exitcode = 0) || { (exit 1); exit 1; }
5943 + as_lineno_1=\$LINENO
5944 + as_lineno_2=\$LINENO
5945 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
5946 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
5947 +") 2> /dev/null; then
5950 + as_candidate_shells=
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5953 +for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5956 test -z "$as_dir" && as_dir=.
5957 - for as_base in sh bash ksh sh5; do
5961 - if ("$as_dir/$as_base" -c '
5962 + for as_base in sh bash ksh sh5; do
5963 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
5970 + for as_shell in $as_candidate_shells $SHELL; do
5971 + # Try only shells that exist, to save several forks.
5972 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
5973 + { ("$as_shell") 2> /dev/null <<\_ASEOF
5974 +# Be Bourne compatible
5975 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5978 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5979 + # is contrary to our usage. Disable this feature.
5980 + alias -g '${1+"$@"}'='"$@"'
5981 + setopt NO_GLOB_SUBST
5983 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
5985 +BIN_SH=xpg4; export BIN_SH # for Tru64
5986 +DUALCASE=1; export DUALCASE # for MKS sh
5991 + CONFIG_SHELL=$as_shell
5992 + as_have_required=yes
5993 + if { "$as_shell" 2> /dev/null <<\_ASEOF
5994 +# Be Bourne compatible
5995 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5998 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5999 + # is contrary to our usage. Disable this feature.
6000 + alias -g '${1+"$@"}'='"$@"'
6001 + setopt NO_GLOB_SUBST
6003 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
6005 +BIN_SH=xpg4; export BIN_SH # for Tru64
6006 +DUALCASE=1; export DUALCASE # for MKS sh
6009 +(as_func_return () {
6012 +as_func_success () {
6015 +as_func_failure () {
6018 +as_func_ret_success () {
6021 +as_func_ret_failure () {
6026 +if as_func_success; then
6030 + echo as_func_success failed.
6033 +if as_func_failure; then
6035 + echo as_func_failure succeeded.
6038 +if as_func_ret_success; then
6042 + echo as_func_ret_success failed.
6045 +if as_func_ret_failure; then
6047 + echo as_func_ret_failure succeeded.
6050 +if ( set x; as_func_ret_success y && test x = "$1" ); then
6054 + echo positional parameters were not saved.
6057 +test $exitcode = 0) || { (exit 1); exit 1; }
6062 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6063 test "x$as_lineno_1" != "x$as_lineno_2" &&
6064 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6065 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6066 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6067 - CONFIG_SHELL=$as_dir/$as_base
6068 - export CONFIG_SHELL
6069 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6076 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
6087 + if test "x$CONFIG_SHELL" != x; then
6088 + for as_var in BASH_ENV ENV
6089 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6091 + export CONFIG_SHELL
6092 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
6096 + if test $as_have_required = no; then
6097 + echo This script requires a shell more modern than all the
6098 + echo shells that I found on your system. Please install a
6099 + echo modern shell, or manually run the script under such a
6100 + echo shell if you do have one.
6101 + { (exit 1); exit 1; }
6111 +(eval "as_func_return () {
6114 +as_func_success () {
6117 +as_func_failure () {
6120 +as_func_ret_success () {
6123 +as_func_ret_failure () {
6128 +if as_func_success; then
6132 + echo as_func_success failed.
6135 +if as_func_failure; then
6137 + echo as_func_failure succeeded.
6140 +if as_func_ret_success; then
6144 + echo as_func_ret_success failed.
6147 +if as_func_ret_failure; then
6149 + echo as_func_ret_failure succeeded.
6152 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
6156 + echo positional parameters were not saved.
6159 +test \$exitcode = 0") || {
6160 + echo No shell found that supports shell functions.
6161 + echo Please tell autoconf@gnu.org about your system,
6162 + echo including any error possibly output before this
6168 + as_lineno_1=$LINENO
6169 + as_lineno_2=$LINENO
6170 + test "x$as_lineno_1" != "x$as_lineno_2" &&
6171 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6173 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6174 # uniformly replaced by the line number. The first 'sed' inserts a
6175 - # line-number line before each line; the second 'sed' does the real
6176 - # work. The second script uses 'N' to pair each line-number line
6177 - # with the numbered line, and appends trailing '-' during
6178 - # substitution so that $LINENO is not a special case at line end.
6179 + # line-number line after each line using $LINENO; the second 'sed'
6180 + # does the real work. The second script uses 'N' to pair each
6181 + # line-number line with the line containing $LINENO, and appends
6182 + # trailing '-' during substitution so that $LINENO is not a special
6183 + # case at line end.
6184 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6185 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6186 - sed '=' <$as_myself |
6187 + # scripts with optimization help from Paolo Bonzini. Blame Lee
6188 + # E. McMahon (1931-1989) for sed's syntax. :-)
6201 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6203 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6206 - s,^['$as_cr_digits']*\n,,
6209 - chmod +x $as_me.lineno ||
6210 + chmod +x "$as_me.lineno" ||
6211 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6212 { (exit 1); exit 1; }; }
6214 # Don't try to exec as it changes $[0], causing all sort of problems
6215 # (the dirname of $[0] is not the place where we might find the
6216 - # original and so on. Autoconf is especially sensible to this).
6218 + # original and so on. Autoconf is especially sensitive to this).
6219 + . "./$as_me.lineno"
6220 # Exit status is that of the last command.
6225 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6226 - *c*,-n*) ECHO_N= ECHO_C='
6228 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6229 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6230 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6231 + as_dirname=dirname
6236 +ECHO_C= ECHO_N= ECHO_T=
6237 +case `echo -n x` in
6239 + case `echo 'x\c'` in
6240 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6247 -if expr a : '\(a\)' >/dev/null 2>&1; then
6248 +if expr a : '\(a\)' >/dev/null 2>&1 &&
6249 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
6255 rm -f conf$$ conf$$.exe conf$$.file
6256 +if test -d conf$$.dir; then
6257 + rm -f conf$$.dir/conf$$.file
6263 if ln -s conf$$.file conf$$ 2>/dev/null; then
6264 - # We could just check for DJGPP; but this test a) works b) is more generic
6265 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6266 - if test -f conf$$.exe; then
6267 - # Don't use ln at all; we don't have any links
6269 + # ... but there are two gotchas:
6270 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6271 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6272 + # In both cases, we have to default to `cp -p'.
6273 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6278 elif ln conf$$.file conf$$ 2>/dev/null; then
6283 -rm -f conf$$ conf$$.exe conf$$.file
6284 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6285 +rmdir conf$$.dir 2>/dev/null
6287 if mkdir -p . 2>/dev/null; then
6289 @@ -224,7 +514,19 @@
6293 -as_executable_p="test -f"
6294 +# Find out whether ``test -x'' works. Don't use a zero-byte file, as
6295 +# systems may use methods other than mode bits to determine executability.
6296 +cat >conf$$.file <<_ASEOF
6300 +chmod +x conf$$.file
6301 +if test -x conf$$.file >/dev/null 2>&1; then
6302 + as_executable_p="test -x"
6308 # Sed expression to map a string onto a valid CPP name.
6309 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6310 @@ -233,15 +535,6 @@
6311 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6315 -# We need space, tab and new line, in precisely that order.
6325 # Check that we are running under the correct shell.
6327 # find a string as large as possible, as long as the shell can cope with it
6328 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
6329 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
6330 - if (echo_test_string="`eval $cmd`") 2>/dev/null &&
6331 - echo_test_string="`eval $cmd`" &&
6332 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
6333 + echo_test_string=`eval $cmd` &&
6334 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
6337 @@ -397,29 +690,26 @@
6339 tagnames=${tagnames+${tagnames},}F77
6341 +exec 7<&0 </dev/null 6>&1
6344 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
6345 # so uname gets run too.
6346 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
6353 ac_default_prefix=/usr/local
6355 ac_config_libobj_dir=.
6361 SHELL=${CONFIG_SHELL-/bin/sh}
6363 -# Maximum number of lines to put in a shell here document.
6364 -# This variable seems obsolete. It should probably be removed, and
6365 -# only ac_max_sed_lines should be used.
6366 -: ${ac_max_here_lines=38}
6368 # Identity of this package.
6369 PACKAGE_NAME='suPHP'
6370 PACKAGE_TARNAME='suphp'
6371 @@ -431,42 +721,171 @@
6372 # Factoring default headers for most tests.
6373 ac_includes_default="\
6375 -#if HAVE_SYS_TYPES_H
6376 +#ifdef HAVE_SYS_TYPES_H
6377 # include <sys/types.h>
6379 -#if HAVE_SYS_STAT_H
6380 +#ifdef HAVE_SYS_STAT_H
6381 # include <sys/stat.h>
6384 +#ifdef STDC_HEADERS
6385 # include <stdlib.h>
6386 # include <stddef.h>
6389 +# ifdef HAVE_STDLIB_H
6390 # include <stdlib.h>
6394 -# if !STDC_HEADERS && HAVE_MEMORY_H
6395 +#ifdef HAVE_STRING_H
6396 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6397 # include <memory.h>
6399 # include <string.h>
6402 +#ifdef HAVE_STRINGS_H
6403 # include <strings.h>
6405 -#if HAVE_INTTYPES_H
6406 +#ifdef HAVE_INTTYPES_H
6407 # include <inttypes.h>
6410 -# include <stdint.h>
6414 +#ifdef HAVE_STDINT_H
6415 +# include <stdint.h>
6417 +#ifdef HAVE_UNISTD_H
6418 # include <unistd.h>
6421 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL APXS APACHE_VERSION_1_3 APACHE_VERSION_2 APXS_INCLUDEDIR APXS_LIBEXECDIR APXS_EXTRA_CFLAGS APR_INCLUDEDIR OPT_APACHEMOD_USERGROUP_DEF COND_AP13_TRUE COND_AP13_FALSE COND_AP20_TRUE COND_AP20_FALSE COND_APUSERGROUP_TRUE COND_APUSERGROUP_FALSE LIBOBJS LTLIBOBJS'
6422 +ac_subst_vars='SHELL
6431 +program_transform_name
6472 +INSTALL_STRIP_PROGRAM
6495 +am__fastdepCC_FALSE
6500 +am__fastdepCXX_TRUE
6501 +am__fastdepCXX_FALSE
6529 +OPT_APACHEMOD_USERGROUP_DEF
6534 +COND_APUSERGROUP_TRUE
6535 +COND_APUSERGROUP_FALSE
6539 + ac_precious_vars='build_alias
6555 # Initialize some variables set by options.
6557 @@ -493,34 +912,48 @@
6558 # and all the variables that are supposed to be based on exec_prefix
6559 # by default will actually change.
6560 # Use braces instead of parens because sh, perl, etc. also accept them.
6561 +# (The list follows the same order as the GNU Coding Standards.)
6562 bindir='${exec_prefix}/bin'
6563 sbindir='${exec_prefix}/sbin'
6564 libexecdir='${exec_prefix}/libexec'
6565 -datadir='${prefix}/share'
6566 +datarootdir='${prefix}/share'
6567 +datadir='${datarootdir}'
6568 sysconfdir='${prefix}/etc'
6569 sharedstatedir='${prefix}/com'
6570 localstatedir='${prefix}/var'
6571 -libdir='${exec_prefix}/lib'
6572 includedir='${prefix}/include'
6573 oldincludedir='/usr/include'
6574 -infodir='${prefix}/info'
6575 -mandir='${prefix}/man'
6576 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
6577 +infodir='${datarootdir}/info'
6578 +htmldir='${docdir}'
6582 +libdir='${exec_prefix}/lib'
6583 +localedir='${datarootdir}/locale'
6584 +mandir='${datarootdir}/man'
6590 # If the previous option needs an argument, assign it.
6591 if test -n "$ac_prev"; then
6592 - eval "$ac_prev=\$ac_option"
6593 + eval $ac_prev=\$ac_option
6598 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
6599 + case $ac_option in
6600 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
6601 + *) ac_optarg=yes ;;
6604 # Accept the important Cygnus configure options, so we can diagnose typos.
6606 - case $ac_option in
6607 + case $ac_dashdash$ac_option in
6609 + ac_dashdash=yes ;;
6611 -bindir | --bindir | --bindi | --bind | --bin | --bi)
6613 @@ -542,12 +975,18 @@
6614 --config-cache | -C)
6615 cache_file=config.cache ;;
6617 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
6618 + -datadir | --datadir | --datadi | --datad)
6620 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
6622 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
6623 datadir=$ac_optarg ;;
6625 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
6626 + | --dataroo | --dataro | --datar)
6627 + ac_prev=datarootdir ;;
6628 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
6629 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
6630 + datarootdir=$ac_optarg ;;
6632 -disable-* | --disable-*)
6633 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
6634 # Reject names that are not valid shell variable names.
6635 @@ -555,7 +994,17 @@
6636 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6637 { (exit 1); exit 1; }; }
6638 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6639 - eval "enable_$ac_feature=no" ;;
6640 + eval enable_$ac_feature=no ;;
6642 + -docdir | --docdir | --docdi | --doc | --do)
6644 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
6645 + docdir=$ac_optarg ;;
6647 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
6649 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
6650 + dvidir=$ac_optarg ;;
6652 -enable-* | --enable-*)
6653 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
6654 @@ -564,11 +1013,7 @@
6655 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
6656 { (exit 1); exit 1; }; }
6657 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
6658 - case $ac_option in
6659 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6660 - *) ac_optarg=yes ;;
6662 - eval "enable_$ac_feature='$ac_optarg'" ;;
6663 + eval enable_$ac_feature=\$ac_optarg ;;
6665 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
6666 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
6667 @@ -595,6 +1040,12 @@
6668 -host=* | --host=* | --hos=* | --ho=*)
6669 host_alias=$ac_optarg ;;
6671 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
6672 + ac_prev=htmldir ;;
6673 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
6675 + htmldir=$ac_optarg ;;
6677 -includedir | --includedir | --includedi | --included | --include \
6678 | --includ | --inclu | --incl | --inc)
6679 ac_prev=includedir ;;
6680 @@ -619,13 +1070,16 @@
6681 | --libexe=* | --libex=* | --libe=*)
6682 libexecdir=$ac_optarg ;;
6684 + -localedir | --localedir | --localedi | --localed | --locale)
6685 + ac_prev=localedir ;;
6686 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
6687 + localedir=$ac_optarg ;;
6689 -localstatedir | --localstatedir | --localstatedi | --localstated \
6690 - | --localstate | --localstat | --localsta | --localst \
6691 - | --locals | --local | --loca | --loc | --lo)
6692 + | --localstate | --localstat | --localsta | --localst | --locals)
6693 ac_prev=localstatedir ;;
6694 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
6695 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
6696 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
6697 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
6698 localstatedir=$ac_optarg ;;
6700 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
6701 @@ -690,6 +1144,16 @@
6702 | --progr-tra=* | --program-tr=* | --program-t=*)
6703 program_transform_name=$ac_optarg ;;
6705 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
6707 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
6708 + pdfdir=$ac_optarg ;;
6710 + -psdir | --psdir | --psdi | --psd | --ps)
6712 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
6713 + psdir=$ac_optarg ;;
6715 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6716 | -silent | --silent | --silen | --sile | --sil)
6718 @@ -746,11 +1210,7 @@
6719 { echo "$as_me: error: invalid package name: $ac_package" >&2
6720 { (exit 1); exit 1; }; }
6721 ac_package=`echo $ac_package| sed 's/-/_/g'`
6722 - case $ac_option in
6723 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
6724 - *) ac_optarg=yes ;;
6726 - eval "with_$ac_package='$ac_optarg'" ;;
6727 + eval with_$ac_package=\$ac_optarg ;;
6729 -without-* | --without-*)
6730 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6731 @@ -759,7 +1219,7 @@
6732 { echo "$as_me: error: invalid package name: $ac_package" >&2
6733 { (exit 1); exit 1; }; }
6734 ac_package=`echo $ac_package | sed 's/-/_/g'`
6735 - eval "with_$ac_package=no" ;;
6736 + eval with_$ac_package=no ;;
6739 # Obsolete; use --with-x.
6740 @@ -790,8 +1250,7 @@
6741 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6742 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6743 { (exit 1); exit 1; }; }
6744 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6745 - eval "$ac_envvar='$ac_optarg'"
6746 + eval $ac_envvar=\$ac_optarg
6747 export $ac_envvar ;;
6750 @@ -811,27 +1270,19 @@
6751 { (exit 1); exit 1; }; }
6754 -# Be sure to have absolute paths.
6755 -for ac_var in exec_prefix prefix
6757 - eval ac_val=$`echo $ac_var`
6759 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6760 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6761 - { (exit 1); exit 1; }; };;
6765 -# Be sure to have absolute paths.
6766 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
6767 - localstatedir libdir includedir oldincludedir infodir mandir
6768 +# Be sure to have absolute directory names.
6769 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
6770 + datadir sysconfdir sharedstatedir localstatedir includedir \
6771 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
6772 + libdir localedir mandir
6774 - eval ac_val=$`echo $ac_var`
6775 + eval ac_val=\$$ac_var
6777 - [\\/$]* | ?:[\\/]* ) ;;
6778 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6779 - { (exit 1); exit 1; }; };;
6780 + [\\/$]* | ?:[\\/]* ) continue;;
6781 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6783 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6784 + { (exit 1); exit 1; }; }
6787 # There might be people who depend on the old broken behavior: `$host'
6788 @@ -858,94 +1309,76 @@
6789 test "$silent" = yes && exec 6>/dev/null
6792 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
6793 +ac_ls_di=`ls -di .` &&
6794 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
6795 + { echo "$as_me: error: Working directory cannot be determined" >&2
6796 + { (exit 1); exit 1; }; }
6797 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
6798 + { echo "$as_me: error: pwd does not report name of working directory" >&2
6799 + { (exit 1); exit 1; }; }
6802 # Find the source files, if location was not specified.
6803 if test -z "$srcdir"; then
6804 ac_srcdir_defaulted=yes
6805 - # Try the directory containing this script, then its parent.
6806 - ac_confdir=`(dirname "$0") 2>/dev/null ||
6807 + # Try the directory containing this script, then the parent directory.
6808 + ac_confdir=`$as_dirname -- "$0" ||
6809 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6810 X"$0" : 'X\(//\)[^/]' \| \
6811 X"$0" : 'X\(//\)$' \| \
6812 - X"$0" : 'X\(/\)' \| \
6813 - . : '\(.\)' 2>/dev/null ||
6814 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6816 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6817 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6818 - /^X\(\/\/\)$/{ s//\1/; q; }
6819 - /^X\(\/\).*/{ s//\1/; q; }
6821 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6825 + /^X\(\/\/\)[^/].*/{
6839 - if test ! -r $srcdir/$ac_unique_file; then
6840 + if test ! -r "$srcdir/$ac_unique_file"; then
6844 ac_srcdir_defaulted=no
6846 -if test ! -r $srcdir/$ac_unique_file; then
6847 - if test "$ac_srcdir_defaulted" = yes; then
6848 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
6849 - { (exit 1); exit 1; }; }
6851 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6852 +if test ! -r "$srcdir/$ac_unique_file"; then
6853 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
6854 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6855 { (exit 1); exit 1; }; }
6858 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
6859 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
6860 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
6862 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
6863 { (exit 1); exit 1; }; }
6864 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
6865 -ac_env_build_alias_set=${build_alias+set}
6866 -ac_env_build_alias_value=$build_alias
6867 -ac_cv_env_build_alias_set=${build_alias+set}
6868 -ac_cv_env_build_alias_value=$build_alias
6869 -ac_env_host_alias_set=${host_alias+set}
6870 -ac_env_host_alias_value=$host_alias
6871 -ac_cv_env_host_alias_set=${host_alias+set}
6872 -ac_cv_env_host_alias_value=$host_alias
6873 -ac_env_target_alias_set=${target_alias+set}
6874 -ac_env_target_alias_value=$target_alias
6875 -ac_cv_env_target_alias_set=${target_alias+set}
6876 -ac_cv_env_target_alias_value=$target_alias
6877 -ac_env_CC_set=${CC+set}
6878 -ac_env_CC_value=$CC
6879 -ac_cv_env_CC_set=${CC+set}
6880 -ac_cv_env_CC_value=$CC
6881 -ac_env_CFLAGS_set=${CFLAGS+set}
6882 -ac_env_CFLAGS_value=$CFLAGS
6883 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
6884 -ac_cv_env_CFLAGS_value=$CFLAGS
6885 -ac_env_LDFLAGS_set=${LDFLAGS+set}
6886 -ac_env_LDFLAGS_value=$LDFLAGS
6887 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
6888 -ac_cv_env_LDFLAGS_value=$LDFLAGS
6889 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
6890 -ac_env_CPPFLAGS_value=$CPPFLAGS
6891 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
6892 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
6893 -ac_env_CXX_set=${CXX+set}
6894 -ac_env_CXX_value=$CXX
6895 -ac_cv_env_CXX_set=${CXX+set}
6896 -ac_cv_env_CXX_value=$CXX
6897 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
6898 -ac_env_CXXFLAGS_value=$CXXFLAGS
6899 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
6900 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
6901 -ac_env_CPP_set=${CPP+set}
6902 -ac_env_CPP_value=$CPP
6903 -ac_cv_env_CPP_set=${CPP+set}
6904 -ac_cv_env_CPP_value=$CPP
6905 -ac_env_CXXCPP_set=${CXXCPP+set}
6906 -ac_env_CXXCPP_value=$CXXCPP
6907 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
6908 -ac_cv_env_CXXCPP_value=$CXXCPP
6909 -ac_env_F77_set=${F77+set}
6910 -ac_env_F77_value=$F77
6911 -ac_cv_env_F77_set=${F77+set}
6912 -ac_cv_env_F77_value=$F77
6913 -ac_env_FFLAGS_set=${FFLAGS+set}
6914 -ac_env_FFLAGS_value=$FFLAGS
6915 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
6916 -ac_cv_env_FFLAGS_value=$FFLAGS
6918 +# When building in place, set srcdir=.
6919 +if test "$ac_abs_confdir" = "$ac_pwd"; then
6922 +# Remove unnecessary trailing slashes from srcdir.
6923 +# Double slashes in file names in object file debugging info
6924 +# mess up M-x gdb in Emacs.
6926 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
6928 +for ac_var in $ac_precious_vars; do
6929 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
6930 + eval ac_env_${ac_var}_value=\$${ac_var}
6931 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
6932 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
6936 # Report the --help message.
6937 @@ -974,9 +1407,6 @@
6938 -n, --no-create do not create output files
6939 --srcdir=DIR find the sources in DIR [configure dir or \`..']
6944 Installation directories:
6945 --prefix=PREFIX install architecture-independent files in PREFIX
6946 [$ac_default_prefix]
6947 @@ -994,15 +1424,22 @@
6948 --bindir=DIR user executables [EPREFIX/bin]
6949 --sbindir=DIR system admin executables [EPREFIX/sbin]
6950 --libexecdir=DIR program executables [EPREFIX/libexec]
6951 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
6952 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
6953 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
6954 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
6955 --libdir=DIR object code libraries [EPREFIX/lib]
6956 --includedir=DIR C header files [PREFIX/include]
6957 --oldincludedir=DIR C header files for non-gcc [/usr/include]
6958 - --infodir=DIR info documentation [PREFIX/info]
6959 - --mandir=DIR man documentation [PREFIX/man]
6960 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
6961 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
6962 + --infodir=DIR info documentation [DATAROOTDIR/info]
6963 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
6964 + --mandir=DIR man documentation [DATAROOTDIR/man]
6965 + --docdir=DIR documentation root [DATAROOTDIR/doc/suphp]
6966 + --htmldir=DIR html documentation [DOCDIR]
6967 + --dvidir=DIR dvi documentation [DOCDIR]
6968 + --pdfdir=DIR pdf documentation [DOCDIR]
6969 + --psdir=DIR ps documentation [DOCDIR]
6973 @@ -1029,10 +1466,8 @@
6974 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
6975 --disable-dependency-tracking speeds up one-time build
6976 --enable-dependency-tracking do not reject slow dependency extractors
6977 - --enable-shared[=PKGS]
6978 - build shared libraries [default=yes]
6979 - --enable-static[=PKGS]
6980 - build static libraries [default=yes]
6981 + --enable-shared[=PKGS] build shared libraries [default=yes]
6982 + --enable-static[=PKGS] build static libraries [default=yes]
6983 --enable-fast-install[=PKGS]
6984 optimize for fast installation [default=yes]
6985 --disable-libtool-lock avoid locking (might break parallel builds)
6986 @@ -1045,8 +1480,7 @@
6987 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
6988 --with-pic try to use only PIC/non-PIC objects [default=use
6990 - --with-tags[=TAGS]
6991 - include additional configurations [automatic]
6992 + --with-tags[=TAGS] include additional configurations [automatic]
6993 --with-apr=DIR|FILE prefix for installed APR, path to APR build tree,
6994 or the full path to apr-config
6995 --with-apxs=FILE Build shared Apache module. FILE is the optional
6996 @@ -1070,8 +1504,8 @@
6997 CFLAGS C compiler flags
6998 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
6999 nonstandard directory <lib dir>
7000 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
7001 - headers in a nonstandard directory <include dir>
7002 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
7003 + you have headers in a nonstandard directory <include dir>
7004 CXX C++ compiler command
7005 CXXFLAGS C++ compiler flags
7007 @@ -1084,120 +1518,86 @@
7009 Report bugs to <sebastian.marsching@suphp.org>.
7014 if test "$ac_init_help" = "recursive"; then
7015 # If there are subdirs, report their specific --help.
7017 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
7018 - test -d $ac_dir || continue
7019 + test -d "$ac_dir" || continue
7022 -if test "$ac_dir" != .; then
7024 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7026 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7027 - # A "../" for each directory in $ac_dir_suffix.
7028 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7030 - ac_dir_suffix= ac_top_builddir=
7032 + # A ".." for each directory in $ac_dir_suffix.
7033 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7034 + case $ac_top_builddir_sub in
7035 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7036 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7039 +ac_abs_top_builddir=$ac_pwd
7040 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
7041 +# for backward compatibility:
7042 +ac_top_builddir=$ac_top_build_prefix
7045 - .) # No --srcdir option. We are building in place.
7046 + .) # We are building in place.
7048 - if test -z "$ac_top_builddir"; then
7051 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7053 - [\\/]* | ?:[\\/]* ) # Absolute path.
7054 + ac_top_srcdir=$ac_top_builddir_sub
7055 + ac_abs_top_srcdir=$ac_pwd ;;
7056 + [\\/]* | ?:[\\/]* ) # Absolute name.
7057 ac_srcdir=$srcdir$ac_dir_suffix;
7058 - ac_top_srcdir=$srcdir ;;
7059 - *) # Relative path.
7060 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7061 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
7064 -# Do not use `cd foo && pwd` to compute absolute paths, because
7065 -# the directories may not exist.
7067 -.) ac_abs_builddir="$ac_dir";;
7070 - .) ac_abs_builddir=`pwd`;;
7071 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7072 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
7075 -case $ac_abs_builddir in
7076 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
7078 - case ${ac_top_builddir}. in
7079 - .) ac_abs_top_builddir=$ac_abs_builddir;;
7080 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7081 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7084 -case $ac_abs_builddir in
7085 -.) ac_abs_srcdir=$ac_srcdir;;
7087 - case $ac_srcdir in
7088 - .) ac_abs_srcdir=$ac_abs_builddir;;
7089 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7090 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7093 -case $ac_abs_builddir in
7094 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
7096 - case $ac_top_srcdir in
7097 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
7098 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7099 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7101 + ac_top_srcdir=$srcdir
7102 + ac_abs_top_srcdir=$srcdir ;;
7103 + *) # Relative name.
7104 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7105 + ac_top_srcdir=$ac_top_build_prefix$srcdir
7106 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7108 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7111 - # Check for guested configure; otherwise get Cygnus style configure.
7112 - if test -f $ac_srcdir/configure.gnu; then
7114 - $SHELL $ac_srcdir/configure.gnu --help=recursive
7115 - elif test -f $ac_srcdir/configure; then
7117 - $SHELL $ac_srcdir/configure --help=recursive
7118 - elif test -f $ac_srcdir/configure.ac ||
7119 - test -f $ac_srcdir/configure.in; then
7121 - $ac_configure --help
7122 + cd "$ac_dir" || { ac_status=$?; continue; }
7123 + # Check for guested configure.
7124 + if test -f "$ac_srcdir/configure.gnu"; then
7126 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
7127 + elif test -f "$ac_srcdir/configure"; then
7129 + $SHELL "$ac_srcdir/configure" --help=recursive
7131 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
7134 + fi || ac_status=$?
7135 + cd "$ac_pwd" || { ac_status=$?; break; }
7139 -test -n "$ac_init_help" && exit 0
7140 +test -n "$ac_init_help" && exit $ac_status
7141 if $ac_init_version; then
7143 suPHP configure 0.6.1
7144 -generated by GNU Autoconf 2.59
7145 +generated by GNU Autoconf 2.60a
7147 -Copyright (C) 2003 Free Software Foundation, Inc.
7148 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7149 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7150 This configure script is free software; the Free Software Foundation
7151 gives unlimited permission to copy, distribute and modify it.
7158 +cat >config.log <<_ACEOF
7159 This file contains any messages produced by compilers while
7160 running configure, to aid debugging if configure makes a mistake.
7162 It was created by suPHP $as_me 0.6.1, which was
7163 -generated by GNU Autoconf 2.59. Invocation command line was
7164 +generated by GNU Autoconf 2.60a. Invocation command line was
7173 @@ -1216,7 +1616,7 @@
7174 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
7175 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
7176 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7177 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
7178 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
7179 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
7180 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
7181 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
7182 @@ -1230,6 +1630,7 @@
7183 test -z "$as_dir" && as_dir=.
7184 echo "PATH: $as_dir"
7190 @@ -1251,7 +1652,6 @@
7195 ac_must_keep_next=false
7198 @@ -1262,7 +1662,7 @@
7199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7200 | -silent | --silent | --silen | --sile | --sil)
7202 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7204 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7207 @@ -1284,9 +1684,7 @@
7208 -* ) ac_must_keep_next=true ;;
7211 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
7212 - # Get rid of the leading space.
7214 + ac_configure_args="$ac_configure_args '$ac_arg'"
7218 @@ -1297,8 +1695,8 @@
7219 # When interrupted or exit'd, cleanup temporary files, and complete
7220 # config.log. We remove comments because anyway the quotes in there
7221 # would cause problems or look ugly.
7222 -# WARNING: Be sure not to use single quotes in there, as some shells,
7223 -# such as our DU 5.0 friend, will then `close' the trap.
7224 +# WARNING: Use '\'' to represent an apostrophe within the trap.
7225 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
7226 trap 'exit_status=$?
7227 # Save into config.log some information that might help in debugging.
7229 @@ -1311,20 +1709,34 @@
7232 # The following way of writing the cache mishandles newlines in values,
7235 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
7236 + eval ac_val=\$$ac_var
7237 + case $ac_val in #(
7239 + case $ac_var in #(
7240 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7241 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7243 + case $ac_var in #(
7244 + _ | IFS | as_nl) ;; #(
7245 + *) $as_unset $ac_var ;;
7250 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
7252 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
7253 + *${as_nl}ac_space=\ *)
7255 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
7256 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
7258 + "s/'\''/'\''\\\\'\'''\''/g;
7259 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
7263 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7264 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7274 @@ -1335,22 +1747,28 @@
7276 for ac_var in $ac_subst_vars
7278 - eval ac_val=$`echo $ac_var`
7279 - echo "$ac_var='"'"'$ac_val'"'"'"
7280 + eval ac_val=\$$ac_var
7282 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7284 + echo "$ac_var='\''$ac_val'\''"
7288 if test -n "$ac_subst_files"; then
7290 -## ------------- ##
7291 -## Output files. ##
7292 -## ------------- ##
7293 +## ------------------- ##
7294 +## File substitutions. ##
7295 +## ------------------- ##
7298 for ac_var in $ac_subst_files
7300 - eval ac_val=$`echo $ac_var`
7301 - echo "$ac_var='"'"'$ac_val'"'"'"
7302 + eval ac_val=\$$ac_var
7304 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7306 + echo "$ac_var='\''$ac_val'\''"
7310 @@ -1362,26 +1780,24 @@
7314 - sed "/^$/d" confdefs.h | sort
7318 test "$ac_signal" != 0 &&
7319 echo "$as_me: caught signal $ac_signal"
7320 echo "$as_me: exit $exit_status"
7322 - rm -f core *.core &&
7323 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
7324 + rm -f core *.core core.conftest.* &&
7325 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
7329 for ac_signal in 1 2 13 15; do
7330 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
7334 # confdefs.h avoids OS command line length limits that DEFS can exceed.
7335 -rm -rf conftest* confdefs.h
7336 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
7338 +rm -f -r conftest* confdefs.h
7340 # Predefined preprocessor variables.
7342 @@ -1412,14 +1828,17 @@
7344 # Let the site file select an alternate cache file if it wants to.
7345 # Prefer explicitly selected file to automatically selected ones.
7346 -if test -z "$CONFIG_SITE"; then
7347 - if test "x$prefix" != xNONE; then
7348 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
7350 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
7352 +if test -n "$CONFIG_SITE"; then
7353 + set x "$CONFIG_SITE"
7354 +elif test "x$prefix" != xNONE; then
7355 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
7357 + set x "$ac_default_prefix/share/config.site" \
7358 + "$ac_default_prefix/etc/config.site"
7360 -for ac_site_file in $CONFIG_SITE; do
7364 if test -r "$ac_site_file"; then
7365 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
7366 echo "$as_me: loading site script $ac_site_file" >&6;}
7367 @@ -1435,8 +1854,8 @@
7368 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
7369 echo "$as_me: loading cache $cache_file" >&6;}
7371 - [\\/]* | ?:[\\/]* ) . $cache_file;;
7372 - *) . ./$cache_file;;
7373 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
7374 + *) . "./$cache_file";;
7378 @@ -1448,12 +1867,11 @@
7379 # Check that the precious variables saved in the cache have kept the same
7381 ac_cache_corrupted=false
7382 -for ac_var in `(set) 2>&1 |
7383 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
7384 +for ac_var in $ac_precious_vars; do
7385 eval ac_old_set=\$ac_cv_env_${ac_var}_set
7386 eval ac_new_set=\$ac_env_${ac_var}_set
7387 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
7388 - eval ac_new_val="\$ac_env_${ac_var}_value"
7389 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
7390 + eval ac_new_val=\$ac_env_${ac_var}_value
7391 case $ac_old_set,$ac_new_set in
7393 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
7394 @@ -1478,8 +1896,7 @@
7395 # Pass precious variables to config.status.
7396 if test "$ac_new_set" = set; then
7398 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7399 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
7400 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
7401 *) ac_arg=$ac_var=$ac_new_val ;;
7403 case " $ac_configure_args " in
7404 @@ -1496,12 +1913,6 @@
7405 { (exit 1); exit 1; }; }
7409 -ac_cpp='$CPP $CPPFLAGS'
7410 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7411 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7412 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
7417 @@ -1526,34 +1937,45 @@
7422 +ac_cpp='$CPP $CPPFLAGS'
7423 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7424 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7425 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7431 -for ac_dir in config $srcdir/config; do
7432 - if test -f $ac_dir/install-sh; then
7433 +for ac_dir in config "$srcdir"/config; do
7434 + if test -f "$ac_dir/install-sh"; then
7436 ac_install_sh="$ac_aux_dir/install-sh -c"
7438 - elif test -f $ac_dir/install.sh; then
7439 + elif test -f "$ac_dir/install.sh"; then
7441 ac_install_sh="$ac_aux_dir/install.sh -c"
7443 - elif test -f $ac_dir/shtool; then
7444 + elif test -f "$ac_dir/shtool"; then
7446 ac_install_sh="$ac_aux_dir/shtool install -c"
7450 if test -z "$ac_aux_dir"; then
7451 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
7452 -echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
7453 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
7454 +echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
7455 { (exit 1); exit 1; }; }
7457 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
7458 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
7459 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
7461 +# These three variables are undocumented and unsupported,
7462 +# and are intended to be withdrawn in a future Autoconf release.
7463 +# They can cause serious problems if a builder's source tree is in a directory
7464 +# whose full name contains unusual characters.
7465 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
7466 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
7467 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
7471 am__api_version="1.9"
7472 @@ -1570,8 +1992,8 @@
7473 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7474 # OS/2's system install, which has a completely different semantic
7475 # ./install, which can be erroneously created by make from ./install.sh.
7476 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7477 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7478 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7479 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7480 if test -z "$INSTALL"; then
7481 if test "${ac_cv_path_install+set}" = set; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 @@ -1593,7 +2015,7 @@
7485 for ac_prog in ginstall scoinst install; do
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7488 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7489 if test $ac_prog = install &&
7490 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7491 # AIX install. It has an incompatible calling convention.
7492 @@ -1612,21 +2034,22 @@
7500 if test "${ac_cv_path_install+set}" = set; then
7501 INSTALL=$ac_cv_path_install
7503 - # As a last resort, use the slow shell script. We don't cache a
7504 - # path for INSTALL within a source directory, because that will
7505 + # As a last resort, use the slow shell script. Don't cache a
7506 + # value for INSTALL within a source directory, because that will
7507 # break other packages using the cache if that directory is
7508 - # removed, or if the path is relative.
7509 + # removed, or if the value is a relative name.
7510 INSTALL=$ac_install_sh
7513 -echo "$as_me:$LINENO: result: $INSTALL" >&5
7514 -echo "${ECHO_T}$INSTALL" >&6
7515 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
7516 +echo "${ECHO_T}$INSTALL" >&6; }
7518 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7519 # It thinks the first close brace ends the variable substitution.
7520 @@ -1636,8 +2059,8 @@
7522 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7524 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7525 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
7526 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7527 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
7530 echo timestamp > conftest.file
7531 @@ -1679,20 +2102,20 @@
7532 Check your system clock" >&2;}
7533 { (exit 1); exit 1; }; }
7535 -echo "$as_me:$LINENO: result: yes" >&5
7536 -echo "${ECHO_T}yes" >&6
7537 +{ echo "$as_me:$LINENO: result: yes" >&5
7538 +echo "${ECHO_T}yes" >&6; }
7539 test "$program_prefix" != NONE &&
7540 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
7541 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
7542 # Use a double $ so make ignores it.
7543 test "$program_suffix" != NONE &&
7544 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
7545 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
7546 # Double any \ or $. echo might interpret backslashes.
7547 # By default was `s,x,x', remove it if useless.
7548 cat <<\_ACEOF >conftest.sed
7549 s/[\\$]/&&/g;s/;s,x,x,$//
7551 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
7555 # expand $ac_aux_dir to an absolute path
7556 am_aux_dir=`cd $ac_aux_dir && pwd`
7557 @@ -1744,8 +2167,8 @@
7559 # Extract the first word of "$ac_prog", so it can be a program name with args.
7560 set dummy $ac_prog; ac_word=$2
7561 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7562 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7563 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7564 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7565 if test "${ac_cv_prog_AWK+set}" = set; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 @@ -1758,54 +2181,57 @@
7570 test -z "$as_dir" && as_dir=.
7571 for ac_exec_ext in '' $ac_executable_extensions; do
7572 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7573 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7574 ac_cv_prog_AWK="$ac_prog"
7575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7585 if test -n "$AWK"; then
7586 - echo "$as_me:$LINENO: result: $AWK" >&5
7587 -echo "${ECHO_T}$AWK" >&6
7588 + { echo "$as_me:$LINENO: result: $AWK" >&5
7589 +echo "${ECHO_T}$AWK" >&6; }
7591 - echo "$as_me:$LINENO: result: no" >&5
7592 -echo "${ECHO_T}no" >&6
7593 + { echo "$as_me:$LINENO: result: no" >&5
7594 +echo "${ECHO_T}no" >&6; }
7598 test -n "$AWK" && break
7601 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7602 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7603 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
7604 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7605 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7606 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
7607 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7608 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
7609 echo $ECHO_N "(cached) $ECHO_C" >&6
7611 cat >conftest.make <<\_ACEOF
7614 - @echo 'ac_maketemp="$(MAKE)"'
7615 + @echo '@@@%%%=$(MAKE)=@@@%%%'
7617 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7618 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7619 -if test -n "$ac_maketemp"; then
7620 - eval ac_cv_prog_make_${ac_make}_set=yes
7622 - eval ac_cv_prog_make_${ac_make}_set=no
7624 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
7625 + *@@@%%%=?*=@@@%%%*)
7626 + eval ac_cv_prog_make_${ac_make}_set=yes;;
7628 + eval ac_cv_prog_make_${ac_make}_set=no;;
7632 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7633 - echo "$as_me:$LINENO: result: yes" >&5
7634 -echo "${ECHO_T}yes" >&6
7635 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
7636 + { echo "$as_me:$LINENO: result: yes" >&5
7637 +echo "${ECHO_T}yes" >&6; }
7640 - echo "$as_me:$LINENO: result: no" >&5
7641 -echo "${ECHO_T}no" >&6
7642 + { echo "$as_me:$LINENO: result: no" >&5
7643 +echo "${ECHO_T}no" >&6; }
7644 SET_MAKE="MAKE=${MAKE-make}"
7647 @@ -1876,8 +2302,8 @@
7648 if test -n "$ac_tool_prefix"; then
7649 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7650 set dummy ${ac_tool_prefix}strip; ac_word=$2
7651 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7652 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7653 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7654 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7655 if test "${ac_cv_prog_STRIP+set}" = set; then
7656 echo $ECHO_N "(cached) $ECHO_C" >&6
7658 @@ -1890,32 +2316,34 @@
7660 test -z "$as_dir" && as_dir=.
7661 for ac_exec_ext in '' $ac_executable_extensions; do
7662 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7663 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7664 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7674 STRIP=$ac_cv_prog_STRIP
7675 if test -n "$STRIP"; then
7676 - echo "$as_me:$LINENO: result: $STRIP" >&5
7677 -echo "${ECHO_T}$STRIP" >&6
7678 + { echo "$as_me:$LINENO: result: $STRIP" >&5
7679 +echo "${ECHO_T}$STRIP" >&6; }
7681 - echo "$as_me:$LINENO: result: no" >&5
7682 -echo "${ECHO_T}no" >&6
7683 + { echo "$as_me:$LINENO: result: no" >&5
7684 +echo "${ECHO_T}no" >&6; }
7689 if test -z "$ac_cv_prog_STRIP"; then
7691 # Extract the first word of "strip", so it can be a program name with args.
7692 set dummy strip; ac_word=$2
7693 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7694 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7695 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7696 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7697 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7698 echo $ECHO_N "(cached) $ECHO_C" >&6
7700 @@ -1928,27 +2356,41 @@
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7705 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7706 ac_cv_prog_ac_ct_STRIP="strip"
7707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7714 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
7717 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7718 if test -n "$ac_ct_STRIP"; then
7719 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7720 -echo "${ECHO_T}$ac_ct_STRIP" >&6
7721 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7722 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7724 - echo "$as_me:$LINENO: result: no" >&5
7725 -echo "${ECHO_T}no" >&6
7726 + { echo "$as_me:$LINENO: result: no" >&5
7727 +echo "${ECHO_T}no" >&6; }
7730 - STRIP=$ac_ct_STRIP
7731 + if test "x$ac_ct_STRIP" = x; then
7734 + case $cross_compiling:$ac_tool_warned in
7736 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7737 +whose name does not start with the host triplet. If you think this
7738 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7739 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7740 +whose name does not start with the host triplet. If you think this
7741 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7742 +ac_tool_warned=yes ;;
7744 + STRIP=$ac_ct_STRIP
7747 STRIP="$ac_cv_prog_STRIP"
7749 @@ -1971,12 +2413,12 @@
7750 # Check for right directory
7752 # Config headers for automake
7753 - ac_config_headers="$ac_config_headers src/config.h"
7754 +ac_config_headers="$ac_config_headers src/config.h"
7757 # Build time sanity check
7758 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7759 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
7760 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
7761 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
7764 echo timestamp > conftest.file
7765 @@ -2018,8 +2460,8 @@
7766 Check your system clock" >&2;}
7767 { (exit 1); exit 1; }; }
7769 -echo "$as_me:$LINENO: result: yes" >&5
7770 -echo "${ECHO_T}yes" >&6
7771 +{ echo "$as_me:$LINENO: result: yes" >&5
7772 +echo "${ECHO_T}yes" >&6; }
7774 # Look for install program
7775 # Find a good install program. We prefer a C program (faster),
7776 @@ -2035,8 +2477,8 @@
7777 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7778 # OS/2's system install, which has a completely different semantic
7779 # ./install, which can be erroneously created by make from ./install.sh.
7780 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7781 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7782 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7783 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7784 if test -z "$INSTALL"; then
7785 if test "${ac_cv_path_install+set}" = set; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7787 @@ -2058,7 +2500,7 @@
7789 for ac_prog in ginstall scoinst install; do
7790 for ac_exec_ext in '' $ac_executable_extensions; do
7791 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7792 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
7793 if test $ac_prog = install &&
7794 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7795 # AIX install. It has an incompatible calling convention.
7796 @@ -2077,21 +2519,22 @@
7804 if test "${ac_cv_path_install+set}" = set; then
7805 INSTALL=$ac_cv_path_install
7807 - # As a last resort, use the slow shell script. We don't cache a
7808 - # path for INSTALL within a source directory, because that will
7809 + # As a last resort, use the slow shell script. Don't cache a
7810 + # value for INSTALL within a source directory, because that will
7811 # break other packages using the cache if that directory is
7812 - # removed, or if the path is relative.
7813 + # removed, or if the value is a relative name.
7814 INSTALL=$ac_install_sh
7817 -echo "$as_me:$LINENO: result: $INSTALL" >&5
7818 -echo "${ECHO_T}$INSTALL" >&6
7819 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
7820 +echo "${ECHO_T}$INSTALL" >&6; }
7822 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7823 # It thinks the first close brace ends the variable substitution.
7824 @@ -2111,8 +2554,8 @@
7825 if test -n "$ac_tool_prefix"; then
7826 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7827 set dummy ${ac_tool_prefix}gcc; ac_word=$2
7828 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7829 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7830 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7831 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7832 if test "${ac_cv_prog_CC+set}" = set; then
7833 echo $ECHO_N "(cached) $ECHO_C" >&6
7835 @@ -2125,32 +2568,34 @@
7837 test -z "$as_dir" && as_dir=.
7838 for ac_exec_ext in '' $ac_executable_extensions; do
7839 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7840 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7841 ac_cv_prog_CC="${ac_tool_prefix}gcc"
7842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7852 if test -n "$CC"; then
7853 - echo "$as_me:$LINENO: result: $CC" >&5
7854 -echo "${ECHO_T}$CC" >&6
7855 + { echo "$as_me:$LINENO: result: $CC" >&5
7856 +echo "${ECHO_T}$CC" >&6; }
7858 - echo "$as_me:$LINENO: result: no" >&5
7859 -echo "${ECHO_T}no" >&6
7860 + { echo "$as_me:$LINENO: result: no" >&5
7861 +echo "${ECHO_T}no" >&6; }
7866 if test -z "$ac_cv_prog_CC"; then
7868 # Extract the first word of "gcc", so it can be a program name with args.
7869 set dummy gcc; ac_word=$2
7870 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7871 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7872 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7873 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7875 echo $ECHO_N "(cached) $ECHO_C" >&6
7877 @@ -2163,36 +2608,51 @@
7879 test -z "$as_dir" && as_dir=.
7880 for ac_exec_ext in '' $ac_executable_extensions; do
7881 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7882 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7883 ac_cv_prog_ac_ct_CC="gcc"
7884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
7894 if test -n "$ac_ct_CC"; then
7895 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7896 -echo "${ECHO_T}$ac_ct_CC" >&6
7897 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7898 +echo "${ECHO_T}$ac_ct_CC" >&6; }
7900 - echo "$as_me:$LINENO: result: no" >&5
7901 -echo "${ECHO_T}no" >&6
7902 + { echo "$as_me:$LINENO: result: no" >&5
7903 +echo "${ECHO_T}no" >&6; }
7907 + if test "x$ac_ct_CC" = x; then
7910 + case $cross_compiling:$ac_tool_warned in
7912 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7913 +whose name does not start with the host triplet. If you think this
7914 +configuration is useful to you, please write to autoconf@gnu.org." >&5
7915 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7916 +whose name does not start with the host triplet. If you think this
7917 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7918 +ac_tool_warned=yes ;;
7926 if test -z "$CC"; then
7927 - if test -n "$ac_tool_prefix"; then
7928 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7929 + if test -n "$ac_tool_prefix"; then
7930 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7931 set dummy ${ac_tool_prefix}cc; ac_word=$2
7932 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7933 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7934 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7935 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7936 if test "${ac_cv_prog_CC+set}" = set; then
7937 echo $ECHO_N "(cached) $ECHO_C" >&6
7939 @@ -2205,74 +2665,34 @@
7941 test -z "$as_dir" && as_dir=.
7942 for ac_exec_ext in '' $ac_executable_extensions; do
7943 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7944 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7945 ac_cv_prog_CC="${ac_tool_prefix}cc"
7946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 if test -n "$CC"; then
7957 - echo "$as_me:$LINENO: result: $CC" >&5
7958 -echo "${ECHO_T}$CC" >&6
7960 - echo "$as_me:$LINENO: result: no" >&5
7961 -echo "${ECHO_T}no" >&6
7965 -if test -z "$ac_cv_prog_CC"; then
7967 - # Extract the first word of "cc", so it can be a program name with args.
7968 -set dummy cc; ac_word=$2
7969 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7970 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7971 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7972 - echo $ECHO_N "(cached) $ECHO_C" >&6
7974 - if test -n "$ac_ct_CC"; then
7975 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7977 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 -for as_dir in $PATH
7981 - test -z "$as_dir" && as_dir=.
7982 - for ac_exec_ext in '' $ac_executable_extensions; do
7983 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7984 - ac_cv_prog_ac_ct_CC="cc"
7985 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
7994 -if test -n "$ac_ct_CC"; then
7995 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7996 -echo "${ECHO_T}$ac_ct_CC" >&6
7997 + { echo "$as_me:$LINENO: result: $CC" >&5
7998 +echo "${ECHO_T}$CC" >&6; }
8000 - echo "$as_me:$LINENO: result: no" >&5
8001 -echo "${ECHO_T}no" >&6
8002 + { echo "$as_me:$LINENO: result: no" >&5
8003 +echo "${ECHO_T}no" >&6; }
8008 - CC="$ac_cv_prog_CC"
8013 if test -z "$CC"; then
8014 # Extract the first word of "cc", so it can be a program name with args.
8015 set dummy cc; ac_word=$2
8016 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8017 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8018 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8019 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8020 if test "${ac_cv_prog_CC+set}" = set; then
8021 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 @@ -2286,7 +2706,7 @@
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8028 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8029 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
8030 ac_prog_rejected=yes
8032 @@ -2297,6 +2717,7 @@
8038 if test $ac_prog_rejected = yes; then
8039 # We found a bogon in the path, so make sure we never use it.
8040 @@ -2314,22 +2735,23 @@
8043 if test -n "$CC"; then
8044 - echo "$as_me:$LINENO: result: $CC" >&5
8045 -echo "${ECHO_T}$CC" >&6
8046 + { echo "$as_me:$LINENO: result: $CC" >&5
8047 +echo "${ECHO_T}$CC" >&6; }
8049 - echo "$as_me:$LINENO: result: no" >&5
8050 -echo "${ECHO_T}no" >&6
8051 + { echo "$as_me:$LINENO: result: no" >&5
8052 +echo "${ECHO_T}no" >&6; }
8057 if test -z "$CC"; then
8058 if test -n "$ac_tool_prefix"; then
8060 + for ac_prog in cl.exe
8062 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8063 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8064 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8065 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8066 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8067 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8068 if test "${ac_cv_prog_CC+set}" = set; then
8069 echo $ECHO_N "(cached) $ECHO_C" >&6
8071 @@ -2342,36 +2764,38 @@
8073 test -z "$as_dir" && as_dir=.
8074 for ac_exec_ext in '' $ac_executable_extensions; do
8075 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8076 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8077 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
8078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8088 if test -n "$CC"; then
8089 - echo "$as_me:$LINENO: result: $CC" >&5
8090 -echo "${ECHO_T}$CC" >&6
8091 + { echo "$as_me:$LINENO: result: $CC" >&5
8092 +echo "${ECHO_T}$CC" >&6; }
8094 - echo "$as_me:$LINENO: result: no" >&5
8095 -echo "${ECHO_T}no" >&6
8096 + { echo "$as_me:$LINENO: result: no" >&5
8097 +echo "${ECHO_T}no" >&6; }
8101 test -n "$CC" && break
8104 if test -z "$CC"; then
8107 + for ac_prog in cl.exe
8109 # Extract the first word of "$ac_prog", so it can be a program name with args.
8110 set dummy $ac_prog; ac_word=$2
8111 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8112 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8113 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8114 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8115 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8116 echo $ECHO_N "(cached) $ECHO_C" >&6
8118 @@ -2384,29 +2808,45 @@
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8123 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8124 ac_cv_prog_ac_ct_CC="$ac_prog"
8125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8134 ac_ct_CC=$ac_cv_prog_ac_ct_CC
8135 if test -n "$ac_ct_CC"; then
8136 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
8137 -echo "${ECHO_T}$ac_ct_CC" >&6
8138 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
8139 +echo "${ECHO_T}$ac_ct_CC" >&6; }
8141 - echo "$as_me:$LINENO: result: no" >&5
8142 -echo "${ECHO_T}no" >&6
8143 + { echo "$as_me:$LINENO: result: no" >&5
8144 +echo "${ECHO_T}no" >&6; }
8148 test -n "$ac_ct_CC" && break
8152 + if test "x$ac_ct_CC" = x; then
8155 + case $cross_compiling:$ac_tool_warned in
8157 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8158 +whose name does not start with the host triplet. If you think this
8159 +configuration is useful to you, please write to autoconf@gnu.org." >&5
8160 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8161 +whose name does not start with the host triplet. If you think this
8162 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8163 +ac_tool_warned=yes ;;
8170 @@ -2419,21 +2859,35 @@
8171 { (exit 1); exit 1; }; }
8173 # Provide some information about the compiler.
8174 -echo "$as_me:$LINENO:" \
8175 - "checking for C compiler version" >&5
8176 +echo "$as_me:$LINENO: checking for C compiler version" >&5
8177 ac_compiler=`set X $ac_compile; echo $2`
8178 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
8179 - (eval $ac_compiler --version </dev/null >&5) 2>&5
8180 +{ (ac_try="$ac_compiler --version >&5"
8181 +case "(($ac_try" in
8182 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8183 + *) ac_try_echo=$ac_try;;
8185 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8186 + (eval "$ac_compiler --version >&5") 2>&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }
8190 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8191 - (eval $ac_compiler -v </dev/null >&5) 2>&5
8192 +{ (ac_try="$ac_compiler -v >&5"
8193 +case "(($ac_try" in
8194 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8195 + *) ac_try_echo=$ac_try;;
8197 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 + (eval "$ac_compiler -v >&5") 2>&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }
8202 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8203 - (eval $ac_compiler -V </dev/null >&5) 2>&5
8204 +{ (ac_try="$ac_compiler -V >&5"
8205 +case "(($ac_try" in
8206 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8207 + *) ac_try_echo=$ac_try;;
8209 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8210 + (eval "$ac_compiler -V >&5") 2>&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); }
8214 @@ -2458,47 +2912,77 @@
8215 # Try to create an executable without -o first, disregard a.out.
8216 # It will help us diagnose broken compilers, and finding out an intuition
8218 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
8219 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
8220 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
8221 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
8222 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
8223 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
8224 - (eval $ac_link_default) 2>&5
8226 +# List of possible output files, starting from the most likely.
8227 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
8228 +# only as a last resort. b.out is created by i960 compilers.
8229 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
8231 +# The IRIX 6 linker writes into existing files which may not be
8232 +# executable, retaining their permissions. Remove them first so a
8233 +# subsequent execution test works.
8235 +for ac_file in $ac_files
8238 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
8239 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
8244 +if { (ac_try="$ac_link_default"
8245 +case "(($ac_try" in
8246 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8247 + *) ac_try_echo=$ac_try;;
8249 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8250 + (eval "$ac_link_default") 2>&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); }; then
8254 - # Find the output, starting from the most likely. This scheme is
8255 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
8258 -# Be careful to initialize this variable, since it used to be cached.
8259 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
8261 -# b.out is created by i960 compilers.
8262 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
8263 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
8264 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
8265 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
8266 +# so that the user can short-circuit this test for compilers unknown to
8268 +for ac_file in $ac_files ''
8270 test -f "$ac_file" || continue
8272 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
8274 - conftest.$ac_ext )
8275 - # This is the source file.
8276 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
8279 # We found the default executable, but exeext='' is most
8283 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8284 - # FIXME: I believe we export ac_cv_exeext for Libtool,
8285 - # but it would be cool to find out if it's true. Does anybody
8286 - # maintain Libtool? --akim.
8287 - export ac_cv_exeext
8288 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
8290 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8292 + # We set ac_cv_exeext here because the later test for it is not
8293 + # safe: cross compilers may not add the suffix if given an `-o'
8294 + # argument, so we may need to know it at that point already.
8295 + # Even if this section looks crufty: it has the advantage of
8296 + # actually working.
8302 +test "$ac_cv_exeext" = no && ac_cv_exeext=
8308 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
8309 +echo "${ECHO_T}$ac_file" >&6; }
8310 +if test -z "$ac_file"; then
8311 echo "$as_me: failed program was:" >&5
8312 sed 's/^/| /' conftest.$ac_ext >&5
8314 @@ -2510,19 +2994,21 @@
8317 ac_exeext=$ac_cv_exeext
8318 -echo "$as_me:$LINENO: result: $ac_file" >&5
8319 -echo "${ECHO_T}$ac_file" >&6
8321 -# Check the compiler produces executables we can run. If not, either
8322 +# Check that the compiler produces executables we can run. If not, either
8323 # the compiler is broken, or we cross compile.
8324 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
8325 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
8326 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
8327 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
8328 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
8329 # If not cross compiling, check that we can run a simple program.
8330 if test "$cross_compiling" != yes; then
8331 if { ac_try='./$ac_file'
8332 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8333 - (eval $ac_try) 2>&5
8334 + { (case "(($ac_try" in
8335 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8336 + *) ac_try_echo=$ac_try;;
8338 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8339 + (eval "$ac_try") 2>&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); }; }; then
8343 @@ -2541,22 +3027,27 @@
8347 -echo "$as_me:$LINENO: result: yes" >&5
8348 -echo "${ECHO_T}yes" >&6
8349 +{ echo "$as_me:$LINENO: result: yes" >&5
8350 +echo "${ECHO_T}yes" >&6; }
8352 rm -f a.out a.exe conftest$ac_cv_exeext b.out
8353 ac_clean_files=$ac_clean_files_save
8354 -# Check the compiler produces executables we can run. If not, either
8355 +# Check that the compiler produces executables we can run. If not, either
8356 # the compiler is broken, or we cross compile.
8357 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
8358 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
8359 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
8360 -echo "${ECHO_T}$cross_compiling" >&6
8362 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
8363 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
8364 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8365 - (eval $ac_link) 2>&5
8366 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
8367 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
8368 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
8369 +echo "${ECHO_T}$cross_compiling" >&6; }
8371 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
8372 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
8373 +if { (ac_try="$ac_link"
8374 +case "(($ac_try" in
8375 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8376 + *) ac_try_echo=$ac_try;;
8378 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8379 + (eval "$ac_link") 2>&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; then
8383 @@ -2567,9 +3058,8 @@
8384 for ac_file in conftest.exe conftest conftest.*; do
8385 test -f "$ac_file" || continue
8387 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
8388 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
8389 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8390 - export ac_cv_exeext
8394 @@ -2583,14 +3073,14 @@
8397 rm -f conftest$ac_cv_exeext
8398 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
8399 -echo "${ECHO_T}$ac_cv_exeext" >&6
8400 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
8401 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
8403 rm -f conftest.$ac_ext
8404 EXEEXT=$ac_cv_exeext
8406 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
8407 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
8408 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
8409 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
8410 if test "${ac_cv_objext+set}" = set; then
8411 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 @@ -2610,14 +3100,20 @@
8416 rm -f conftest.o conftest.obj
8417 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8418 - (eval $ac_compile) 2>&5
8419 +if { (ac_try="$ac_compile"
8420 +case "(($ac_try" in
8421 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8422 + *) ac_try_echo=$ac_try;;
8424 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8425 + (eval "$ac_compile") 2>&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); }; then
8429 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
8430 + for ac_file in conftest.o conftest.obj conftest.*; do
8431 + test -f "$ac_file" || continue;
8433 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
8434 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
8435 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
8438 @@ -2635,12 +3131,12 @@
8440 rm -f conftest.$ac_cv_objext conftest.$ac_ext
8442 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
8443 -echo "${ECHO_T}$ac_cv_objext" >&6
8444 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
8445 +echo "${ECHO_T}$ac_cv_objext" >&6; }
8446 OBJEXT=$ac_cv_objext
8448 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
8449 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
8450 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
8451 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
8452 if test "${ac_cv_c_compiler_gnu+set}" = set; then
8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8455 @@ -2663,24 +3159,36 @@
8458 rm -f conftest.$ac_objext
8459 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8460 - (eval $ac_compile) 2>conftest.er1
8461 +if { (ac_try="$ac_compile"
8462 +case "(($ac_try" in
8463 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8464 + *) ac_try_echo=$ac_try;;
8466 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8467 + (eval "$ac_compile") 2>conftest.er1
8469 grep -v '^ *+' conftest.er1 >conftest.err
8471 cat conftest.err >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); } &&
8474 - { ac_try='test -z "$ac_c_werror_flag"
8475 - || test ! -s conftest.err'
8476 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477 - (eval $ac_try) 2>&5
8478 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8479 + { (case "(($ac_try" in
8480 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8481 + *) ac_try_echo=$ac_try;;
8483 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8484 + (eval "$ac_try") 2>&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); }; } &&
8488 { ac_try='test -s conftest.$ac_objext'
8489 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8490 - (eval $ac_try) 2>&5
8491 + { (case "(($ac_try" in
8492 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8493 + *) ac_try_echo=$ac_try;;
8495 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8496 + (eval "$ac_try") 2>&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); }; }; then
8500 @@ -2689,24 +3197,28 @@
8501 echo "$as_me: failed program was:" >&5
8502 sed 's/^/| /' conftest.$ac_ext >&5
8505 + ac_compiler_gnu=no
8507 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8509 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8510 ac_cv_c_compiler_gnu=$ac_compiler_gnu
8513 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
8514 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
8515 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
8516 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
8517 GCC=`test $ac_compiler_gnu = yes && echo yes`
8518 ac_test_CFLAGS=${CFLAGS+set}
8519 ac_save_CFLAGS=$CFLAGS
8521 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
8522 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
8523 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
8524 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
8525 if test "${ac_cv_prog_cc_g+set}" = set; then
8526 echo $ECHO_N "(cached) $ECHO_C" >&6
8528 - cat >conftest.$ac_ext <<_ACEOF
8529 + ac_save_c_werror_flag=$ac_c_werror_flag
8530 + ac_c_werror_flag=yes
8531 + ac_cv_prog_cc_g=no
8533 + cat >conftest.$ac_ext <<_ACEOF
8536 cat confdefs.h >>conftest.$ac_ext
8537 @@ -2722,24 +3234,147 @@
8540 rm -f conftest.$ac_objext
8541 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8542 - (eval $ac_compile) 2>conftest.er1
8543 +if { (ac_try="$ac_compile"
8544 +case "(($ac_try" in
8545 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8546 + *) ac_try_echo=$ac_try;;
8548 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8549 + (eval "$ac_compile") 2>conftest.er1
8551 + grep -v '^ *+' conftest.er1 >conftest.err
8552 + rm -f conftest.er1
8553 + cat conftest.err >&5
8554 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 + (exit $ac_status); } &&
8556 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8557 + { (case "(($ac_try" in
8558 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8559 + *) ac_try_echo=$ac_try;;
8561 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8562 + (eval "$ac_try") 2>&5
8564 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 + (exit $ac_status); }; } &&
8566 + { ac_try='test -s conftest.$ac_objext'
8567 + { (case "(($ac_try" in
8568 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8569 + *) ac_try_echo=$ac_try;;
8571 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8572 + (eval "$ac_try") 2>&5
8574 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575 + (exit $ac_status); }; }; then
8576 + ac_cv_prog_cc_g=yes
8578 + echo "$as_me: failed program was:" >&5
8579 +sed 's/^/| /' conftest.$ac_ext >&5
8582 + cat >conftest.$ac_ext <<_ACEOF
8585 +cat confdefs.h >>conftest.$ac_ext
8586 +cat >>conftest.$ac_ext <<_ACEOF
8587 +/* end confdefs.h. */
8597 +rm -f conftest.$ac_objext
8598 +if { (ac_try="$ac_compile"
8599 +case "(($ac_try" in
8600 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8601 + *) ac_try_echo=$ac_try;;
8603 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8604 + (eval "$ac_compile") 2>conftest.er1
8606 + grep -v '^ *+' conftest.er1 >conftest.err
8607 + rm -f conftest.er1
8608 + cat conftest.err >&5
8609 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 + (exit $ac_status); } &&
8611 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8612 + { (case "(($ac_try" in
8613 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8614 + *) ac_try_echo=$ac_try;;
8616 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8617 + (eval "$ac_try") 2>&5
8619 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 + (exit $ac_status); }; } &&
8621 + { ac_try='test -s conftest.$ac_objext'
8622 + { (case "(($ac_try" in
8623 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8624 + *) ac_try_echo=$ac_try;;
8626 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8627 + (eval "$ac_try") 2>&5
8629 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 + (exit $ac_status); }; }; then
8633 + echo "$as_me: failed program was:" >&5
8634 +sed 's/^/| /' conftest.$ac_ext >&5
8636 + ac_c_werror_flag=$ac_save_c_werror_flag
8638 + cat >conftest.$ac_ext <<_ACEOF
8641 +cat confdefs.h >>conftest.$ac_ext
8642 +cat >>conftest.$ac_ext <<_ACEOF
8643 +/* end confdefs.h. */
8653 +rm -f conftest.$ac_objext
8654 +if { (ac_try="$ac_compile"
8655 +case "(($ac_try" in
8656 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8657 + *) ac_try_echo=$ac_try;;
8659 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8660 + (eval "$ac_compile") 2>conftest.er1
8662 grep -v '^ *+' conftest.er1 >conftest.err
8664 cat conftest.err >&5
8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 (exit $ac_status); } &&
8667 - { ac_try='test -z "$ac_c_werror_flag"
8668 - || test ! -s conftest.err'
8669 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8670 - (eval $ac_try) 2>&5
8671 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8672 + { (case "(($ac_try" in
8673 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8674 + *) ac_try_echo=$ac_try;;
8676 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8677 + (eval "$ac_try") 2>&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); }; } &&
8681 { ac_try='test -s conftest.$ac_objext'
8682 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8683 - (eval $ac_try) 2>&5
8684 + { (case "(($ac_try" in
8685 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8686 + *) ac_try_echo=$ac_try;;
8688 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8689 + (eval "$ac_try") 2>&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; }; then
8693 @@ -2748,12 +3383,20 @@
8694 echo "$as_me: failed program was:" >&5
8695 sed 's/^/| /' conftest.$ac_ext >&5
8701 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8704 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8706 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8708 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8709 + ac_c_werror_flag=$ac_save_c_werror_flag
8711 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
8712 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
8713 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
8714 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
8715 if test "$ac_test_CFLAGS" = set; then
8716 CFLAGS=$ac_save_CFLAGS
8717 elif test $ac_cv_prog_cc_g = yes; then
8718 @@ -2769,12 +3412,12 @@
8722 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
8723 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
8724 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
8725 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
8726 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
8727 +if test "${ac_cv_prog_cc_c89+set}" = set; then
8728 echo $ECHO_N "(cached) $ECHO_C" >&6
8730 - ac_cv_prog_cc_stdc=no
8731 + ac_cv_prog_cc_c89=no
8733 cat >conftest.$ac_ext <<_ACEOF
8735 @@ -2808,12 +3451,17 @@
8736 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
8737 function prototypes and stuff, but not '\xHH' hex character constants.
8738 These don't provoke an error unfortunately, instead are silently treated
8739 - as 'x'. The following induces an error, until -std1 is added to get
8740 + as 'x'. The following induces an error, until -std is added to get
8741 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
8742 array size at least. It's necessary to write '\x00'==0 to get something
8743 - that's true only with -std1. */
8744 + that's true only with -std. */
8745 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
8747 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
8748 + inside strings and character constants. */
8750 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
8752 int test (int i, double x);
8753 struct s1 {int (*f) (int a);};
8754 struct s2 {int (*f) (double a);};
8755 @@ -2828,205 +3476,74 @@
8759 -# Don't try gcc -ansi; that turns off useful extensions and
8760 -# breaks some systems' header files.
8761 -# AIX -qlanglvl=ansi
8762 -# Ultrix and OSF/1 -std1
8763 -# HP-UX 10.20 and later -Ae
8764 -# HP-UX older versions -Aa -D_HPUX_SOURCE
8765 -# SVR4 -Xc -D__EXTENSIONS__
8766 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8767 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
8768 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8770 CC="$ac_save_CC $ac_arg"
8771 rm -f conftest.$ac_objext
8772 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8773 - (eval $ac_compile) 2>conftest.er1
8774 +if { (ac_try="$ac_compile"
8775 +case "(($ac_try" in
8776 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8777 + *) ac_try_echo=$ac_try;;
8779 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8780 + (eval "$ac_compile") 2>conftest.er1
8782 grep -v '^ *+' conftest.er1 >conftest.err
8784 cat conftest.err >&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); } &&
8787 - { ac_try='test -z "$ac_c_werror_flag"
8788 - || test ! -s conftest.err'
8789 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8790 - (eval $ac_try) 2>&5
8791 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8792 + { (case "(($ac_try" in
8793 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8794 + *) ac_try_echo=$ac_try;;
8796 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8797 + (eval "$ac_try") 2>&5
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); }; } &&
8801 { ac_try='test -s conftest.$ac_objext'
8802 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803 - (eval $ac_try) 2>&5
8804 + { (case "(($ac_try" in
8805 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8806 + *) ac_try_echo=$ac_try;;
8808 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8809 + (eval "$ac_try") 2>&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); }; }; then
8813 - ac_cv_prog_cc_stdc=$ac_arg
8815 + ac_cv_prog_cc_c89=$ac_arg
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.$ac_ext >&5
8822 -rm -f conftest.err conftest.$ac_objext
8824 +rm -f core conftest.err conftest.$ac_objext
8825 + test "x$ac_cv_prog_cc_c89" != "xno" && break
8827 -rm -f conftest.$ac_ext conftest.$ac_objext
8828 +rm -f conftest.$ac_ext
8833 -case "x$ac_cv_prog_cc_stdc" in
8835 - echo "$as_me:$LINENO: result: none needed" >&5
8836 -echo "${ECHO_T}none needed" >&6 ;;
8838 +case "x$ac_cv_prog_cc_c89" in
8840 + { echo "$as_me:$LINENO: result: none needed" >&5
8841 +echo "${ECHO_T}none needed" >&6; } ;;
8843 + { echo "$as_me:$LINENO: result: unsupported" >&5
8844 +echo "${ECHO_T}unsupported" >&6; } ;;
8846 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
8847 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
8848 - CC="$CC $ac_cv_prog_cc_stdc" ;;
8849 + CC="$CC $ac_cv_prog_cc_c89"
8850 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
8851 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
8854 -# Some people use a C++ compiler to compile C. Since we use `exit',
8855 -# in C++ we need to declare it. In case someone uses the same compiler
8856 -# for both compiling C and C++ we need to have the C++ compiler decide
8857 -# the declaration of exit, since it's the most demanding environment.
8858 -cat >conftest.$ac_ext <<_ACEOF
8859 -#ifndef __cplusplus
8863 -rm -f conftest.$ac_objext
8864 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8865 - (eval $ac_compile) 2>conftest.er1
8867 - grep -v '^ *+' conftest.er1 >conftest.err
8868 - rm -f conftest.er1
8869 - cat conftest.err >&5
8870 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 - (exit $ac_status); } &&
8872 - { ac_try='test -z "$ac_c_werror_flag"
8873 - || test ! -s conftest.err'
8874 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8875 - (eval $ac_try) 2>&5
8877 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 - (exit $ac_status); }; } &&
8879 - { ac_try='test -s conftest.$ac_objext'
8880 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8881 - (eval $ac_try) 2>&5
8883 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 - (exit $ac_status); }; }; then
8885 - for ac_declaration in \
8887 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
8888 - 'extern "C" void std::exit (int); using std::exit;' \
8889 - 'extern "C" void exit (int) throw ();' \
8890 - 'extern "C" void exit (int);' \
8891 - 'void exit (int);'
8893 - cat >conftest.$ac_ext <<_ACEOF
8896 -cat confdefs.h >>conftest.$ac_ext
8897 -cat >>conftest.$ac_ext <<_ACEOF
8898 -/* end confdefs.h. */
8900 -#include <stdlib.h>
8909 -rm -f conftest.$ac_objext
8910 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8911 - (eval $ac_compile) 2>conftest.er1
8913 - grep -v '^ *+' conftest.er1 >conftest.err
8914 - rm -f conftest.er1
8915 - cat conftest.err >&5
8916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 - (exit $ac_status); } &&
8918 - { ac_try='test -z "$ac_c_werror_flag"
8919 - || test ! -s conftest.err'
8920 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8921 - (eval $ac_try) 2>&5
8923 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 - (exit $ac_status); }; } &&
8925 - { ac_try='test -s conftest.$ac_objext'
8926 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8927 - (eval $ac_try) 2>&5
8929 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 - (exit $ac_status); }; }; then
8933 - echo "$as_me: failed program was:" >&5
8934 -sed 's/^/| /' conftest.$ac_ext >&5
8938 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8939 - cat >conftest.$ac_ext <<_ACEOF
8942 -cat confdefs.h >>conftest.$ac_ext
8943 -cat >>conftest.$ac_ext <<_ACEOF
8944 -/* end confdefs.h. */
8954 -rm -f conftest.$ac_objext
8955 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8956 - (eval $ac_compile) 2>conftest.er1
8958 - grep -v '^ *+' conftest.er1 >conftest.err
8959 - rm -f conftest.er1
8960 - cat conftest.err >&5
8961 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 - (exit $ac_status); } &&
8963 - { ac_try='test -z "$ac_c_werror_flag"
8964 - || test ! -s conftest.err'
8965 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8966 - (eval $ac_try) 2>&5
8968 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 - (exit $ac_status); }; } &&
8970 - { ac_try='test -s conftest.$ac_objext'
8971 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8972 - (eval $ac_try) 2>&5
8974 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 - (exit $ac_status); }; }; then
8978 - echo "$as_me: failed program was:" >&5
8979 -sed 's/^/| /' conftest.$ac_ext >&5
8982 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8985 -if test -n "$ac_declaration"; then
8986 - echo '#ifdef __cplusplus' >>confdefs.h
8987 - echo $ac_declaration >>confdefs.h
8988 - echo '#endif' >>confdefs.h
8992 - echo "$as_me: failed program was:" >&5
8993 -sed 's/^/| /' conftest.$ac_ext >&5
8996 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8998 ac_cpp='$CPP $CPPFLAGS'
8999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9000 @@ -3034,7 +3551,7 @@
9001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9002 DEPDIR="${am__leading_dot}deps"
9004 - ac_config_commands="$ac_config_commands depfiles"
9005 +ac_config_commands="$ac_config_commands depfiles"
9008 am_make=${MAKE-make}
9009 @@ -3044,8 +3561,8 @@
9012 # If we don't find an include directive, just comment out the code.
9013 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
9014 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
9015 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
9016 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
9020 @@ -3072,15 +3589,15 @@
9024 -echo "$as_me:$LINENO: result: $_am_result" >&5
9025 -echo "${ECHO_T}$_am_result" >&6
9026 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
9027 +echo "${ECHO_T}$_am_result" >&6; }
9028 rm -f confinc confmf
9030 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
9031 +# Check whether --enable-dependency-tracking was given.
9032 if test "${enable_dependency_tracking+set}" = set; then
9033 - enableval="$enable_dependency_tracking"
9034 + enableval=$enable_dependency_tracking;
9038 if test "x$enable_dependency_tracking" != xno; then
9039 am_depcomp="$ac_aux_dir/depcomp"
9041 @@ -3100,8 +3617,8 @@
9043 depcc="$CC" am_compiler_list=
9045 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9046 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
9047 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9048 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
9049 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
9050 echo $ECHO_N "(cached) $ECHO_C" >&6
9052 @@ -3190,8 +3707,8 @@
9056 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
9057 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
9058 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
9059 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
9060 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
9063 @@ -3207,18 +3724,22 @@
9069 ac_cpp='$CXXCPP $CPPFLAGS'
9070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9073 -if test -n "$ac_tool_prefix"; then
9074 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
9075 +if test -z "$CXX"; then
9076 + if test -n "$CCC"; then
9079 + if test -n "$ac_tool_prefix"; then
9080 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9083 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9084 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9085 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9086 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9087 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9088 if test "${ac_cv_prog_CXX+set}" = set; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6
9091 @@ -3231,36 +3752,38 @@
9093 test -z "$as_dir" && as_dir=.
9094 for ac_exec_ext in '' $ac_executable_extensions; do
9095 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9096 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
9097 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
9098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9108 if test -n "$CXX"; then
9109 - echo "$as_me:$LINENO: result: $CXX" >&5
9110 -echo "${ECHO_T}$CXX" >&6
9111 + { echo "$as_me:$LINENO: result: $CXX" >&5
9112 +echo "${ECHO_T}$CXX" >&6; }
9114 - echo "$as_me:$LINENO: result: no" >&5
9115 -echo "${ECHO_T}no" >&6
9116 + { echo "$as_me:$LINENO: result: no" >&5
9117 +echo "${ECHO_T}no" >&6; }
9121 test -n "$CXX" && break
9124 if test -z "$CXX"; then
9126 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
9127 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9129 # Extract the first word of "$ac_prog", so it can be a program name with args.
9130 set dummy $ac_prog; ac_word=$2
9131 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9132 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9133 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9134 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9135 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
9136 echo $ECHO_N "(cached) $ECHO_C" >&6
9138 @@ -3273,55 +3796,85 @@
9140 test -z "$as_dir" && as_dir=.
9141 for ac_exec_ext in '' $ac_executable_extensions; do
9142 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9143 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
9144 ac_cv_prog_ac_ct_CXX="$ac_prog"
9145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9154 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9155 if test -n "$ac_ct_CXX"; then
9156 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
9157 -echo "${ECHO_T}$ac_ct_CXX" >&6
9158 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
9159 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
9161 - echo "$as_me:$LINENO: result: no" >&5
9162 -echo "${ECHO_T}no" >&6
9163 + { echo "$as_me:$LINENO: result: no" >&5
9164 +echo "${ECHO_T}no" >&6; }
9168 test -n "$ac_ct_CXX" && break
9170 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
9173 + if test "x$ac_ct_CXX" = x; then
9176 + case $cross_compiling:$ac_tool_warned in
9178 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9179 +whose name does not start with the host triplet. If you think this
9180 +configuration is useful to you, please write to autoconf@gnu.org." >&5
9181 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9182 +whose name does not start with the host triplet. If you think this
9183 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9184 +ac_tool_warned=yes ;;
9193 # Provide some information about the compiler.
9194 -echo "$as_me:$LINENO:" \
9195 - "checking for C++ compiler version" >&5
9196 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
9197 ac_compiler=`set X $ac_compile; echo $2`
9198 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9199 - (eval $ac_compiler --version </dev/null >&5) 2>&5
9200 +{ (ac_try="$ac_compiler --version >&5"
9201 +case "(($ac_try" in
9202 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9203 + *) ac_try_echo=$ac_try;;
9205 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9206 + (eval "$ac_compiler --version >&5") 2>&5
9208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9209 (exit $ac_status); }
9210 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9211 - (eval $ac_compiler -v </dev/null >&5) 2>&5
9212 +{ (ac_try="$ac_compiler -v >&5"
9213 +case "(($ac_try" in
9214 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9215 + *) ac_try_echo=$ac_try;;
9217 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9218 + (eval "$ac_compiler -v >&5") 2>&5
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); }
9222 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9223 - (eval $ac_compiler -V </dev/null >&5) 2>&5
9224 +{ (ac_try="$ac_compiler -V >&5"
9225 +case "(($ac_try" in
9226 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9227 + *) ac_try_echo=$ac_try;;
9229 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9230 + (eval "$ac_compiler -V >&5") 2>&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }
9235 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
9236 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
9237 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
9238 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
9239 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
9240 echo $ECHO_N "(cached) $ECHO_C" >&6
9242 @@ -3344,24 +3897,36 @@
9245 rm -f conftest.$ac_objext
9246 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9247 - (eval $ac_compile) 2>conftest.er1
9248 +if { (ac_try="$ac_compile"
9249 +case "(($ac_try" in
9250 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9251 + *) ac_try_echo=$ac_try;;
9253 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9254 + (eval "$ac_compile") 2>conftest.er1
9256 grep -v '^ *+' conftest.er1 >conftest.err
9258 cat conftest.err >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); } &&
9261 - { ac_try='test -z "$ac_cxx_werror_flag"
9262 - || test ! -s conftest.err'
9263 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 - (eval $ac_try) 2>&5
9265 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9266 + { (case "(($ac_try" in
9267 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9268 + *) ac_try_echo=$ac_try;;
9270 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9271 + (eval "$ac_try") 2>&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); }; } &&
9275 { ac_try='test -s conftest.$ac_objext'
9276 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9277 - (eval $ac_try) 2>&5
9278 + { (case "(($ac_try" in
9279 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9280 + *) ac_try_echo=$ac_try;;
9282 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9283 + (eval "$ac_try") 2>&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); }; }; then
9287 @@ -3370,24 +3935,28 @@
9288 echo "$as_me: failed program was:" >&5
9289 sed 's/^/| /' conftest.$ac_ext >&5
9292 + ac_compiler_gnu=no
9294 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9296 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9297 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9300 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
9301 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
9302 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
9303 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
9304 GXX=`test $ac_compiler_gnu = yes && echo yes`
9305 ac_test_CXXFLAGS=${CXXFLAGS+set}
9306 ac_save_CXXFLAGS=$CXXFLAGS
9308 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
9309 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
9310 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
9311 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
9312 if test "${ac_cv_prog_cxx_g+set}" = set; then
9313 echo $ECHO_N "(cached) $ECHO_C" >&6
9315 - cat >conftest.$ac_ext <<_ACEOF
9316 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9317 + ac_cxx_werror_flag=yes
9318 + ac_cv_prog_cxx_g=no
9320 + cat >conftest.$ac_ext <<_ACEOF
9323 cat confdefs.h >>conftest.$ac_ext
9324 @@ -3403,24 +3972,36 @@
9327 rm -f conftest.$ac_objext
9328 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9329 - (eval $ac_compile) 2>conftest.er1
9330 +if { (ac_try="$ac_compile"
9331 +case "(($ac_try" in
9332 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9333 + *) ac_try_echo=$ac_try;;
9335 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9336 + (eval "$ac_compile") 2>conftest.er1
9338 grep -v '^ *+' conftest.er1 >conftest.err
9340 cat conftest.err >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); } &&
9343 - { ac_try='test -z "$ac_cxx_werror_flag"
9344 - || test ! -s conftest.err'
9345 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9346 - (eval $ac_try) 2>&5
9347 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9348 + { (case "(($ac_try" in
9349 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9350 + *) ac_try_echo=$ac_try;;
9352 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9353 + (eval "$ac_try") 2>&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); }; } &&
9357 { ac_try='test -s conftest.$ac_objext'
9358 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9359 - (eval $ac_try) 2>&5
9360 + { (case "(($ac_try" in
9361 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9362 + *) ac_try_echo=$ac_try;;
9364 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9365 + (eval "$ac_try") 2>&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); }; }; then
9369 @@ -3429,70 +4010,53 @@
9370 echo "$as_me: failed program was:" >&5
9371 sed 's/^/| /' conftest.$ac_ext >&5
9373 -ac_cv_prog_cxx_g=no
9375 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9377 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9378 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
9379 -if test "$ac_test_CXXFLAGS" = set; then
9380 - CXXFLAGS=$ac_save_CXXFLAGS
9381 -elif test $ac_cv_prog_cxx_g = yes; then
9382 - if test "$GXX" = yes; then
9388 - if test "$GXX" = yes; then
9394 -for ac_declaration in \
9396 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
9397 - 'extern "C" void std::exit (int); using std::exit;' \
9398 - 'extern "C" void exit (int) throw ();' \
9399 - 'extern "C" void exit (int);' \
9400 - 'void exit (int);'
9402 - cat >conftest.$ac_ext <<_ACEOF
9404 + cat >conftest.$ac_ext <<_ACEOF
9407 cat confdefs.h >>conftest.$ac_ext
9408 cat >>conftest.$ac_ext <<_ACEOF
9409 /* end confdefs.h. */
9411 -#include <stdlib.h>
9422 rm -f conftest.$ac_objext
9423 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9424 - (eval $ac_compile) 2>conftest.er1
9425 +if { (ac_try="$ac_compile"
9426 +case "(($ac_try" in
9427 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9428 + *) ac_try_echo=$ac_try;;
9430 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9431 + (eval "$ac_compile") 2>conftest.er1
9433 grep -v '^ *+' conftest.er1 >conftest.err
9435 cat conftest.err >&5
9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 (exit $ac_status); } &&
9438 - { ac_try='test -z "$ac_cxx_werror_flag"
9439 - || test ! -s conftest.err'
9440 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441 - (eval $ac_try) 2>&5
9442 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9443 + { (case "(($ac_try" in
9444 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9445 + *) ac_try_echo=$ac_try;;
9447 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9448 + (eval "$ac_try") 2>&5
9450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 (exit $ac_status); }; } &&
9452 { ac_try='test -s conftest.$ac_objext'
9453 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454 - (eval $ac_try) 2>&5
9455 + { (case "(($ac_try" in
9456 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9457 + *) ac_try_echo=$ac_try;;
9459 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9460 + (eval "$ac_try") 2>&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); }; }; then
9464 @@ -3501,61 +4065,91 @@
9465 echo "$as_me: failed program was:" >&5
9466 sed 's/^/| /' conftest.$ac_ext >&5
9470 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9471 - cat >conftest.$ac_ext <<_ACEOF
9472 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9474 + cat >conftest.$ac_ext <<_ACEOF
9477 cat confdefs.h >>conftest.$ac_ext
9478 cat >>conftest.$ac_ext <<_ACEOF
9479 /* end confdefs.h. */
9491 rm -f conftest.$ac_objext
9492 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9493 - (eval $ac_compile) 2>conftest.er1
9494 +if { (ac_try="$ac_compile"
9495 +case "(($ac_try" in
9496 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9497 + *) ac_try_echo=$ac_try;;
9499 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9500 + (eval "$ac_compile") 2>conftest.er1
9502 grep -v '^ *+' conftest.er1 >conftest.err
9504 cat conftest.err >&5
9505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); } &&
9507 - { ac_try='test -z "$ac_cxx_werror_flag"
9508 - || test ! -s conftest.err'
9509 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9510 - (eval $ac_try) 2>&5
9511 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9512 + { (case "(($ac_try" in
9513 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9514 + *) ac_try_echo=$ac_try;;
9516 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9517 + (eval "$ac_try") 2>&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); }; } &&
9521 { ac_try='test -s conftest.$ac_objext'
9522 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9523 - (eval $ac_try) 2>&5
9524 + { (case "(($ac_try" in
9525 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9526 + *) ac_try_echo=$ac_try;;
9528 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9529 + (eval "$ac_try") 2>&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); }; }; then
9534 + ac_cv_prog_cxx_g=yes
9536 echo "$as_me: failed program was:" >&5
9537 sed 's/^/| /' conftest.$ac_ext >&5
9541 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9544 -if test -n "$ac_declaration"; then
9545 - echo '#ifdef __cplusplus' >>confdefs.h
9546 - echo $ac_declaration >>confdefs.h
9547 - echo '#endif' >>confdefs.h
9549 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9552 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9555 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9556 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9558 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9559 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
9560 +if test "$ac_test_CXXFLAGS" = set; then
9561 + CXXFLAGS=$ac_save_CXXFLAGS
9562 +elif test $ac_cv_prog_cxx_g = yes; then
9563 + if test "$GXX" = yes; then
9569 + if test "$GXX" = yes; then
9576 ac_cpp='$CPP $CPPFLAGS'
9577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9578 @@ -3564,8 +4158,8 @@
9580 depcc="$CXX" am_compiler_list=
9582 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9583 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
9584 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9585 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
9586 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9589 @@ -3654,8 +4248,8 @@
9593 -echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
9594 -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
9595 +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
9596 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
9597 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9600 @@ -3671,10 +4265,9 @@
9604 -# Check whether --enable-shared or --disable-shared was given.
9605 +# Check whether --enable-shared was given.
9606 if test "${enable_shared+set}" = set; then
9607 - enableval="$enable_shared"
9608 - p=${PACKAGE-default}
9609 + enableval=$enable_shared; p=${PACKAGE-default}
9611 yes) enable_shared=yes ;;
9612 no) enable_shared=no ;;
9613 @@ -3693,12 +4286,12 @@
9620 -# Check whether --enable-static or --disable-static was given.
9622 +# Check whether --enable-static was given.
9623 if test "${enable_static+set}" = set; then
9624 - enableval="$enable_static"
9625 - p=${PACKAGE-default}
9626 + enableval=$enable_static; p=${PACKAGE-default}
9628 yes) enable_static=yes ;;
9629 no) enable_static=no ;;
9630 @@ -3717,12 +4310,12 @@
9637 -# Check whether --enable-fast-install or --disable-fast-install was given.
9639 +# Check whether --enable-fast-install was given.
9640 if test "${enable_fast_install+set}" = set; then
9641 - enableval="$enable_fast_install"
9642 - p=${PACKAGE-default}
9643 + enableval=$enable_fast_install; p=${PACKAGE-default}
9645 yes) enable_fast_install=yes ;;
9646 no) enable_fast_install=no ;;
9647 @@ -3741,64 +4334,94 @@
9650 enable_fast_install=yes
9655 # Make sure we can run config.sub.
9656 -$ac_config_sub sun4 >/dev/null 2>&1 ||
9657 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
9658 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
9659 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
9660 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
9661 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
9662 { (exit 1); exit 1; }; }
9664 -echo "$as_me:$LINENO: checking build system type" >&5
9665 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
9666 +{ echo "$as_me:$LINENO: checking build system type" >&5
9667 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
9668 if test "${ac_cv_build+set}" = set; then
9669 echo $ECHO_N "(cached) $ECHO_C" >&6
9671 - ac_cv_build_alias=$build_alias
9672 -test -z "$ac_cv_build_alias" &&
9673 - ac_cv_build_alias=`$ac_config_guess`
9674 -test -z "$ac_cv_build_alias" &&
9675 + ac_build_alias=$build_alias
9676 +test "x$ac_build_alias" = x &&
9677 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
9678 +test "x$ac_build_alias" = x &&
9679 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
9680 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
9681 { (exit 1); exit 1; }; }
9682 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
9683 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
9684 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
9685 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
9686 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
9687 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
9688 { (exit 1); exit 1; }; }
9691 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
9692 -echo "${ECHO_T}$ac_cv_build" >&6
9693 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
9694 +echo "${ECHO_T}$ac_cv_build" >&6; }
9695 +case $ac_cv_build in
9697 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
9698 +echo "$as_me: error: invalid value of canonical build" >&2;}
9699 + { (exit 1); exit 1; }; };;
9702 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
9703 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
9704 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
9705 +ac_save_IFS=$IFS; IFS='-'
9711 +# Remember, the first character of IFS is used to create $*,
9712 +# except with old shells:
9715 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
9718 -echo "$as_me:$LINENO: checking host system type" >&5
9719 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
9720 +{ echo "$as_me:$LINENO: checking host system type" >&5
9721 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
9722 if test "${ac_cv_host+set}" = set; then
9723 echo $ECHO_N "(cached) $ECHO_C" >&6
9725 - ac_cv_host_alias=$host_alias
9726 -test -z "$ac_cv_host_alias" &&
9727 - ac_cv_host_alias=$ac_cv_build_alias
9728 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
9729 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
9730 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
9731 + if test "x$host_alias" = x; then
9732 + ac_cv_host=$ac_cv_build
9734 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
9735 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
9736 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
9737 { (exit 1); exit 1; }; }
9741 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
9742 -echo "${ECHO_T}$ac_cv_host" >&6
9743 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
9744 +echo "${ECHO_T}$ac_cv_host" >&6; }
9745 +case $ac_cv_host in
9747 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
9748 +echo "$as_me: error: invalid value of canonical host" >&2;}
9749 + { (exit 1); exit 1; }; };;
9752 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
9753 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
9754 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
9755 +ac_save_IFS=$IFS; IFS='-'
9761 +# Remember, the first character of IFS is used to create $*,
9762 +# except with old shells:
9765 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
9768 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9769 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
9770 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9771 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
9772 if test "${lt_cv_path_SED+set}" = set; then
9773 echo $ECHO_N "(cached) $ECHO_C" >&6
9775 @@ -3851,37 +4474,184 @@
9779 -echo "$as_me:$LINENO: result: $SED" >&5
9780 -echo "${ECHO_T}$SED" >&6
9781 +{ echo "$as_me:$LINENO: result: $SED" >&5
9782 +echo "${ECHO_T}$SED" >&6; }
9784 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
9785 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
9786 +if test "${ac_cv_path_GREP+set}" = set; then
9787 + echo $ECHO_N "(cached) $ECHO_C" >&6
9789 + # Extract the first word of "grep ggrep" to use in msg output
9790 +if test -z "$GREP"; then
9791 +set dummy grep ggrep; ac_prog_name=$2
9792 +if test "${ac_cv_path_GREP+set}" = set; then
9793 + echo $ECHO_N "(cached) $ECHO_C" >&6
9795 + ac_path_GREP_found=false
9796 +# Loop through the user's path and test for each of PROGNAME-LIST
9797 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9798 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9801 + test -z "$as_dir" && as_dir=.
9802 + for ac_prog in grep ggrep; do
9803 + for ac_exec_ext in '' $ac_executable_extensions; do
9804 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
9805 + { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
9806 + # Check for GNU ac_path_GREP and select it if it is found.
9807 + # Check for GNU $ac_path_GREP
9808 +case `"$ac_path_GREP" --version 2>&1` in
9810 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
9813 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
9816 + cat "conftest.in" "conftest.in" >"conftest.tmp"
9817 + mv "conftest.tmp" "conftest.in"
9818 + cp "conftest.in" "conftest.nl"
9819 + echo 'GREP' >> "conftest.nl"
9820 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9821 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9822 + ac_count=`expr $ac_count + 1`
9823 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
9824 + # Best one so far, save it but keep looking for a better one
9825 + ac_cv_path_GREP="$ac_path_GREP"
9826 + ac_path_GREP_max=$ac_count
9828 + # 10*(2^10) chars as input seems more than enough
9829 + test $ac_count -gt 10 && break
9831 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9835 + $ac_path_GREP_found && break 3
9845 +GREP="$ac_cv_path_GREP"
9846 +if test -z "$GREP"; then
9847 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9848 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9849 + { (exit 1); exit 1; }; }
9853 + ac_cv_path_GREP=$GREP
9858 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
9859 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
9860 + GREP="$ac_cv_path_GREP"
9862 -echo "$as_me:$LINENO: checking for egrep" >&5
9863 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
9864 -if test "${ac_cv_prog_egrep+set}" = set; then
9866 +{ echo "$as_me:$LINENO: checking for egrep" >&5
9867 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
9868 +if test "${ac_cv_path_EGREP+set}" = set; then
9869 + echo $ECHO_N "(cached) $ECHO_C" >&6
9871 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
9872 + then ac_cv_path_EGREP="$GREP -E"
9874 + # Extract the first word of "egrep" to use in msg output
9875 +if test -z "$EGREP"; then
9876 +set dummy egrep; ac_prog_name=$2
9877 +if test "${ac_cv_path_EGREP+set}" = set; then
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9880 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
9881 - then ac_cv_prog_egrep='grep -E'
9882 - else ac_cv_prog_egrep='egrep'
9883 + ac_path_EGREP_found=false
9884 +# Loop through the user's path and test for each of PROGNAME-LIST
9885 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9886 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9889 + test -z "$as_dir" && as_dir=.
9890 + for ac_prog in egrep; do
9891 + for ac_exec_ext in '' $ac_executable_extensions; do
9892 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
9893 + { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
9894 + # Check for GNU ac_path_EGREP and select it if it is found.
9895 + # Check for GNU $ac_path_EGREP
9896 +case `"$ac_path_EGREP" --version 2>&1` in
9898 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
9901 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
9904 + cat "conftest.in" "conftest.in" >"conftest.tmp"
9905 + mv "conftest.tmp" "conftest.in"
9906 + cp "conftest.in" "conftest.nl"
9907 + echo 'EGREP' >> "conftest.nl"
9908 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9909 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9910 + ac_count=`expr $ac_count + 1`
9911 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
9912 + # Best one so far, save it but keep looking for a better one
9913 + ac_cv_path_EGREP="$ac_path_EGREP"
9914 + ac_path_EGREP_max=$ac_count
9916 + # 10*(2^10) chars as input seems more than enough
9917 + test $ac_count -gt 10 && break
9919 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9923 + $ac_path_EGREP_found && break 3
9933 +EGREP="$ac_cv_path_EGREP"
9934 +if test -z "$EGREP"; then
9935 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
9936 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
9937 + { (exit 1); exit 1; }; }
9939 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
9940 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
9941 - EGREP=$ac_cv_prog_egrep
9944 + ac_cv_path_EGREP=$EGREP
9950 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
9951 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
9952 + EGREP="$ac_cv_path_EGREP"
9955 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
9957 +# Check whether --with-gnu-ld was given.
9958 if test "${with_gnu_ld+set}" = set; then
9959 - withval="$with_gnu_ld"
9960 - test "$withval" = no || with_gnu_ld=yes
9961 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
9968 if test "$GCC" = yes; then
9969 # Check if gcc -print-prog-name=ld gives a path.
9970 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9971 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9972 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9973 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
9976 # gcc leaves a trailing carriage return which upsets mingw
9977 @@ -3910,11 +4680,11 @@
9980 elif test "$with_gnu_ld" = yes; then
9981 - echo "$as_me:$LINENO: checking for GNU ld" >&5
9982 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9983 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
9984 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
9986 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9987 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9988 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9989 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
9991 if test "${lt_cv_path_LD+set}" = set; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9993 @@ -3927,7 +4697,7 @@
9994 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9995 lt_cv_path_LD="$ac_dir/$ac_prog"
9996 # Check to see if the program is GNU ld. I'd rather use --version,
9997 - # but apparently some GNU ld's only accept -v.
9998 + # but apparently some variants of GNU ld only accept -v.
9999 # Break only if it was the GNU/non-GNU ld that we prefer.
10000 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10001 *GNU* | *'with BFD'*)
10002 @@ -3947,21 +4717,21 @@
10004 LD="$lt_cv_path_LD"
10005 if test -n "$LD"; then
10006 - echo "$as_me:$LINENO: result: $LD" >&5
10007 -echo "${ECHO_T}$LD" >&6
10008 + { echo "$as_me:$LINENO: result: $LD" >&5
10009 +echo "${ECHO_T}$LD" >&6; }
10011 - echo "$as_me:$LINENO: result: no" >&5
10012 -echo "${ECHO_T}no" >&6
10013 + { echo "$as_me:$LINENO: result: no" >&5
10014 +echo "${ECHO_T}no" >&6; }
10016 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10017 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10018 { (exit 1); exit 1; }; }
10019 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10020 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10021 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10022 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10023 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10024 echo $ECHO_N "(cached) $ECHO_C" >&6
10026 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10027 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
10028 case `$LD -v 2>&1 </dev/null` in
10029 *GNU* | *'with BFD'*)
10030 lt_cv_prog_gnu_ld=yes
10031 @@ -3971,20 +4741,20 @@
10035 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10036 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10037 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10038 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10039 with_gnu_ld=$lt_cv_prog_gnu_ld
10042 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
10043 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
10044 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
10045 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
10046 if test "${lt_cv_ld_reload_flag+set}" = set; then
10047 echo $ECHO_N "(cached) $ECHO_C" >&6
10049 lt_cv_ld_reload_flag='-r'
10051 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
10052 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
10053 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
10054 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
10055 reload_flag=$lt_cv_ld_reload_flag
10056 case $reload_flag in
10058 @@ -3994,15 +4764,15 @@
10061 if test "$GCC" = yes; then
10062 - reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
10063 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
10065 reload_cmds='$LD$reload_flag -o $output$reload_objs'
10070 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
10071 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
10072 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
10073 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
10074 if test "${lt_cv_path_NM+set}" = set; then
10075 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 @@ -4010,56 +4780,63 @@
10078 # Let the user override the test.
10079 lt_cv_path_NM="$NM"
10081 - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10082 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
10083 - IFS="$lt_save_ifs"
10084 - test -z "$ac_dir" && ac_dir=.
10085 - tmp_nm="$ac_dir/${ac_tool_prefix}nm"
10086 - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10087 - # Check to see if the nm accepts a BSD-compat flag.
10088 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10089 - # nm: unknown option "B" ignored
10090 - # Tru64's nm complains that /dev/null is an invalid object file
10091 - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10092 - */dev/null* | *'Invalid file or object type'*)
10093 - lt_cv_path_NM="$tmp_nm -B"
10097 - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10099 - lt_cv_path_NM="$tmp_nm -p"
10100 + lt_nm_to_check="${ac_tool_prefix}nm"
10101 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
10102 + lt_nm_to_check="$lt_nm_to_check nm"
10104 + for lt_tmp_nm in $lt_nm_to_check; do
10105 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10106 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
10107 + IFS="$lt_save_ifs"
10108 + test -z "$ac_dir" && ac_dir=.
10109 + tmp_nm="$ac_dir/$lt_tmp_nm"
10110 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
10111 + # Check to see if the nm accepts a BSD-compat flag.
10112 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
10113 + # nm: unknown option "B" ignored
10114 + # Tru64's nm complains that /dev/null is an invalid object file
10115 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
10116 + */dev/null* | *'Invalid file or object type'*)
10117 + lt_cv_path_NM="$tmp_nm -B"
10121 - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10122 - continue # so that we can try to find one that supports BSD flags
10123 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10125 + lt_cv_path_NM="$tmp_nm -p"
10129 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10130 + continue # so that we can try to find one that supports BSD flags
10139 + IFS="$lt_save_ifs"
10141 - IFS="$lt_save_ifs"
10142 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
10145 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10146 -echo "${ECHO_T}$lt_cv_path_NM" >&6
10147 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
10148 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
10149 NM="$lt_cv_path_NM"
10151 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
10152 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
10153 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
10154 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
10156 if test "$LN_S" = "ln -s"; then
10157 - echo "$as_me:$LINENO: result: yes" >&5
10158 -echo "${ECHO_T}yes" >&6
10159 + { echo "$as_me:$LINENO: result: yes" >&5
10160 +echo "${ECHO_T}yes" >&6; }
10162 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
10163 -echo "${ECHO_T}no, using $LN_S" >&6
10164 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
10165 +echo "${ECHO_T}no, using $LN_S" >&6; }
10168 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10169 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
10170 +{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
10171 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
10172 if test "${lt_cv_deplibs_check_method+set}" = set; then
10173 echo $ECHO_N "(cached) $ECHO_C" >&6
10175 @@ -4109,7 +4886,7 @@
10176 lt_cv_deplibs_check_method=pass_all
10179 -freebsd* | kfreebsd*-gnu | dragonfly*)
10180 +freebsd* | dragonfly*)
10181 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10184 @@ -4131,7 +4908,7 @@
10186 hpux10.20* | hpux11*)
10187 lt_cv_file_magic_cmd=/usr/bin/file
10188 - case "$host_cpu" in
10189 + case $host_cpu in
10191 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10192 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10193 @@ -4147,6 +4924,11 @@
10198 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
10199 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
10202 irix5* | irix6* | nonstopux*)
10204 *-32|*"-32 ") libmagic=32-bit;;
10205 @@ -4158,11 +4940,11 @@
10208 # This must be Linux ELF.
10210 +linux* | k*bsd*-gnu)
10211 lt_cv_deplibs_check_method=pass_all
10215 +netbsd* | netbsdelf*-gnu)
10216 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
10217 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10219 @@ -4192,15 +4974,11 @@
10220 lt_cv_deplibs_check_method=pass_all
10224 - lt_cv_deplibs_check_method=pass_all
10228 lt_cv_deplibs_check_method=pass_all
10231 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10233 case $host_vendor in
10235 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]'
10236 @@ -4221,17 +4999,20 @@
10238 lt_cv_deplibs_check_method=pass_all
10241 + lt_cv_deplibs_check_method=pass_all
10246 -sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
10247 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10248 lt_cv_deplibs_check_method=pass_all
10253 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10254 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
10255 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
10256 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
10257 file_magic_cmd=$lt_cv_file_magic_cmd
10258 deplibs_check_method=$lt_cv_deplibs_check_method
10259 test -z "$deplibs_check_method" && deplibs_check_method=unknown
10260 @@ -4242,15 +5023,18 @@
10261 # If no C compiler was specified, use CC.
10264 +# If no C compiler flags were specified, use CFLAGS.
10265 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10267 # Allow CC to be a program name with arguments.
10271 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
10272 +# Check whether --enable-libtool-lock was given.
10273 if test "${enable_libtool_lock+set}" = set; then
10274 - enableval="$enable_libtool_lock"
10275 + enableval=$enable_libtool_lock;
10279 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10281 # Some flags need to be propagated to the compiler or linker for good
10282 @@ -4277,7 +5061,7 @@
10285 # Find out which ABI we are using.
10286 - echo '#line 4280 "configure"' > conftest.$ac_ext
10287 + echo '#line 5064 "configure"' > conftest.$ac_ext
10288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10289 (eval $ac_compile) 2>&5
10291 @@ -4320,7 +5104,7 @@
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); }; then
10295 - case "`/usr/bin/file conftest.o`" in
10296 + case `/usr/bin/file conftest.o` in
10300 @@ -4358,30 +5142,12 @@
10305 - # Test if the compiler is 64bit
10306 - echo 'int i;' > conftest.$ac_ext
10307 - lt_cv_cc_64bit_output=no
10308 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10309 - (eval $ac_compile) 2>&5
10311 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 - (exit $ac_status); }; then
10313 - case `/usr/bin/file conftest.$ac_objext` in
10315 - lt_cv_cc_64bit_output=yes
10323 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10324 SAVE_CFLAGS="$CFLAGS"
10325 CFLAGS="$CFLAGS -belf"
10326 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10327 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
10328 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
10329 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
10330 if test "${lt_cv_cc_needs_belf+set}" = set; then
10331 echo $ECHO_N "(cached) $ECHO_C" >&6
10333 @@ -4407,24 +5173,36 @@
10336 rm -f conftest.$ac_objext conftest$ac_exeext
10337 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10338 - (eval $ac_link) 2>conftest.er1
10339 +if { (ac_try="$ac_link"
10340 +case "(($ac_try" in
10341 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10342 + *) ac_try_echo=$ac_try;;
10344 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10345 + (eval "$ac_link") 2>conftest.er1
10347 grep -v '^ *+' conftest.er1 >conftest.err
10349 cat conftest.err >&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); } &&
10352 - { ac_try='test -z "$ac_c_werror_flag"
10353 - || test ! -s conftest.err'
10354 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355 - (eval $ac_try) 2>&5
10356 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10357 + { (case "(($ac_try" in
10358 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10359 + *) ac_try_echo=$ac_try;;
10361 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10362 + (eval "$ac_try") 2>&5
10364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365 (exit $ac_status); }; } &&
10366 { ac_try='test -s conftest$ac_exeext'
10367 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368 - (eval $ac_try) 2>&5
10369 + { (case "(($ac_try" in
10370 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10371 + *) ac_try_echo=$ac_try;;
10373 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10374 + (eval "$ac_try") 2>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); }; }; then
10378 @@ -4433,9 +5211,10 @@
10379 echo "$as_me: failed program was:" >&5
10380 sed 's/^/| /' conftest.$ac_ext >&5
10382 -lt_cv_cc_needs_belf=no
10383 + lt_cv_cc_needs_belf=no
10385 -rm -f conftest.err conftest.$ac_objext \
10387 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10388 conftest$ac_exeext conftest.$ac_ext
10390 ac_cpp='$CPP $CPPFLAGS'
10391 @@ -4444,13 +5223,33 @@
10392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10395 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10396 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
10397 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
10398 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
10399 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10400 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10401 CFLAGS="$SAVE_CFLAGS"
10405 + # Find out which ABI we are using.
10406 + echo 'int i;' > conftest.$ac_ext
10407 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10408 + (eval $ac_compile) 2>&5
10410 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 + (exit $ac_status); }; then
10412 + case `/usr/bin/file conftest.o` in
10414 + case $lt_cv_prog_gnu_ld in
10415 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
10416 + *) LD="${LD-ld} -64" ;;
10427 @@ -4462,8 +5261,8 @@
10428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10431 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10432 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10433 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10434 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
10435 # On Suns, sometimes $CPP names a directory.
10436 if test -n "$CPP" && test -d "$CPP"; then
10438 @@ -4497,8 +5296,13 @@
10442 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10443 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10444 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10445 +case "(($ac_try" in
10446 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10447 + *) ac_try_echo=$ac_try;;
10449 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10450 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10452 grep -v '^ *+' conftest.er1 >conftest.err
10454 @@ -4523,9 +5327,10 @@
10455 # Broken: fails on valid input.
10459 rm -f conftest.err conftest.$ac_ext
10461 - # OK, works on sane cases. Now check whether non-existent headers
10462 + # OK, works on sane cases. Now check whether nonexistent headers
10463 # can be detected and how.
10464 cat >conftest.$ac_ext <<_ACEOF
10466 @@ -4535,8 +5340,13 @@
10467 /* end confdefs.h. */
10468 #include <ac_nonexistent.h>
10470 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10471 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10472 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10473 +case "(($ac_try" in
10474 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10475 + *) ac_try_echo=$ac_try;;
10477 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10478 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10480 grep -v '^ *+' conftest.er1 >conftest.err
10482 @@ -4563,6 +5373,7 @@
10487 rm -f conftest.err conftest.$ac_ext
10490 @@ -4580,8 +5391,8 @@
10492 ac_cv_prog_CPP=$CPP
10494 -echo "$as_me:$LINENO: result: $CPP" >&5
10495 -echo "${ECHO_T}$CPP" >&6
10496 +{ echo "$as_me:$LINENO: result: $CPP" >&5
10497 +echo "${ECHO_T}$CPP" >&6; }
10498 ac_preproc_ok=false
10499 for ac_c_preproc_warn_flag in '' yes
10501 @@ -4604,8 +5415,13 @@
10505 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10506 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10507 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10508 +case "(($ac_try" in
10509 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10510 + *) ac_try_echo=$ac_try;;
10512 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10513 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10515 grep -v '^ *+' conftest.er1 >conftest.err
10517 @@ -4630,9 +5446,10 @@
10518 # Broken: fails on valid input.
10522 rm -f conftest.err conftest.$ac_ext
10524 - # OK, works on sane cases. Now check whether non-existent headers
10525 + # OK, works on sane cases. Now check whether nonexistent headers
10526 # can be detected and how.
10527 cat >conftest.$ac_ext <<_ACEOF
10529 @@ -4642,8 +5459,13 @@
10530 /* end confdefs.h. */
10531 #include <ac_nonexistent.h>
10533 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10534 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10535 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10536 +case "(($ac_try" in
10537 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10538 + *) ac_try_echo=$ac_try;;
10540 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10541 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10543 grep -v '^ *+' conftest.er1 >conftest.err
10545 @@ -4670,6 +5492,7 @@
10550 rm -f conftest.err conftest.$ac_ext
10553 @@ -4692,8 +5515,8 @@
10554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10557 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10558 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10559 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10560 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
10561 if test "${ac_cv_header_stdc+set}" = set; then
10562 echo $ECHO_N "(cached) $ECHO_C" >&6
10564 @@ -4717,24 +5540,36 @@
10567 rm -f conftest.$ac_objext
10568 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10569 - (eval $ac_compile) 2>conftest.er1
10570 +if { (ac_try="$ac_compile"
10571 +case "(($ac_try" in
10572 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10573 + *) ac_try_echo=$ac_try;;
10575 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10576 + (eval "$ac_compile") 2>conftest.er1
10578 grep -v '^ *+' conftest.er1 >conftest.err
10580 cat conftest.err >&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); } &&
10583 - { ac_try='test -z "$ac_c_werror_flag"
10584 - || test ! -s conftest.err'
10585 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 - (eval $ac_try) 2>&5
10587 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10588 + { (case "(($ac_try" in
10589 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10590 + *) ac_try_echo=$ac_try;;
10592 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10593 + (eval "$ac_try") 2>&5
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); }; } &&
10597 { ac_try='test -s conftest.$ac_objext'
10598 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10599 - (eval $ac_try) 2>&5
10600 + { (case "(($ac_try" in
10601 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10602 + *) ac_try_echo=$ac_try;;
10604 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10605 + (eval "$ac_try") 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; }; then
10609 @@ -4743,9 +5578,10 @@
10610 echo "$as_me: failed program was:" >&5
10611 sed 's/^/| /' conftest.$ac_ext >&5
10613 -ac_cv_header_stdc=no
10614 + ac_cv_header_stdc=no
10616 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10618 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10620 if test $ac_cv_header_stdc = yes; then
10621 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10622 @@ -4801,6 +5637,7 @@
10623 cat >>conftest.$ac_ext <<_ACEOF
10624 /* end confdefs.h. */
10626 +#include <stdlib.h>
10627 #if ((' ' & 0x0FF) == 0x020)
10628 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10629 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10630 @@ -4820,18 +5657,27 @@
10631 for (i = 0; i < 256; i++)
10632 if (XOR (islower (i), ISLOWER (i))
10633 || toupper (i) != TOUPPER (i))
10640 rm -f conftest$ac_exeext
10641 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10642 - (eval $ac_link) 2>&5
10643 +if { (ac_try="$ac_link"
10644 +case "(($ac_try" in
10645 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10646 + *) ac_try_echo=$ac_try;;
10648 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10649 + (eval "$ac_link") 2>&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10653 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10654 - (eval $ac_try) 2>&5
10655 + { (case "(($ac_try" in
10656 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10657 + *) ac_try_echo=$ac_try;;
10659 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10660 + (eval "$ac_try") 2>&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); }; }; then
10664 @@ -4844,12 +5690,14 @@
10665 ( exit $ac_status )
10666 ac_cv_header_stdc=no
10668 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10669 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10675 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10676 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
10677 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10678 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
10679 if test $ac_cv_header_stdc = yes; then
10681 cat >>confdefs.h <<\_ACEOF
10682 @@ -4872,9 +5720,9 @@
10683 inttypes.h stdint.h unistd.h
10685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10686 -echo "$as_me:$LINENO: checking for $ac_header" >&5
10687 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10688 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10689 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10690 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10691 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10692 echo $ECHO_N "(cached) $ECHO_C" >&6
10694 cat >conftest.$ac_ext <<_ACEOF
10695 @@ -4888,24 +5736,36 @@
10696 #include <$ac_header>
10698 rm -f conftest.$ac_objext
10699 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10700 - (eval $ac_compile) 2>conftest.er1
10701 +if { (ac_try="$ac_compile"
10702 +case "(($ac_try" in
10703 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10704 + *) ac_try_echo=$ac_try;;
10706 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10707 + (eval "$ac_compile") 2>conftest.er1
10709 grep -v '^ *+' conftest.er1 >conftest.err
10711 cat conftest.err >&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); } &&
10714 - { ac_try='test -z "$ac_c_werror_flag"
10715 - || test ! -s conftest.err'
10716 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10717 - (eval $ac_try) 2>&5
10718 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10719 + { (case "(($ac_try" in
10720 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10721 + *) ac_try_echo=$ac_try;;
10723 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10724 + (eval "$ac_try") 2>&5
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); }; } &&
10728 { ac_try='test -s conftest.$ac_objext'
10729 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10730 - (eval $ac_try) 2>&5
10731 + { (case "(($ac_try" in
10732 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10733 + *) ac_try_echo=$ac_try;;
10735 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10736 + (eval "$ac_try") 2>&5
10738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10739 (exit $ac_status); }; }; then
10740 @@ -4914,12 +5774,14 @@
10741 echo "$as_me: failed program was:" >&5
10742 sed 's/^/| /' conftest.$ac_ext >&5
10744 -eval "$as_ac_Header=no"
10745 + eval "$as_ac_Header=no"
10747 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10749 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10751 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10752 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10753 +ac_res=`eval echo '${'$as_ac_Header'}'`
10754 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10755 +echo "${ECHO_T}$ac_res" >&6; }
10756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10757 cat >>confdefs.h <<_ACEOF
10758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10759 @@ -4934,18 +5796,19 @@
10760 for ac_header in dlfcn.h
10762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10763 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10764 - echo "$as_me:$LINENO: checking for $ac_header" >&5
10765 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10766 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10767 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10768 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
10769 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10770 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10771 echo $ECHO_N "(cached) $ECHO_C" >&6
10773 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10774 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10775 +ac_res=`eval echo '${'$as_ac_Header'}'`
10776 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10777 +echo "${ECHO_T}$ac_res" >&6; }
10779 # Is the header compilable?
10780 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
10781 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10782 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10783 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10784 cat >conftest.$ac_ext <<_ACEOF
10787 @@ -4956,24 +5819,36 @@
10788 #include <$ac_header>
10790 rm -f conftest.$ac_objext
10791 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10792 - (eval $ac_compile) 2>conftest.er1
10793 +if { (ac_try="$ac_compile"
10794 +case "(($ac_try" in
10795 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10796 + *) ac_try_echo=$ac_try;;
10798 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10799 + (eval "$ac_compile") 2>conftest.er1
10801 grep -v '^ *+' conftest.er1 >conftest.err
10803 cat conftest.err >&5
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); } &&
10806 - { ac_try='test -z "$ac_c_werror_flag"
10807 - || test ! -s conftest.err'
10808 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10809 - (eval $ac_try) 2>&5
10810 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10811 + { (case "(($ac_try" in
10812 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10813 + *) ac_try_echo=$ac_try;;
10815 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10816 + (eval "$ac_try") 2>&5
10818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); }; } &&
10820 { ac_try='test -s conftest.$ac_objext'
10821 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10822 - (eval $ac_try) 2>&5
10823 + { (case "(($ac_try" in
10824 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10825 + *) ac_try_echo=$ac_try;;
10827 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10828 + (eval "$ac_try") 2>&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); }; }; then
10832 @@ -4982,15 +5857,16 @@
10833 echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.$ac_ext >&5
10836 -ac_header_compiler=no
10837 + ac_header_compiler=no
10839 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10840 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10841 -echo "${ECHO_T}$ac_header_compiler" >&6
10843 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10844 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10845 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10847 # Is the header present?
10848 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
10849 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10850 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10851 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10852 cat >conftest.$ac_ext <<_ACEOF
10855 @@ -4999,8 +5875,13 @@
10856 /* end confdefs.h. */
10857 #include <$ac_header>
10859 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10860 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10861 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10862 +case "(($ac_try" in
10863 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10864 + *) ac_try_echo=$ac_try;;
10866 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10869 grep -v '^ *+' conftest.er1 >conftest.err
10871 @@ -5024,9 +5905,10 @@
10873 ac_header_preproc=no
10876 rm -f conftest.err conftest.$ac_ext
10877 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10878 -echo "${ECHO_T}$ac_header_preproc" >&6
10879 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10880 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10882 # So? What about this header?
10883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10884 @@ -5050,25 +5932,24 @@
10885 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10886 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10887 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10891 ## -------------------------------------------- ##
10892 ## Report this to sebastian.marsching@suphp.org ##
10893 ## -------------------------------------------- ##
10896 - sed "s/^/$as_me: WARNING: /" >&2
10897 + ) | sed "s/^/$as_me: WARNING: /" >&2
10900 -echo "$as_me:$LINENO: checking for $ac_header" >&5
10901 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10902 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10903 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10904 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10905 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10906 echo $ECHO_N "(cached) $ECHO_C" >&6
10908 eval "$as_ac_Header=\$ac_header_preproc"
10910 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10911 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10912 +ac_res=`eval echo '${'$as_ac_Header'}'`
10913 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10914 +echo "${ECHO_T}$ac_res" >&6; }
10917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10918 @@ -5085,13 +5966,13 @@
10919 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10920 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10921 (test "X$CXX" != "Xg++"))) ; then
10924 ac_cpp='$CXXCPP $CPPFLAGS'
10925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10928 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
10929 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
10930 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
10931 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
10932 if test -z "$CXXCPP"; then
10933 if test "${ac_cv_prog_CXXCPP+set}" = set; then
10934 echo $ECHO_N "(cached) $ECHO_C" >&6
10935 @@ -5121,8 +6002,13 @@
10939 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10940 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10941 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10942 +case "(($ac_try" in
10943 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10944 + *) ac_try_echo=$ac_try;;
10946 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10947 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10949 grep -v '^ *+' conftest.er1 >conftest.err
10951 @@ -5147,9 +6033,10 @@
10952 # Broken: fails on valid input.
10956 rm -f conftest.err conftest.$ac_ext
10958 - # OK, works on sane cases. Now check whether non-existent headers
10959 + # OK, works on sane cases. Now check whether nonexistent headers
10960 # can be detected and how.
10961 cat >conftest.$ac_ext <<_ACEOF
10963 @@ -5159,8 +6046,13 @@
10964 /* end confdefs.h. */
10965 #include <ac_nonexistent.h>
10967 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10968 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10969 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10970 +case "(($ac_try" in
10971 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10972 + *) ac_try_echo=$ac_try;;
10974 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10975 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10977 grep -v '^ *+' conftest.er1 >conftest.err
10979 @@ -5187,6 +6079,7 @@
10984 rm -f conftest.err conftest.$ac_ext
10987 @@ -5204,8 +6097,8 @@
10989 ac_cv_prog_CXXCPP=$CXXCPP
10991 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
10992 -echo "${ECHO_T}$CXXCPP" >&6
10993 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
10994 +echo "${ECHO_T}$CXXCPP" >&6; }
10995 ac_preproc_ok=false
10996 for ac_cxx_preproc_warn_flag in '' yes
10998 @@ -5228,8 +6121,13 @@
11002 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11003 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11004 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11005 +case "(($ac_try" in
11006 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11007 + *) ac_try_echo=$ac_try;;
11009 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11010 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11012 grep -v '^ *+' conftest.er1 >conftest.err
11014 @@ -5254,9 +6152,10 @@
11015 # Broken: fails on valid input.
11019 rm -f conftest.err conftest.$ac_ext
11021 - # OK, works on sane cases. Now check whether non-existent headers
11022 + # OK, works on sane cases. Now check whether nonexistent headers
11023 # can be detected and how.
11024 cat >conftest.$ac_ext <<_ACEOF
11026 @@ -5266,8 +6165,13 @@
11027 /* end confdefs.h. */
11028 #include <ac_nonexistent.h>
11030 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11031 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11032 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11033 +case "(($ac_try" in
11034 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11035 + *) ac_try_echo=$ac_try;;
11037 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11038 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11040 grep -v '^ *+' conftest.er1 >conftest.err
11042 @@ -5294,6 +6198,7 @@
11047 rm -f conftest.err conftest.$ac_ext
11050 @@ -5309,7 +6214,7 @@
11051 { (exit 1); exit 1; }; }
11056 ac_cpp='$CXXCPP $CPPFLAGS'
11057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11059 @@ -5323,12 +6228,12 @@
11060 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11061 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
11062 if test -n "$ac_tool_prefix"; then
11063 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
11064 + for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
11066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11067 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11068 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11069 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11070 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11071 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11072 if test "${ac_cv_prog_F77+set}" = set; then
11073 echo $ECHO_N "(cached) $ECHO_C" >&6
11075 @@ -5341,36 +6246,38 @@
11077 test -z "$as_dir" && as_dir=.
11078 for ac_exec_ext in '' $ac_executable_extensions; do
11079 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11080 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11081 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
11082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11091 F77=$ac_cv_prog_F77
11092 if test -n "$F77"; then
11093 - echo "$as_me:$LINENO: result: $F77" >&5
11094 -echo "${ECHO_T}$F77" >&6
11095 + { echo "$as_me:$LINENO: result: $F77" >&5
11096 +echo "${ECHO_T}$F77" >&6; }
11098 - echo "$as_me:$LINENO: result: no" >&5
11099 -echo "${ECHO_T}no" >&6
11100 + { echo "$as_me:$LINENO: result: no" >&5
11101 +echo "${ECHO_T}no" >&6; }
11105 test -n "$F77" && break
11108 if test -z "$F77"; then
11110 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
11111 + for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
11113 # Extract the first word of "$ac_prog", so it can be a program name with args.
11114 set dummy $ac_prog; ac_word=$2
11115 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11116 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11117 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11118 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11119 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11122 @@ -5383,48 +6290,78 @@
11124 test -z "$as_dir" && as_dir=.
11125 for ac_exec_ext in '' $ac_executable_extensions; do
11126 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11127 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11128 ac_cv_prog_ac_ct_F77="$ac_prog"
11129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11138 ac_ct_F77=$ac_cv_prog_ac_ct_F77
11139 if test -n "$ac_ct_F77"; then
11140 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
11141 -echo "${ECHO_T}$ac_ct_F77" >&6
11142 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
11143 +echo "${ECHO_T}$ac_ct_F77" >&6; }
11145 - echo "$as_me:$LINENO: result: no" >&5
11146 -echo "${ECHO_T}no" >&6
11147 + { echo "$as_me:$LINENO: result: no" >&5
11148 +echo "${ECHO_T}no" >&6; }
11152 test -n "$ac_ct_F77" && break
11156 + if test "x$ac_ct_F77" = x; then
11159 + case $cross_compiling:$ac_tool_warned in
11161 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11162 +whose name does not start with the host triplet. If you think this
11163 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11164 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11165 +whose name does not start with the host triplet. If you think this
11166 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11167 +ac_tool_warned=yes ;;
11174 # Provide some information about the compiler.
11175 -echo "$as_me:5413:" \
11176 - "checking for Fortran 77 compiler version" >&5
11177 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
11178 ac_compiler=`set X $ac_compile; echo $2`
11179 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11180 - (eval $ac_compiler --version </dev/null >&5) 2>&5
11181 +{ (ac_try="$ac_compiler --version >&5"
11182 +case "(($ac_try" in
11183 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11184 + *) ac_try_echo=$ac_try;;
11186 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11187 + (eval "$ac_compiler --version >&5") 2>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }
11191 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11192 - (eval $ac_compiler -v </dev/null >&5) 2>&5
11193 +{ (ac_try="$ac_compiler -v >&5"
11194 +case "(($ac_try" in
11195 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11196 + *) ac_try_echo=$ac_try;;
11198 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11199 + (eval "$ac_compiler -v >&5") 2>&5
11201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11202 (exit $ac_status); }
11203 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11204 - (eval $ac_compiler -V </dev/null >&5) 2>&5
11205 +{ (ac_try="$ac_compiler -V >&5"
11206 +case "(($ac_try" in
11207 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11208 + *) ac_try_echo=$ac_try;;
11210 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11211 + (eval "$ac_compiler -V >&5") 2>&5
11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214 (exit $ac_status); }
11215 @@ -5434,8 +6371,8 @@
11216 # input file. (Note that this only needs to work for GNU compilers.)
11217 ac_save_ext=$ac_ext
11219 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
11220 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
11221 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
11222 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
11223 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 @@ -5448,24 +6385,36 @@
11229 rm -f conftest.$ac_objext
11230 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11231 - (eval $ac_compile) 2>conftest.er1
11232 +if { (ac_try="$ac_compile"
11233 +case "(($ac_try" in
11234 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11235 + *) ac_try_echo=$ac_try;;
11237 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11238 + (eval "$ac_compile") 2>conftest.er1
11240 grep -v '^ *+' conftest.er1 >conftest.err
11242 cat conftest.err >&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); } &&
11245 - { ac_try='test -z "$ac_f77_werror_flag"
11246 - || test ! -s conftest.err'
11247 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11248 - (eval $ac_try) 2>&5
11249 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
11250 + { (case "(($ac_try" in
11251 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11252 + *) ac_try_echo=$ac_try;;
11254 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11255 + (eval "$ac_try") 2>&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); }; } &&
11259 { ac_try='test -s conftest.$ac_objext'
11260 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11261 - (eval $ac_try) 2>&5
11262 + { (case "(($ac_try" in
11263 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11264 + *) ac_try_echo=$ac_try;;
11266 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11267 + (eval "$ac_try") 2>&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); }; }; then
11271 @@ -5474,20 +6423,21 @@
11272 echo "$as_me: failed program was:" >&5
11273 sed 's/^/| /' conftest.$ac_ext >&5
11275 -ac_compiler_gnu=no
11276 + ac_compiler_gnu=no
11278 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11280 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11281 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
11284 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
11285 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
11286 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
11287 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
11288 ac_ext=$ac_save_ext
11289 ac_test_FFLAGS=${FFLAGS+set}
11290 ac_save_FFLAGS=$FFLAGS
11292 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
11293 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
11294 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
11295 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
11296 if test "${ac_cv_prog_f77_g+set}" = set; then
11297 echo $ECHO_N "(cached) $ECHO_C" >&6
11299 @@ -5498,24 +6448,36 @@
11302 rm -f conftest.$ac_objext
11303 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11304 - (eval $ac_compile) 2>conftest.er1
11305 +if { (ac_try="$ac_compile"
11306 +case "(($ac_try" in
11307 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11308 + *) ac_try_echo=$ac_try;;
11310 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11311 + (eval "$ac_compile") 2>conftest.er1
11313 grep -v '^ *+' conftest.er1 >conftest.err
11315 cat conftest.err >&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); } &&
11318 - { ac_try='test -z "$ac_f77_werror_flag"
11319 - || test ! -s conftest.err'
11320 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11321 - (eval $ac_try) 2>&5
11322 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
11323 + { (case "(($ac_try" in
11324 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11325 + *) ac_try_echo=$ac_try;;
11327 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11328 + (eval "$ac_try") 2>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); }; } &&
11332 { ac_try='test -s conftest.$ac_objext'
11333 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334 - (eval $ac_try) 2>&5
11335 + { (case "(($ac_try" in
11336 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11337 + *) ac_try_echo=$ac_try;;
11339 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11340 + (eval "$ac_try") 2>&5
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); }; }; then
11344 @@ -5524,13 +6486,14 @@
11345 echo "$as_me: failed program was:" >&5
11346 sed 's/^/| /' conftest.$ac_ext >&5
11348 -ac_cv_prog_f77_g=no
11349 + ac_cv_prog_f77_g=no
11351 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11353 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11356 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
11357 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
11358 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
11359 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
11360 if test "$ac_test_FFLAGS" = set; then
11361 FFLAGS=$ac_save_FFLAGS
11362 elif test $ac_cv_prog_f77_g = yes; then
11363 @@ -5559,8 +6522,8 @@
11364 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
11366 # find the maximum length of command line arguments
11367 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
11368 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
11369 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
11370 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
11371 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11374 @@ -5607,12 +6570,18 @@
11375 elif test -x /usr/sbin/sysctl; then
11376 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
11378 - lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
11379 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
11381 # And add a safety zone
11382 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
11383 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
11387 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
11388 + lt_cv_sys_max_cmd_len=196608
11392 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
11393 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
11394 @@ -5626,6 +6595,17 @@
11399 + lt_cv_sys_max_cmd_len=102400
11401 + sysv5* | sco5v6* | sysv4.2uw2*)
11402 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
11403 + if test -n "$kargmax"; then
11404 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
11406 + lt_cv_sys_max_cmd_len=32768
11410 # If test is not a shell built-in, we'll probably end up computing a
11411 # maximum length that is only half of the actual maximum length, but
11412 @@ -5651,19 +6631,19 @@
11415 if test -n $lt_cv_sys_max_cmd_len ; then
11416 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
11417 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
11418 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
11419 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
11421 - echo "$as_me:$LINENO: result: none" >&5
11422 -echo "${ECHO_T}none" >&6
11423 + { echo "$as_me:$LINENO: result: none" >&5
11424 +echo "${ECHO_T}none" >&6; }
11430 # Check for command to grab the raw symbol name followed by C symbol from nm.
11431 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
11432 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
11433 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
11434 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
11435 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11438 @@ -5698,7 +6678,7 @@
11439 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11440 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'"
11443 +linux* | k*bsd*-gnu)
11444 if test "$host_cpu" = ia64; then
11445 symcode='[ABCDGIRSTW]'
11446 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11447 @@ -5711,9 +6691,18 @@
11449 symcode='[BCDEGQRST]'
11451 -solaris* | sysv5*)
11461 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
11467 @@ -5858,15 +6847,15 @@
11468 lt_cv_sys_global_symbol_to_cdecl=
11470 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
11471 - echo "$as_me:$LINENO: result: failed" >&5
11472 -echo "${ECHO_T}failed" >&6
11473 + { echo "$as_me:$LINENO: result: failed" >&5
11474 +echo "${ECHO_T}failed" >&6; }
11476 - echo "$as_me:$LINENO: result: ok" >&5
11477 -echo "${ECHO_T}ok" >&6
11478 + { echo "$as_me:$LINENO: result: ok" >&5
11479 +echo "${ECHO_T}ok" >&6; }
11482 -echo "$as_me:$LINENO: checking for objdir" >&5
11483 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
11484 +{ echo "$as_me:$LINENO: checking for objdir" >&5
11485 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
11486 if test "${lt_cv_objdir+set}" = set; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11489 @@ -5880,8 +6869,8 @@
11491 rmdir .libs 2>/dev/null
11493 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
11494 -echo "${ECHO_T}$lt_cv_objdir" >&6
11495 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
11496 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
11497 objdir=$lt_cv_objdir
11500 @@ -5922,7 +6911,7 @@
11501 default_ofile=libtool
11502 can_build_shared=yes
11504 -# All known linkers require a `.a' archive for static linking (except M$VC,
11505 +# All known linkers require a `.a' archive for static linking (except MSVC,
11506 # which needs '.lib').
11508 ltmain="$ac_aux_dir/ltmain.sh"
11509 @@ -5932,8 +6921,8 @@
11510 if test -n "$ac_tool_prefix"; then
11511 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11512 set dummy ${ac_tool_prefix}ar; ac_word=$2
11513 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11514 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11515 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11516 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11517 if test "${ac_cv_prog_AR+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 @@ -5946,32 +6935,34 @@
11522 test -z "$as_dir" && as_dir=.
11523 for ac_exec_ext in '' $ac_executable_extensions; do
11524 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11525 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11526 ac_cv_prog_AR="${ac_tool_prefix}ar"
11527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11537 if test -n "$AR"; then
11538 - echo "$as_me:$LINENO: result: $AR" >&5
11539 -echo "${ECHO_T}$AR" >&6
11540 + { echo "$as_me:$LINENO: result: $AR" >&5
11541 +echo "${ECHO_T}$AR" >&6; }
11543 - echo "$as_me:$LINENO: result: no" >&5
11544 -echo "${ECHO_T}no" >&6
11545 + { echo "$as_me:$LINENO: result: no" >&5
11546 +echo "${ECHO_T}no" >&6; }
11551 if test -z "$ac_cv_prog_AR"; then
11553 # Extract the first word of "ar", so it can be a program name with args.
11554 set dummy ar; ac_word=$2
11555 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11556 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11557 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11558 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11559 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 @@ -5984,27 +6975,41 @@
11564 test -z "$as_dir" && as_dir=.
11565 for ac_exec_ext in '' $ac_executable_extensions; do
11566 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11567 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11568 ac_cv_prog_ac_ct_AR="ar"
11569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11576 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
11579 ac_ct_AR=$ac_cv_prog_ac_ct_AR
11580 if test -n "$ac_ct_AR"; then
11581 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
11582 -echo "${ECHO_T}$ac_ct_AR" >&6
11583 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
11584 +echo "${ECHO_T}$ac_ct_AR" >&6; }
11586 - echo "$as_me:$LINENO: result: no" >&5
11587 -echo "${ECHO_T}no" >&6
11588 + { echo "$as_me:$LINENO: result: no" >&5
11589 +echo "${ECHO_T}no" >&6; }
11593 + if test "x$ac_ct_AR" = x; then
11596 + case $cross_compiling:$ac_tool_warned in
11598 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11599 +whose name does not start with the host triplet. If you think this
11600 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11601 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11602 +whose name does not start with the host triplet. If you think this
11603 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11604 +ac_tool_warned=yes ;;
11609 AR="$ac_cv_prog_AR"
11611 @@ -6012,8 +7017,8 @@
11612 if test -n "$ac_tool_prefix"; then
11613 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11614 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11615 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11616 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11617 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11618 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11619 if test "${ac_cv_prog_RANLIB+set}" = set; then
11620 echo $ECHO_N "(cached) $ECHO_C" >&6
11622 @@ -6026,32 +7031,34 @@
11624 test -z "$as_dir" && as_dir=.
11625 for ac_exec_ext in '' $ac_executable_extensions; do
11626 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11627 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11628 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11638 RANLIB=$ac_cv_prog_RANLIB
11639 if test -n "$RANLIB"; then
11640 - echo "$as_me:$LINENO: result: $RANLIB" >&5
11641 -echo "${ECHO_T}$RANLIB" >&6
11642 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
11643 +echo "${ECHO_T}$RANLIB" >&6; }
11645 - echo "$as_me:$LINENO: result: no" >&5
11646 -echo "${ECHO_T}no" >&6
11647 + { echo "$as_me:$LINENO: result: no" >&5
11648 +echo "${ECHO_T}no" >&6; }
11653 if test -z "$ac_cv_prog_RANLIB"; then
11654 ac_ct_RANLIB=$RANLIB
11655 # Extract the first word of "ranlib", so it can be a program name with args.
11656 set dummy ranlib; ac_word=$2
11657 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11658 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11659 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11660 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11661 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11664 @@ -6064,27 +7071,41 @@
11666 test -z "$as_dir" && as_dir=.
11667 for ac_exec_ext in '' $ac_executable_extensions; do
11668 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11669 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11670 ac_cv_prog_ac_ct_RANLIB="ranlib"
11671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11678 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11681 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11682 if test -n "$ac_ct_RANLIB"; then
11683 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11684 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
11685 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11686 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
11688 - echo "$as_me:$LINENO: result: no" >&5
11689 -echo "${ECHO_T}no" >&6
11690 + { echo "$as_me:$LINENO: result: no" >&5
11691 +echo "${ECHO_T}no" >&6; }
11694 - RANLIB=$ac_ct_RANLIB
11695 + if test "x$ac_ct_RANLIB" = x; then
11698 + case $cross_compiling:$ac_tool_warned in
11700 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11701 +whose name does not start with the host triplet. If you think this
11702 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11703 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11704 +whose name does not start with the host triplet. If you think this
11705 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11706 +ac_tool_warned=yes ;;
11708 + RANLIB=$ac_ct_RANLIB
11711 RANLIB="$ac_cv_prog_RANLIB"
11713 @@ -6092,8 +7113,8 @@
11714 if test -n "$ac_tool_prefix"; then
11715 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11716 set dummy ${ac_tool_prefix}strip; ac_word=$2
11717 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11718 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11719 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11720 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11721 if test "${ac_cv_prog_STRIP+set}" = set; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11724 @@ -6106,32 +7127,34 @@
11726 test -z "$as_dir" && as_dir=.
11727 for ac_exec_ext in '' $ac_executable_extensions; do
11728 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11729 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11730 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11740 STRIP=$ac_cv_prog_STRIP
11741 if test -n "$STRIP"; then
11742 - echo "$as_me:$LINENO: result: $STRIP" >&5
11743 -echo "${ECHO_T}$STRIP" >&6
11744 + { echo "$as_me:$LINENO: result: $STRIP" >&5
11745 +echo "${ECHO_T}$STRIP" >&6; }
11747 - echo "$as_me:$LINENO: result: no" >&5
11748 -echo "${ECHO_T}no" >&6
11749 + { echo "$as_me:$LINENO: result: no" >&5
11750 +echo "${ECHO_T}no" >&6; }
11755 if test -z "$ac_cv_prog_STRIP"; then
11757 # Extract the first word of "strip", so it can be a program name with args.
11758 set dummy strip; ac_word=$2
11759 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11760 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11761 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11762 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11763 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
11764 echo $ECHO_N "(cached) $ECHO_C" >&6
11766 @@ -6144,27 +7167,41 @@
11768 test -z "$as_dir" && as_dir=.
11769 for ac_exec_ext in '' $ac_executable_extensions; do
11770 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11771 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11772 ac_cv_prog_ac_ct_STRIP="strip"
11773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11780 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
11783 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11784 if test -n "$ac_ct_STRIP"; then
11785 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11786 -echo "${ECHO_T}$ac_ct_STRIP" >&6
11787 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
11788 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
11790 - echo "$as_me:$LINENO: result: no" >&5
11791 -echo "${ECHO_T}no" >&6
11792 + { echo "$as_me:$LINENO: result: no" >&5
11793 +echo "${ECHO_T}no" >&6; }
11796 - STRIP=$ac_ct_STRIP
11797 + if test "x$ac_ct_STRIP" = x; then
11800 + case $cross_compiling:$ac_tool_warned in
11802 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11803 +whose name does not start with the host triplet. If you think this
11804 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11805 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11806 +whose name does not start with the host triplet. If you think this
11807 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11808 +ac_tool_warned=yes ;;
11810 + STRIP=$ac_ct_STRIP
11813 STRIP="$ac_cv_prog_STRIP"
11815 @@ -6179,6 +7216,7 @@
11816 test -z "$AS" && AS=as
11817 test -z "$CC" && CC=cc
11818 test -z "$LTCC" && LTCC=$CC
11819 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11820 test -z "$DLLTOOL" && DLLTOOL=dlltool
11821 test -z "$LD" && LD=ld
11822 test -z "$LN_S" && LN_S="ln -s"
11823 @@ -6198,10 +7236,10 @@
11824 if test -n "$RANLIB"; then
11827 - old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
11828 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
11831 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
11832 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
11835 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
11836 @@ -6222,8 +7260,8 @@
11837 case $deplibs_check_method in
11839 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11840 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11841 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
11842 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11843 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
11844 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11845 echo $ECHO_N "(cached) $ECHO_C" >&6
11847 @@ -6243,7 +7281,7 @@
11848 if test -n "$file_magic_test_file"; then
11849 case $deplibs_check_method in
11851 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11852 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11853 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11854 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11855 $EGREP "$file_magic_regex" > /dev/null; then
11856 @@ -6275,17 +7313,17 @@
11858 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11859 if test -n "$MAGIC_CMD"; then
11860 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11861 -echo "${ECHO_T}$MAGIC_CMD" >&6
11862 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11863 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
11865 - echo "$as_me:$LINENO: result: no" >&5
11866 -echo "${ECHO_T}no" >&6
11867 + { echo "$as_me:$LINENO: result: no" >&5
11868 +echo "${ECHO_T}no" >&6; }
11871 if test -z "$lt_cv_path_MAGIC_CMD"; then
11872 if test -n "$ac_tool_prefix"; then
11873 - echo "$as_me:$LINENO: checking for file" >&5
11874 -echo $ECHO_N "checking for file... $ECHO_C" >&6
11875 + { echo "$as_me:$LINENO: checking for file" >&5
11876 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
11877 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11880 @@ -6305,7 +7343,7 @@
11881 if test -n "$file_magic_test_file"; then
11882 case $deplibs_check_method in
11884 - file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
11885 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11886 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11887 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11888 $EGREP "$file_magic_regex" > /dev/null; then
11889 @@ -6337,11 +7375,11 @@
11891 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11892 if test -n "$MAGIC_CMD"; then
11893 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11894 -echo "${ECHO_T}$MAGIC_CMD" >&6
11895 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11896 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
11898 - echo "$as_me:$LINENO: result: no" >&5
11899 -echo "${ECHO_T}no" >&6
11900 + { echo "$as_me:$LINENO: result: no" >&5
11901 +echo "${ECHO_T}no" >&6; }
11905 @@ -6356,63 +7394,22 @@
11907 enable_win32_dll=no
11909 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
11910 +# Check whether --enable-libtool-lock was given.
11911 if test "${enable_libtool_lock+set}" = set; then
11912 - enableval="$enable_libtool_lock"
11913 + enableval=$enable_libtool_lock;
11917 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
11920 -# Check whether --with-pic or --without-pic was given.
11921 +# Check whether --with-pic was given.
11922 if test "${with_pic+set}" = set; then
11923 - withval="$with_pic"
11924 - pic_mode="$withval"
11925 + withval=$with_pic; pic_mode="$withval"
11929 -test -z "$pic_mode" && pic_mode=default
11931 -# Check if we have a version mismatch between libtool.m4 and ltmain.sh.
11933 -# Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
11934 -# We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
11935 -# calls AC_LIBTOOL_CONFIG and creates libtool.
11937 -echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
11938 -echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6
11939 -if test -z "$ltmain"; then
11940 - echo "$as_me:$LINENO: result: no" >&5
11941 -echo "${ECHO_T}no" >&6
11943 - echo "*** Gentoo sanity check failed! ***"
11944 - echo "*** \$ltmain is not defined, please check the patch for consistency! ***"
11948 -gentoo_lt_version="1.5.18"
11949 -gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'`
11950 -if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
11951 - echo "$as_me:$LINENO: result: no" >&5
11952 -echo "${ECHO_T}no" >&6
11954 - echo "*** Gentoo sanity check failed! ***"
11955 - echo "*** libtool.m4 and ltmain.sh have a version mismatch! ***"
11956 - echo "*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***"
11958 - echo "Please run:"
11960 - echo " libtoolize --copy --force"
11962 - echo "if appropriate, please contact the maintainer of this"
11963 - echo "package (or your distribution) for help."
11967 - echo "$as_me:$LINENO: result: yes" >&5
11968 -echo "${ECHO_T}yes" >&6
11971 +test -z "$pic_mode" && pic_mode=default
11973 # Use C for the default configuration in the libtool script
11975 @@ -6441,6 +7438,9 @@
11976 # If no C compiler was specified, use CC.
11979 +# If no C compiler flags were specified, use CFLAGS.
11980 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11982 # Allow CC to be a program name with arguments.
11985 @@ -6448,82 +7448,17 @@
11986 # save warnings/boilerplate of simple test code
11987 ac_outfile=conftest.$ac_objext
11988 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11989 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
11990 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11991 _lt_compiler_boilerplate=`cat conftest.err`
11994 ac_outfile=conftest.$ac_objext
11995 printf "$lt_simple_link_test_code" >conftest.$ac_ext
11996 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
11997 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11998 _lt_linker_boilerplate=`cat conftest.err`
12003 -# Check for any special shared library compilation flags.
12006 -if test "$GCC" = no; then
12009 - lt_prog_cc_shlib='-belf'
12013 -if test -n "$lt_prog_cc_shlib"; then
12014 - { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
12015 -echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
12016 - if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
12018 - { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
12019 -echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
12020 - lt_cv_prog_cc_can_build_shared=no
12026 -# Check to make sure the static flag actually works.
12028 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
12029 -echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
12030 -if test "${lt_prog_compiler_static_works+set}" = set; then
12031 - echo $ECHO_N "(cached) $ECHO_C" >&6
12033 - lt_prog_compiler_static_works=no
12034 - save_LDFLAGS="$LDFLAGS"
12035 - LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
12036 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
12037 - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12038 - # The compiler can only warn and ignore the option if not recognized
12039 - # So say no if there are warnings
12040 - if test -s conftest.err; then
12041 - # Append any errors to the config.log.
12042 - cat conftest.err 1>&5
12043 - $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
12044 - $SED '/^$/d' conftest.err >conftest.er2
12045 - if diff conftest.exp conftest.er2 >/dev/null; then
12046 - lt_prog_compiler_static_works=yes
12049 - lt_prog_compiler_static_works=yes
12053 - LDFLAGS="$save_LDFLAGS"
12056 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
12057 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
12059 -if test x"$lt_prog_compiler_static_works" = xyes; then
12062 - lt_prog_compiler_static=
12068 lt_prog_compiler_no_builtin_flag=
12070 @@ -6531,8 +7466,8 @@
12071 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
12074 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12075 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
12076 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12077 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
12078 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
12079 echo $ECHO_N "(cached) $ECHO_C" >&6
12081 @@ -6546,28 +7481,28 @@
12082 # with a dollar sign (not a hyphen), so the echo should work correctly.
12083 # The option is referenced via a variable to avoid confusing sed.
12084 lt_compile=`echo "$ac_compile" | $SED \
12085 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12086 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12087 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12088 -e 's:$: $lt_compiler_flag:'`
12089 - (eval echo "\"\$as_me:6552: $lt_compile\"" >&5)
12090 + (eval echo "\"\$as_me:7487: $lt_compile\"" >&5)
12091 (eval "$lt_compile" 2>conftest.err)
12093 cat conftest.err >&5
12094 - echo "$as_me:6556: \$? = $ac_status" >&5
12095 + echo "$as_me:7491: \$? = $ac_status" >&5
12096 if (exit $ac_status) && test -s "$ac_outfile"; then
12097 # The compiler can only warn and ignore the option if not recognized
12098 # So say no if there are warnings other than the usual output.
12099 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
12100 - $SED '/^$/d' conftest.err >conftest.er2
12101 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
12102 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12103 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12104 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12105 lt_cv_prog_compiler_rtti_exceptions=yes
12111 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12112 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
12113 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12114 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12116 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
12117 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12118 @@ -6581,8 +7516,8 @@
12119 lt_prog_compiler_pic=
12120 lt_prog_compiler_static=
12122 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12123 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12124 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12125 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12127 if test "$GCC" = yes; then
12128 lt_prog_compiler_wl='-Wl,'
12129 @@ -6620,6 +7555,11 @@
12130 lt_prog_compiler_pic='-fno-common'
12134 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12135 + # Instead, we relocate shared libraries at runtime.
12139 # Just because we use GCC doesn't mean we suddenly get shared libraries
12140 # on systems that don't support them.
12141 @@ -6636,7 +7576,7 @@
12143 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12144 # not for PA HP-UX.
12145 - case "$host_cpu" in
12146 + case $host_cpu in
12150 @@ -6683,7 +7623,7 @@
12151 lt_prog_compiler_wl='-Wl,'
12152 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12153 # not for PA HP-UX.
12154 - case "$host_cpu" in
12155 + case $host_cpu in
12159 @@ -6706,19 +7646,19 @@
12160 lt_prog_compiler_static='-Bstatic'
12164 + linux* | k*bsd*-gnu)
12165 case $cc_basename in
12167 lt_prog_compiler_wl='-Wl,'
12168 lt_prog_compiler_pic='-KPIC'
12169 lt_prog_compiler_static='-static'
12171 - pgcc* | pgf77* | pgf90*)
12172 + pgcc* | pgf77* | pgf90* | pgf95*)
12173 # Portland Group compilers (*not* the Pentium gcc compiler,
12174 # which looks to be a dead project)
12175 lt_prog_compiler_wl='-Wl,'
12176 lt_prog_compiler_pic='-fpic'
12177 - lt_prog_compiler_static='-static'
12178 + lt_prog_compiler_static='-Bstatic'
12181 lt_prog_compiler_wl='-Wl,'
12182 @@ -6734,11 +7674,6 @@
12183 lt_prog_compiler_static='-non_shared'
12187 - lt_prog_compiler_pic='-Kpic'
12188 - lt_prog_compiler_static='-dn'
12192 lt_prog_compiler_pic='-KPIC'
12193 lt_prog_compiler_static='-Bstatic'
12194 @@ -6756,7 +7691,7 @@
12195 lt_prog_compiler_static='-Bstatic'
12198 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12199 + sysv4 | sysv4.2uw2* | sysv4.3*)
12200 lt_prog_compiler_wl='-Wl,'
12201 lt_prog_compiler_pic='-KPIC'
12202 lt_prog_compiler_static='-Bstatic'
12203 @@ -6769,6 +7704,12 @@
12207 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12208 + lt_prog_compiler_wl='-Wl,'
12209 + lt_prog_compiler_pic='-KPIC'
12210 + lt_prog_compiler_static='-Bstatic'
12214 lt_prog_compiler_wl='-Wl,'
12215 lt_prog_compiler_can_build_shared=no
12216 @@ -6785,16 +7726,16 @@
12220 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
12221 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
12222 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
12223 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
12226 # Check to make sure the PIC flag actually works.
12228 if test -n "$lt_prog_compiler_pic"; then
12230 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12231 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
12232 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12233 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
12234 if test "${lt_prog_compiler_pic_works+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 @@ -6808,28 +7749,28 @@
12238 # with a dollar sign (not a hyphen), so the echo should work correctly.
12239 # The option is referenced via a variable to avoid confusing sed.
12240 lt_compile=`echo "$ac_compile" | $SED \
12241 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12242 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12244 -e 's:$: $lt_compiler_flag:'`
12245 - (eval echo "\"\$as_me:6814: $lt_compile\"" >&5)
12246 + (eval echo "\"\$as_me:7755: $lt_compile\"" >&5)
12247 (eval "$lt_compile" 2>conftest.err)
12249 cat conftest.err >&5
12250 - echo "$as_me:6818: \$? = $ac_status" >&5
12251 + echo "$as_me:7759: \$? = $ac_status" >&5
12252 if (exit $ac_status) && test -s "$ac_outfile"; then
12253 # The compiler can only warn and ignore the option if not recognized
12254 # So say no if there are warnings other than the usual output.
12255 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
12256 - $SED '/^$/d' conftest.err >conftest.er2
12257 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
12258 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12259 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12260 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12261 lt_prog_compiler_pic_works=yes
12267 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
12268 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
12269 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
12270 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
12272 if test x"$lt_prog_compiler_pic_works" = xyes; then
12273 case $lt_prog_compiler_pic in
12274 @@ -6842,7 +7783,7 @@
12278 -case "$host_os" in
12280 # For platforms which do not support PIC, -DPIC is meaningless:
12282 lt_prog_compiler_pic=
12283 @@ -6852,8 +7793,50 @@
12287 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12288 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12290 +# Check to make sure the static flag actually works.
12292 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
12293 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12294 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12295 +if test "${lt_prog_compiler_static_works+set}" = set; then
12296 + echo $ECHO_N "(cached) $ECHO_C" >&6
12298 + lt_prog_compiler_static_works=no
12299 + save_LDFLAGS="$LDFLAGS"
12300 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12301 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
12302 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12303 + # The linker can only warn and ignore the option if not recognized
12304 + # So say no if there are warnings
12305 + if test -s conftest.err; then
12306 + # Append any errors to the config.log.
12307 + cat conftest.err 1>&5
12308 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12309 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12310 + if diff conftest.exp conftest.er2 >/dev/null; then
12311 + lt_prog_compiler_static_works=yes
12314 + lt_prog_compiler_static_works=yes
12318 + LDFLAGS="$save_LDFLAGS"
12321 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
12322 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
12324 +if test x"$lt_prog_compiler_static_works" = xyes; then
12327 + lt_prog_compiler_static=
12331 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12332 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12333 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12336 @@ -6870,25 +7853,25 @@
12337 # Note that $ac_compile itself does not contain backslashes and begins
12338 # with a dollar sign (not a hyphen), so the echo should work correctly.
12339 lt_compile=`echo "$ac_compile" | $SED \
12340 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12341 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12343 -e 's:$: $lt_compiler_flag:'`
12344 - (eval echo "\"\$as_me:6876: $lt_compile\"" >&5)
12345 + (eval echo "\"\$as_me:7859: $lt_compile\"" >&5)
12346 (eval "$lt_compile" 2>out/conftest.err)
12348 cat out/conftest.err >&5
12349 - echo "$as_me:6880: \$? = $ac_status" >&5
12350 + echo "$as_me:7863: \$? = $ac_status" >&5
12351 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12353 # The compiler can only warn and ignore the option if not recognized
12354 # So say no if there are warnings
12355 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
12356 - $SED '/^$/d' out/conftest.err >out/conftest.er2
12357 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12358 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12359 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12360 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12361 lt_cv_prog_compiler_c_o=yes
12367 # SGI C++ compiler will create directory out/ii_files/ for
12368 # template instantiation
12369 @@ -6899,23 +7882,23 @@
12373 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
12374 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
12375 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
12376 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
12379 hard_links="nottested"
12380 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
12381 # do not overwrite the value of need_locks provided by the user
12382 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12383 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12384 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12385 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12388 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12390 ln conftest.a conftest.b 2>&5 || hard_links=no
12391 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12392 - echo "$as_me:$LINENO: result: $hard_links" >&5
12393 -echo "${ECHO_T}$hard_links" >&6
12394 + { echo "$as_me:$LINENO: result: $hard_links" >&5
12395 +echo "${ECHO_T}$hard_links" >&6; }
12396 if test "$hard_links" = no; then
12397 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12398 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12399 @@ -6925,8 +7908,8 @@
12403 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12404 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12405 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12406 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12409 allow_undefined_flag=
12410 @@ -6984,6 +7967,10 @@
12415 + # we just hope/assume this is gcc and not c89 (= MSVC++)
12421 @@ -7068,7 +8055,7 @@
12422 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12424 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12425 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12426 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12427 # If the export-symbols file already is a .def file (1st line
12428 # is EXPORTS), use it as is; otherwise, prepend...
12429 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12430 @@ -7077,22 +8064,37 @@
12431 echo EXPORTS > $output_objdir/$soname.def;
12432 cat $export_symbols >> $output_objdir/$soname.def;
12434 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12435 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12443 + hardcode_direct=no
12444 + hardcode_shlibpath_var=no
12445 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12446 + export_dynamic_flag_spec='${wl}-E'
12447 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12448 + # Instead, shared libraries are loaded at an image base (0x10000000 by
12449 + # default) and relocated if they conflict, which is a slow very memory
12450 + # consuming and fragmenting process. To avoid this, we pick a random,
12451 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12452 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12453 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12454 + archive_expsym_cmds='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'
12457 + linux* | k*bsd*-gnu)
12458 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12460 case $cc_basename,$host_cpu in
12461 pgcc*) # Portland Group C compiler
12462 - whole_archive_flag_spec='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12463 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12464 tmp_addflag=' $pic_flag'
12466 - pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
12467 - whole_archive_flag_spec='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12468 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
12469 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12470 tmp_addflag=' $pic_flag -Mnomain' ;;
12471 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12472 tmp_addflag=' -i_dynamic' ;;
12473 @@ -7109,12 +8111,13 @@
12474 $echo "local: *; };" >> $output_objdir/$libname.ver~
12475 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12477 + link_all_deplibs=no
12484 + netbsd* | netbsdelf*-gnu)
12485 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12486 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12488 @@ -7124,7 +8127,7 @@
12492 - solaris* | sysv5*)
12494 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
12497 @@ -7145,6 +8148,33 @@
12501 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12502 + case `$LD -v 2>&1` in
12503 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12505 + cat <<_LT_EOF 1>&2
12507 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12508 +*** reliably create shared libraries on SCO systems. Therefore, libtool
12509 +*** is disabling shared libraries support. We urge you to upgrade GNU
12510 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12511 +*** your PATH or compiler configuration so that the native linker is
12512 +*** used, and then restart.
12517 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12518 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
12519 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
12520 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
12529 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12531 @@ -7178,7 +8208,7 @@
12532 # Note: this linker hardcodes the directories in LIBPATH if there
12533 # are no directories specified by -L.
12534 hardcode_minus_L=yes
12535 - if test "$GCC" = yes && test -z "$link_static_flag"; then
12536 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12537 # Neither direct hardcoding nor static linking is supported with a
12539 hardcode_direct=unsupported
12540 @@ -7212,6 +8242,7 @@
12547 exp_sym_flag='-bexport'
12548 @@ -7249,6 +8280,7 @@
12549 hardcode_libdir_flag_spec='-L$libdir'
12550 hardcode_libdir_separator=
12554 shared_flag='-shared'
12555 if test "$aix_use_runtimelinking" = yes; then
12556 @@ -7261,11 +8293,11 @@
12557 # chokes on -Wl,-G. The following line is correct:
12560 - if test "$aix_use_runtimelinking" = yes; then
12561 + if test "$aix_use_runtimelinking" = yes; then
12562 shared_flag='${wl}-G'
12564 shared_flag='${wl}-bM:SRE'
12570 @@ -7293,24 +8325,36 @@
12573 rm -f conftest.$ac_objext conftest$ac_exeext
12574 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12575 - (eval $ac_link) 2>conftest.er1
12576 +if { (ac_try="$ac_link"
12577 +case "(($ac_try" in
12578 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12579 + *) ac_try_echo=$ac_try;;
12581 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12582 + (eval "$ac_link") 2>conftest.er1
12584 grep -v '^ *+' conftest.er1 >conftest.err
12586 cat conftest.err >&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); } &&
12589 - { ac_try='test -z "$ac_c_werror_flag"
12590 - || test ! -s conftest.err'
12591 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 - (eval $ac_try) 2>&5
12593 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 + { (case "(($ac_try" in
12595 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12596 + *) ac_try_echo=$ac_try;;
12598 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12599 + (eval "$ac_try") 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; } &&
12603 { ac_try='test -s conftest$ac_exeext'
12604 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605 - (eval $ac_try) 2>&5
12606 + { (case "(($ac_try" in
12607 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12608 + *) ac_try_echo=$ac_try;;
12610 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12611 + (eval "$ac_try") 2>&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); }; }; then
12615 @@ -7324,18 +8368,20 @@
12616 echo "$as_me: failed program was:" >&5
12617 sed 's/^/| /' conftest.$ac_ext >&5
12621 -rm -f conftest.err conftest.$ac_objext \
12623 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12624 conftest$ac_exeext conftest.$ac_ext
12625 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12627 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12628 - archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12629 + archive_expsym_cmds="\$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"
12631 if test "$host_cpu" = ia64; then
12632 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12633 allow_undefined_flag="-z nodefs"
12634 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
12635 + archive_expsym_cmds="\$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"
12637 # Determine the default libpath from the value encoded in an empty executable.
12638 cat >conftest.$ac_ext <<_ACEOF
12639 @@ -7354,24 +8400,36 @@
12642 rm -f conftest.$ac_objext conftest$ac_exeext
12643 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12644 - (eval $ac_link) 2>conftest.er1
12645 +if { (ac_try="$ac_link"
12646 +case "(($ac_try" in
12647 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12648 + *) ac_try_echo=$ac_try;;
12650 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12651 + (eval "$ac_link") 2>conftest.er1
12653 grep -v '^ *+' conftest.er1 >conftest.err
12655 cat conftest.err >&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } &&
12658 - { ac_try='test -z "$ac_c_werror_flag"
12659 - || test ! -s conftest.err'
12660 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12661 - (eval $ac_try) 2>&5
12662 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12663 + { (case "(($ac_try" in
12664 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12665 + *) ac_try_echo=$ac_try;;
12667 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12668 + (eval "$ac_try") 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; } &&
12672 { ac_try='test -s conftest$ac_exeext'
12673 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 - (eval $ac_try) 2>&5
12675 + { (case "(($ac_try" in
12676 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12677 + *) ac_try_echo=$ac_try;;
12679 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12680 + (eval "$ac_try") 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; }; then
12684 @@ -7385,8 +8443,10 @@
12685 echo "$as_me: failed program was:" >&5
12686 sed 's/^/| /' conftest.$ac_ext >&5
12690 -rm -f conftest.err conftest.$ac_objext \
12692 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12693 conftest$ac_exeext conftest.$ac_ext
12694 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12696 @@ -7395,13 +8455,11 @@
12697 # -berok will link without error, but may produce a broken library.
12698 no_undefined_flag=' ${wl}-bernotok'
12699 allow_undefined_flag=' ${wl}-berok'
12700 - # -bexpall does not export symbols beginning with underscore (_)
12701 - always_export_symbols=yes
12702 # Exported symbols can be pulled into shared objects from archives
12703 - whole_archive_flag_spec=' '
12704 + whole_archive_flag_spec='$convenience'
12705 archive_cmds_need_lc=yes
12706 - # This is similar to how AIX traditionally builds it's shared libraries.
12707 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12708 + # This is similar to how AIX traditionally builds its shared libraries.
12709 + archive_expsym_cmds="\$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'
12713 @@ -7440,7 +8498,7 @@
12716 darwin* | rhapsody*)
12717 - case "$host_os" in
12719 rhapsody* | darwin1.[012])
12720 allow_undefined_flag='${wl}-undefined ${wl}suppress'
12722 @@ -7469,7 +8527,7 @@
12723 output_verbose_link_cmd='echo'
12724 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12725 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12726 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12727 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12728 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12729 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12731 @@ -7478,7 +8536,7 @@
12732 output_verbose_link_cmd='echo'
12733 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
12734 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12735 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12736 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12737 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12738 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12740 @@ -7519,7 +8577,7 @@
12743 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12744 - freebsd* | kfreebsd*-gnu | dragonfly*)
12745 + freebsd* | dragonfly*)
12746 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12747 hardcode_libdir_flag_spec='-R$libdir'
12748 hardcode_direct=yes
12749 @@ -7542,47 +8600,62 @@
12750 export_dynamic_flag_spec='${wl}-E'
12753 - hpux10* | hpux11*)
12755 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12756 - case "$host_cpu" in
12758 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12760 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12762 + if test "$with_gnu_ld" = no; then
12763 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12764 + hardcode_libdir_separator=:
12766 + hardcode_direct=yes
12767 + export_dynamic_flag_spec='${wl}-E'
12769 + # hardcode_minus_L: Not really in the search PATH,
12770 + # but as the default location of the library.
12771 + hardcode_minus_L=yes
12776 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12777 + case $host_cpu in
12779 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12782 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12785 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12789 - case "$host_cpu" in
12791 - archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
12792 + case $host_cpu in
12794 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12797 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12800 - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12801 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12805 if test "$with_gnu_ld" = no; then
12806 - case "$host_cpu" in
12808 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12809 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12810 + hardcode_libdir_separator=:
12812 + case $host_cpu in
12814 hardcode_libdir_flag_spec_ld='+b $libdir'
12815 - hardcode_libdir_separator=:
12816 - hardcode_direct=no
12817 - hardcode_shlibpath_var=no
12820 - hardcode_libdir_flag_spec='-L$libdir'
12822 hardcode_shlibpath_var=no
12824 - # hardcode_minus_L: Not really in the search PATH,
12825 - # but as the default location of the library.
12826 - hardcode_minus_L=yes
12829 - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12830 - hardcode_libdir_separator=:
12831 hardcode_direct=yes
12832 export_dynamic_flag_spec='${wl}-E'
12834 @@ -7606,7 +8679,7 @@
12835 link_all_deplibs=yes
12839 + netbsd* | netbsdelf*-gnu)
12840 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12841 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12843 @@ -7684,14 +8757,6 @@
12844 hardcode_libdir_separator=:
12848 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12849 - hardcode_shlibpath_var=no
12850 - export_dynamic_flag_spec='${wl}-Bexport'
12851 - runpath_var=LD_RUN_PATH
12852 - hardcode_runpath_var=yes
12856 no_undefined_flag=' -z text'
12857 if test "$GCC" = yes; then
12858 @@ -7777,36 +8842,45 @@
12863 - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12864 - hardcode_direct=yes
12865 - hardcode_minus_L=no
12866 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
12867 + no_undefined_flag='${wl}-z,text'
12868 + archive_cmds_need_lc=no
12869 hardcode_shlibpath_var=no
12870 - hardcode_runpath_var=yes
12871 - runpath_var=LD_RUN_PATH
12873 + runpath_var='LD_RUN_PATH'
12875 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
12876 - no_undefined_flag='${wl}-z ${wl}text'
12877 if test "$GCC" = yes; then
12878 - archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12879 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12880 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12882 - archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12883 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12884 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12886 - runpath_var='LD_RUN_PATH'
12887 - hardcode_shlibpath_var=no
12891 - no_undefined_flag=' -z text'
12892 - # $CC -shared without GNU ld will not create a library from C++
12893 - # object files and a static libstdc++, better avoid it by now
12894 - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12895 - archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12896 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
12897 - hardcode_libdir_flag_spec=
12898 + sysv5* | sco3.2v5* | sco5v6*)
12899 + # Note: We can NOT use -z defs as we might desire, because we do not
12900 + # link with -lc, and that would cause any symbols used from libc to
12901 + # always be unresolved, which means just about no library would
12902 + # ever link correctly. If we're not using GNU ld we use -z text
12903 + # though, which does catch some bad symbols but isn't as heavy-handed
12905 + no_undefined_flag='${wl}-z,text'
12906 + allow_undefined_flag='${wl}-z,nodefs'
12907 + archive_cmds_need_lc=no
12908 hardcode_shlibpath_var=no
12909 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12910 + hardcode_libdir_separator=':'
12911 + link_all_deplibs=yes
12912 + export_dynamic_flag_spec='${wl}-Bexport'
12913 runpath_var='LD_RUN_PATH'
12915 + if test "$GCC" = yes; then
12916 + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12917 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12919 + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12920 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12925 @@ -7821,15 +8895,10 @@
12929 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12930 -echo "${ECHO_T}$ld_shlibs" >&6
12931 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12932 +echo "${ECHO_T}$ld_shlibs" >&6; }
12933 test "$ld_shlibs" = no && can_build_shared=no
12935 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12936 -if test "$GCC" = yes; then
12937 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12941 # Do we need to explicitly link libc?
12943 @@ -7847,8 +8916,8 @@
12944 # Test whether the compiler implicitly links with -lc since on some
12945 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12946 # to ld, don't add -lc before -lgcc.
12947 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12948 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12949 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12950 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12952 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12954 @@ -7862,6 +8931,7 @@
12955 libobjs=conftest.$ac_objext
12957 wl=$lt_prog_compiler_wl
12958 + pic_flag=$lt_prog_compiler_pic
12962 @@ -7884,16 +8954,16 @@
12963 cat conftest.err 1>&5
12966 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
12967 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
12968 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
12969 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
12976 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12977 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12978 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12979 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12980 library_names_spec=
12981 libname_spec='lib$name'
12983 @@ -8022,7 +9092,8 @@
12984 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12985 dldir=$destdir/`dirname \$dlpath`~
12986 test -d \$dldir || mkdir -p \$dldir~
12987 - $install_prog $dir/$dlname \$dldir/$dlname'
12988 + $install_prog $dir/$dlname \$dldir/$dlname~
12989 + chmod a+x \$dldir/$dlname'
12990 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12991 dlpath=$dir/\$dldll~
12993 @@ -8057,30 +9128,6 @@
12998 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
12999 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13000 - supports_anon_versioning=no
13001 - case `$LD -v 2>/dev/null` in
13002 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13003 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13004 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13005 - *\ 2.11.*) ;; # other 2.11 versions
13006 - *) supports_anon_versioning=yes ;;
13008 - if test $supports_anon_versioning = yes; then
13009 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
13010 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13011 -$echo "local: *; };" >> $output_objdir/$libname.ver~
13012 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13014 - $archive_expsym_cmds="$archive_cmds"
13022 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13024 @@ -8099,7 +9146,7 @@
13025 soname_spec='${libname}${release}${major}$shared_ext'
13026 shlibpath_overrides_runpath=yes
13027 shlibpath_var=DYLD_LIBRARY_PATH
13028 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
13029 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13030 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13031 if test "$GCC" = yes; then
13032 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"`
13033 @@ -8122,22 +9169,17 @@
13038 - version_type=linux
13039 - need_lib_prefix=no
13041 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13042 - soname_spec='${libname}${release}${shared_ext}$major'
13043 - shlibpath_var=LD_LIBRARY_PATH
13044 - shlibpath_overrides_runpath=no
13045 - hardcode_into_libs=yes
13046 - dynamic_linker='GNU ld.so'
13049 freebsd* | dragonfly*)
13050 # DragonFly does not have aout. When/if they implement a new
13051 # versioning mechanism, adjust this.
13052 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
13053 + if test -x /usr/bin/objformat; then
13054 + objformat=`/usr/bin/objformat`
13057 + freebsd[123]*) objformat=aout ;;
13058 + *) objformat=elf ;;
13061 version_type=freebsd-$objformat
13062 case $version_type in
13064 @@ -8159,10 +9201,15 @@
13065 shlibpath_overrides_runpath=yes
13066 hardcode_into_libs=yes
13069 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13070 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13071 shlibpath_overrides_runpath=no
13072 hardcode_into_libs=yes
13074 + freebsd*) # from 4.6 on
13075 + shlibpath_overrides_runpath=yes
13076 + hardcode_into_libs=yes
13081 @@ -8182,7 +9229,7 @@
13085 - case "$host_cpu" in
13086 + case $host_cpu in
13089 hardcode_into_libs=yes
13090 @@ -8222,6 +9269,18 @@
13091 postinstall_cmds='chmod 555 $lib'
13095 + version_type=linux
13096 + need_lib_prefix=no
13098 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13099 + soname_spec='${libname}${release}${shared_ext}$major'
13100 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13101 + shlibpath_var=LD_LIBRARY_PATH
13102 + shlibpath_overrides_runpath=no
13103 + hardcode_into_libs=yes
13106 irix5* | irix6* | nonstopux*)
13108 nonstopux*) version_type=nonstopux ;;
13109 @@ -8265,7 +9324,7 @@
13112 # This must be Linux ELF.
13114 +linux* | k*bsd*-gnu)
13118 @@ -8285,13 +9344,6 @@
13119 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13122 - case $host_cpu:$lt_cv_cc_64bit_output in
13123 - powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
13124 - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64"
13125 - sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64"
13129 # We used to test for /lib/ld.so.1 and disable shared libraries on
13130 # powerpc, because MkLinux only supported shared libraries with the
13131 # GNU dynamic linker. Since this was broken with cross compilers,
13132 @@ -8299,33 +9351,9 @@
13133 # people can always --disable-shared, the test was removed, and we
13134 # assume the GNU/Linux dynamic linker is in use.
13135 dynamic_linker='GNU/Linux ld.so'
13137 - # Find out which ABI we are using (multilib Linux x86_64 hack).
13139 - case "$host_cpu" in
13141 - echo '#line 8307 "configure"' > conftest.$ac_ext
13142 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13143 - (eval $ac_compile) 2>&5
13145 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 - (exit $ac_status); }; then
13147 - case `/usr/bin/file conftest.$ac_objext` in
13158 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
13159 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13167 @@ -8334,7 +9362,7 @@
13168 shlibpath_var=LD_LIBRARY_PATH
13169 shlibpath_overrides_runpath=no
13170 hardcode_into_libs=yes
13171 - dynamic_linker='GNU ld.so'
13172 + dynamic_linker='NetBSD ld.elf_so'
13176 @@ -8374,6 +9402,7 @@
13180 + sys_lib_dlsearch_path_spec="/usr/lib"
13182 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13184 @@ -8417,13 +9446,6 @@
13185 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13190 - soname_spec='${libname}${release}${shared_ext}$major'
13191 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13192 - shlibpath_var=LD_LIBRARY_PATH
13198 @@ -8449,7 +9471,7 @@
13202 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13206 soname_spec='${libname}${release}${shared_ext}$major'
13207 @@ -8482,6 +9504,29 @@
13211 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13212 + version_type=freebsd-elf
13213 + need_lib_prefix=no
13215 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13216 + soname_spec='${libname}${release}${shared_ext}$major'
13217 + shlibpath_var=LD_LIBRARY_PATH
13218 + hardcode_into_libs=yes
13219 + if test "$with_gnu_ld" = yes; then
13220 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13221 + shlibpath_overrides_runpath=no
13223 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13224 + shlibpath_overrides_runpath=yes
13227 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13231 + sys_lib_dlsearch_path_spec='/usr/lib'
13236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13237 @@ -8493,12 +9538,17 @@
13241 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13242 -echo "${ECHO_T}$dynamic_linker" >&6
13243 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13244 +echo "${ECHO_T}$dynamic_linker" >&6; }
13245 test "$dynamic_linker" = no && can_build_shared=no
13247 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13248 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13249 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13250 +if test "$GCC" = yes; then
13251 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13254 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13255 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13257 if test -n "$hardcode_libdir_flag_spec" || \
13258 test -n "$runpath_var" || \
13259 @@ -8522,8 +9572,8 @@
13261 hardcode_action=unsupported
13263 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
13264 -echo "${ECHO_T}$hardcode_action" >&6
13265 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
13266 +echo "${ECHO_T}$hardcode_action" >&6; }
13268 if test "$hardcode_action" = relink; then
13269 # Fast installation is not supported
13270 @@ -8536,29 +9586,29 @@
13274 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13275 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13276 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13277 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
13278 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13279 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13280 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13281 - echo "$as_me:$LINENO: result: yes" >&5
13282 -echo "${ECHO_T}yes" >&6
13283 + { echo "$as_me:$LINENO: result: yes" >&5
13284 +echo "${ECHO_T}yes" >&6; }
13286 # FIXME - insert some real tests, host_os isn't really good enough
13289 if test -n "$STRIP" ; then
13290 striplib="$STRIP -x"
13291 - echo "$as_me:$LINENO: result: yes" >&5
13292 -echo "${ECHO_T}yes" >&6
13293 + { echo "$as_me:$LINENO: result: yes" >&5
13294 +echo "${ECHO_T}yes" >&6; }
13296 - echo "$as_me:$LINENO: result: no" >&5
13297 -echo "${ECHO_T}no" >&6
13298 + { echo "$as_me:$LINENO: result: no" >&5
13299 +echo "${ECHO_T}no" >&6; }
13303 - echo "$as_me:$LINENO: result: no" >&5
13304 -echo "${ECHO_T}no" >&6
13305 + { echo "$as_me:$LINENO: result: no" >&5
13306 +echo "${ECHO_T}no" >&6; }
13310 @@ -8590,8 +9640,8 @@
13313 # if libdl is installed we need to link against it
13314 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13315 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13316 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13317 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
13318 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13319 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 @@ -8604,40 +9654,52 @@
13322 cat >>conftest.$ac_ext <<_ACEOF
13323 /* end confdefs.h. */
13325 -/* Override any gcc2 internal prototype to avoid an error. */
13326 +/* Override any GCC internal prototype to avoid an error.
13327 + Use char because int might match the return type of a GCC
13328 + builtin and then its argument prototype would still apply. */
13332 -/* We use char because int might match the return type of a gcc2
13333 - builtin and then its argument prototype would still apply. */
13344 rm -f conftest.$ac_objext conftest$ac_exeext
13345 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13346 - (eval $ac_link) 2>conftest.er1
13347 +if { (ac_try="$ac_link"
13348 +case "(($ac_try" in
13349 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13350 + *) ac_try_echo=$ac_try;;
13352 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13353 + (eval "$ac_link") 2>conftest.er1
13355 grep -v '^ *+' conftest.er1 >conftest.err
13357 cat conftest.err >&5
13358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13359 (exit $ac_status); } &&
13360 - { ac_try='test -z "$ac_c_werror_flag"
13361 - || test ! -s conftest.err'
13362 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 - (eval $ac_try) 2>&5
13364 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13365 + { (case "(($ac_try" in
13366 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13367 + *) ac_try_echo=$ac_try;;
13369 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13370 + (eval "$ac_try") 2>&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; } &&
13374 { ac_try='test -s conftest$ac_exeext'
13375 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 - (eval $ac_try) 2>&5
13377 + { (case "(($ac_try" in
13378 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13379 + *) ac_try_echo=$ac_try;;
13381 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 + (eval "$ac_try") 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 @@ -8646,14 +9708,15 @@
13387 echo "$as_me: failed program was:" >&5
13388 sed 's/^/| /' conftest.$ac_ext >&5
13390 -ac_cv_lib_dl_dlopen=no
13391 + ac_cv_lib_dl_dlopen=no
13393 -rm -f conftest.err conftest.$ac_objext \
13395 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13396 conftest$ac_exeext conftest.$ac_ext
13397 LIBS=$ac_check_lib_save_LIBS
13399 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13400 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13401 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13402 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13403 if test $ac_cv_lib_dl_dlopen = yes; then
13404 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13406 @@ -8667,8 +9730,8 @@
13410 - echo "$as_me:$LINENO: checking for shl_load" >&5
13411 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13412 + { echo "$as_me:$LINENO: checking for shl_load" >&5
13413 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
13414 if test "${ac_cv_func_shl_load+set}" = set; then
13415 echo $ECHO_N "(cached) $ECHO_C" >&6
13417 @@ -8695,53 +9758,59 @@
13421 -/* Override any gcc2 internal prototype to avoid an error. */
13422 +/* Override any GCC internal prototype to avoid an error.
13423 + Use char because int might match the return type of a GCC
13424 + builtin and then its argument prototype would still apply. */
13429 -/* We use char because int might match the return type of a gcc2
13430 - builtin and then its argument prototype would still apply. */
13432 /* The GNU C library defines this for functions which it implements
13433 to always fail with ENOSYS. Some functions are actually named
13434 something starting with __ and the normal name is an alias. */
13435 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
13436 +#if defined __stub_shl_load || defined __stub___shl_load
13439 -char (*f) () = shl_load;
13441 -#ifdef __cplusplus
13448 -return f != shl_load;
13449 +return shl_load ();
13454 rm -f conftest.$ac_objext conftest$ac_exeext
13455 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13456 - (eval $ac_link) 2>conftest.er1
13457 +if { (ac_try="$ac_link"
13458 +case "(($ac_try" in
13459 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13460 + *) ac_try_echo=$ac_try;;
13462 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13463 + (eval "$ac_link") 2>conftest.er1
13465 grep -v '^ *+' conftest.er1 >conftest.err
13467 cat conftest.err >&5
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); } &&
13470 - { ac_try='test -z "$ac_c_werror_flag"
13471 - || test ! -s conftest.err'
13472 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 - (eval $ac_try) 2>&5
13474 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13475 + { (case "(($ac_try" in
13476 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13477 + *) ac_try_echo=$ac_try;;
13479 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13480 + (eval "$ac_try") 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; } &&
13484 { ac_try='test -s conftest$ac_exeext'
13485 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13486 - (eval $ac_try) 2>&5
13487 + { (case "(($ac_try" in
13488 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13489 + *) ac_try_echo=$ac_try;;
13491 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13492 + (eval "$ac_try") 2>&5
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); }; }; then
13496 @@ -8750,18 +9819,19 @@
13497 echo "$as_me: failed program was:" >&5
13498 sed 's/^/| /' conftest.$ac_ext >&5
13500 -ac_cv_func_shl_load=no
13501 + ac_cv_func_shl_load=no
13503 -rm -f conftest.err conftest.$ac_objext \
13505 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13506 conftest$ac_exeext conftest.$ac_ext
13508 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13509 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
13510 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13511 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
13512 if test $ac_cv_func_shl_load = yes; then
13513 lt_cv_dlopen="shl_load"
13515 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13516 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
13517 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13518 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
13519 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13520 echo $ECHO_N "(cached) $ECHO_C" >&6
13522 @@ -8774,40 +9844,52 @@
13523 cat >>conftest.$ac_ext <<_ACEOF
13524 /* end confdefs.h. */
13526 -/* Override any gcc2 internal prototype to avoid an error. */
13527 +/* Override any GCC internal prototype to avoid an error.
13528 + Use char because int might match the return type of a GCC
13529 + builtin and then its argument prototype would still apply. */
13533 -/* We use char because int might match the return type of a gcc2
13534 - builtin and then its argument prototype would still apply. */
13540 +return shl_load ();
13545 rm -f conftest.$ac_objext conftest$ac_exeext
13546 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13547 - (eval $ac_link) 2>conftest.er1
13548 +if { (ac_try="$ac_link"
13549 +case "(($ac_try" in
13550 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13551 + *) ac_try_echo=$ac_try;;
13553 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13554 + (eval "$ac_link") 2>conftest.er1
13556 grep -v '^ *+' conftest.er1 >conftest.err
13558 cat conftest.err >&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); } &&
13561 - { ac_try='test -z "$ac_c_werror_flag"
13562 - || test ! -s conftest.err'
13563 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564 - (eval $ac_try) 2>&5
13565 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13566 + { (case "(($ac_try" in
13567 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13568 + *) ac_try_echo=$ac_try;;
13570 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13571 + (eval "$ac_try") 2>&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); }; } &&
13575 { ac_try='test -s conftest$ac_exeext'
13576 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 - (eval $ac_try) 2>&5
13578 + { (case "(($ac_try" in
13579 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 + *) ac_try_echo=$ac_try;;
13582 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 + (eval "$ac_try") 2>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); }; }; then
13587 @@ -8816,19 +9898,20 @@
13588 echo "$as_me: failed program was:" >&5
13589 sed 's/^/| /' conftest.$ac_ext >&5
13591 -ac_cv_lib_dld_shl_load=no
13592 + ac_cv_lib_dld_shl_load=no
13594 -rm -f conftest.err conftest.$ac_objext \
13596 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13597 conftest$ac_exeext conftest.$ac_ext
13598 LIBS=$ac_check_lib_save_LIBS
13600 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13601 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
13602 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13603 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
13604 if test $ac_cv_lib_dld_shl_load = yes; then
13605 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
13607 - echo "$as_me:$LINENO: checking for dlopen" >&5
13608 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
13609 + { echo "$as_me:$LINENO: checking for dlopen" >&5
13610 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
13611 if test "${ac_cv_func_dlopen+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13614 @@ -8855,53 +9938,59 @@
13618 -/* Override any gcc2 internal prototype to avoid an error. */
13619 +/* Override any GCC internal prototype to avoid an error.
13620 + Use char because int might match the return type of a GCC
13621 + builtin and then its argument prototype would still apply. */
13626 -/* We use char because int might match the return type of a gcc2
13627 - builtin and then its argument prototype would still apply. */
13629 /* The GNU C library defines this for functions which it implements
13630 to always fail with ENOSYS. Some functions are actually named
13631 something starting with __ and the normal name is an alias. */
13632 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
13633 +#if defined __stub_dlopen || defined __stub___dlopen
13636 -char (*f) () = dlopen;
13638 -#ifdef __cplusplus
13645 -return f != dlopen;
13651 rm -f conftest.$ac_objext conftest$ac_exeext
13652 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13653 - (eval $ac_link) 2>conftest.er1
13654 +if { (ac_try="$ac_link"
13655 +case "(($ac_try" in
13656 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13657 + *) ac_try_echo=$ac_try;;
13659 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13660 + (eval "$ac_link") 2>conftest.er1
13662 grep -v '^ *+' conftest.er1 >conftest.err
13664 cat conftest.err >&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); } &&
13667 - { ac_try='test -z "$ac_c_werror_flag"
13668 - || test ! -s conftest.err'
13669 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13670 - (eval $ac_try) 2>&5
13671 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13672 + { (case "(($ac_try" in
13673 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13674 + *) ac_try_echo=$ac_try;;
13676 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13677 + (eval "$ac_try") 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; } &&
13681 { ac_try='test -s conftest$ac_exeext'
13682 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 - (eval $ac_try) 2>&5
13684 + { (case "(($ac_try" in
13685 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13686 + *) ac_try_echo=$ac_try;;
13688 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13689 + (eval "$ac_try") 2>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; }; then
13693 @@ -8910,18 +9999,19 @@
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.$ac_ext >&5
13697 -ac_cv_func_dlopen=no
13698 + ac_cv_func_dlopen=no
13700 -rm -f conftest.err conftest.$ac_objext \
13702 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13703 conftest$ac_exeext conftest.$ac_ext
13705 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13706 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
13707 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13708 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
13709 if test $ac_cv_func_dlopen = yes; then
13710 lt_cv_dlopen="dlopen"
13712 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13713 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13714 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13715 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
13716 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13717 echo $ECHO_N "(cached) $ECHO_C" >&6
13719 @@ -8934,40 +10024,52 @@
13720 cat >>conftest.$ac_ext <<_ACEOF
13721 /* end confdefs.h. */
13723 -/* Override any gcc2 internal prototype to avoid an error. */
13724 +/* Override any GCC internal prototype to avoid an error.
13725 + Use char because int might match the return type of a GCC
13726 + builtin and then its argument prototype would still apply. */
13730 -/* We use char because int might match the return type of a gcc2
13731 - builtin and then its argument prototype would still apply. */
13742 rm -f conftest.$ac_objext conftest$ac_exeext
13743 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13744 - (eval $ac_link) 2>conftest.er1
13745 +if { (ac_try="$ac_link"
13746 +case "(($ac_try" in
13747 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13748 + *) ac_try_echo=$ac_try;;
13750 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13751 + (eval "$ac_link") 2>conftest.er1
13753 grep -v '^ *+' conftest.er1 >conftest.err
13755 cat conftest.err >&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); } &&
13758 - { ac_try='test -z "$ac_c_werror_flag"
13759 - || test ! -s conftest.err'
13760 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13761 - (eval $ac_try) 2>&5
13762 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13763 + { (case "(($ac_try" in
13764 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13765 + *) ac_try_echo=$ac_try;;
13767 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13768 + (eval "$ac_try") 2>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); }; } &&
13772 { ac_try='test -s conftest$ac_exeext'
13773 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 - (eval $ac_try) 2>&5
13775 + { (case "(($ac_try" in
13776 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13777 + *) ac_try_echo=$ac_try;;
13779 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13780 + (eval "$ac_try") 2>&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); }; }; then
13784 @@ -8976,19 +10078,20 @@
13785 echo "$as_me: failed program was:" >&5
13786 sed 's/^/| /' conftest.$ac_ext >&5
13788 -ac_cv_lib_dl_dlopen=no
13789 + ac_cv_lib_dl_dlopen=no
13791 -rm -f conftest.err conftest.$ac_objext \
13793 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13794 conftest$ac_exeext conftest.$ac_ext
13795 LIBS=$ac_check_lib_save_LIBS
13797 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13798 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13799 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13800 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13801 if test $ac_cv_lib_dl_dlopen = yes; then
13802 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13804 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13805 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13806 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13807 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
13808 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13809 echo $ECHO_N "(cached) $ECHO_C" >&6
13811 @@ -9001,40 +10104,52 @@
13812 cat >>conftest.$ac_ext <<_ACEOF
13813 /* end confdefs.h. */
13815 -/* Override any gcc2 internal prototype to avoid an error. */
13816 +/* Override any GCC internal prototype to avoid an error.
13817 + Use char because int might match the return type of a GCC
13818 + builtin and then its argument prototype would still apply. */
13822 -/* We use char because int might match the return type of a gcc2
13823 - builtin and then its argument prototype would still apply. */
13834 rm -f conftest.$ac_objext conftest$ac_exeext
13835 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13836 - (eval $ac_link) 2>conftest.er1
13837 +if { (ac_try="$ac_link"
13838 +case "(($ac_try" in
13839 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13840 + *) ac_try_echo=$ac_try;;
13842 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13843 + (eval "$ac_link") 2>conftest.er1
13845 grep -v '^ *+' conftest.er1 >conftest.err
13847 cat conftest.err >&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } &&
13850 - { ac_try='test -z "$ac_c_werror_flag"
13851 - || test ! -s conftest.err'
13852 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13853 - (eval $ac_try) 2>&5
13854 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13855 + { (case "(($ac_try" in
13856 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13857 + *) ac_try_echo=$ac_try;;
13859 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13860 + (eval "$ac_try") 2>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; } &&
13864 { ac_try='test -s conftest$ac_exeext'
13865 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13866 - (eval $ac_try) 2>&5
13867 + { (case "(($ac_try" in
13868 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13869 + *) ac_try_echo=$ac_try;;
13871 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13872 + (eval "$ac_try") 2>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; }; then
13876 @@ -9043,19 +10158,20 @@
13877 echo "$as_me: failed program was:" >&5
13878 sed 's/^/| /' conftest.$ac_ext >&5
13880 -ac_cv_lib_svld_dlopen=no
13881 + ac_cv_lib_svld_dlopen=no
13883 -rm -f conftest.err conftest.$ac_objext \
13885 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13886 conftest$ac_exeext conftest.$ac_ext
13887 LIBS=$ac_check_lib_save_LIBS
13889 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13890 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
13891 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13892 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
13893 if test $ac_cv_lib_svld_dlopen = yes; then
13894 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13896 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13897 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
13898 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13899 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
13900 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6
13903 @@ -9068,40 +10184,52 @@
13904 cat >>conftest.$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13907 -/* Override any gcc2 internal prototype to avoid an error. */
13908 +/* Override any GCC internal prototype to avoid an error.
13909 + Use char because int might match the return type of a GCC
13910 + builtin and then its argument prototype would still apply. */
13914 -/* We use char because int might match the return type of a gcc2
13915 - builtin and then its argument prototype would still apply. */
13921 +return dld_link ();
13926 rm -f conftest.$ac_objext conftest$ac_exeext
13927 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13928 - (eval $ac_link) 2>conftest.er1
13929 +if { (ac_try="$ac_link"
13930 +case "(($ac_try" in
13931 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13932 + *) ac_try_echo=$ac_try;;
13934 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13935 + (eval "$ac_link") 2>conftest.er1
13937 grep -v '^ *+' conftest.er1 >conftest.err
13939 cat conftest.err >&5
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); } &&
13942 - { ac_try='test -z "$ac_c_werror_flag"
13943 - || test ! -s conftest.err'
13944 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13945 - (eval $ac_try) 2>&5
13946 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13947 + { (case "(($ac_try" in
13948 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13949 + *) ac_try_echo=$ac_try;;
13951 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13952 + (eval "$ac_try") 2>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); }; } &&
13956 { ac_try='test -s conftest$ac_exeext'
13957 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13958 - (eval $ac_try) 2>&5
13959 + { (case "(($ac_try" in
13960 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13961 + *) ac_try_echo=$ac_try;;
13963 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13964 + (eval "$ac_try") 2>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }; }; then
13968 @@ -9110,14 +10238,15 @@
13969 echo "$as_me: failed program was:" >&5
13970 sed 's/^/| /' conftest.$ac_ext >&5
13972 -ac_cv_lib_dld_dld_link=no
13973 + ac_cv_lib_dld_dld_link=no
13975 -rm -f conftest.err conftest.$ac_objext \
13977 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13978 conftest$ac_exeext conftest.$ac_ext
13979 LIBS=$ac_check_lib_save_LIBS
13981 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13982 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
13983 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13984 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13985 if test $ac_cv_lib_dld_dld_link = yes; then
13986 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13988 @@ -9152,13 +10281,13 @@
13989 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13991 save_LDFLAGS="$LDFLAGS"
13992 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13993 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13996 LIBS="$lt_cv_dlopen_libs $LIBS"
13998 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13999 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
14000 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14001 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
14002 if test "${lt_cv_dlopen_self+set}" = set; then
14003 echo $ECHO_N "(cached) $ECHO_C" >&6
14005 @@ -9168,7 +10297,7 @@
14006 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14007 lt_status=$lt_dlunknown
14008 cat > conftest.$ac_ext <<EOF
14009 -#line 9171 "configure"
14010 +#line 10300 "configure"
14011 #include "confdefs.h"
14014 @@ -9225,6 +10354,8 @@
14015 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14016 /* dlclose (self); */
14019 + puts (dlerror ());
14023 @@ -9234,12 +10365,12 @@
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14027 - (./conftest; exit; ) 2>/dev/null
14028 + (./conftest; exit; ) >&5 2>/dev/null
14030 case x$lt_status in
14031 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14032 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14033 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
14034 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14037 # compilation failed
14038 @@ -9250,13 +10381,13 @@
14042 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14043 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
14044 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14045 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
14047 if test "x$lt_cv_dlopen_self" = xyes; then
14048 - LDFLAGS="$LDFLAGS $link_static_flag"
14049 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14050 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
14051 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14052 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14053 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
14054 if test "${lt_cv_dlopen_self_static+set}" = set; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 @@ -9266,7 +10397,7 @@
14058 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14059 lt_status=$lt_dlunknown
14060 cat > conftest.$ac_ext <<EOF
14061 -#line 9269 "configure"
14062 +#line 10400 "configure"
14063 #include "confdefs.h"
14066 @@ -9323,6 +10454,8 @@
14067 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14068 /* dlclose (self); */
14071 + puts (dlerror ());
14075 @@ -9332,12 +10465,12 @@
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14079 - (./conftest; exit; ) 2>/dev/null
14080 + (./conftest; exit; ) >&5 2>/dev/null
14082 case x$lt_status in
14083 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14084 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14085 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
14086 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14089 # compilation failed
14090 @@ -9348,8 +10481,8 @@
14094 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14095 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
14096 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14097 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
14100 CPPFLAGS="$save_CPPFLAGS"
14101 @@ -9370,19 +10503,19 @@
14105 -# Report which librarie types wil actually be built
14106 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14107 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
14108 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
14109 -echo "${ECHO_T}$can_build_shared" >&6
14110 +# Report which library types will actually be built
14111 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14112 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14113 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14114 +echo "${ECHO_T}$can_build_shared" >&6; }
14116 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14117 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
14118 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14119 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14120 test "$can_build_shared" = "no" && enable_shared=no
14122 # On AIX, shared libraries and static libraries use the same namespace, and
14123 # are all built from PIC.
14124 -case "$host_os" in
14127 test "$enable_shared" = yes && enable_static=no
14128 if test -n "$RANLIB"; then
14129 @@ -9397,15 +10530,15 @@
14133 -echo "$as_me:$LINENO: result: $enable_shared" >&5
14134 -echo "${ECHO_T}$enable_shared" >&6
14135 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14136 +echo "${ECHO_T}$enable_shared" >&6; }
14138 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14139 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
14140 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14141 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14142 # Make sure either enable_shared or enable_static is yes.
14143 test "$enable_shared" = yes || enable_static=yes
14144 -echo "$as_me:$LINENO: result: $enable_static" >&5
14145 -echo "${ECHO_T}$enable_static" >&6
14146 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
14147 +echo "${ECHO_T}$enable_static" >&6; }
14149 # The else clause should only fire when bootstrapping the
14150 # libtool distribution, otherwise you forgot to ship ltmain.sh
14151 @@ -9420,7 +10553,7 @@
14152 # Now quote all the things that may contain metacharacters while being
14153 # careful not to overquote the AC_SUBSTed values. We take copies of the
14154 # variables and quote the copies for generation of the libtool script.
14155 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
14156 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14158 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14159 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14160 @@ -9586,6 +10719,9 @@
14164 +# LTCC compiler flags.
14165 +LTCFLAGS=$lt_LTCFLAGS
14167 # A language-specific compiler.
14170 @@ -9894,11 +11030,11 @@
14174 -# Check whether --with-tags or --without-tags was given.
14175 +# Check whether --with-tags was given.
14176 if test "${with_tags+set}" = set; then
14177 - withval="$with_tags"
14178 - tagnames="$withval"
14180 + withval=$with_tags; tagnames="$withval"
14184 if test -f "$ltmain" && test -n "$tagnames"; then
14185 if test ! -f "${ofile}"; then
14186 @@ -9916,6 +11052,9 @@
14187 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
14190 + if test -z "$LTCFLAGS"; then
14191 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
14194 # Extract list of available tagged configurations in $ofile.
14195 # Note that this assumes the entire list is on one line.
14196 @@ -9949,7 +11088,7 @@
14197 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14198 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14199 (test "X$CXX" != "Xg++"))) ; then
14202 ac_cpp='$CXXCPP $CPPFLAGS'
14203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14205 @@ -9968,6 +11107,7 @@
14206 hardcode_libdir_flag_spec_ld_CXX=
14207 hardcode_libdir_separator_CXX=
14208 hardcode_minus_L_CXX=no
14209 +hardcode_shlibpath_var_CXX=unsupported
14210 hardcode_automatic_CXX=no
14212 module_expsym_cmds_CXX=
14213 @@ -9985,7 +11125,7 @@
14214 compiler_lib_search_path_CXX=
14216 # Source file extension for C++ test sources.
14220 # Object file extension for compiled C++ test sources.
14222 @@ -9995,13 +11135,16 @@
14223 lt_simple_compile_test_code="int some_variable = 0;\n"
14225 # Code to be used in simple link tests
14226 -lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
14227 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
14229 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14231 # If no C compiler was specified, use CC.
14234 +# If no C compiler flags were specified, use CFLAGS.
14235 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14237 # Allow CC to be a program name with arguments.
14240 @@ -10009,13 +11152,13 @@
14241 # save warnings/boilerplate of simple test code
14242 ac_outfile=conftest.$ac_objext
14243 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14244 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
14245 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14246 _lt_compiler_boilerplate=`cat conftest.err`
14249 ac_outfile=conftest.$ac_objext
14250 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14251 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
14252 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14253 _lt_linker_boilerplate=`cat conftest.err`
14256 @@ -10030,12 +11173,12 @@
14257 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14258 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14260 - unset lt_cv_prog_gnu_ld
14261 + $as_unset lt_cv_prog_gnu_ld
14263 if test -n "${lt_cv_path_LDCXX+set}"; then
14264 lt_cv_path_LD=$lt_cv_path_LDCXX
14266 - unset lt_cv_path_LD
14267 + $as_unset lt_cv_path_LD
14269 test -z "${LDCXX+set}" || LD=$LDCXX
14271 @@ -10064,18 +11207,18 @@
14272 # Set up default GNU C++ configuration
14275 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
14276 +# Check whether --with-gnu-ld was given.
14277 if test "${with_gnu_ld+set}" = set; then
14278 - withval="$with_gnu_ld"
14279 - test "$withval" = no || with_gnu_ld=yes
14280 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14287 if test "$GCC" = yes; then
14288 # Check if gcc -print-prog-name=ld gives a path.
14289 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
14290 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
14291 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
14292 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
14295 # gcc leaves a trailing carriage return which upsets mingw
14296 @@ -10104,11 +11247,11 @@
14299 elif test "$with_gnu_ld" = yes; then
14300 - echo "$as_me:$LINENO: checking for GNU ld" >&5
14301 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
14302 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
14303 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
14305 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14306 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
14307 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
14308 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
14310 if test "${lt_cv_path_LD+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 @@ -10121,7 +11264,7 @@
14313 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14314 lt_cv_path_LD="$ac_dir/$ac_prog"
14315 # Check to see if the program is GNU ld. I'd rather use --version,
14316 - # but apparently some GNU ld's only accept -v.
14317 + # but apparently some variants of GNU ld only accept -v.
14318 # Break only if it was the GNU/non-GNU ld that we prefer.
14319 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14320 *GNU* | *'with BFD'*)
14321 @@ -10141,21 +11284,21 @@
14323 LD="$lt_cv_path_LD"
14324 if test -n "$LD"; then
14325 - echo "$as_me:$LINENO: result: $LD" >&5
14326 -echo "${ECHO_T}$LD" >&6
14327 + { echo "$as_me:$LINENO: result: $LD" >&5
14328 +echo "${ECHO_T}$LD" >&6; }
14330 - echo "$as_me:$LINENO: result: no" >&5
14331 -echo "${ECHO_T}no" >&6
14332 + { echo "$as_me:$LINENO: result: no" >&5
14333 +echo "${ECHO_T}no" >&6; }
14335 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
14336 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
14337 { (exit 1); exit 1; }; }
14338 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14339 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
14340 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
14341 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
14342 if test "${lt_cv_prog_gnu_ld+set}" = set; then
14343 echo $ECHO_N "(cached) $ECHO_C" >&6
14345 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14346 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
14347 case `$LD -v 2>&1 </dev/null` in
14348 *GNU* | *'with BFD'*)
14349 lt_cv_prog_gnu_ld=yes
14350 @@ -10165,8 +11308,8 @@
14354 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
14355 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
14356 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
14357 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
14358 with_gnu_ld=$lt_cv_prog_gnu_ld
14361 @@ -10216,8 +11359,8 @@
14364 # PORTME: fill in a description of your system's C++ link characteristics
14365 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14366 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14367 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14368 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14372 @@ -10246,6 +11389,7 @@
14379 exp_sym_flag='-bexport'
14380 @@ -10283,6 +11427,7 @@
14381 hardcode_libdir_flag_spec_CXX='-L$libdir'
14382 hardcode_libdir_separator_CXX=
14386 shared_flag='-shared'
14387 if test "$aix_use_runtimelinking" = yes; then
14388 @@ -10327,24 +11472,36 @@
14391 rm -f conftest.$ac_objext conftest$ac_exeext
14392 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14393 - (eval $ac_link) 2>conftest.er1
14394 +if { (ac_try="$ac_link"
14395 +case "(($ac_try" in
14396 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14397 + *) ac_try_echo=$ac_try;;
14399 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14400 + (eval "$ac_link") 2>conftest.er1
14402 grep -v '^ *+' conftest.er1 >conftest.err
14404 cat conftest.err >&5
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); } &&
14407 - { ac_try='test -z "$ac_cxx_werror_flag"
14408 - || test ! -s conftest.err'
14409 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 - (eval $ac_try) 2>&5
14411 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14412 + { (case "(($ac_try" in
14413 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14414 + *) ac_try_echo=$ac_try;;
14416 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14417 + (eval "$ac_try") 2>&5
14419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420 (exit $ac_status); }; } &&
14421 { ac_try='test -s conftest$ac_exeext'
14422 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14423 - (eval $ac_try) 2>&5
14424 + { (case "(($ac_try" in
14425 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14426 + *) ac_try_echo=$ac_try;;
14428 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14429 + (eval "$ac_try") 2>&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; }; then
14433 @@ -10358,19 +11515,21 @@
14434 echo "$as_me: failed program was:" >&5
14435 sed 's/^/| /' conftest.$ac_ext >&5
14439 -rm -f conftest.err conftest.$ac_objext \
14441 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14442 conftest$ac_exeext conftest.$ac_ext
14443 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14445 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14447 - archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14448 + archive_expsym_cmds_CXX="\$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"
14450 if test "$host_cpu" = ia64; then
14451 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14452 allow_undefined_flag_CXX="-z nodefs"
14453 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
14454 + archive_expsym_cmds_CXX="\$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"
14456 # Determine the default libpath from the value encoded in an empty executable.
14457 cat >conftest.$ac_ext <<_ACEOF
14458 @@ -10389,24 +11548,36 @@
14461 rm -f conftest.$ac_objext conftest$ac_exeext
14462 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14463 - (eval $ac_link) 2>conftest.er1
14464 +if { (ac_try="$ac_link"
14465 +case "(($ac_try" in
14466 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14467 + *) ac_try_echo=$ac_try;;
14469 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14470 + (eval "$ac_link") 2>conftest.er1
14472 grep -v '^ *+' conftest.er1 >conftest.err
14474 cat conftest.err >&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } &&
14477 - { ac_try='test -z "$ac_cxx_werror_flag"
14478 - || test ! -s conftest.err'
14479 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 - (eval $ac_try) 2>&5
14481 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14482 + { (case "(($ac_try" in
14483 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14484 + *) ac_try_echo=$ac_try;;
14486 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14487 + (eval "$ac_try") 2>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; } &&
14491 { ac_try='test -s conftest$ac_exeext'
14492 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 - (eval $ac_try) 2>&5
14494 + { (case "(($ac_try" in
14495 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14496 + *) ac_try_echo=$ac_try;;
14498 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14499 + (eval "$ac_try") 2>&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; }; then
14503 @@ -10420,8 +11591,10 @@
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.$ac_ext >&5
14509 -rm -f conftest.err conftest.$ac_objext \
14511 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14512 conftest$ac_exeext conftest.$ac_ext
14513 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14515 @@ -10430,16 +11603,26 @@
14516 # -berok will link without error, but may produce a broken library.
14517 no_undefined_flag_CXX=' ${wl}-bernotok'
14518 allow_undefined_flag_CXX=' ${wl}-berok'
14519 - # -bexpall does not export symbols beginning with underscore (_)
14520 - always_export_symbols_CXX=yes
14521 # Exported symbols can be pulled into shared objects from archives
14522 - whole_archive_flag_spec_CXX=' '
14523 + whole_archive_flag_spec_CXX='$convenience'
14524 archive_cmds_need_lc_CXX=yes
14525 - # This is similar to how AIX traditionally builds it's shared libraries.
14526 - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14527 + # This is similar to how AIX traditionally builds its shared libraries.
14528 + archive_expsym_cmds_CXX="\$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'
14534 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14535 + allow_undefined_flag_CXX=unsupported
14536 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14537 + # support --undefined. This deserves some investigation. FIXME
14538 + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14545 case $cc_basename in
14547 @@ -10449,7 +11632,6 @@
14552 cygwin* | mingw* | pw32*)
14553 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14554 # as there is no search path for DLLs.
14555 @@ -10459,7 +11641,7 @@
14556 enable_shared_with_static_runtimes_CXX=yes
14558 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14559 - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14560 + archive_cmds_CXX='$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'
14561 # If the export-symbols file already is a .def file (1st line
14562 # is EXPORTS), use it as is; otherwise, prepend...
14563 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14564 @@ -10468,13 +11650,13 @@
14565 echo EXPORTS > $output_objdir/$soname.def;
14566 cat $export_symbols >> $output_objdir/$soname.def;
14568 - $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'
14569 + $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'
14574 darwin* | rhapsody*)
14575 - case "$host_os" in
14577 rhapsody* | darwin1.[012])
14578 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
14580 @@ -10512,7 +11694,7 @@
14581 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14583 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14584 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14585 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14586 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
14587 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14589 @@ -10525,7 +11707,7 @@
14590 output_verbose_link_cmd='echo'
14591 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14592 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14593 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14594 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14595 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14596 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14598 @@ -10560,7 +11742,7 @@
14600 archive_cmds_need_lc_CXX=no
14602 - freebsd* | kfreebsd*-gnu | dragonfly*)
14603 + freebsd* | dragonfly*)
14604 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14607 @@ -10605,33 +11787,22 @@
14610 if test $with_gnu_ld = no; then
14611 - case "$host_cpu" in
14613 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14614 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14615 + hardcode_libdir_separator_CXX=:
14617 + case $host_cpu in
14619 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
14620 - hardcode_libdir_separator_CXX=:
14623 - hardcode_libdir_flag_spec_CXX='-L$libdir'
14626 - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14627 - hardcode_libdir_separator_CXX=:
14628 export_dynamic_flag_spec_CXX='${wl}-E'
14632 - case "$host_cpu" in
14634 - hardcode_direct_CXX=no
14635 - hardcode_shlibpath_var_CXX=no
14638 + case $host_cpu in
14640 hardcode_direct_CXX=no
14641 hardcode_shlibpath_var_CXX=no
14642 - hardcode_minus_L_CXX=yes # Not in the search PATH,
14643 - # but as the default
14644 - # location of the library.
14647 hardcode_direct_CXX=yes
14648 @@ -10647,9 +11818,12 @@
14652 - case "$host_cpu" in
14654 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
14655 + case $host_cpu in
14657 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14660 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14663 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14664 @@ -10668,9 +11842,12 @@
14666 if test "$GXX" = yes; then
14667 if test $with_gnu_ld = no; then
14668 - case "$host_cpu" in
14670 - archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
14671 + case $host_cpu in
14673 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14676 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14679 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14680 @@ -10684,6 +11861,20 @@
14685 + hardcode_direct_CXX=no
14686 + hardcode_shlibpath_var_CXX=no
14687 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14688 + export_dynamic_flag_spec_CXX='${wl}-E'
14689 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14690 + # Instead, shared libraries are loaded at an image base (0x10000000 by
14691 + # default) and relocated if they conflict, which is a slow very memory
14692 + # consuming and fragmenting process. To avoid this, we pick a random,
14693 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14694 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14695 + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14696 + archive_expsym_cmds_CXX='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'
14699 case $cc_basename in
14701 @@ -10710,7 +11901,7 @@
14702 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14703 hardcode_libdir_separator_CXX=:
14706 + linux* | k*bsd*-gnu)
14707 case $cc_basename in
14709 # Kuck and Associates, Inc. (KAI) C++ Compiler
14710 @@ -10769,7 +11960,7 @@
14712 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14713 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14714 - whole_archive_flag_spec_CXX='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14715 + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14719 @@ -10812,7 +12003,7 @@
14724 + netbsd* | netbsdelf*-gnu)
14725 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14726 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14728 @@ -10966,10 +12157,15 @@
14729 # FIXME: insert proper C++ library support
14733 - archive_cmds_need_lc_CXX=no
14735 case $cc_basename in
14738 + # FIXME: insert proper C++ library support
14743 # FIXME: insert proper C++ library support
14746 @@ -10979,32 +12175,15 @@
14751 - case $cc_basename in
14754 - # FIXME: insert proper C++ library support
14759 - # FIXME: insert proper C++ library support
14763 - # FIXME: insert proper C++ library support
14770 case $cc_basename in
14772 # Sun C++ 4.2, 5.x and Centerline C++
14773 + archive_cmds_need_lc_CXX=yes
14774 no_undefined_flag_CXX=' -zdefs'
14775 - archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14776 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14777 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14778 - $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'
14779 + $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'
14781 hardcode_libdir_flag_spec_CXX='-R$libdir'
14782 hardcode_shlibpath_var_CXX=no
14783 @@ -11024,15 +12203,7 @@
14785 link_all_deplibs_CXX=yes
14787 - # Commands to make compiler produce verbose output that lists
14788 - # what "hidden" libraries, object files and flags are used when
14789 - # linking a shared library.
14791 - # There doesn't appear to be a way to prevent this compiler from
14792 - # explicitly linking system object files so we need to strip them
14793 - # from the output so that they don't get included in the library
14795 - 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'
14796 + output_verbose_link_cmd='echo'
14798 # Archives containing C++ object files must be created using
14799 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14800 @@ -11078,8 +12249,59 @@
14804 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
14805 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14806 + no_undefined_flag_CXX='${wl}-z,text'
14807 + archive_cmds_need_lc_CXX=no
14808 + hardcode_shlibpath_var_CXX=no
14809 + runpath_var='LD_RUN_PATH'
14811 + case $cc_basename in
14813 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14814 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14817 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14818 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14822 + sysv5* | sco3.2v5* | sco5v6*)
14823 + # Note: We can NOT use -z defs as we might desire, because we do not
14824 + # link with -lc, and that would cause any symbols used from libc to
14825 + # always be unresolved, which means just about no library would
14826 + # ever link correctly. If we're not using GNU ld we use -z text
14827 + # though, which does catch some bad symbols but isn't as heavy-handed
14829 + # For security reasons, it is highly recommended that you always
14830 + # use absolute paths for naming shared libraries, and exclude the
14831 + # DT_RUNPATH tag from executables and libraries. But doing so
14832 + # requires that you compile everything twice, which is a pain.
14833 + # So that behaviour is only enabled if SCOABSPATH is set to a
14834 + # non-empty value in the environment. Most likely only useful for
14835 + # creating official distributions of packages.
14836 + # This is a hack until libtool officially supports absolute path
14837 + # names for shared libraries.
14838 + no_undefined_flag_CXX='${wl}-z,text'
14839 + allow_undefined_flag_CXX='${wl}-z,nodefs'
14840 archive_cmds_need_lc_CXX=no
14841 + hardcode_shlibpath_var_CXX=no
14842 + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14843 + hardcode_libdir_separator_CXX=':'
14844 + link_all_deplibs_CXX=yes
14845 + export_dynamic_flag_spec_CXX='${wl}-Bexport'
14846 + runpath_var='LD_RUN_PATH'
14848 + case $cc_basename in
14850 + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14851 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14854 + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14855 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14860 case $cc_basename in
14861 @@ -11103,8 +12325,8 @@
14865 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14866 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
14867 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14868 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14869 test "$ld_shlibs_CXX" = no && can_build_shared=no
14872 @@ -11136,7 +12358,7 @@
14873 # The `*' in the case matches for architectures that use `case' in
14874 # $output_verbose_cmd can trigger glob expansion during the loop
14875 # eval without this substitution.
14876 - output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
14877 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14879 for p in `eval $output_verbose_link_cmd`; do
14881 @@ -11212,6 +12434,29 @@
14883 $rm -f confest.$objext
14885 +# PORTME: override above test on systems where it is broken
14888 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
14889 + # hack all around it, let's just trust "g++" to DTRT.
14890 + predep_objects_CXX=
14891 + postdep_objects_CXX=
14896 + case $cc_basename in
14898 + # Adding this requires a known-good setup of shared libraries for
14899 + # Sun compiler versions before 5.6, else PIC objects from an old
14900 + # archive will be linked into the output, leading to subtle bugs.
14901 + postdeps_CXX='-lCstd -lCrun'
14908 case " $postdeps_CXX " in
14909 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14911 @@ -11220,8 +12465,8 @@
14912 lt_prog_compiler_pic_CXX=
14913 lt_prog_compiler_static_CXX=
14915 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14916 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14917 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14918 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14920 # C++ specific cases for pic, static, wl, etc.
14921 if test "$GXX" = yes; then
14922 @@ -11259,6 +12504,10 @@
14923 # DJGPP does not support shared libraries at all
14924 lt_prog_compiler_pic_CXX=
14927 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14928 + # Instead, we relocate shared libraries at runtime.
14931 if test -d /usr/nec; then
14932 lt_prog_compiler_pic_CXX=-Kconform_pic
14933 @@ -11267,7 +12516,7 @@
14935 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14936 # not for PA HP-UX.
14937 - case "$host_cpu" in
14938 + case $host_cpu in
14942 @@ -11321,22 +12570,22 @@
14946 - freebsd* | kfreebsd*-gnu | dragonfly*)
14947 + freebsd* | dragonfly*)
14948 # FreeBSD uses GNU C++
14950 hpux9* | hpux10* | hpux11*)
14951 case $cc_basename in
14953 lt_prog_compiler_wl_CXX='-Wl,'
14954 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14955 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14956 if test "$host_cpu" != ia64; then
14957 lt_prog_compiler_pic_CXX='+Z'
14961 lt_prog_compiler_wl_CXX='-Wl,'
14962 - lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14963 - case "$host_cpu" in
14964 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14965 + case $host_cpu in
14969 @@ -11349,6 +12598,10 @@
14974 + # This is c89, which is MS Visual C++ (no shared libs)
14975 + # Anyone wants to do a port?
14977 irix5* | irix6* | nonstopux*)
14978 case $cc_basename in
14980 @@ -11360,7 +12613,7 @@
14985 + linux* | k*bsd*-gnu)
14986 case $cc_basename in
14989 @@ -11377,7 +12630,7 @@
14990 # Portland Group C++ compiler.
14991 lt_prog_compiler_wl_CXX='-Wl,'
14992 lt_prog_compiler_pic_CXX='-fpic'
14993 - lt_prog_compiler_static_CXX='-static'
14994 + lt_prog_compiler_static_CXX='-Bstatic'
14998 @@ -11403,7 +12656,7 @@
15003 + netbsd* | netbsdelf*-gnu)
15005 osf3* | osf4* | osf5*)
15006 case $cc_basename in
15007 @@ -11428,15 +12681,6 @@
15012 - case $cc_basename in
15014 - lt_prog_compiler_pic_CXX='-fPIC'
15021 case $cc_basename in
15023 @@ -11478,7 +12722,14 @@
15028 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15029 + case $cc_basename in
15031 + lt_prog_compiler_wl_CXX='-Wl,'
15032 + lt_prog_compiler_pic_CXX='-KPIC'
15033 + lt_prog_compiler_static_CXX='-Bstatic'
15039 @@ -11488,16 +12739,16 @@
15043 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15044 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
15045 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15046 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
15049 # Check to make sure the PIC flag actually works.
15051 if test -n "$lt_prog_compiler_pic_CXX"; then
15053 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15054 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
15055 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15056 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
15057 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 @@ -11511,28 +12762,28 @@
15061 # with a dollar sign (not a hyphen), so the echo should work correctly.
15062 # The option is referenced via a variable to avoid confusing sed.
15063 lt_compile=`echo "$ac_compile" | $SED \
15064 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15065 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15066 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15067 -e 's:$: $lt_compiler_flag:'`
15068 - (eval echo "\"\$as_me:11517: $lt_compile\"" >&5)
15069 + (eval echo "\"\$as_me:12768: $lt_compile\"" >&5)
15070 (eval "$lt_compile" 2>conftest.err)
15072 cat conftest.err >&5
15073 - echo "$as_me:11521: \$? = $ac_status" >&5
15074 + echo "$as_me:12772: \$? = $ac_status" >&5
15075 if (exit $ac_status) && test -s "$ac_outfile"; then
15076 # The compiler can only warn and ignore the option if not recognized
15077 # So say no if there are warnings other than the usual output.
15078 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
15079 - $SED '/^$/d' conftest.err >conftest.er2
15080 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
15081 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15082 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15083 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15084 lt_prog_compiler_pic_works_CXX=yes
15090 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15091 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
15092 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
15093 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
15095 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
15096 case $lt_prog_compiler_pic_CXX in
15097 @@ -11545,7 +12796,7 @@
15101 -case "$host_os" in
15103 # For platforms which do not support PIC, -DPIC is meaningless:
15105 lt_prog_compiler_pic_CXX=
15106 @@ -11555,8 +12806,50 @@
15110 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15111 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15113 +# Check to make sure the static flag actually works.
15115 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15116 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15117 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15118 +if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
15119 + echo $ECHO_N "(cached) $ECHO_C" >&6
15121 + lt_prog_compiler_static_works_CXX=no
15122 + save_LDFLAGS="$LDFLAGS"
15123 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15124 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
15125 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15126 + # The linker can only warn and ignore the option if not recognized
15127 + # So say no if there are warnings
15128 + if test -s conftest.err; then
15129 + # Append any errors to the config.log.
15130 + cat conftest.err 1>&5
15131 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15132 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15133 + if diff conftest.exp conftest.er2 >/dev/null; then
15134 + lt_prog_compiler_static_works_CXX=yes
15137 + lt_prog_compiler_static_works_CXX=yes
15141 + LDFLAGS="$save_LDFLAGS"
15144 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
15145 +echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
15147 +if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
15150 + lt_prog_compiler_static_CXX=
15154 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15155 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15156 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15157 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 @@ -11573,25 +12866,25 @@
15160 # Note that $ac_compile itself does not contain backslashes and begins
15161 # with a dollar sign (not a hyphen), so the echo should work correctly.
15162 lt_compile=`echo "$ac_compile" | $SED \
15163 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15164 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15165 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15166 -e 's:$: $lt_compiler_flag:'`
15167 - (eval echo "\"\$as_me:11579: $lt_compile\"" >&5)
15168 + (eval echo "\"\$as_me:12872: $lt_compile\"" >&5)
15169 (eval "$lt_compile" 2>out/conftest.err)
15171 cat out/conftest.err >&5
15172 - echo "$as_me:11583: \$? = $ac_status" >&5
15173 + echo "$as_me:12876: \$? = $ac_status" >&5
15174 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15176 # The compiler can only warn and ignore the option if not recognized
15177 # So say no if there are warnings
15178 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
15179 - $SED '/^$/d' out/conftest.err >out/conftest.er2
15180 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15181 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15182 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15183 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15184 lt_cv_prog_compiler_c_o_CXX=yes
15190 # SGI C++ compiler will create directory out/ii_files/ for
15191 # template instantiation
15192 @@ -11602,23 +12895,23 @@
15196 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15197 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15198 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15199 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
15202 hard_links="nottested"
15203 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15204 # do not overwrite the value of need_locks provided by the user
15205 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15206 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15207 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15208 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15211 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15213 ln conftest.a conftest.b 2>&5 || hard_links=no
15214 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15215 - echo "$as_me:$LINENO: result: $hard_links" >&5
15216 -echo "${ECHO_T}$hard_links" >&6
15217 + { echo "$as_me:$LINENO: result: $hard_links" >&5
15218 +echo "${ECHO_T}$hard_links" >&6; }
15219 if test "$hard_links" = no; then
15220 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15221 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15222 @@ -11628,8 +12921,8 @@
15226 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15227 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15228 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15229 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15231 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15233 @@ -11648,20 +12941,18 @@
15235 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15237 + linux* | k*bsd*-gnu)
15238 + link_all_deplibs_CXX=no
15241 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15245 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15246 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
15247 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15248 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15249 test "$ld_shlibs_CXX" = no && can_build_shared=no
15251 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15252 -if test "$GCC" = yes; then
15253 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15257 # Do we need to explicitly link libc?
15259 @@ -11679,8 +12970,8 @@
15260 # Test whether the compiler implicitly links with -lc since on some
15261 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15262 # to ld, don't add -lc before -lgcc.
15263 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15264 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15265 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15266 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15268 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15270 @@ -11694,6 +12985,7 @@
15271 libobjs=conftest.$ac_objext
15273 wl=$lt_prog_compiler_wl_CXX
15274 + pic_flag=$lt_prog_compiler_pic_CXX
15278 @@ -11716,16 +13008,16 @@
15279 cat conftest.err 1>&5
15282 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15283 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
15284 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15285 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
15292 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15293 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15294 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15295 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15296 library_names_spec=
15297 libname_spec='lib$name'
15299 @@ -11854,7 +13146,8 @@
15300 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15301 dldir=$destdir/`dirname \$dlpath`~
15302 test -d \$dldir || mkdir -p \$dldir~
15303 - $install_prog $dir/$dlname \$dldir/$dlname'
15304 + $install_prog $dir/$dlname \$dldir/$dlname~
15305 + chmod a+x \$dldir/$dlname'
15306 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15307 dlpath=$dir/\$dldll~
15309 @@ -11889,30 +13182,6 @@
15314 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
15315 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15316 - supports_anon_versioning=no
15317 - case `$LD -v 2>/dev/null` in
15318 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15319 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15320 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15321 - *\ 2.11.*) ;; # other 2.11 versions
15322 - *) supports_anon_versioning=yes ;;
15324 - if test $supports_anon_versioning = yes; then
15325 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15326 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15327 -$echo "local: *; };" >> $output_objdir/$libname.ver~
15328 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15330 - $archive_expsym_cmds="$archive_cmds"
15338 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15340 @@ -11931,7 +13200,7 @@
15341 soname_spec='${libname}${release}${major}$shared_ext'
15342 shlibpath_overrides_runpath=yes
15343 shlibpath_var=DYLD_LIBRARY_PATH
15344 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
15345 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15346 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15347 if test "$GCC" = yes; then
15348 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"`
15349 @@ -11954,22 +13223,17 @@
15354 - version_type=linux
15355 - need_lib_prefix=no
15357 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15358 - soname_spec='${libname}${release}${shared_ext}$major'
15359 - shlibpath_var=LD_LIBRARY_PATH
15360 - shlibpath_overrides_runpath=no
15361 - hardcode_into_libs=yes
15362 - dynamic_linker='GNU ld.so'
15365 freebsd* | dragonfly*)
15366 # DragonFly does not have aout. When/if they implement a new
15367 # versioning mechanism, adjust this.
15368 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15369 + if test -x /usr/bin/objformat; then
15370 + objformat=`/usr/bin/objformat`
15373 + freebsd[123]*) objformat=aout ;;
15374 + *) objformat=elf ;;
15377 version_type=freebsd-$objformat
15378 case $version_type in
15380 @@ -11991,10 +13255,15 @@
15381 shlibpath_overrides_runpath=yes
15382 hardcode_into_libs=yes
15385 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15386 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15387 shlibpath_overrides_runpath=no
15388 hardcode_into_libs=yes
15390 + freebsd*) # from 4.6 on
15391 + shlibpath_overrides_runpath=yes
15392 + hardcode_into_libs=yes
15397 @@ -12014,7 +13283,7 @@
15401 - case "$host_cpu" in
15402 + case $host_cpu in
15405 hardcode_into_libs=yes
15406 @@ -12054,6 +13323,18 @@
15407 postinstall_cmds='chmod 555 $lib'
15411 + version_type=linux
15412 + need_lib_prefix=no
15414 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15415 + soname_spec='${libname}${release}${shared_ext}$major'
15416 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15417 + shlibpath_var=LD_LIBRARY_PATH
15418 + shlibpath_overrides_runpath=no
15419 + hardcode_into_libs=yes
15422 irix5* | irix6* | nonstopux*)
15424 nonstopux*) version_type=nonstopux ;;
15425 @@ -12097,7 +13378,7 @@
15428 # This must be Linux ELF.
15430 +linux* | k*bsd*-gnu)
15434 @@ -12117,13 +13398,6 @@
15435 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15438 - case $host_cpu:$lt_cv_cc_64bit_output in
15439 - powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
15440 - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64"
15441 - sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64"
15445 # We used to test for /lib/ld.so.1 and disable shared libraries on
15446 # powerpc, because MkLinux only supported shared libraries with the
15447 # GNU dynamic linker. Since this was broken with cross compilers,
15448 @@ -12131,33 +13405,9 @@
15449 # people can always --disable-shared, the test was removed, and we
15450 # assume the GNU/Linux dynamic linker is in use.
15451 dynamic_linker='GNU/Linux ld.so'
15453 - # Find out which ABI we are using (multilib Linux x86_64 hack).
15455 - case "$host_cpu" in
15457 - echo '#line 12139 "configure"' > conftest.$ac_ext
15458 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15459 - (eval $ac_compile) 2>&5
15461 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 - (exit $ac_status); }; then
15463 - case `/usr/bin/file conftest.$ac_objext` in
15474 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
15475 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15483 @@ -12166,7 +13416,7 @@
15484 shlibpath_var=LD_LIBRARY_PATH
15485 shlibpath_overrides_runpath=no
15486 hardcode_into_libs=yes
15487 - dynamic_linker='GNU ld.so'
15488 + dynamic_linker='NetBSD ld.elf_so'
15492 @@ -12206,6 +13456,7 @@
15496 + sys_lib_dlsearch_path_spec="/usr/lib"
15498 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15500 @@ -12249,13 +13500,6 @@
15501 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15506 - soname_spec='${libname}${release}${shared_ext}$major'
15507 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15508 - shlibpath_var=LD_LIBRARY_PATH
15514 @@ -12281,7 +13525,7 @@
15518 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15522 soname_spec='${libname}${release}${shared_ext}$major'
15523 @@ -12314,6 +13558,29 @@
15527 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15528 + version_type=freebsd-elf
15529 + need_lib_prefix=no
15531 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15532 + soname_spec='${libname}${release}${shared_ext}$major'
15533 + shlibpath_var=LD_LIBRARY_PATH
15534 + hardcode_into_libs=yes
15535 + if test "$with_gnu_ld" = yes; then
15536 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15537 + shlibpath_overrides_runpath=no
15539 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15540 + shlibpath_overrides_runpath=yes
15543 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15547 + sys_lib_dlsearch_path_spec='/usr/lib'
15552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15553 @@ -12325,12 +13592,17 @@
15557 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15558 -echo "${ECHO_T}$dynamic_linker" >&6
15559 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15560 +echo "${ECHO_T}$dynamic_linker" >&6; }
15561 test "$dynamic_linker" = no && can_build_shared=no
15563 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15564 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15565 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15566 +if test "$GCC" = yes; then
15567 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15570 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15571 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15572 hardcode_action_CXX=
15573 if test -n "$hardcode_libdir_flag_spec_CXX" || \
15574 test -n "$runpath_var_CXX" || \
15575 @@ -12354,8 +13626,8 @@
15577 hardcode_action_CXX=unsupported
15579 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15580 -echo "${ECHO_T}$hardcode_action_CXX" >&6
15581 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15582 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15584 if test "$hardcode_action_CXX" = relink; then
15585 # Fast installation is not supported
15586 @@ -12366,1263 +13638,431 @@
15587 enable_fast_install=needless
15592 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15593 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
15594 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15595 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15596 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15597 - echo "$as_me:$LINENO: result: yes" >&5
15598 -echo "${ECHO_T}yes" >&6
15600 -# FIXME - insert some real tests, host_os isn't really good enough
15603 - if test -n "$STRIP" ; then
15604 - striplib="$STRIP -x"
15605 - echo "$as_me:$LINENO: result: yes" >&5
15606 -echo "${ECHO_T}yes" >&6
15608 - echo "$as_me:$LINENO: result: no" >&5
15609 -echo "${ECHO_T}no" >&6
15613 - echo "$as_me:$LINENO: result: no" >&5
15614 -echo "${ECHO_T}no" >&6
15619 -if test "x$enable_dlopen" != xyes; then
15620 - enable_dlopen=unknown
15621 - enable_dlopen_self=unknown
15622 - enable_dlopen_self_static=unknown
15625 - lt_cv_dlopen_libs=
15629 - lt_cv_dlopen="load_add_on"
15630 - lt_cv_dlopen_libs=
15631 - lt_cv_dlopen_self=yes
15635 - lt_cv_dlopen="LoadLibrary"
15636 - lt_cv_dlopen_libs=
15640 - lt_cv_dlopen="dlopen"
15641 - lt_cv_dlopen_libs=
15645 - # if libdl is installed we need to link against it
15646 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15647 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15648 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15649 - echo $ECHO_N "(cached) $ECHO_C" >&6
15651 - ac_check_lib_save_LIBS=$LIBS
15653 -cat >conftest.$ac_ext <<_ACEOF
15656 -cat confdefs.h >>conftest.$ac_ext
15657 -cat >>conftest.$ac_ext <<_ACEOF
15658 -/* end confdefs.h. */
15660 -/* Override any gcc2 internal prototype to avoid an error. */
15661 -#ifdef __cplusplus
15664 -/* We use char because int might match the return type of a gcc2
15665 - builtin and then its argument prototype would still apply. */
15675 -rm -f conftest.$ac_objext conftest$ac_exeext
15676 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15677 - (eval $ac_link) 2>conftest.er1
15679 - grep -v '^ *+' conftest.er1 >conftest.err
15680 - rm -f conftest.er1
15681 - cat conftest.err >&5
15682 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 - (exit $ac_status); } &&
15684 - { ac_try='test -z "$ac_cxx_werror_flag"
15685 - || test ! -s conftest.err'
15686 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 - (eval $ac_try) 2>&5
15689 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 - (exit $ac_status); }; } &&
15691 - { ac_try='test -s conftest$ac_exeext'
15692 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15693 - (eval $ac_try) 2>&5
15695 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 - (exit $ac_status); }; }; then
15697 - ac_cv_lib_dl_dlopen=yes
15699 - echo "$as_me: failed program was:" >&5
15700 -sed 's/^/| /' conftest.$ac_ext >&5
15701 +# The else clause should only fire when bootstrapping the
15702 +# libtool distribution, otherwise you forgot to ship ltmain.sh
15703 +# with your package, and you will get complaints that there are
15704 +# no rules to generate ltmain.sh.
15705 +if test -f "$ltmain"; then
15706 + # See if we are running on zsh, and set the options which allow our commands through
15707 + # without removal of \ escapes.
15708 + if test -n "${ZSH_VERSION+set}" ; then
15709 + setopt NO_GLOB_SUBST
15711 + # Now quote all the things that may contain metacharacters while being
15712 + # careful not to overquote the AC_SUBSTed values. We take copies of the
15713 + # variables and quote the copies for generation of the libtool script.
15714 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15715 + SED SHELL STRIP \
15716 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15717 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15718 + deplibs_check_method reload_flag reload_cmds need_locks \
15719 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15720 + lt_cv_sys_global_symbol_to_c_name_address \
15721 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15722 + old_postinstall_cmds old_postuninstall_cmds \
15726 + lt_prog_compiler_wl_CXX \
15727 + lt_prog_compiler_pic_CXX \
15728 + lt_prog_compiler_static_CXX \
15729 + lt_prog_compiler_no_builtin_flag_CXX \
15730 + export_dynamic_flag_spec_CXX \
15731 + thread_safe_flag_spec_CXX \
15732 + whole_archive_flag_spec_CXX \
15733 + enable_shared_with_static_runtimes_CXX \
15734 + old_archive_cmds_CXX \
15735 + old_archive_from_new_cmds_CXX \
15736 + predep_objects_CXX \
15737 + postdep_objects_CXX \
15740 + compiler_lib_search_path_CXX \
15741 + archive_cmds_CXX \
15742 + archive_expsym_cmds_CXX \
15743 + postinstall_cmds_CXX \
15744 + postuninstall_cmds_CXX \
15745 + old_archive_from_expsyms_cmds_CXX \
15746 + allow_undefined_flag_CXX \
15747 + no_undefined_flag_CXX \
15748 + export_symbols_cmds_CXX \
15749 + hardcode_libdir_flag_spec_CXX \
15750 + hardcode_libdir_flag_spec_ld_CXX \
15751 + hardcode_libdir_separator_CXX \
15752 + hardcode_automatic_CXX \
15753 + module_cmds_CXX \
15754 + module_expsym_cmds_CXX \
15755 + lt_cv_prog_compiler_c_o_CXX \
15756 + exclude_expsyms_CXX \
15757 + include_expsyms_CXX; do
15759 -ac_cv_lib_dl_dlopen=no
15761 -rm -f conftest.err conftest.$ac_objext \
15762 - conftest$ac_exeext conftest.$ac_ext
15763 -LIBS=$ac_check_lib_save_LIBS
15765 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15766 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15767 -if test $ac_cv_lib_dl_dlopen = yes; then
15768 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15771 + old_archive_cmds_CXX | \
15772 + old_archive_from_new_cmds_CXX | \
15773 + archive_cmds_CXX | \
15774 + archive_expsym_cmds_CXX | \
15775 + module_cmds_CXX | \
15776 + module_expsym_cmds_CXX | \
15777 + old_archive_from_expsyms_cmds_CXX | \
15778 + export_symbols_cmds_CXX | \
15779 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
15780 + postinstall_cmds | postuninstall_cmds | \
15781 + old_postinstall_cmds | old_postuninstall_cmds | \
15782 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15783 + # Double-quote double-evaled strings.
15784 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15787 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15792 - lt_cv_dlopen="dyld"
15793 - lt_cv_dlopen_libs=
15794 - lt_cv_dlopen_self=yes
15796 + *'\$0 --fallback-echo"')
15797 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15805 + cat <<__EOF__ >> "$cfgfile"
15806 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15809 - echo "$as_me:$LINENO: checking for shl_load" >&5
15810 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
15811 -if test "${ac_cv_func_shl_load+set}" = set; then
15812 - echo $ECHO_N "(cached) $ECHO_C" >&6
15814 - cat >conftest.$ac_ext <<_ACEOF
15817 -cat confdefs.h >>conftest.$ac_ext
15818 -cat >>conftest.$ac_ext <<_ACEOF
15819 -/* end confdefs.h. */
15820 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15821 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
15822 -#define shl_load innocuous_shl_load
15823 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15825 -/* System header to define __stub macros and hopefully few prototypes,
15826 - which can conflict with char shl_load (); below.
15827 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15828 - <limits.h> exists even on freestanding compilers. */
15829 +# Shell to use when invoking shell scripts.
15833 -# include <limits.h>
15835 -# include <assert.h>
15837 +# Whether or not to build shared libraries.
15838 +build_libtool_libs=$enable_shared
15841 +# Whether or not to build static libraries.
15842 +build_old_libs=$enable_static
15844 -/* Override any gcc2 internal prototype to avoid an error. */
15845 -#ifdef __cplusplus
15849 -/* We use char because int might match the return type of a gcc2
15850 - builtin and then its argument prototype would still apply. */
15852 -/* The GNU C library defines this for functions which it implements
15853 - to always fail with ENOSYS. Some functions are actually named
15854 - something starting with __ and the normal name is an alias. */
15855 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
15858 -char (*f) () = shl_load;
15860 -#ifdef __cplusplus
15863 +# Whether or not to add -lc for building shared libraries.
15864 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
15869 -return f != shl_load;
15874 -rm -f conftest.$ac_objext conftest$ac_exeext
15875 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15876 - (eval $ac_link) 2>conftest.er1
15878 - grep -v '^ *+' conftest.er1 >conftest.err
15879 - rm -f conftest.er1
15880 - cat conftest.err >&5
15881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 - (exit $ac_status); } &&
15883 - { ac_try='test -z "$ac_cxx_werror_flag"
15884 - || test ! -s conftest.err'
15885 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 - (eval $ac_try) 2>&5
15888 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 - (exit $ac_status); }; } &&
15890 - { ac_try='test -s conftest$ac_exeext'
15891 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892 - (eval $ac_try) 2>&5
15894 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 - (exit $ac_status); }; }; then
15896 - ac_cv_func_shl_load=yes
15898 - echo "$as_me: failed program was:" >&5
15899 -sed 's/^/| /' conftest.$ac_ext >&5
15900 +# Whether or not to disallow shared libs when runtime libs are static
15901 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15903 -ac_cv_func_shl_load=no
15905 -rm -f conftest.err conftest.$ac_objext \
15906 - conftest$ac_exeext conftest.$ac_ext
15908 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15909 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
15910 -if test $ac_cv_func_shl_load = yes; then
15911 - lt_cv_dlopen="shl_load"
15913 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15914 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
15915 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15916 - echo $ECHO_N "(cached) $ECHO_C" >&6
15918 - ac_check_lib_save_LIBS=$LIBS
15919 -LIBS="-ldld $LIBS"
15920 -cat >conftest.$ac_ext <<_ACEOF
15923 -cat confdefs.h >>conftest.$ac_ext
15924 -cat >>conftest.$ac_ext <<_ACEOF
15925 -/* end confdefs.h. */
15926 +# Whether or not to optimize for fast installation.
15927 +fast_install=$enable_fast_install
15929 -/* Override any gcc2 internal prototype to avoid an error. */
15930 -#ifdef __cplusplus
15933 -/* We use char because int might match the return type of a gcc2
15934 - builtin and then its argument prototype would still apply. */
15944 -rm -f conftest.$ac_objext conftest$ac_exeext
15945 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15946 - (eval $ac_link) 2>conftest.er1
15948 - grep -v '^ *+' conftest.er1 >conftest.err
15949 - rm -f conftest.er1
15950 - cat conftest.err >&5
15951 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 - (exit $ac_status); } &&
15953 - { ac_try='test -z "$ac_cxx_werror_flag"
15954 - || test ! -s conftest.err'
15955 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 - (eval $ac_try) 2>&5
15958 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 - (exit $ac_status); }; } &&
15960 - { ac_try='test -s conftest$ac_exeext'
15961 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15962 - (eval $ac_try) 2>&5
15964 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 - (exit $ac_status); }; }; then
15966 - ac_cv_lib_dld_shl_load=yes
15968 - echo "$as_me: failed program was:" >&5
15969 -sed 's/^/| /' conftest.$ac_ext >&5
15970 +# The host system.
15971 +host_alias=$host_alias
15975 -ac_cv_lib_dld_shl_load=no
15977 -rm -f conftest.err conftest.$ac_objext \
15978 - conftest$ac_exeext conftest.$ac_ext
15979 -LIBS=$ac_check_lib_save_LIBS
15981 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15982 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
15983 -if test $ac_cv_lib_dld_shl_load = yes; then
15984 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15986 - echo "$as_me:$LINENO: checking for dlopen" >&5
15987 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
15988 -if test "${ac_cv_func_dlopen+set}" = set; then
15989 - echo $ECHO_N "(cached) $ECHO_C" >&6
15991 - cat >conftest.$ac_ext <<_ACEOF
15994 -cat confdefs.h >>conftest.$ac_ext
15995 -cat >>conftest.$ac_ext <<_ACEOF
15996 -/* end confdefs.h. */
15997 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15998 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
15999 -#define dlopen innocuous_dlopen
16001 -/* System header to define __stub macros and hopefully few prototypes,
16002 - which can conflict with char dlopen (); below.
16003 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16004 - <limits.h> exists even on freestanding compilers. */
16005 +# The build system.
16006 +build_alias=$build_alias
16008 +build_os=$build_os
16011 -# include <limits.h>
16013 -# include <assert.h>
16015 +# An echo program that does not interpret backslashes.
16021 +AR_FLAGS=$lt_AR_FLAGS
16023 -/* Override any gcc2 internal prototype to avoid an error. */
16024 -#ifdef __cplusplus
16028 -/* We use char because int might match the return type of a gcc2
16029 - builtin and then its argument prototype would still apply. */
16031 -/* The GNU C library defines this for functions which it implements
16032 - to always fail with ENOSYS. Some functions are actually named
16033 - something starting with __ and the normal name is an alias. */
16034 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
16037 -char (*f) () = dlopen;
16039 -#ifdef __cplusplus
16048 -return f != dlopen;
16053 -rm -f conftest.$ac_objext conftest$ac_exeext
16054 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16055 - (eval $ac_link) 2>conftest.er1
16057 - grep -v '^ *+' conftest.er1 >conftest.err
16058 - rm -f conftest.er1
16059 - cat conftest.err >&5
16060 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 - (exit $ac_status); } &&
16062 - { ac_try='test -z "$ac_cxx_werror_flag"
16063 - || test ! -s conftest.err'
16064 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16065 - (eval $ac_try) 2>&5
16067 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 - (exit $ac_status); }; } &&
16069 - { ac_try='test -s conftest$ac_exeext'
16070 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16071 - (eval $ac_try) 2>&5
16073 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 - (exit $ac_status); }; }; then
16075 - ac_cv_func_dlopen=yes
16077 - echo "$as_me: failed program was:" >&5
16078 -sed 's/^/| /' conftest.$ac_ext >&5
16079 +# LTCC compiler flags.
16080 +LTCFLAGS=$lt_LTCFLAGS
16082 -ac_cv_func_dlopen=no
16084 -rm -f conftest.err conftest.$ac_objext \
16085 - conftest$ac_exeext conftest.$ac_ext
16087 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
16088 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
16089 -if test $ac_cv_func_dlopen = yes; then
16090 - lt_cv_dlopen="dlopen"
16092 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16093 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16094 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16095 - echo $ECHO_N "(cached) $ECHO_C" >&6
16097 - ac_check_lib_save_LIBS=$LIBS
16099 -cat >conftest.$ac_ext <<_ACEOF
16102 -cat confdefs.h >>conftest.$ac_ext
16103 -cat >>conftest.$ac_ext <<_ACEOF
16104 -/* end confdefs.h. */
16105 +# A language-specific compiler.
16106 +CC=$lt_compiler_CXX
16108 -/* Override any gcc2 internal prototype to avoid an error. */
16109 -#ifdef __cplusplus
16112 -/* We use char because int might match the return type of a gcc2
16113 - builtin and then its argument prototype would still apply. */
16123 -rm -f conftest.$ac_objext conftest$ac_exeext
16124 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16125 - (eval $ac_link) 2>conftest.er1
16127 - grep -v '^ *+' conftest.er1 >conftest.err
16128 - rm -f conftest.er1
16129 - cat conftest.err >&5
16130 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 - (exit $ac_status); } &&
16132 - { ac_try='test -z "$ac_cxx_werror_flag"
16133 - || test ! -s conftest.err'
16134 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16135 - (eval $ac_try) 2>&5
16137 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 - (exit $ac_status); }; } &&
16139 - { ac_try='test -s conftest$ac_exeext'
16140 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16141 - (eval $ac_try) 2>&5
16143 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 - (exit $ac_status); }; }; then
16145 - ac_cv_lib_dl_dlopen=yes
16147 - echo "$as_me: failed program was:" >&5
16148 -sed 's/^/| /' conftest.$ac_ext >&5
16149 +# Is the compiler the GNU C compiler?
16152 -ac_cv_lib_dl_dlopen=no
16154 -rm -f conftest.err conftest.$ac_objext \
16155 - conftest$ac_exeext conftest.$ac_ext
16156 -LIBS=$ac_check_lib_save_LIBS
16158 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16159 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16160 -if test $ac_cv_lib_dl_dlopen = yes; then
16161 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16163 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
16164 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
16165 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
16166 - echo $ECHO_N "(cached) $ECHO_C" >&6
16168 - ac_check_lib_save_LIBS=$LIBS
16169 -LIBS="-lsvld $LIBS"
16170 -cat >conftest.$ac_ext <<_ACEOF
16173 -cat confdefs.h >>conftest.$ac_ext
16174 -cat >>conftest.$ac_ext <<_ACEOF
16175 -/* end confdefs.h. */
16179 -/* Override any gcc2 internal prototype to avoid an error. */
16180 -#ifdef __cplusplus
16183 -/* We use char because int might match the return type of a gcc2
16184 - builtin and then its argument prototype would still apply. */
16194 -rm -f conftest.$ac_objext conftest$ac_exeext
16195 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16196 - (eval $ac_link) 2>conftest.er1
16198 - grep -v '^ *+' conftest.er1 >conftest.err
16199 - rm -f conftest.er1
16200 - cat conftest.err >&5
16201 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 - (exit $ac_status); } &&
16203 - { ac_try='test -z "$ac_cxx_werror_flag"
16204 - || test ! -s conftest.err'
16205 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16206 - (eval $ac_try) 2>&5
16208 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 - (exit $ac_status); }; } &&
16210 - { ac_try='test -s conftest$ac_exeext'
16211 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 - (eval $ac_try) 2>&5
16214 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 - (exit $ac_status); }; }; then
16216 - ac_cv_lib_svld_dlopen=yes
16218 - echo "$as_me: failed program was:" >&5
16219 -sed 's/^/| /' conftest.$ac_ext >&5
16220 +# The linker used to build libraries.
16223 -ac_cv_lib_svld_dlopen=no
16225 -rm -f conftest.err conftest.$ac_objext \
16226 - conftest$ac_exeext conftest.$ac_ext
16227 -LIBS=$ac_check_lib_save_LIBS
16229 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16230 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
16231 -if test $ac_cv_lib_svld_dlopen = yes; then
16232 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16234 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16235 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
16236 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16237 - echo $ECHO_N "(cached) $ECHO_C" >&6
16239 - ac_check_lib_save_LIBS=$LIBS
16240 -LIBS="-ldld $LIBS"
16241 -cat >conftest.$ac_ext <<_ACEOF
16244 -cat confdefs.h >>conftest.$ac_ext
16245 -cat >>conftest.$ac_ext <<_ACEOF
16246 -/* end confdefs.h. */
16247 +# Whether we need hard or soft links.
16250 -/* Override any gcc2 internal prototype to avoid an error. */
16251 -#ifdef __cplusplus
16254 -/* We use char because int might match the return type of a gcc2
16255 - builtin and then its argument prototype would still apply. */
16265 -rm -f conftest.$ac_objext conftest$ac_exeext
16266 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16267 - (eval $ac_link) 2>conftest.er1
16269 - grep -v '^ *+' conftest.er1 >conftest.err
16270 - rm -f conftest.er1
16271 - cat conftest.err >&5
16272 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 - (exit $ac_status); } &&
16274 - { ac_try='test -z "$ac_cxx_werror_flag"
16275 - || test ! -s conftest.err'
16276 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16277 - (eval $ac_try) 2>&5
16279 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 - (exit $ac_status); }; } &&
16281 - { ac_try='test -s conftest$ac_exeext'
16282 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283 - (eval $ac_try) 2>&5
16285 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 - (exit $ac_status); }; }; then
16287 - ac_cv_lib_dld_dld_link=yes
16289 - echo "$as_me: failed program was:" >&5
16290 -sed 's/^/| /' conftest.$ac_ext >&5
16291 +# A BSD-compatible nm program.
16294 -ac_cv_lib_dld_dld_link=no
16296 -rm -f conftest.err conftest.$ac_objext \
16297 - conftest$ac_exeext conftest.$ac_ext
16298 -LIBS=$ac_check_lib_save_LIBS
16300 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
16301 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
16302 -if test $ac_cv_lib_dld_dld_link = yes; then
16303 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
16305 +# A symbol stripping program
16308 +# Used to examine libraries when file_magic_cmd begins "file"
16309 +MAGIC_CMD=$MAGIC_CMD
16312 +# Used on cygwin: DLL creation program.
16313 +DLLTOOL="$DLLTOOL"
16315 +# Used on cygwin: object dumper.
16316 +OBJDUMP="$OBJDUMP"
16319 +# Used on cygwin: assembler.
16322 +# The name of the directory that contains temporary libtool files.
16326 +# How to create reloadable object files.
16327 +reload_flag=$lt_reload_flag
16328 +reload_cmds=$lt_reload_cmds
16330 +# How to pass a linker flag through the compiler.
16331 +wl=$lt_lt_prog_compiler_wl_CXX
16334 +# Object file suffix (normally "o").
16335 +objext="$ac_objext"
16337 +# Old archive suffix (normally "a").
16341 +# Shared library suffix (normally ".so").
16342 +shrext_cmds='$shrext_cmds'
16346 +# Executable file suffix (normally "").
16349 - if test "x$lt_cv_dlopen" != xno; then
16350 - enable_dlopen=yes
16354 +# Additional compiler flags for building library objects.
16355 +pic_flag=$lt_lt_prog_compiler_pic_CXX
16356 +pic_mode=$pic_mode
16358 - case $lt_cv_dlopen in
16360 - save_CPPFLAGS="$CPPFLAGS"
16361 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16362 +# What is the maximum length of a command?
16363 +max_cmd_len=$lt_cv_sys_max_cmd_len
16365 - save_LDFLAGS="$LDFLAGS"
16366 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16367 +# Does compiler simultaneously support -c and -o options?
16368 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16370 - save_LIBS="$LIBS"
16371 - LIBS="$lt_cv_dlopen_libs $LIBS"
16372 +# Must we lock files when doing compilation?
16373 +need_locks=$lt_need_locks
16375 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
16376 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
16377 -if test "${lt_cv_dlopen_self+set}" = set; then
16378 - echo $ECHO_N "(cached) $ECHO_C" >&6
16380 - if test "$cross_compiling" = yes; then :
16381 - lt_cv_dlopen_self=cross
16383 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16384 - lt_status=$lt_dlunknown
16385 - cat > conftest.$ac_ext <<EOF
16386 -#line 13003 "configure"
16387 -#include "confdefs.h"
16388 +# Do we need the lib prefix for modules?
16389 +need_lib_prefix=$need_lib_prefix
16392 -#include <dlfcn.h>
16394 +# Do we need a version for libraries?
16395 +need_version=$need_version
16397 -#include <stdio.h>
16398 +# Whether dlopen is supported.
16399 +dlopen_support=$enable_dlopen
16401 -#ifdef RTLD_GLOBAL
16402 -# define LT_DLGLOBAL RTLD_GLOBAL
16405 -# define LT_DLGLOBAL DL_GLOBAL
16407 -# define LT_DLGLOBAL 0
16410 +# Whether dlopen of programs is supported.
16411 +dlopen_self=$enable_dlopen_self
16413 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16414 - find out it does not work in some platform. */
16415 -#ifndef LT_DLLAZY_OR_NOW
16417 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
16420 -# define LT_DLLAZY_OR_NOW DL_LAZY
16423 -# define LT_DLLAZY_OR_NOW RTLD_NOW
16426 -# define LT_DLLAZY_OR_NOW DL_NOW
16428 -# define LT_DLLAZY_OR_NOW 0
16434 +# Whether dlopen of statically linked programs is supported.
16435 +dlopen_self_static=$enable_dlopen_self_static
16437 -#ifdef __cplusplus
16438 -extern "C" void exit (int);
16440 +# Compiler flag to prevent dynamic linking.
16441 +link_static_flag=$lt_lt_prog_compiler_static_CXX
16443 -void fnord() { int i=42;}
16446 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16447 - int status = $lt_dlunknown;
16448 +# Compiler flag to turn off builtin functions.
16449 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16453 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16454 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16455 - /* dlclose (self); */
16457 +# Compiler flag to allow reflexive dlopens.
16458 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16463 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16464 - (eval $ac_link) 2>&5
16466 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16468 - (./conftest; exit; ) 2>/dev/null
16470 - case x$lt_status in
16471 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16472 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16473 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
16476 - # compilation failed
16477 - lt_cv_dlopen_self=no
16481 +# Compiler flag to generate shared objects directly from archives.
16482 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16484 +# Compiler flag to generate thread-safe objects.
16485 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16488 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
16489 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
16490 +# Library versioning type.
16491 +version_type=$version_type
16493 - if test "x$lt_cv_dlopen_self" = xyes; then
16494 - LDFLAGS="$LDFLAGS $link_static_flag"
16495 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
16496 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
16497 -if test "${lt_cv_dlopen_self_static+set}" = set; then
16498 - echo $ECHO_N "(cached) $ECHO_C" >&6
16500 - if test "$cross_compiling" = yes; then :
16501 - lt_cv_dlopen_self_static=cross
16503 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16504 - lt_status=$lt_dlunknown
16505 - cat > conftest.$ac_ext <<EOF
16506 -#line 13101 "configure"
16507 -#include "confdefs.h"
16508 +# Format of library name prefix.
16509 +libname_spec=$lt_libname_spec
16512 -#include <dlfcn.h>
16514 +# List of archive names. First name is the real one, the rest are links.
16515 +# The last name is the one that the linker finds with -lNAME.
16516 +library_names_spec=$lt_library_names_spec
16518 -#include <stdio.h>
16519 +# The coded name of the library, if different from the real name.
16520 +soname_spec=$lt_soname_spec
16522 -#ifdef RTLD_GLOBAL
16523 -# define LT_DLGLOBAL RTLD_GLOBAL
16526 -# define LT_DLGLOBAL DL_GLOBAL
16528 -# define LT_DLGLOBAL 0
16531 +# Commands used to build and install an old-style archive.
16533 +old_archive_cmds=$lt_old_archive_cmds_CXX
16534 +old_postinstall_cmds=$lt_old_postinstall_cmds
16535 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
16537 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16538 - find out it does not work in some platform. */
16539 -#ifndef LT_DLLAZY_OR_NOW
16541 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
16544 -# define LT_DLLAZY_OR_NOW DL_LAZY
16547 -# define LT_DLLAZY_OR_NOW RTLD_NOW
16550 -# define LT_DLLAZY_OR_NOW DL_NOW
16552 -# define LT_DLLAZY_OR_NOW 0
16558 +# Create an old-style archive from a shared archive.
16559 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16561 -#ifdef __cplusplus
16562 -extern "C" void exit (int);
16564 +# Create a temporary old-style archive to link instead of a shared archive.
16565 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16567 -void fnord() { int i=42;}
16570 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16571 - int status = $lt_dlunknown;
16572 +# Commands used to build and install a shared archive.
16573 +archive_cmds=$lt_archive_cmds_CXX
16574 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16575 +postinstall_cmds=$lt_postinstall_cmds
16576 +postuninstall_cmds=$lt_postuninstall_cmds
16580 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16581 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16582 - /* dlclose (self); */
16584 +# Commands used to build a loadable module (assumed same as above if empty)
16585 +module_cmds=$lt_module_cmds_CXX
16586 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
16591 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16592 - (eval $ac_link) 2>&5
16594 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16596 - (./conftest; exit; ) 2>/dev/null
16598 - case x$lt_status in
16599 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16600 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16601 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
16604 - # compilation failed
16605 - lt_cv_dlopen_self_static=no
16609 +# Commands to strip libraries.
16610 +old_striplib=$lt_old_striplib
16611 +striplib=$lt_striplib
16613 +# Dependencies to place before the objects being linked to create a
16615 +predep_objects=$lt_predep_objects_CXX
16618 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16619 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
16621 +# Dependencies to place after the objects being linked to create a
16623 +postdep_objects=$lt_postdep_objects_CXX
16625 - CPPFLAGS="$save_CPPFLAGS"
16626 - LDFLAGS="$save_LDFLAGS"
16627 - LIBS="$save_LIBS"
16630 +# Dependencies to place before the objects being linked to create a
16632 +predeps=$lt_predeps_CXX
16634 - case $lt_cv_dlopen_self in
16635 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16636 - *) enable_dlopen_self=unknown ;;
16638 +# Dependencies to place after the objects being linked to create a
16640 +postdeps=$lt_postdeps_CXX
16642 - case $lt_cv_dlopen_self_static in
16643 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16644 - *) enable_dlopen_self_static=unknown ;;
16647 +# The library search path used internally by the compiler when linking
16648 +# a shared library.
16649 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16651 +# Method to check whether dependent libraries are shared objects.
16652 +deplibs_check_method=$lt_deplibs_check_method
16654 -# The else clause should only fire when bootstrapping the
16655 -# libtool distribution, otherwise you forgot to ship ltmain.sh
16656 -# with your package, and you will get complaints that there are
16657 -# no rules to generate ltmain.sh.
16658 -if test -f "$ltmain"; then
16659 - # See if we are running on zsh, and set the options which allow our commands through
16660 - # without removal of \ escapes.
16661 - if test -n "${ZSH_VERSION+set}" ; then
16662 - setopt NO_GLOB_SUBST
16664 - # Now quote all the things that may contain metacharacters while being
16665 - # careful not to overquote the AC_SUBSTed values. We take copies of the
16666 - # variables and quote the copies for generation of the libtool script.
16667 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
16668 - SED SHELL STRIP \
16669 - libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16670 - old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16671 - deplibs_check_method reload_flag reload_cmds need_locks \
16672 - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16673 - lt_cv_sys_global_symbol_to_c_name_address \
16674 - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16675 - old_postinstall_cmds old_postuninstall_cmds \
16679 - lt_prog_compiler_wl_CXX \
16680 - lt_prog_compiler_pic_CXX \
16681 - lt_prog_compiler_static_CXX \
16682 - lt_prog_compiler_no_builtin_flag_CXX \
16683 - export_dynamic_flag_spec_CXX \
16684 - thread_safe_flag_spec_CXX \
16685 - whole_archive_flag_spec_CXX \
16686 - enable_shared_with_static_runtimes_CXX \
16687 - old_archive_cmds_CXX \
16688 - old_archive_from_new_cmds_CXX \
16689 - predep_objects_CXX \
16690 - postdep_objects_CXX \
16693 - compiler_lib_search_path_CXX \
16694 - archive_cmds_CXX \
16695 - archive_expsym_cmds_CXX \
16696 - postinstall_cmds_CXX \
16697 - postuninstall_cmds_CXX \
16698 - old_archive_from_expsyms_cmds_CXX \
16699 - allow_undefined_flag_CXX \
16700 - no_undefined_flag_CXX \
16701 - export_symbols_cmds_CXX \
16702 - hardcode_libdir_flag_spec_CXX \
16703 - hardcode_libdir_flag_spec_ld_CXX \
16704 - hardcode_libdir_separator_CXX \
16705 - hardcode_automatic_CXX \
16706 - module_cmds_CXX \
16707 - module_expsym_cmds_CXX \
16708 - lt_cv_prog_compiler_c_o_CXX \
16709 - exclude_expsyms_CXX \
16710 - include_expsyms_CXX; do
16711 +# Command to use when deplibs_check_method == file_magic.
16712 +file_magic_cmd=$lt_file_magic_cmd
16715 - old_archive_cmds_CXX | \
16716 - old_archive_from_new_cmds_CXX | \
16717 - archive_cmds_CXX | \
16718 - archive_expsym_cmds_CXX | \
16719 - module_cmds_CXX | \
16720 - module_expsym_cmds_CXX | \
16721 - old_archive_from_expsyms_cmds_CXX | \
16722 - export_symbols_cmds_CXX | \
16723 - extract_expsyms_cmds | reload_cmds | finish_cmds | \
16724 - postinstall_cmds | postuninstall_cmds | \
16725 - old_postinstall_cmds | old_postuninstall_cmds | \
16726 - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16727 - # Double-quote double-evaled strings.
16728 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16731 - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16735 +# Flag that allows shared libraries with undefined symbols to be built.
16736 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
16739 - *'\$0 --fallback-echo"')
16740 - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16743 +# Flag that forces no undefined symbols.
16744 +no_undefined_flag=$lt_no_undefined_flag_CXX
16747 +# Commands used to finish a libtool library installation in a directory.
16748 +finish_cmds=$lt_finish_cmds
16750 - cat <<__EOF__ >> "$cfgfile"
16751 -# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16752 +# Same as above, but a single script fragment to be evaled but not shown.
16753 +finish_eval=$lt_finish_eval
16755 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16756 +# Take the output of nm and produce a listing of raw symbols and C names.
16757 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16759 -# Shell to use when invoking shell scripts.
16761 +# Transform the output of nm in a proper C declaration
16762 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16764 -# Whether or not to build shared libraries.
16765 -build_libtool_libs=$enable_shared
16766 +# Transform the output of nm in a C name address pair
16767 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16769 -# Whether or not to build static libraries.
16770 -build_old_libs=$enable_static
16771 +# This is the shared library runtime path variable.
16772 +runpath_var=$runpath_var
16774 -# Whether or not to add -lc for building shared libraries.
16775 -build_libtool_need_lc=$archive_cmds_need_lc_CXX
16776 +# This is the shared library path variable.
16777 +shlibpath_var=$shlibpath_var
16779 -# Whether or not to disallow shared libs when runtime libs are static
16780 -allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16781 +# Is shlibpath searched before the hard-coded library search path?
16782 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16784 -# Whether or not to optimize for fast installation.
16785 -fast_install=$enable_fast_install
16786 +# How to hardcode a shared library path into an executable.
16787 +hardcode_action=$hardcode_action_CXX
16789 -# The host system.
16790 -host_alias=$host_alias
16793 +# Whether we should hardcode library paths into libraries.
16794 +hardcode_into_libs=$hardcode_into_libs
16796 -# The build system.
16797 -build_alias=$build_alias
16799 -build_os=$build_os
16800 +# Flag to hardcode \$libdir into a binary during linking.
16801 +# This must work even if \$libdir does not exist.
16802 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16804 -# An echo program that does not interpret backslashes.
16806 +# If ld is used when linking, flag to hardcode \$libdir into
16807 +# a binary during linking. This must work even if \$libdir does
16809 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16813 -AR_FLAGS=$lt_AR_FLAGS
16814 +# Whether we need a single -rpath flag with a separated argument.
16815 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16819 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16820 +# resulting binary.
16821 +hardcode_direct=$hardcode_direct_CXX
16823 -# A language-specific compiler.
16824 -CC=$lt_compiler_CXX
16825 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16826 +# resulting binary.
16827 +hardcode_minus_L=$hardcode_minus_L_CXX
16829 -# Is the compiler the GNU C compiler?
16831 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16832 +# the resulting binary.
16833 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16837 +# Set to yes if building a shared library automatically hardcodes DIR into the library
16838 +# and all subsequent libraries and executables linked against it.
16839 +hardcode_automatic=$hardcode_automatic_CXX
16841 -# The linker used to build libraries.
16843 +# Variables whose values should be saved in libtool wrapper scripts and
16844 +# restored at relink time.
16845 +variables_saved_for_relink="$variables_saved_for_relink"
16847 -# Whether we need hard or soft links.
16849 +# Whether libtool must link a program against all its dependency libraries.
16850 +link_all_deplibs=$link_all_deplibs_CXX
16852 -# A BSD-compatible nm program.
16854 +# Compile-time system search path for libraries
16855 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16857 -# A symbol stripping program
16859 +# Run-time system search path for libraries
16860 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16862 -# Used to examine libraries when file_magic_cmd begins "file"
16863 -MAGIC_CMD=$MAGIC_CMD
16864 +# Fix the shell variable \$srcfile for the compiler.
16865 +fix_srcfile_path="$fix_srcfile_path_CXX"
16867 -# Used on cygwin: DLL creation program.
16868 -DLLTOOL="$DLLTOOL"
16869 +# Set to yes if exported symbols are required.
16870 +always_export_symbols=$always_export_symbols_CXX
16872 -# Used on cygwin: object dumper.
16873 -OBJDUMP="$OBJDUMP"
16874 +# The commands to list exported symbols.
16875 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
16877 -# Used on cygwin: assembler.
16879 +# The commands to extract the exported symbol list from a shared archive.
16880 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
16882 -# The name of the directory that contains temporary libtool files.
16884 +# Symbols that should not be listed in the preloaded symbols.
16885 +exclude_expsyms=$lt_exclude_expsyms_CXX
16887 -# How to create reloadable object files.
16888 -reload_flag=$lt_reload_flag
16889 -reload_cmds=$lt_reload_cmds
16890 +# Symbols that must always be exported.
16891 +include_expsyms=$lt_include_expsyms_CXX
16893 -# How to pass a linker flag through the compiler.
16894 -wl=$lt_lt_prog_compiler_wl_CXX
16895 +# ### END LIBTOOL TAG CONFIG: $tagname
16897 -# Object file suffix (normally "o").
16898 -objext="$ac_objext"
16901 -# Old archive suffix (normally "a").
16904 -# Shared library suffix (normally ".so").
16905 -shrext_cmds='$shrext_cmds'
16907 + # If there is no Makefile yet, we rely on a make rule to execute
16908 + # `config.status --recheck' to rerun these tests and create the
16909 + # libtool script then.
16910 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16911 + if test -f "$ltmain_in"; then
16912 + test -f Makefile && make "$ltmain"
16916 -# Executable file suffix (normally "").
16919 -# Additional compiler flags for building library objects.
16920 -pic_flag=$lt_lt_prog_compiler_pic_CXX
16921 -pic_mode=$pic_mode
16923 +ac_cpp='$CPP $CPPFLAGS'
16924 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16925 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16926 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
16928 -# What is the maximum length of a command?
16929 -max_cmd_len=$lt_cv_sys_max_cmd_len
16931 -# Does compiler simultaneously support -c and -o options?
16932 -compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16934 -# Must we lock files when doing compilation?
16935 -need_locks=$lt_need_locks
16937 -# Do we need the lib prefix for modules?
16938 -need_lib_prefix=$need_lib_prefix
16940 -# Do we need a version for libraries?
16941 -need_version=$need_version
16943 -# Whether dlopen is supported.
16944 -dlopen_support=$enable_dlopen
16946 -# Whether dlopen of programs is supported.
16947 -dlopen_self=$enable_dlopen_self
16949 -# Whether dlopen of statically linked programs is supported.
16950 -dlopen_self_static=$enable_dlopen_self_static
16952 -# Compiler flag to prevent dynamic linking.
16953 -link_static_flag=$lt_lt_prog_compiler_static_CXX
16955 -# Compiler flag to turn off builtin functions.
16956 -no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16958 -# Compiler flag to allow reflexive dlopens.
16959 -export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16961 -# Compiler flag to generate shared objects directly from archives.
16962 -whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16964 -# Compiler flag to generate thread-safe objects.
16965 -thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16967 -# Library versioning type.
16968 -version_type=$version_type
16970 -# Format of library name prefix.
16971 -libname_spec=$lt_libname_spec
16973 -# List of archive names. First name is the real one, the rest are links.
16974 -# The last name is the one that the linker finds with -lNAME.
16975 -library_names_spec=$lt_library_names_spec
16977 -# The coded name of the library, if different from the real name.
16978 -soname_spec=$lt_soname_spec
16980 -# Commands used to build and install an old-style archive.
16982 -old_archive_cmds=$lt_old_archive_cmds_CXX
16983 -old_postinstall_cmds=$lt_old_postinstall_cmds
16984 -old_postuninstall_cmds=$lt_old_postuninstall_cmds
16986 -# Create an old-style archive from a shared archive.
16987 -old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16989 -# Create a temporary old-style archive to link instead of a shared archive.
16990 -old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16992 -# Commands used to build and install a shared archive.
16993 -archive_cmds=$lt_archive_cmds_CXX
16994 -archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16995 -postinstall_cmds=$lt_postinstall_cmds
16996 -postuninstall_cmds=$lt_postuninstall_cmds
16998 -# Commands used to build a loadable module (assumed same as above if empty)
16999 -module_cmds=$lt_module_cmds_CXX
17000 -module_expsym_cmds=$lt_module_expsym_cmds_CXX
17002 -# Commands to strip libraries.
17003 -old_striplib=$lt_old_striplib
17004 -striplib=$lt_striplib
17006 -# Dependencies to place before the objects being linked to create a
17008 -predep_objects=$lt_predep_objects_CXX
17010 -# Dependencies to place after the objects being linked to create a
17012 -postdep_objects=$lt_postdep_objects_CXX
17014 -# Dependencies to place before the objects being linked to create a
17016 -predeps=$lt_predeps_CXX
17018 -# Dependencies to place after the objects being linked to create a
17020 -postdeps=$lt_postdeps_CXX
17022 -# The library search path used internally by the compiler when linking
17023 -# a shared library.
17024 -compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17026 -# Method to check whether dependent libraries are shared objects.
17027 -deplibs_check_method=$lt_deplibs_check_method
17029 -# Command to use when deplibs_check_method == file_magic.
17030 -file_magic_cmd=$lt_file_magic_cmd
17032 -# Flag that allows shared libraries with undefined symbols to be built.
17033 -allow_undefined_flag=$lt_allow_undefined_flag_CXX
17035 -# Flag that forces no undefined symbols.
17036 -no_undefined_flag=$lt_no_undefined_flag_CXX
17038 -# Commands used to finish a libtool library installation in a directory.
17039 -finish_cmds=$lt_finish_cmds
17041 -# Same as above, but a single script fragment to be evaled but not shown.
17042 -finish_eval=$lt_finish_eval
17044 -# Take the output of nm and produce a listing of raw symbols and C names.
17045 -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17047 -# Transform the output of nm in a proper C declaration
17048 -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17050 -# Transform the output of nm in a C name address pair
17051 -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17053 -# This is the shared library runtime path variable.
17054 -runpath_var=$runpath_var
17056 -# This is the shared library path variable.
17057 -shlibpath_var=$shlibpath_var
17059 -# Is shlibpath searched before the hard-coded library search path?
17060 -shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17062 -# How to hardcode a shared library path into an executable.
17063 -hardcode_action=$hardcode_action_CXX
17065 -# Whether we should hardcode library paths into libraries.
17066 -hardcode_into_libs=$hardcode_into_libs
17068 -# Flag to hardcode \$libdir into a binary during linking.
17069 -# This must work even if \$libdir does not exist.
17070 -hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17072 -# If ld is used when linking, flag to hardcode \$libdir into
17073 -# a binary during linking. This must work even if \$libdir does
17075 -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17077 -# Whether we need a single -rpath flag with a separated argument.
17078 -hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17080 -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17081 -# resulting binary.
17082 -hardcode_direct=$hardcode_direct_CXX
17084 -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17085 -# resulting binary.
17086 -hardcode_minus_L=$hardcode_minus_L_CXX
17088 -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17089 -# the resulting binary.
17090 -hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17092 -# Set to yes if building a shared library automatically hardcodes DIR into the library
17093 -# and all subsequent libraries and executables linked against it.
17094 -hardcode_automatic=$hardcode_automatic_CXX
17096 -# Variables whose values should be saved in libtool wrapper scripts and
17097 -# restored at relink time.
17098 -variables_saved_for_relink="$variables_saved_for_relink"
17100 -# Whether libtool must link a program against all its dependency libraries.
17101 -link_all_deplibs=$link_all_deplibs_CXX
17103 -# Compile-time system search path for libraries
17104 -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17106 -# Run-time system search path for libraries
17107 -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17109 -# Fix the shell variable \$srcfile for the compiler.
17110 -fix_srcfile_path="$fix_srcfile_path_CXX"
17112 -# Set to yes if exported symbols are required.
17113 -always_export_symbols=$always_export_symbols_CXX
17115 -# The commands to list exported symbols.
17116 -export_symbols_cmds=$lt_export_symbols_cmds_CXX
17118 -# The commands to extract the exported symbol list from a shared archive.
17119 -extract_expsyms_cmds=$lt_extract_expsyms_cmds
17121 -# Symbols that should not be listed in the preloaded symbols.
17122 -exclude_expsyms=$lt_exclude_expsyms_CXX
17124 -# Symbols that must always be exported.
17125 -include_expsyms=$lt_include_expsyms_CXX
17127 -# ### END LIBTOOL TAG CONFIG: $tagname
17133 - # If there is no Makefile yet, we rely on a make rule to execute
17134 - # `config.status --recheck' to rerun these tests and create the
17135 - # libtool script then.
17136 - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17137 - if test -f "$ltmain_in"; then
17138 - test -f Makefile && make "$ltmain"
17144 -ac_cpp='$CPP $CPPFLAGS'
17145 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17146 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17147 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
17153 -with_gnu_ldcxx=$with_gnu_ld
17154 -with_gnu_ld=$lt_save_with_gnu_ld
17155 -lt_cv_path_LDCXX=$lt_cv_path_LD
17156 -lt_cv_path_LD=$lt_save_path_LD
17157 -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17158 -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17163 +with_gnu_ldcxx=$with_gnu_ld
17164 +with_gnu_ld=$lt_save_with_gnu_ld
17165 +lt_cv_path_LDCXX=$lt_cv_path_LD
17166 +lt_cv_path_LD=$lt_save_path_LD
17167 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17168 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17172 @@ -13675,6 +14115,9 @@
17173 # If no C compiler was specified, use CC.
17176 +# If no C compiler flags were specified, use CFLAGS.
17177 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17179 # Allow CC to be a program name with arguments.
17182 @@ -13682,13 +14125,13 @@
17183 # save warnings/boilerplate of simple test code
17184 ac_outfile=conftest.$ac_objext
17185 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17186 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
17187 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17188 _lt_compiler_boilerplate=`cat conftest.err`
17191 ac_outfile=conftest.$ac_objext
17192 printf "$lt_simple_link_test_code" >conftest.$ac_ext
17193 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
17194 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17195 _lt_linker_boilerplate=`cat conftest.err`
17198 @@ -13709,18 +14152,18 @@
17199 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17202 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17203 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
17204 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
17205 -echo "${ECHO_T}$can_build_shared" >&6
17206 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17207 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17208 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
17209 +echo "${ECHO_T}$can_build_shared" >&6; }
17211 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17212 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
17213 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17214 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17215 test "$can_build_shared" = "no" && enable_shared=no
17217 # On AIX, shared libraries and static libraries use the same namespace, and
17218 # are all built from PIC.
17219 -case "$host_os" in
17222 test "$enable_shared" = yes && enable_static=no
17223 if test -n "$RANLIB"; then
17224 @@ -13734,17 +14177,15 @@
17228 -echo "$as_me:$LINENO: result: $enable_shared" >&5
17229 -echo "${ECHO_T}$enable_shared" >&6
17230 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
17231 +echo "${ECHO_T}$enable_shared" >&6; }
17233 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17234 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
17235 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17236 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17237 # Make sure either enable_shared or enable_static is yes.
17238 test "$enable_shared" = yes || enable_static=yes
17239 -echo "$as_me:$LINENO: result: $enable_static" >&5
17240 -echo "${ECHO_T}$enable_static" >&6
17242 -test "$ld_shlibs_F77" = no && can_build_shared=no
17243 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
17244 +echo "${ECHO_T}$enable_static" >&6; }
17248 @@ -13753,8 +14194,8 @@
17249 lt_prog_compiler_pic_F77=
17250 lt_prog_compiler_static_F77=
17252 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17253 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17254 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17255 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17257 if test "$GCC" = yes; then
17258 lt_prog_compiler_wl_F77='-Wl,'
17259 @@ -13792,6 +14233,11 @@
17260 lt_prog_compiler_pic_F77='-fno-common'
17264 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17265 + # Instead, we relocate shared libraries at runtime.
17269 # Just because we use GCC doesn't mean we suddenly get shared libraries
17270 # on systems that don't support them.
17271 @@ -13808,7 +14254,7 @@
17273 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17274 # not for PA HP-UX.
17275 - case "$host_cpu" in
17276 + case $host_cpu in
17280 @@ -13855,7 +14301,7 @@
17281 lt_prog_compiler_wl_F77='-Wl,'
17282 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17283 # not for PA HP-UX.
17284 - case "$host_cpu" in
17285 + case $host_cpu in
17289 @@ -13878,19 +14324,19 @@
17290 lt_prog_compiler_static_F77='-Bstatic'
17294 + linux* | k*bsd*-gnu)
17295 case $cc_basename in
17297 lt_prog_compiler_wl_F77='-Wl,'
17298 lt_prog_compiler_pic_F77='-KPIC'
17299 lt_prog_compiler_static_F77='-static'
17301 - pgcc* | pgf77* | pgf90*)
17302 + pgcc* | pgf77* | pgf90* | pgf95*)
17303 # Portland Group compilers (*not* the Pentium gcc compiler,
17304 # which looks to be a dead project)
17305 lt_prog_compiler_wl_F77='-Wl,'
17306 lt_prog_compiler_pic_F77='-fpic'
17307 - lt_prog_compiler_static_F77='-static'
17308 + lt_prog_compiler_static_F77='-Bstatic'
17311 lt_prog_compiler_wl_F77='-Wl,'
17312 @@ -13906,11 +14352,6 @@
17313 lt_prog_compiler_static_F77='-non_shared'
17317 - lt_prog_compiler_pic_F77='-Kpic'
17318 - lt_prog_compiler_static_F77='-dn'
17322 lt_prog_compiler_pic_F77='-KPIC'
17323 lt_prog_compiler_static_F77='-Bstatic'
17324 @@ -13928,7 +14369,7 @@
17325 lt_prog_compiler_static_F77='-Bstatic'
17328 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17329 + sysv4 | sysv4.2uw2* | sysv4.3*)
17330 lt_prog_compiler_wl_F77='-Wl,'
17331 lt_prog_compiler_pic_F77='-KPIC'
17332 lt_prog_compiler_static_F77='-Bstatic'
17333 @@ -13941,6 +14382,12 @@
17337 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17338 + lt_prog_compiler_wl_F77='-Wl,'
17339 + lt_prog_compiler_pic_F77='-KPIC'
17340 + lt_prog_compiler_static_F77='-Bstatic'
17344 lt_prog_compiler_wl_F77='-Wl,'
17345 lt_prog_compiler_can_build_shared_F77=no
17346 @@ -13957,16 +14404,16 @@
17350 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
17351 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
17352 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
17353 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
17356 # Check to make sure the PIC flag actually works.
17358 if test -n "$lt_prog_compiler_pic_F77"; then
17360 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17361 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
17362 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17363 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
17364 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
17365 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 @@ -13980,28 +14427,28 @@
17368 # with a dollar sign (not a hyphen), so the echo should work correctly.
17369 # The option is referenced via a variable to avoid confusing sed.
17370 lt_compile=`echo "$ac_compile" | $SED \
17371 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17372 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17373 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17374 -e 's:$: $lt_compiler_flag:'`
17375 - (eval echo "\"\$as_me:13986: $lt_compile\"" >&5)
17376 + (eval echo "\"\$as_me:14433: $lt_compile\"" >&5)
17377 (eval "$lt_compile" 2>conftest.err)
17379 cat conftest.err >&5
17380 - echo "$as_me:13990: \$? = $ac_status" >&5
17381 + echo "$as_me:14437: \$? = $ac_status" >&5
17382 if (exit $ac_status) && test -s "$ac_outfile"; then
17383 # The compiler can only warn and ignore the option if not recognized
17384 # So say no if there are warnings other than the usual output.
17385 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
17386 - $SED '/^$/d' conftest.err >conftest.er2
17387 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
17388 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17389 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17390 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17391 lt_prog_compiler_pic_works_F77=yes
17397 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
17398 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
17399 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
17400 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
17402 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
17403 case $lt_prog_compiler_pic_F77 in
17404 @@ -14014,7 +14461,7 @@
17408 -case "$host_os" in
17410 # For platforms which do not support PIC, -DPIC is meaningless:
17412 lt_prog_compiler_pic_F77=
17413 @@ -14024,43 +14471,85 @@
17417 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17418 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17419 -if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17421 +# Check to make sure the static flag actually works.
17423 +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
17424 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17425 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17426 +if test "${lt_prog_compiler_static_works_F77+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 - lt_cv_prog_compiler_c_o_F77=no
17430 - $rm -r conftest 2>/dev/null
17434 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17436 + lt_prog_compiler_static_works_F77=no
17437 + save_LDFLAGS="$LDFLAGS"
17438 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17439 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
17440 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17441 + # The linker can only warn and ignore the option if not recognized
17442 + # So say no if there are warnings
17443 + if test -s conftest.err; then
17444 + # Append any errors to the config.log.
17445 + cat conftest.err 1>&5
17446 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17447 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17448 + if diff conftest.exp conftest.er2 >/dev/null; then
17449 + lt_prog_compiler_static_works_F77=yes
17452 + lt_prog_compiler_static_works_F77=yes
17456 + LDFLAGS="$save_LDFLAGS"
17459 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
17460 +echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
17462 +if test x"$lt_prog_compiler_static_works_F77" = xyes; then
17465 + lt_prog_compiler_static_F77=
17469 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17470 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17471 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17472 + echo $ECHO_N "(cached) $ECHO_C" >&6
17474 + lt_cv_prog_compiler_c_o_F77=no
17475 + $rm -r conftest 2>/dev/null
17479 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17481 lt_compiler_flag="-o out/conftest2.$ac_objext"
17482 # Insert the option either (1) after the last *FLAGS variable, or
17483 # (2) before a word containing "conftest.", or (3) at the end.
17484 # Note that $ac_compile itself does not contain backslashes and begins
17485 # with a dollar sign (not a hyphen), so the echo should work correctly.
17486 lt_compile=`echo "$ac_compile" | $SED \
17487 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17488 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17490 -e 's:$: $lt_compiler_flag:'`
17491 - (eval echo "\"\$as_me:14048: $lt_compile\"" >&5)
17492 + (eval echo "\"\$as_me:14537: $lt_compile\"" >&5)
17493 (eval "$lt_compile" 2>out/conftest.err)
17495 cat out/conftest.err >&5
17496 - echo "$as_me:14052: \$? = $ac_status" >&5
17497 + echo "$as_me:14541: \$? = $ac_status" >&5
17498 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17500 # The compiler can only warn and ignore the option if not recognized
17501 # So say no if there are warnings
17502 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
17503 - $SED '/^$/d' out/conftest.err >out/conftest.er2
17504 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17505 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17506 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17507 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17508 lt_cv_prog_compiler_c_o_F77=yes
17514 # SGI C++ compiler will create directory out/ii_files/ for
17515 # template instantiation
17516 @@ -14071,23 +14560,23 @@
17520 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17521 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
17522 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17523 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
17526 hard_links="nottested"
17527 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
17528 # do not overwrite the value of need_locks provided by the user
17529 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17530 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17531 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17532 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17535 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17537 ln conftest.a conftest.b 2>&5 || hard_links=no
17538 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17539 - echo "$as_me:$LINENO: result: $hard_links" >&5
17540 -echo "${ECHO_T}$hard_links" >&6
17541 + { echo "$as_me:$LINENO: result: $hard_links" >&5
17542 +echo "${ECHO_T}$hard_links" >&6; }
17543 if test "$hard_links" = no; then
17544 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17545 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17546 @@ -14097,8 +14586,8 @@
17550 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17551 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17552 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17553 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17556 allow_undefined_flag_F77=
17557 @@ -14156,6 +14645,10 @@
17562 + # we just hope/assume this is gcc and not c89 (= MSVC++)
17568 @@ -14240,7 +14733,7 @@
17569 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17571 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17572 - archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17573 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17574 # If the export-symbols file already is a .def file (1st line
17575 # is EXPORTS), use it as is; otherwise, prepend...
17576 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17577 @@ -14249,22 +14742,37 @@
17578 echo EXPORTS > $output_objdir/$soname.def;
17579 cat $export_symbols >> $output_objdir/$soname.def;
17581 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17582 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17590 + hardcode_direct_F77=no
17591 + hardcode_shlibpath_var_F77=no
17592 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17593 + export_dynamic_flag_spec_F77='${wl}-E'
17594 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17595 + # Instead, shared libraries are loaded at an image base (0x10000000 by
17596 + # default) and relocated if they conflict, which is a slow very memory
17597 + # consuming and fragmenting process. To avoid this, we pick a random,
17598 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17599 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17600 + archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17601 + archive_expsym_cmds_F77='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'
17604 + linux* | k*bsd*-gnu)
17605 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17607 case $cc_basename,$host_cpu in
17608 pgcc*) # Portland Group C compiler
17609 - whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17610 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17611 tmp_addflag=' $pic_flag'
17613 - pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
17614 - whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17615 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17616 + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17617 tmp_addflag=' $pic_flag -Mnomain' ;;
17618 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17619 tmp_addflag=' -i_dynamic' ;;
17620 @@ -14281,12 +14789,13 @@
17621 $echo "local: *; };" >> $output_objdir/$libname.ver~
17622 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17624 + link_all_deplibs_F77=no
17631 + netbsd* | netbsdelf*-gnu)
17632 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17633 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17635 @@ -14296,7 +14805,7 @@
17639 - solaris* | sysv5*)
17641 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17644 @@ -14317,6 +14826,33 @@
17648 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17649 + case `$LD -v 2>&1` in
17650 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17652 + cat <<_LT_EOF 1>&2
17654 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17655 +*** reliably create shared libraries on SCO systems. Therefore, libtool
17656 +*** is disabling shared libraries support. We urge you to upgrade GNU
17657 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17658 +*** your PATH or compiler configuration so that the native linker is
17659 +*** used, and then restart.
17664 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17665 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17666 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17667 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17676 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17678 @@ -14350,7 +14886,7 @@
17679 # Note: this linker hardcodes the directories in LIBPATH if there
17680 # are no directories specified by -L.
17681 hardcode_minus_L_F77=yes
17682 - if test "$GCC" = yes && test -z "$link_static_flag"; then
17683 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17684 # Neither direct hardcoding nor static linking is supported with a
17686 hardcode_direct_F77=unsupported
17687 @@ -14384,6 +14920,7 @@
17694 exp_sym_flag='-bexport'
17695 @@ -14421,6 +14958,7 @@
17696 hardcode_libdir_flag_spec_F77='-L$libdir'
17697 hardcode_libdir_separator_F77=
17701 shared_flag='-shared'
17702 if test "$aix_use_runtimelinking" = yes; then
17703 @@ -14433,11 +14971,11 @@
17704 # chokes on -Wl,-G. The following line is correct:
17707 - if test "$aix_use_runtimelinking" = yes; then
17708 + if test "$aix_use_runtimelinking" = yes; then
17709 shared_flag='${wl}-G'
17711 shared_flag='${wl}-bM:SRE'
17717 @@ -14455,24 +14993,36 @@
17720 rm -f conftest.$ac_objext conftest$ac_exeext
17721 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17722 - (eval $ac_link) 2>conftest.er1
17723 +if { (ac_try="$ac_link"
17724 +case "(($ac_try" in
17725 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17726 + *) ac_try_echo=$ac_try;;
17728 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17729 + (eval "$ac_link") 2>conftest.er1
17731 grep -v '^ *+' conftest.er1 >conftest.err
17733 cat conftest.err >&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } &&
17736 - { ac_try='test -z "$ac_f77_werror_flag"
17737 - || test ! -s conftest.err'
17738 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 - (eval $ac_try) 2>&5
17740 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
17741 + { (case "(($ac_try" in
17742 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17743 + *) ac_try_echo=$ac_try;;
17745 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17746 + (eval "$ac_try") 2>&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); }; } &&
17750 { ac_try='test -s conftest$ac_exeext'
17751 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17752 - (eval $ac_try) 2>&5
17753 + { (case "(($ac_try" in
17754 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17755 + *) ac_try_echo=$ac_try;;
17757 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17758 + (eval "$ac_try") 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; }; then
17762 @@ -14486,18 +15036,20 @@
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.$ac_ext >&5
17768 -rm -f conftest.err conftest.$ac_objext \
17770 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17771 conftest$ac_exeext conftest.$ac_ext
17772 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17774 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17775 - archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17776 + archive_expsym_cmds_F77="\$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"
17778 if test "$host_cpu" = ia64; then
17779 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17780 allow_undefined_flag_F77="-z nodefs"
17781 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
17782 + archive_expsym_cmds_F77="\$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"
17784 # Determine the default libpath from the value encoded in an empty executable.
17785 cat >conftest.$ac_ext <<_ACEOF
17786 @@ -14506,24 +15058,36 @@
17789 rm -f conftest.$ac_objext conftest$ac_exeext
17790 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17791 - (eval $ac_link) 2>conftest.er1
17792 +if { (ac_try="$ac_link"
17793 +case "(($ac_try" in
17794 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17795 + *) ac_try_echo=$ac_try;;
17797 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17798 + (eval "$ac_link") 2>conftest.er1
17800 grep -v '^ *+' conftest.er1 >conftest.err
17802 cat conftest.err >&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 - { ac_try='test -z "$ac_f77_werror_flag"
17806 - || test ! -s conftest.err'
17807 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 - (eval $ac_try) 2>&5
17809 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
17810 + { (case "(($ac_try" in
17811 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17812 + *) ac_try_echo=$ac_try;;
17814 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 + (eval "$ac_try") 2>&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; } &&
17819 { ac_try='test -s conftest$ac_exeext'
17820 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821 - (eval $ac_try) 2>&5
17822 + { (case "(($ac_try" in
17823 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17824 + *) ac_try_echo=$ac_try;;
17826 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17827 + (eval "$ac_try") 2>&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); }; }; then
17831 @@ -14537,8 +15101,10 @@
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17837 -rm -f conftest.err conftest.$ac_objext \
17839 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17840 conftest$ac_exeext conftest.$ac_ext
17841 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17843 @@ -14547,13 +15113,11 @@
17844 # -berok will link without error, but may produce a broken library.
17845 no_undefined_flag_F77=' ${wl}-bernotok'
17846 allow_undefined_flag_F77=' ${wl}-berok'
17847 - # -bexpall does not export symbols beginning with underscore (_)
17848 - always_export_symbols_F77=yes
17849 # Exported symbols can be pulled into shared objects from archives
17850 - whole_archive_flag_spec_F77=' '
17851 + whole_archive_flag_spec_F77='$convenience'
17852 archive_cmds_need_lc_F77=yes
17853 - # This is similar to how AIX traditionally builds it's shared libraries.
17854 - archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17855 + # This is similar to how AIX traditionally builds its shared libraries.
17856 + archive_expsym_cmds_F77="\$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'
17860 @@ -14592,7 +15156,7 @@
17863 darwin* | rhapsody*)
17864 - case "$host_os" in
17866 rhapsody* | darwin1.[012])
17867 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
17869 @@ -14621,7 +15185,7 @@
17870 output_verbose_link_cmd='echo'
17871 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17872 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17873 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17874 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17875 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17876 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17878 @@ -14630,7 +15194,7 @@
17879 output_verbose_link_cmd='echo'
17880 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17881 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17882 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17883 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17884 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17885 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17887 @@ -14671,7 +15235,7 @@
17890 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17891 - freebsd* | kfreebsd*-gnu | dragonfly*)
17892 + freebsd* | dragonfly*)
17893 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17894 hardcode_libdir_flag_spec_F77='-R$libdir'
17895 hardcode_direct_F77=yes
17896 @@ -14694,47 +15258,62 @@
17897 export_dynamic_flag_spec_F77='${wl}-E'
17900 - hpux10* | hpux11*)
17902 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17903 - case "$host_cpu" in
17905 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17907 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17909 + if test "$with_gnu_ld" = no; then
17910 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17911 + hardcode_libdir_separator_F77=:
17913 + hardcode_direct_F77=yes
17914 + export_dynamic_flag_spec_F77='${wl}-E'
17916 + # hardcode_minus_L: Not really in the search PATH,
17917 + # but as the default location of the library.
17918 + hardcode_minus_L_F77=yes
17923 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17924 + case $host_cpu in
17926 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17929 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17932 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17936 - case "$host_cpu" in
17938 - archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17939 + case $host_cpu in
17941 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17944 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17947 - archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17948 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17952 if test "$with_gnu_ld" = no; then
17953 - case "$host_cpu" in
17955 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17956 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17957 + hardcode_libdir_separator_F77=:
17959 + case $host_cpu in
17961 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17962 - hardcode_libdir_separator_F77=:
17963 hardcode_direct_F77=no
17964 hardcode_shlibpath_var_F77=no
17967 - hardcode_libdir_flag_spec_F77='-L$libdir'
17968 - hardcode_direct_F77=no
17969 - hardcode_shlibpath_var_F77=no
17971 - # hardcode_minus_L: Not really in the search PATH,
17972 - # but as the default location of the library.
17973 - hardcode_minus_L_F77=yes
17976 - hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17977 - hardcode_libdir_separator_F77=:
17978 hardcode_direct_F77=yes
17979 export_dynamic_flag_spec_F77='${wl}-E'
17981 @@ -14758,7 +15337,7 @@
17982 link_all_deplibs_F77=yes
17986 + netbsd* | netbsdelf*-gnu)
17987 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17988 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17990 @@ -14836,14 +15415,6 @@
17991 hardcode_libdir_separator_F77=:
17995 - archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17996 - hardcode_shlibpath_var_F77=no
17997 - export_dynamic_flag_spec_F77='${wl}-Bexport'
17998 - runpath_var=LD_RUN_PATH
17999 - hardcode_runpath_var=yes
18003 no_undefined_flag_F77=' -z text'
18004 if test "$GCC" = yes; then
18005 @@ -14929,36 +15500,45 @@
18010 - archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18011 - hardcode_direct_F77=yes
18012 - hardcode_minus_L_F77=no
18013 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
18014 + no_undefined_flag_F77='${wl}-z,text'
18015 + archive_cmds_need_lc_F77=no
18016 hardcode_shlibpath_var_F77=no
18017 - hardcode_runpath_var=yes
18018 - runpath_var=LD_RUN_PATH
18020 + runpath_var='LD_RUN_PATH'
18022 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
18023 - no_undefined_flag_F77='${wl}-z ${wl}text'
18024 if test "$GCC" = yes; then
18025 - archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18026 + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18027 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18029 - archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18030 + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18031 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18033 - runpath_var='LD_RUN_PATH'
18034 - hardcode_shlibpath_var_F77=no
18038 - no_undefined_flag_F77=' -z text'
18039 - # $CC -shared without GNU ld will not create a library from C++
18040 - # object files and a static libstdc++, better avoid it by now
18041 - archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18042 - archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18043 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18044 - hardcode_libdir_flag_spec_F77=
18045 + sysv5* | sco3.2v5* | sco5v6*)
18046 + # Note: We can NOT use -z defs as we might desire, because we do not
18047 + # link with -lc, and that would cause any symbols used from libc to
18048 + # always be unresolved, which means just about no library would
18049 + # ever link correctly. If we're not using GNU ld we use -z text
18050 + # though, which does catch some bad symbols but isn't as heavy-handed
18052 + no_undefined_flag_F77='${wl}-z,text'
18053 + allow_undefined_flag_F77='${wl}-z,nodefs'
18054 + archive_cmds_need_lc_F77=no
18055 hardcode_shlibpath_var_F77=no
18056 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18057 + hardcode_libdir_separator_F77=':'
18058 + link_all_deplibs_F77=yes
18059 + export_dynamic_flag_spec_F77='${wl}-Bexport'
18060 runpath_var='LD_RUN_PATH'
18062 + if test "$GCC" = yes; then
18063 + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18064 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18066 + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18067 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18072 @@ -14973,15 +15553,10 @@
18076 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
18077 -echo "${ECHO_T}$ld_shlibs_F77" >&6
18078 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
18079 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
18080 test "$ld_shlibs_F77" = no && can_build_shared=no
18082 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18083 -if test "$GCC" = yes; then
18084 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18088 # Do we need to explicitly link libc?
18090 @@ -14999,8 +15574,8 @@
18091 # Test whether the compiler implicitly links with -lc since on some
18092 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18093 # to ld, don't add -lc before -lgcc.
18094 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18095 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18096 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18097 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18099 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18101 @@ -15014,6 +15589,7 @@
18102 libobjs=conftest.$ac_objext
18104 wl=$lt_prog_compiler_wl_F77
18105 + pic_flag=$lt_prog_compiler_pic_F77
18109 @@ -15036,16 +15612,16 @@
18110 cat conftest.err 1>&5
18113 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18114 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
18115 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18116 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
18123 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18124 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18125 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18126 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18127 library_names_spec=
18128 libname_spec='lib$name'
18130 @@ -15174,7 +15750,8 @@
18131 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18132 dldir=$destdir/`dirname \$dlpath`~
18133 test -d \$dldir || mkdir -p \$dldir~
18134 - $install_prog $dir/$dlname \$dldir/$dlname'
18135 + $install_prog $dir/$dlname \$dldir/$dlname~
18136 + chmod a+x \$dldir/$dlname'
18137 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18138 dlpath=$dir/\$dldll~
18140 @@ -15209,30 +15786,6 @@
18145 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
18146 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18147 - supports_anon_versioning=no
18148 - case `$LD -v 2>/dev/null` in
18149 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18150 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18151 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18152 - *\ 2.11.*) ;; # other 2.11 versions
18153 - *) supports_anon_versioning=yes ;;
18155 - if test $supports_anon_versioning = yes; then
18156 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
18157 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18158 -$echo "local: *; };" >> $output_objdir/$libname.ver~
18159 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18161 - $archive_expsym_cmds="$archive_cmds"
18169 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18171 @@ -15251,7 +15804,7 @@
18172 soname_spec='${libname}${release}${major}$shared_ext'
18173 shlibpath_overrides_runpath=yes
18174 shlibpath_var=DYLD_LIBRARY_PATH
18175 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
18176 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18177 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18178 if test "$GCC" = yes; then
18179 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"`
18180 @@ -15274,22 +15827,17 @@
18185 - version_type=linux
18186 - need_lib_prefix=no
18188 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18189 - soname_spec='${libname}${release}${shared_ext}$major'
18190 - shlibpath_var=LD_LIBRARY_PATH
18191 - shlibpath_overrides_runpath=no
18192 - hardcode_into_libs=yes
18193 - dynamic_linker='GNU ld.so'
18196 freebsd* | dragonfly*)
18197 # DragonFly does not have aout. When/if they implement a new
18198 # versioning mechanism, adjust this.
18199 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18200 + if test -x /usr/bin/objformat; then
18201 + objformat=`/usr/bin/objformat`
18204 + freebsd[123]*) objformat=aout ;;
18205 + *) objformat=elf ;;
18208 version_type=freebsd-$objformat
18209 case $version_type in
18211 @@ -15311,10 +15859,15 @@
18212 shlibpath_overrides_runpath=yes
18213 hardcode_into_libs=yes
18216 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18217 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18218 shlibpath_overrides_runpath=no
18219 hardcode_into_libs=yes
18221 + freebsd*) # from 4.6 on
18222 + shlibpath_overrides_runpath=yes
18223 + hardcode_into_libs=yes
18228 @@ -15334,7 +15887,7 @@
18232 - case "$host_cpu" in
18233 + case $host_cpu in
18236 hardcode_into_libs=yes
18237 @@ -15374,6 +15927,18 @@
18238 postinstall_cmds='chmod 555 $lib'
18242 + version_type=linux
18243 + need_lib_prefix=no
18245 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18246 + soname_spec='${libname}${release}${shared_ext}$major'
18247 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18248 + shlibpath_var=LD_LIBRARY_PATH
18249 + shlibpath_overrides_runpath=no
18250 + hardcode_into_libs=yes
18253 irix5* | irix6* | nonstopux*)
18255 nonstopux*) version_type=nonstopux ;;
18256 @@ -15417,7 +15982,7 @@
18259 # This must be Linux ELF.
18261 +linux* | k*bsd*-gnu)
18265 @@ -15437,13 +16002,6 @@
18266 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18269 - case $host_cpu:$lt_cv_cc_64bit_output in
18270 - powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
18271 - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64"
18272 - sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64"
18276 # We used to test for /lib/ld.so.1 and disable shared libraries on
18277 # powerpc, because MkLinux only supported shared libraries with the
18278 # GNU dynamic linker. Since this was broken with cross compilers,
18279 @@ -15451,33 +16009,9 @@
18280 # people can always --disable-shared, the test was removed, and we
18281 # assume the GNU/Linux dynamic linker is in use.
18282 dynamic_linker='GNU/Linux ld.so'
18284 - # Find out which ABI we are using (multilib Linux x86_64 hack).
18286 - case "$host_cpu" in
18288 - echo '#line 15459 "configure"' > conftest.$ac_ext
18289 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18290 - (eval $ac_compile) 2>&5
18292 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 - (exit $ac_status); }; then
18294 - case `/usr/bin/file conftest.$ac_objext` in
18305 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
18306 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18314 @@ -15486,7 +16020,7 @@
18315 shlibpath_var=LD_LIBRARY_PATH
18316 shlibpath_overrides_runpath=no
18317 hardcode_into_libs=yes
18318 - dynamic_linker='GNU ld.so'
18319 + dynamic_linker='NetBSD ld.elf_so'
18323 @@ -15526,6 +16060,7 @@
18327 + sys_lib_dlsearch_path_spec="/usr/lib"
18329 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18331 @@ -15569,13 +16104,6 @@
18332 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18337 - soname_spec='${libname}${release}${shared_ext}$major'
18338 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18339 - shlibpath_var=LD_LIBRARY_PATH
18345 @@ -15601,7 +16129,7 @@
18349 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18353 soname_spec='${libname}${release}${shared_ext}$major'
18354 @@ -15634,6 +16162,29 @@
18358 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18359 + version_type=freebsd-elf
18360 + need_lib_prefix=no
18362 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18363 + soname_spec='${libname}${release}${shared_ext}$major'
18364 + shlibpath_var=LD_LIBRARY_PATH
18365 + hardcode_into_libs=yes
18366 + if test "$with_gnu_ld" = yes; then
18367 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18368 + shlibpath_overrides_runpath=no
18370 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18371 + shlibpath_overrides_runpath=yes
18374 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18378 + sys_lib_dlsearch_path_spec='/usr/lib'
18383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18384 @@ -15645,12 +16196,17 @@
18388 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18389 -echo "${ECHO_T}$dynamic_linker" >&6
18390 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18391 +echo "${ECHO_T}$dynamic_linker" >&6; }
18392 test "$dynamic_linker" = no && can_build_shared=no
18394 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18395 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18396 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18397 +if test "$GCC" = yes; then
18398 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18401 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18402 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18403 hardcode_action_F77=
18404 if test -n "$hardcode_libdir_flag_spec_F77" || \
18405 test -n "$runpath_var_F77" || \
18406 @@ -15674,8 +16230,8 @@
18408 hardcode_action_F77=unsupported
18410 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18411 -echo "${ECHO_T}$hardcode_action_F77" >&6
18412 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18413 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
18415 if test "$hardcode_action_F77" = relink; then
18416 # Fast installation is not supported
18417 @@ -15686,36 +16242,6 @@
18418 enable_fast_install=needless
18423 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18424 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
18425 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18426 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18427 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18428 - echo "$as_me:$LINENO: result: yes" >&5
18429 -echo "${ECHO_T}yes" >&6
18431 -# FIXME - insert some real tests, host_os isn't really good enough
18434 - if test -n "$STRIP" ; then
18435 - striplib="$STRIP -x"
18436 - echo "$as_me:$LINENO: result: yes" >&5
18437 -echo "${ECHO_T}yes" >&6
18439 - echo "$as_me:$LINENO: result: no" >&5
18440 -echo "${ECHO_T}no" >&6
18444 - echo "$as_me:$LINENO: result: no" >&5
18445 -echo "${ECHO_T}no" >&6
18452 # The else clause should only fire when bootstrapping the
18453 # libtool distribution, otherwise you forgot to ship ltmain.sh
18454 @@ -15730,7 +16256,7 @@
18455 # Now quote all the things that may contain metacharacters while being
18456 # careful not to overquote the AC_SUBSTed values. We take copies of the
18457 # variables and quote the copies for generation of the libtool script.
18458 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18459 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18461 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18462 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18463 @@ -15848,6 +16374,9 @@
18467 +# LTCC compiler flags.
18468 +LTCFLAGS=$lt_LTCFLAGS
18470 # A language-specific compiler.
18471 CC=$lt_compiler_F77
18473 @@ -16139,7 +16668,6 @@
18474 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18478 # Source file extension for Java test sources.
18481 @@ -16158,6 +16686,9 @@
18482 # If no C compiler was specified, use CC.
18485 +# If no C compiler flags were specified, use CFLAGS.
18486 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18488 # Allow CC to be a program name with arguments.
18491 @@ -16165,13 +16696,13 @@
18492 # save warnings/boilerplate of simple test code
18493 ac_outfile=conftest.$ac_objext
18494 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18495 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
18496 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18497 _lt_compiler_boilerplate=`cat conftest.err`
18500 ac_outfile=conftest.$ac_objext
18501 printf "$lt_simple_link_test_code" >conftest.$ac_ext
18502 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
18503 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18504 _lt_linker_boilerplate=`cat conftest.err`
18507 @@ -16204,8 +16735,8 @@
18508 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18511 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18512 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
18513 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18514 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18515 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18516 echo $ECHO_N "(cached) $ECHO_C" >&6
18518 @@ -16219,28 +16750,28 @@
18519 # with a dollar sign (not a hyphen), so the echo should work correctly.
18520 # The option is referenced via a variable to avoid confusing sed.
18521 lt_compile=`echo "$ac_compile" | $SED \
18522 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18523 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18525 -e 's:$: $lt_compiler_flag:'`
18526 - (eval echo "\"\$as_me:16225: $lt_compile\"" >&5)
18527 + (eval echo "\"\$as_me:16756: $lt_compile\"" >&5)
18528 (eval "$lt_compile" 2>conftest.err)
18530 cat conftest.err >&5
18531 - echo "$as_me:16229: \$? = $ac_status" >&5
18532 + echo "$as_me:16760: \$? = $ac_status" >&5
18533 if (exit $ac_status) && test -s "$ac_outfile"; then
18534 # The compiler can only warn and ignore the option if not recognized
18535 # So say no if there are warnings other than the usual output.
18536 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
18537 - $SED '/^$/d' conftest.err >conftest.er2
18538 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
18539 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18540 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18541 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18542 lt_cv_prog_compiler_rtti_exceptions=yes
18548 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18549 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
18550 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18551 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18553 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18554 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18555 @@ -16254,8 +16785,8 @@
18556 lt_prog_compiler_pic_GCJ=
18557 lt_prog_compiler_static_GCJ=
18559 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18560 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
18561 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18562 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18564 if test "$GCC" = yes; then
18565 lt_prog_compiler_wl_GCJ='-Wl,'
18566 @@ -16293,6 +16824,11 @@
18567 lt_prog_compiler_pic_GCJ='-fno-common'
18571 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18572 + # Instead, we relocate shared libraries at runtime.
18576 # Just because we use GCC doesn't mean we suddenly get shared libraries
18577 # on systems that don't support them.
18578 @@ -16309,7 +16845,7 @@
18580 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18581 # not for PA HP-UX.
18582 - case "$host_cpu" in
18583 + case $host_cpu in
18587 @@ -16356,7 +16892,7 @@
18588 lt_prog_compiler_wl_GCJ='-Wl,'
18589 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18590 # not for PA HP-UX.
18591 - case "$host_cpu" in
18592 + case $host_cpu in
18596 @@ -16379,19 +16915,19 @@
18597 lt_prog_compiler_static_GCJ='-Bstatic'
18601 + linux* | k*bsd*-gnu)
18602 case $cc_basename in
18604 lt_prog_compiler_wl_GCJ='-Wl,'
18605 lt_prog_compiler_pic_GCJ='-KPIC'
18606 lt_prog_compiler_static_GCJ='-static'
18608 - pgcc* | pgf77* | pgf90*)
18609 + pgcc* | pgf77* | pgf90* | pgf95*)
18610 # Portland Group compilers (*not* the Pentium gcc compiler,
18611 # which looks to be a dead project)
18612 lt_prog_compiler_wl_GCJ='-Wl,'
18613 lt_prog_compiler_pic_GCJ='-fpic'
18614 - lt_prog_compiler_static_GCJ='-static'
18615 + lt_prog_compiler_static_GCJ='-Bstatic'
18618 lt_prog_compiler_wl_GCJ='-Wl,'
18619 @@ -16407,11 +16943,6 @@
18620 lt_prog_compiler_static_GCJ='-non_shared'
18624 - lt_prog_compiler_pic_GCJ='-Kpic'
18625 - lt_prog_compiler_static_GCJ='-dn'
18629 lt_prog_compiler_pic_GCJ='-KPIC'
18630 lt_prog_compiler_static_GCJ='-Bstatic'
18631 @@ -16429,7 +16960,7 @@
18632 lt_prog_compiler_static_GCJ='-Bstatic'
18635 - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18636 + sysv4 | sysv4.2uw2* | sysv4.3*)
18637 lt_prog_compiler_wl_GCJ='-Wl,'
18638 lt_prog_compiler_pic_GCJ='-KPIC'
18639 lt_prog_compiler_static_GCJ='-Bstatic'
18640 @@ -16442,6 +16973,12 @@
18644 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18645 + lt_prog_compiler_wl_GCJ='-Wl,'
18646 + lt_prog_compiler_pic_GCJ='-KPIC'
18647 + lt_prog_compiler_static_GCJ='-Bstatic'
18651 lt_prog_compiler_wl_GCJ='-Wl,'
18652 lt_prog_compiler_can_build_shared_GCJ=no
18653 @@ -16458,16 +16995,16 @@
18657 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18658 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
18659 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18660 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18663 # Check to make sure the PIC flag actually works.
18665 if test -n "$lt_prog_compiler_pic_GCJ"; then
18667 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18668 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
18669 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18670 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18671 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18672 echo $ECHO_N "(cached) $ECHO_C" >&6
18674 @@ -16481,28 +17018,28 @@
18675 # with a dollar sign (not a hyphen), so the echo should work correctly.
18676 # The option is referenced via a variable to avoid confusing sed.
18677 lt_compile=`echo "$ac_compile" | $SED \
18678 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18679 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18681 -e 's:$: $lt_compiler_flag:'`
18682 - (eval echo "\"\$as_me:16487: $lt_compile\"" >&5)
18683 + (eval echo "\"\$as_me:17024: $lt_compile\"" >&5)
18684 (eval "$lt_compile" 2>conftest.err)
18686 cat conftest.err >&5
18687 - echo "$as_me:16491: \$? = $ac_status" >&5
18688 + echo "$as_me:17028: \$? = $ac_status" >&5
18689 if (exit $ac_status) && test -s "$ac_outfile"; then
18690 # The compiler can only warn and ignore the option if not recognized
18691 # So say no if there are warnings other than the usual output.
18692 - $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
18693 - $SED '/^$/d' conftest.err >conftest.er2
18694 - if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
18695 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18696 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18697 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18698 lt_prog_compiler_pic_works_GCJ=yes
18704 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18705 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
18706 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18707 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18709 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18710 case $lt_prog_compiler_pic_GCJ in
18711 @@ -16515,7 +17052,7 @@
18715 -case "$host_os" in
18717 # For platforms which do not support PIC, -DPIC is meaningless:
18719 lt_prog_compiler_pic_GCJ=
18720 @@ -16525,43 +17062,85 @@
18724 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18725 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
18726 -if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18728 +# Check to make sure the static flag actually works.
18730 +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18731 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18732 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18733 +if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18736 - lt_cv_prog_compiler_c_o_GCJ=no
18737 - $rm -r conftest 2>/dev/null
18741 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18743 - lt_compiler_flag="-o out/conftest2.$ac_objext"
18744 - # Insert the option either (1) after the last *FLAGS variable, or
18745 - # (2) before a word containing "conftest.", or (3) at the end.
18746 - # Note that $ac_compile itself does not contain backslashes and begins
18747 - # with a dollar sign (not a hyphen), so the echo should work correctly.
18748 - lt_compile=`echo "$ac_compile" | $SED \
18749 - -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18750 - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18751 - -e 's:$: $lt_compiler_flag:'`
18752 - (eval echo "\"\$as_me:16549: $lt_compile\"" >&5)
18753 + lt_prog_compiler_static_works_GCJ=no
18754 + save_LDFLAGS="$LDFLAGS"
18755 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18756 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
18757 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18758 + # The linker can only warn and ignore the option if not recognized
18759 + # So say no if there are warnings
18760 + if test -s conftest.err; then
18761 + # Append any errors to the config.log.
18762 + cat conftest.err 1>&5
18763 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18764 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18765 + if diff conftest.exp conftest.er2 >/dev/null; then
18766 + lt_prog_compiler_static_works_GCJ=yes
18769 + lt_prog_compiler_static_works_GCJ=yes
18773 + LDFLAGS="$save_LDFLAGS"
18776 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18777 +echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
18779 +if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
18782 + lt_prog_compiler_static_GCJ=
18786 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18787 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18788 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18789 + echo $ECHO_N "(cached) $ECHO_C" >&6
18791 + lt_cv_prog_compiler_c_o_GCJ=no
18792 + $rm -r conftest 2>/dev/null
18796 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18798 + lt_compiler_flag="-o out/conftest2.$ac_objext"
18799 + # Insert the option either (1) after the last *FLAGS variable, or
18800 + # (2) before a word containing "conftest.", or (3) at the end.
18801 + # Note that $ac_compile itself does not contain backslashes and begins
18802 + # with a dollar sign (not a hyphen), so the echo should work correctly.
18803 + lt_compile=`echo "$ac_compile" | $SED \
18804 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18805 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18806 + -e 's:$: $lt_compiler_flag:'`
18807 + (eval echo "\"\$as_me:17128: $lt_compile\"" >&5)
18808 (eval "$lt_compile" 2>out/conftest.err)
18810 cat out/conftest.err >&5
18811 - echo "$as_me:16553: \$? = $ac_status" >&5
18812 + echo "$as_me:17132: \$? = $ac_status" >&5
18813 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18815 # The compiler can only warn and ignore the option if not recognized
18816 # So say no if there are warnings
18817 - $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
18818 - $SED '/^$/d' out/conftest.err >out/conftest.er2
18819 - if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18820 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18821 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18822 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18823 lt_cv_prog_compiler_c_o_GCJ=yes
18829 # SGI C++ compiler will create directory out/ii_files/ for
18830 # template instantiation
18831 @@ -16572,23 +17151,23 @@
18835 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18836 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
18837 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18838 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18841 hard_links="nottested"
18842 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18843 # do not overwrite the value of need_locks provided by the user
18844 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18845 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
18846 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18847 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18850 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18852 ln conftest.a conftest.b 2>&5 || hard_links=no
18853 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18854 - echo "$as_me:$LINENO: result: $hard_links" >&5
18855 -echo "${ECHO_T}$hard_links" >&6
18856 + { echo "$as_me:$LINENO: result: $hard_links" >&5
18857 +echo "${ECHO_T}$hard_links" >&6; }
18858 if test "$hard_links" = no; then
18859 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18860 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18861 @@ -16598,8 +17177,8 @@
18865 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18866 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
18867 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18868 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18871 allow_undefined_flag_GCJ=
18872 @@ -16657,6 +17236,10 @@
18877 + # we just hope/assume this is gcc and not c89 (= MSVC++)
18883 @@ -16741,7 +17324,7 @@
18884 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18886 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18887 - archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18888 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18889 # If the export-symbols file already is a .def file (1st line
18890 # is EXPORTS), use it as is; otherwise, prepend...
18891 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18892 @@ -16750,22 +17333,37 @@
18893 echo EXPORTS > $output_objdir/$soname.def;
18894 cat $export_symbols >> $output_objdir/$soname.def;
18896 - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18897 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18905 + hardcode_direct_GCJ=no
18906 + hardcode_shlibpath_var_GCJ=no
18907 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18908 + export_dynamic_flag_spec_GCJ='${wl}-E'
18909 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18910 + # Instead, shared libraries are loaded at an image base (0x10000000 by
18911 + # default) and relocated if they conflict, which is a slow very memory
18912 + # consuming and fragmenting process. To avoid this, we pick a random,
18913 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18914 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18915 + archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18916 + archive_expsym_cmds_GCJ='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'
18919 + linux* | k*bsd*-gnu)
18920 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18922 case $cc_basename,$host_cpu in
18923 pgcc*) # Portland Group C compiler
18924 - whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18925 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18926 tmp_addflag=' $pic_flag'
18928 - pgf77* | pgf90* ) # Portland Group f77 and f90 compilers
18929 - whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18930 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
18931 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18932 tmp_addflag=' $pic_flag -Mnomain' ;;
18933 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
18934 tmp_addflag=' -i_dynamic' ;;
18935 @@ -16782,12 +17380,13 @@
18936 $echo "local: *; };" >> $output_objdir/$libname.ver~
18937 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18939 + link_all_deplibs_GCJ=no
18946 + netbsd* | netbsdelf*-gnu)
18947 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18948 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18950 @@ -16797,7 +17396,7 @@
18954 - solaris* | sysv5*)
18956 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18959 @@ -16818,6 +17417,33 @@
18963 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18964 + case `$LD -v 2>&1` in
18965 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18967 + cat <<_LT_EOF 1>&2
18969 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18970 +*** reliably create shared libraries on SCO systems. Therefore, libtool
18971 +*** is disabling shared libraries support. We urge you to upgrade GNU
18972 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18973 +*** your PATH or compiler configuration so that the native linker is
18974 +*** used, and then restart.
18979 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18980 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18981 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18982 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18991 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18993 @@ -16851,7 +17477,7 @@
18994 # Note: this linker hardcodes the directories in LIBPATH if there
18995 # are no directories specified by -L.
18996 hardcode_minus_L_GCJ=yes
18997 - if test "$GCC" = yes && test -z "$link_static_flag"; then
18998 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18999 # Neither direct hardcoding nor static linking is supported with a
19001 hardcode_direct_GCJ=unsupported
19002 @@ -16885,6 +17511,7 @@
19009 exp_sym_flag='-bexport'
19010 @@ -16922,6 +17549,7 @@
19011 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19012 hardcode_libdir_separator_GCJ=
19016 shared_flag='-shared'
19017 if test "$aix_use_runtimelinking" = yes; then
19018 @@ -16934,11 +17562,11 @@
19019 # chokes on -Wl,-G. The following line is correct:
19022 - if test "$aix_use_runtimelinking" = yes; then
19023 + if test "$aix_use_runtimelinking" = yes; then
19024 shared_flag='${wl}-G'
19026 shared_flag='${wl}-bM:SRE'
19032 @@ -16966,24 +17594,36 @@
19035 rm -f conftest.$ac_objext conftest$ac_exeext
19036 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19037 - (eval $ac_link) 2>conftest.er1
19038 +if { (ac_try="$ac_link"
19039 +case "(($ac_try" in
19040 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19041 + *) ac_try_echo=$ac_try;;
19043 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19044 + (eval "$ac_link") 2>conftest.er1
19046 grep -v '^ *+' conftest.er1 >conftest.err
19048 cat conftest.err >&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); } &&
19051 - { ac_try='test -z "$ac_c_werror_flag"
19052 - || test ! -s conftest.err'
19053 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 - (eval $ac_try) 2>&5
19055 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19056 + { (case "(($ac_try" in
19057 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 + *) ac_try_echo=$ac_try;;
19060 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 + (eval "$ac_try") 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; } &&
19065 { ac_try='test -s conftest$ac_exeext'
19066 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 - (eval $ac_try) 2>&5
19068 + { (case "(($ac_try" in
19069 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19070 + *) ac_try_echo=$ac_try;;
19072 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19073 + (eval "$ac_try") 2>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; }; then
19077 @@ -16997,18 +17637,20 @@
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.$ac_ext >&5
19083 -rm -f conftest.err conftest.$ac_objext \
19085 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19086 conftest$ac_exeext conftest.$ac_ext
19087 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19089 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19090 - archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19091 + archive_expsym_cmds_GCJ="\$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"
19093 if test "$host_cpu" = ia64; then
19094 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19095 allow_undefined_flag_GCJ="-z nodefs"
19096 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
19097 + archive_expsym_cmds_GCJ="\$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"
19099 # Determine the default libpath from the value encoded in an empty executable.
19100 cat >conftest.$ac_ext <<_ACEOF
19101 @@ -17027,24 +17669,36 @@
19104 rm -f conftest.$ac_objext conftest$ac_exeext
19105 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19106 - (eval $ac_link) 2>conftest.er1
19107 +if { (ac_try="$ac_link"
19108 +case "(($ac_try" in
19109 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19110 + *) ac_try_echo=$ac_try;;
19112 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19113 + (eval "$ac_link") 2>conftest.er1
19115 grep -v '^ *+' conftest.er1 >conftest.err
19117 cat conftest.err >&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } &&
19120 - { ac_try='test -z "$ac_c_werror_flag"
19121 - || test ! -s conftest.err'
19122 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 - (eval $ac_try) 2>&5
19124 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19125 + { (case "(($ac_try" in
19126 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19127 + *) ac_try_echo=$ac_try;;
19129 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19130 + (eval "$ac_try") 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; } &&
19134 { ac_try='test -s conftest$ac_exeext'
19135 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 - (eval $ac_try) 2>&5
19137 + { (case "(($ac_try" in
19138 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19139 + *) ac_try_echo=$ac_try;;
19141 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 + (eval "$ac_try") 2>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; }; then
19146 @@ -17058,8 +17712,10 @@
19147 echo "$as_me: failed program was:" >&5
19148 sed 's/^/| /' conftest.$ac_ext >&5
19152 -rm -f conftest.err conftest.$ac_objext \
19154 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19155 conftest$ac_exeext conftest.$ac_ext
19156 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19158 @@ -17068,13 +17724,11 @@
19159 # -berok will link without error, but may produce a broken library.
19160 no_undefined_flag_GCJ=' ${wl}-bernotok'
19161 allow_undefined_flag_GCJ=' ${wl}-berok'
19162 - # -bexpall does not export symbols beginning with underscore (_)
19163 - always_export_symbols_GCJ=yes
19164 # Exported symbols can be pulled into shared objects from archives
19165 - whole_archive_flag_spec_GCJ=' '
19166 + whole_archive_flag_spec_GCJ='$convenience'
19167 archive_cmds_need_lc_GCJ=yes
19168 - # This is similar to how AIX traditionally builds it's shared libraries.
19169 - archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
19170 + # This is similar to how AIX traditionally builds its shared libraries.
19171 + archive_expsym_cmds_GCJ="\$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'
19175 @@ -17113,7 +17767,7 @@
19178 darwin* | rhapsody*)
19179 - case "$host_os" in
19181 rhapsody* | darwin1.[012])
19182 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
19184 @@ -17142,7 +17796,7 @@
19185 output_verbose_link_cmd='echo'
19186 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
19187 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19188 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19189 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19190 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19191 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19193 @@ -17151,7 +17805,7 @@
19194 output_verbose_link_cmd='echo'
19195 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
19196 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19197 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19198 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19199 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19200 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19202 @@ -17192,7 +17846,7 @@
19205 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19206 - freebsd* | kfreebsd*-gnu | dragonfly*)
19207 + freebsd* | dragonfly*)
19208 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19209 hardcode_libdir_flag_spec_GCJ='-R$libdir'
19210 hardcode_direct_GCJ=yes
19211 @@ -17215,47 +17869,62 @@
19212 export_dynamic_flag_spec_GCJ='${wl}-E'
19215 - hpux10* | hpux11*)
19217 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19218 - case "$host_cpu" in
19220 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19222 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19224 + if test "$with_gnu_ld" = no; then
19225 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19226 + hardcode_libdir_separator_GCJ=:
19228 + hardcode_direct_GCJ=yes
19229 + export_dynamic_flag_spec_GCJ='${wl}-E'
19231 + # hardcode_minus_L: Not really in the search PATH,
19232 + # but as the default location of the library.
19233 + hardcode_minus_L_GCJ=yes
19238 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19239 + case $host_cpu in
19241 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19244 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19247 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19251 - case "$host_cpu" in
19253 - archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
19254 + case $host_cpu in
19256 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19259 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19262 - archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19263 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19267 if test "$with_gnu_ld" = no; then
19268 - case "$host_cpu" in
19270 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19271 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19272 + hardcode_libdir_separator_GCJ=:
19274 + case $host_cpu in
19276 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
19277 - hardcode_libdir_separator_GCJ=:
19278 hardcode_direct_GCJ=no
19279 hardcode_shlibpath_var_GCJ=no
19282 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
19283 - hardcode_direct_GCJ=no
19284 - hardcode_shlibpath_var_GCJ=no
19286 - # hardcode_minus_L: Not really in the search PATH,
19287 - # but as the default location of the library.
19288 - hardcode_minus_L_GCJ=yes
19291 - hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19292 - hardcode_libdir_separator_GCJ=:
19293 hardcode_direct_GCJ=yes
19294 export_dynamic_flag_spec_GCJ='${wl}-E'
19296 @@ -17279,7 +17948,7 @@
19297 link_all_deplibs_GCJ=yes
19301 + netbsd* | netbsdelf*-gnu)
19302 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19303 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19305 @@ -17357,14 +18026,6 @@
19306 hardcode_libdir_separator_GCJ=:
19310 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19311 - hardcode_shlibpath_var_GCJ=no
19312 - export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19313 - runpath_var=LD_RUN_PATH
19314 - hardcode_runpath_var=yes
19318 no_undefined_flag_GCJ=' -z text'
19319 if test "$GCC" = yes; then
19320 @@ -17450,1596 +18111,746 @@
19325 - archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19326 - hardcode_direct_GCJ=yes
19327 - hardcode_minus_L_GCJ=no
19328 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
19329 + no_undefined_flag_GCJ='${wl}-z,text'
19330 + archive_cmds_need_lc_GCJ=no
19331 hardcode_shlibpath_var_GCJ=no
19332 - hardcode_runpath_var=yes
19333 - runpath_var=LD_RUN_PATH
19335 + runpath_var='LD_RUN_PATH'
19337 - sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
19338 - no_undefined_flag_GCJ='${wl}-z ${wl}text'
19339 if test "$GCC" = yes; then
19340 - archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19341 + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19342 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19344 - archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19345 + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19346 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19348 - runpath_var='LD_RUN_PATH'
19349 - hardcode_shlibpath_var_GCJ=no
19353 - no_undefined_flag_GCJ=' -z text'
19354 - # $CC -shared without GNU ld will not create a library from C++
19355 - # object files and a static libstdc++, better avoid it by now
19356 - archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19357 - archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19358 - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19359 - hardcode_libdir_flag_spec_GCJ=
19360 - hardcode_shlibpath_var_GCJ=no
19361 - runpath_var='LD_RUN_PATH'
19365 - archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19366 - hardcode_libdir_flag_spec_GCJ='-L$libdir'
19367 + sysv5* | sco3.2v5* | sco5v6*)
19368 + # Note: We can NOT use -z defs as we might desire, because we do not
19369 + # link with -lc, and that would cause any symbols used from libc to
19370 + # always be unresolved, which means just about no library would
19371 + # ever link correctly. If we're not using GNU ld we use -z text
19372 + # though, which does catch some bad symbols but isn't as heavy-handed
19374 + no_undefined_flag_GCJ='${wl}-z,text'
19375 + allow_undefined_flag_GCJ='${wl}-z,nodefs'
19376 + archive_cmds_need_lc_GCJ=no
19377 hardcode_shlibpath_var_GCJ=no
19386 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19387 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
19388 -test "$ld_shlibs_GCJ" = no && can_build_shared=no
19390 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19391 -if test "$GCC" = yes; then
19392 - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19396 -# Do we need to explicitly link libc?
19398 -case "x$archive_cmds_need_lc_GCJ" in
19400 - # Assume -lc should be added
19401 - archive_cmds_need_lc_GCJ=yes
19403 - if test "$enable_shared" = yes && test "$GCC" = yes; then
19404 - case $archive_cmds_GCJ in
19406 - # FIXME: we may have to deal with multi-command sequences.
19409 - # Test whether the compiler implicitly links with -lc since on some
19410 - # systems, -lgcc has to come before -lc. If gcc already passes -lc
19411 - # to ld, don't add -lc before -lgcc.
19412 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19413 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
19415 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19417 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19418 - (eval $ac_compile) 2>&5
19420 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 - (exit $ac_status); } 2>conftest.err; then
19424 - libobjs=conftest.$ac_objext
19426 - wl=$lt_prog_compiler_wl_GCJ
19427 - compiler_flags=-v
19432 - lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19433 - allow_undefined_flag_GCJ=
19434 - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19435 - (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19437 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 - (exit $ac_status); }
19440 - archive_cmds_need_lc_GCJ=no
19442 - archive_cmds_need_lc_GCJ=yes
19444 - allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19446 - cat conftest.err 1>&5
19449 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19450 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
19457 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19458 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
19459 -library_names_spec=
19460 -libname_spec='lib$name'
19464 -postuninstall_cmds=
19468 -shlibpath_overrides_runpath=unknown
19470 -dynamic_linker="$host_os ld.so"
19471 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
19472 -if test "$GCC" = yes; then
19473 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19474 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19475 - # if the path contains ";" then we assume it to be the separator
19476 - # otherwise default to the standard path separator (i.e. ":") - it is
19477 - # assumed that no part of a normal pathname contains ";" but that should
19478 - # okay in the real world where ";" in dirpaths is itself problematic.
19479 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19481 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19484 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19486 -need_lib_prefix=unknown
19487 -hardcode_into_libs=no
19489 -# when you set need_version to no, make sure it does not cause -set_version
19490 -# flags to be left without arguments
19491 -need_version=unknown
19495 - version_type=linux
19496 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19497 - shlibpath_var=LIBPATH
19499 - # AIX 3 has no versioning support, so we append a major version to the name.
19500 - soname_spec='${libname}${release}${shared_ext}$major'
19504 - version_type=linux
19505 - need_lib_prefix=no
19507 - hardcode_into_libs=yes
19508 - if test "$host_cpu" = ia64; then
19509 - # AIX 5 supports IA64
19510 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19511 - shlibpath_var=LD_LIBRARY_PATH
19513 - # With GCC up to 2.95.x, collect2 would create an import file
19514 - # for dependence libraries. The import file would start with
19515 - # the line `#! .'. This would cause the generated library to
19516 - # depend on `.', always an invalid library. This was fixed in
19517 - # development snapshots of GCC prior to 3.0.
19519 - aix4 | aix4.[01] | aix4.[01].*)
19520 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19522 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19525 - can_build_shared=no
19529 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19530 - # soname into executable. Probably we can add versioning support to
19531 - # collect2, so additional links can be useful in future.
19532 - if test "$aix_use_runtimelinking" = yes; then
19533 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19534 - # instead of lib<name>.a to let people know that these are not
19535 - # typical AIX shared libraries.
19536 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19538 - # We preserve .a as extension for shared libraries through AIX4.2
19539 - # and later when we are not doing run time linking.
19540 - library_names_spec='${libname}${release}.a $libname.a'
19541 - soname_spec='${libname}${release}${shared_ext}$major'
19543 - shlibpath_var=LIBPATH
19548 - library_names_spec='$libname.ixlibrary $libname.a'
19549 - # Create ${libname}_ixlibrary.a entries in /sys/libs.
19550 - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
19554 - library_names_spec='${libname}${shared_ext}'
19555 - dynamic_linker="$host_os ld.so"
19556 - shlibpath_var=LIBRARY_PATH
19560 - version_type=linux
19562 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19563 - soname_spec='${libname}${release}${shared_ext}$major'
19564 - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19565 - shlibpath_var=LD_LIBRARY_PATH
19566 - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19567 - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19568 - # the default ld.so.conf also contains /usr/contrib/lib and
19569 - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19570 - # libtool to hard-code these into programs
19573 -cygwin* | mingw* | pw32*)
19574 - version_type=windows
19575 - shrext_cmds=".dll"
19577 - need_lib_prefix=no
19579 - case $GCC,$host_os in
19580 - yes,cygwin* | yes,mingw* | yes,pw32*)
19581 - library_names_spec='$libname.dll.a'
19582 - # DLL is installed to $(libdir)/../bin by postinstall_cmds
19583 - postinstall_cmds='base_file=`basename \${file}`~
19584 - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19585 - dldir=$destdir/`dirname \$dlpath`~
19586 - test -d \$dldir || mkdir -p \$dldir~
19587 - $install_prog $dir/$dlname \$dldir/$dlname'
19588 - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19589 - dlpath=$dir/\$dldll~
19591 - shlibpath_overrides_runpath=yes
19595 - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19596 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19597 - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19600 - # MinGW DLLs use traditional 'lib' prefix
19601 - soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19602 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19603 - if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19604 - # It is most probably a Windows format PATH printed by
19605 - # mingw gcc, but we are running on Cygwin. Gcc prints its search
19606 - # path with ; separators, and with drive letters. We can handle the
19607 - # drive letters (cygwin fileutils understands them), so leave them,
19608 - # especially as we might pass files found there to a mingw objdump,
19609 - # which wouldn't understand a cygwinified path. Ahh.
19610 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19612 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19616 - # pw32 DLLs use 'pw' prefix rather than 'lib'
19617 - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19623 - if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
19624 - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19625 - supports_anon_versioning=no
19626 - case `$LD -v 2>/dev/null` in
19627 - *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19628 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19629 - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19630 - *\ 2.11.*) ;; # other 2.11 versions
19631 - *) supports_anon_versioning=yes ;;
19633 - if test $supports_anon_versioning = yes; then
19634 - archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
19635 -cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19636 -$echo "local: *; };" >> $output_objdir/$libname.ver~
19637 - $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19639 - $archive_expsym_cmds="$archive_cmds"
19647 - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19650 - dynamic_linker='Win32 ld.exe'
19651 - # FIXME: first we should search . and the directory the executable is in
19652 - shlibpath_var=PATH
19655 -darwin* | rhapsody*)
19656 - dynamic_linker="$host_os dyld"
19657 - version_type=darwin
19658 - need_lib_prefix=no
19660 - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19661 - soname_spec='${libname}${release}${major}$shared_ext'
19662 - shlibpath_overrides_runpath=yes
19663 - shlibpath_var=DYLD_LIBRARY_PATH
19664 - shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
19665 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19666 - if test "$GCC" = yes; then
19667 - 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"`
19669 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19671 - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19675 - version_type=linux
19676 - need_lib_prefix=no
19678 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19679 - soname_spec='${libname}${release}${shared_ext}$major'
19680 - shlibpath_var=LD_LIBRARY_PATH
19684 - dynamic_linker=no
19688 - version_type=linux
19689 - need_lib_prefix=no
19691 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19692 - soname_spec='${libname}${release}${shared_ext}$major'
19693 - shlibpath_var=LD_LIBRARY_PATH
19694 - shlibpath_overrides_runpath=no
19695 - hardcode_into_libs=yes
19696 - dynamic_linker='GNU ld.so'
19699 -freebsd* | dragonfly*)
19700 - # DragonFly does not have aout. When/if they implement a new
19701 - # versioning mechanism, adjust this.
19702 - objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
19703 - version_type=freebsd-$objformat
19704 - case $version_type in
19706 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19708 - need_lib_prefix=no
19711 - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19715 - shlibpath_var=LD_LIBRARY_PATH
19718 - shlibpath_overrides_runpath=yes
19720 - freebsd3.[01]* | freebsdelf3.[01]*)
19721 - shlibpath_overrides_runpath=yes
19722 - hardcode_into_libs=yes
19725 - shlibpath_overrides_runpath=no
19726 - hardcode_into_libs=yes
19732 - version_type=linux
19733 - need_lib_prefix=no
19735 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19736 - soname_spec='${libname}${release}${shared_ext}$major'
19737 - shlibpath_var=LD_LIBRARY_PATH
19738 - hardcode_into_libs=yes
19741 -hpux9* | hpux10* | hpux11*)
19742 - # Give a soname corresponding to the major version so that dld.sl refuses to
19743 - # link against other versions.
19744 - version_type=sunos
19745 - need_lib_prefix=no
19747 - case "$host_cpu" in
19749 - shrext_cmds='.so'
19750 - hardcode_into_libs=yes
19751 - dynamic_linker="$host_os dld.so"
19752 - shlibpath_var=LD_LIBRARY_PATH
19753 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19754 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19755 - soname_spec='${libname}${release}${shared_ext}$major'
19756 - if test "X$HPUX_IA64_MODE" = X32; then
19757 - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19759 - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19761 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19764 - shrext_cmds='.sl'
19765 - hardcode_into_libs=yes
19766 - dynamic_linker="$host_os dld.sl"
19767 - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19768 - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19769 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19770 - soname_spec='${libname}${release}${shared_ext}$major'
19771 - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19772 - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19775 - shrext_cmds='.sl'
19776 - dynamic_linker="$host_os dld.sl"
19777 - shlibpath_var=SHLIB_PATH
19778 - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19779 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19780 - soname_spec='${libname}${release}${shared_ext}$major'
19783 - # HP-UX runs *really* slowly unless shared libraries are mode 555.
19784 - postinstall_cmds='chmod 555 $lib'
19787 -irix5* | irix6* | nonstopux*)
19789 - nonstopux*) version_type=nonstopux ;;
19791 - if test "$lt_cv_prog_gnu_ld" = yes; then
19792 - version_type=linux
19794 - version_type=irix
19797 - need_lib_prefix=no
19799 - soname_spec='${libname}${release}${shared_ext}$major'
19800 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19802 - irix5* | nonstopux*)
19803 - libsuff= shlibsuff=
19806 - case $LD in # libtool.m4 will add one of these switches to LD
19807 - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19808 - libsuff= shlibsuff= libmagic=32-bit;;
19809 - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19810 - libsuff=32 shlibsuff=N32 libmagic=N32;;
19811 - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19812 - libsuff=64 shlibsuff=64 libmagic=64-bit;;
19813 - *) libsuff= shlibsuff= libmagic=never-match;;
19817 - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19818 - shlibpath_overrides_runpath=no
19819 - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19820 - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19821 - hardcode_into_libs=yes
19824 -# No shared lib support for Linux oldld, aout, or coff.
19825 -linux*oldld* | linux*aout* | linux*coff*)
19826 - dynamic_linker=no
19829 -# This must be Linux ELF.
19831 - version_type=linux
19832 - need_lib_prefix=no
19834 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19835 - soname_spec='${libname}${release}${shared_ext}$major'
19836 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19837 - shlibpath_var=LD_LIBRARY_PATH
19838 - shlibpath_overrides_runpath=no
19839 - # This implies no fast_install, which is unacceptable.
19840 - # Some rework will be needed to allow for fast_install
19841 - # before this can be enabled.
19842 - hardcode_into_libs=yes
19844 - # Append ld.so.conf contents to the search path
19845 - if test -f /etc/ld.so.conf; then
19846 - 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' ' '`
19847 - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19850 - case $host_cpu:$lt_cv_cc_64bit_output in
19851 - powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
19852 - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64"
19853 - sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64"
19857 - # We used to test for /lib/ld.so.1 and disable shared libraries on
19858 - # powerpc, because MkLinux only supported shared libraries with the
19859 - # GNU dynamic linker. Since this was broken with cross compilers,
19860 - # most powerpc-linux boxes support dynamic linking these days and
19861 - # people can always --disable-shared, the test was removed, and we
19862 - # assume the GNU/Linux dynamic linker is in use.
19863 - dynamic_linker='GNU/Linux ld.so'
19865 - # Find out which ABI we are using (multilib Linux x86_64 hack).
19867 - case "$host_cpu" in
19869 - echo '#line 17980 "configure"' > conftest.$ac_ext
19870 - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19871 - (eval $ac_compile) 2>&5
19873 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 - (exit $ac_status); }; then
19875 - case `/usr/bin/file conftest.$ac_objext` in
19886 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
19887 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19891 - version_type=linux
19892 - need_lib_prefix=no
19894 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19895 - soname_spec='${libname}${release}${shared_ext}$major'
19896 - shlibpath_var=LD_LIBRARY_PATH
19897 - shlibpath_overrides_runpath=no
19898 - hardcode_into_libs=yes
19899 - dynamic_linker='GNU ld.so'
19903 - version_type=sunos
19904 - need_lib_prefix=no
19906 - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19907 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19908 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19909 - dynamic_linker='NetBSD (a.out) ld.so'
19911 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19912 - soname_spec='${libname}${release}${shared_ext}$major'
19913 - dynamic_linker='NetBSD ld.elf_so'
19915 - shlibpath_var=LD_LIBRARY_PATH
19916 - shlibpath_overrides_runpath=yes
19917 - hardcode_into_libs=yes
19921 - version_type=linux
19922 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19923 - shlibpath_var=LD_LIBRARY_PATH
19924 - shlibpath_overrides_runpath=yes
19928 - version_type=linux
19929 - need_lib_prefix=no
19931 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19932 - soname_spec='${libname}${release}${shared_ext}$major'
19933 - shlibpath_var=LD_LIBRARY_PATH
19934 - shlibpath_overrides_runpath=yes
19938 - version_type=sunos
19939 - need_lib_prefix=no
19940 - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19942 - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19943 - *) need_version=no ;;
19945 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19946 - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19947 - shlibpath_var=LD_LIBRARY_PATH
19948 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19950 - openbsd2.[89] | openbsd2.[89].*)
19951 - shlibpath_overrides_runpath=no
19954 - shlibpath_overrides_runpath=yes
19958 - shlibpath_overrides_runpath=yes
19963 - libname_spec='$name'
19964 - shrext_cmds=".dll"
19965 - need_lib_prefix=no
19966 - library_names_spec='$libname${shared_ext} $libname.a'
19967 - dynamic_linker='OS/2 ld.exe'
19968 - shlibpath_var=LIBPATH
19971 -osf3* | osf4* | osf5*)
19973 - need_lib_prefix=no
19975 - soname_spec='${libname}${release}${shared_ext}$major'
19976 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19977 - shlibpath_var=LD_LIBRARY_PATH
19978 - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19979 - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19984 - soname_spec='${libname}${release}${shared_ext}$major'
19985 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19986 - shlibpath_var=LD_LIBRARY_PATH
19990 - version_type=linux
19991 - need_lib_prefix=no
19993 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19994 - soname_spec='${libname}${release}${shared_ext}$major'
19995 - shlibpath_var=LD_LIBRARY_PATH
19996 - shlibpath_overrides_runpath=yes
19997 - hardcode_into_libs=yes
19998 - # ldd complains unless libraries are executable
19999 - postinstall_cmds='chmod +x $lib'
20003 - version_type=sunos
20004 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20005 - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20006 - shlibpath_var=LD_LIBRARY_PATH
20007 - shlibpath_overrides_runpath=yes
20008 - if test "$with_gnu_ld" = yes; then
20009 - need_lib_prefix=no
20014 -sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20015 - version_type=linux
20016 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20017 - soname_spec='${libname}${release}${shared_ext}$major'
20018 - shlibpath_var=LD_LIBRARY_PATH
20019 - case $host_vendor in
20021 - shlibpath_overrides_runpath=no
20022 - need_lib_prefix=no
20023 - export_dynamic_flag_spec='${wl}-Blargedynsym'
20024 - runpath_var=LD_RUN_PATH
20027 - need_lib_prefix=no
20030 - need_lib_prefix=no
20032 - shlibpath_overrides_runpath=no
20033 - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20039 - if test -d /usr/nec ;then
20040 - version_type=linux
20041 - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20042 - soname_spec='$libname${shared_ext}.$major'
20043 - shlibpath_var=LD_LIBRARY_PATH
20048 - version_type=linux
20049 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20050 - soname_spec='${libname}${release}${shared_ext}$major'
20051 - shlibpath_var=LD_LIBRARY_PATH
20055 - dynamic_linker=no
20058 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20059 -echo "${ECHO_T}$dynamic_linker" >&6
20060 -test "$dynamic_linker" = no && can_build_shared=no
20062 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20063 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
20064 -hardcode_action_GCJ=
20065 -if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20066 - test -n "$runpath_var_GCJ" || \
20067 - test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20069 - # We can hardcode non-existant directories.
20070 - if test "$hardcode_direct_GCJ" != no &&
20071 - # If the only mechanism to avoid hardcoding is shlibpath_var, we
20072 - # have to relink, otherwise we might link with an installed library
20073 - # when we should be linking with a yet-to-be-installed one
20074 - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20075 - test "$hardcode_minus_L_GCJ" != no; then
20076 - # Linking always hardcodes the temporary library directory.
20077 - hardcode_action_GCJ=relink
20079 - # We can link without hardcoding, and we can hardcode nonexisting dirs.
20080 - hardcode_action_GCJ=immediate
20083 - # We cannot hardcode anything, or else we can only hardcode existing
20085 - hardcode_action_GCJ=unsupported
20087 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20088 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
20090 -if test "$hardcode_action_GCJ" = relink; then
20091 - # Fast installation is not supported
20092 - enable_fast_install=no
20093 -elif test "$shlibpath_overrides_runpath" = yes ||
20094 - test "$enable_shared" = no; then
20095 - # Fast installation is not necessary
20096 - enable_fast_install=needless
20101 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20102 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
20103 -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
20104 - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
20105 - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
20106 - echo "$as_me:$LINENO: result: yes" >&5
20107 -echo "${ECHO_T}yes" >&6
20109 -# FIXME - insert some real tests, host_os isn't really good enough
20112 - if test -n "$STRIP" ; then
20113 - striplib="$STRIP -x"
20114 - echo "$as_me:$LINENO: result: yes" >&5
20115 -echo "${ECHO_T}yes" >&6
20117 - echo "$as_me:$LINENO: result: no" >&5
20118 -echo "${ECHO_T}no" >&6
20122 - echo "$as_me:$LINENO: result: no" >&5
20123 -echo "${ECHO_T}no" >&6
20128 -if test "x$enable_dlopen" != xyes; then
20129 - enable_dlopen=unknown
20130 - enable_dlopen_self=unknown
20131 - enable_dlopen_self_static=unknown
20134 - lt_cv_dlopen_libs=
20138 - lt_cv_dlopen="load_add_on"
20139 - lt_cv_dlopen_libs=
20140 - lt_cv_dlopen_self=yes
20144 - lt_cv_dlopen="LoadLibrary"
20145 - lt_cv_dlopen_libs=
20149 - lt_cv_dlopen="dlopen"
20150 - lt_cv_dlopen_libs=
20154 - # if libdl is installed we need to link against it
20155 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20156 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20157 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20158 - echo $ECHO_N "(cached) $ECHO_C" >&6
20160 - ac_check_lib_save_LIBS=$LIBS
20162 -cat >conftest.$ac_ext <<_ACEOF
20165 -cat confdefs.h >>conftest.$ac_ext
20166 -cat >>conftest.$ac_ext <<_ACEOF
20167 -/* end confdefs.h. */
20169 -/* Override any gcc2 internal prototype to avoid an error. */
20170 -#ifdef __cplusplus
20173 -/* We use char because int might match the return type of a gcc2
20174 - builtin and then its argument prototype would still apply. */
20184 -rm -f conftest.$ac_objext conftest$ac_exeext
20185 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20186 - (eval $ac_link) 2>conftest.er1
20188 - grep -v '^ *+' conftest.er1 >conftest.err
20189 - rm -f conftest.er1
20190 - cat conftest.err >&5
20191 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 - (exit $ac_status); } &&
20193 - { ac_try='test -z "$ac_c_werror_flag"
20194 - || test ! -s conftest.err'
20195 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 - (eval $ac_try) 2>&5
20198 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 - (exit $ac_status); }; } &&
20200 - { ac_try='test -s conftest$ac_exeext'
20201 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20202 - (eval $ac_try) 2>&5
20204 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 - (exit $ac_status); }; }; then
20206 - ac_cv_lib_dl_dlopen=yes
20208 - echo "$as_me: failed program was:" >&5
20209 -sed 's/^/| /' conftest.$ac_ext >&5
20211 -ac_cv_lib_dl_dlopen=no
20213 -rm -f conftest.err conftest.$ac_objext \
20214 - conftest$ac_exeext conftest.$ac_ext
20215 -LIBS=$ac_check_lib_save_LIBS
20217 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20218 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20219 -if test $ac_cv_lib_dl_dlopen = yes; then
20220 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20223 - lt_cv_dlopen="dyld"
20224 - lt_cv_dlopen_libs=
20225 - lt_cv_dlopen_self=yes
20232 - echo "$as_me:$LINENO: checking for shl_load" >&5
20233 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
20234 -if test "${ac_cv_func_shl_load+set}" = set; then
20235 - echo $ECHO_N "(cached) $ECHO_C" >&6
20237 - cat >conftest.$ac_ext <<_ACEOF
20240 -cat confdefs.h >>conftest.$ac_ext
20241 -cat >>conftest.$ac_ext <<_ACEOF
20242 -/* end confdefs.h. */
20243 -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
20244 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
20245 -#define shl_load innocuous_shl_load
20247 -/* System header to define __stub macros and hopefully few prototypes,
20248 - which can conflict with char shl_load (); below.
20249 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20250 - <limits.h> exists even on freestanding compilers. */
20253 -# include <limits.h>
20255 -# include <assert.h>
20260 -/* Override any gcc2 internal prototype to avoid an error. */
20261 -#ifdef __cplusplus
20265 -/* We use char because int might match the return type of a gcc2
20266 - builtin and then its argument prototype would still apply. */
20268 -/* The GNU C library defines this for functions which it implements
20269 - to always fail with ENOSYS. Some functions are actually named
20270 - something starting with __ and the normal name is an alias. */
20271 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
20274 -char (*f) () = shl_load;
20276 -#ifdef __cplusplus
20283 -return f != shl_load;
20288 -rm -f conftest.$ac_objext conftest$ac_exeext
20289 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20290 - (eval $ac_link) 2>conftest.er1
20292 - grep -v '^ *+' conftest.er1 >conftest.err
20293 - rm -f conftest.er1
20294 - cat conftest.err >&5
20295 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 - (exit $ac_status); } &&
20297 - { ac_try='test -z "$ac_c_werror_flag"
20298 - || test ! -s conftest.err'
20299 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20300 - (eval $ac_try) 2>&5
20302 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 - (exit $ac_status); }; } &&
20304 - { ac_try='test -s conftest$ac_exeext'
20305 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20306 - (eval $ac_try) 2>&5
20308 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 - (exit $ac_status); }; }; then
20310 - ac_cv_func_shl_load=yes
20312 - echo "$as_me: failed program was:" >&5
20313 -sed 's/^/| /' conftest.$ac_ext >&5
20315 -ac_cv_func_shl_load=no
20317 -rm -f conftest.err conftest.$ac_objext \
20318 - conftest$ac_exeext conftest.$ac_ext
20320 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
20321 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
20322 -if test $ac_cv_func_shl_load = yes; then
20323 - lt_cv_dlopen="shl_load"
20325 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
20326 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
20327 -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20328 - echo $ECHO_N "(cached) $ECHO_C" >&6
20330 - ac_check_lib_save_LIBS=$LIBS
20331 -LIBS="-ldld $LIBS"
20332 -cat >conftest.$ac_ext <<_ACEOF
20335 -cat confdefs.h >>conftest.$ac_ext
20336 -cat >>conftest.$ac_ext <<_ACEOF
20337 -/* end confdefs.h. */
20339 -/* Override any gcc2 internal prototype to avoid an error. */
20340 -#ifdef __cplusplus
20343 -/* We use char because int might match the return type of a gcc2
20344 - builtin and then its argument prototype would still apply. */
20354 -rm -f conftest.$ac_objext conftest$ac_exeext
20355 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20356 - (eval $ac_link) 2>conftest.er1
20358 - grep -v '^ *+' conftest.er1 >conftest.err
20359 - rm -f conftest.er1
20360 - cat conftest.err >&5
20361 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 - (exit $ac_status); } &&
20363 - { ac_try='test -z "$ac_c_werror_flag"
20364 - || test ! -s conftest.err'
20365 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 - (eval $ac_try) 2>&5
20368 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 - (exit $ac_status); }; } &&
20370 - { ac_try='test -s conftest$ac_exeext'
20371 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372 - (eval $ac_try) 2>&5
20374 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 - (exit $ac_status); }; }; then
20376 - ac_cv_lib_dld_shl_load=yes
20378 - echo "$as_me: failed program was:" >&5
20379 -sed 's/^/| /' conftest.$ac_ext >&5
20381 -ac_cv_lib_dld_shl_load=no
20383 -rm -f conftest.err conftest.$ac_objext \
20384 - conftest$ac_exeext conftest.$ac_ext
20385 -LIBS=$ac_check_lib_save_LIBS
20387 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
20388 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
20389 -if test $ac_cv_lib_dld_shl_load = yes; then
20390 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
20392 - echo "$as_me:$LINENO: checking for dlopen" >&5
20393 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
20394 -if test "${ac_cv_func_dlopen+set}" = set; then
20395 - echo $ECHO_N "(cached) $ECHO_C" >&6
20397 - cat >conftest.$ac_ext <<_ACEOF
20400 -cat confdefs.h >>conftest.$ac_ext
20401 -cat >>conftest.$ac_ext <<_ACEOF
20402 -/* end confdefs.h. */
20403 -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
20404 - For example, HP-UX 11i <limits.h> declares gettimeofday. */
20405 -#define dlopen innocuous_dlopen
20407 -/* System header to define __stub macros and hopefully few prototypes,
20408 - which can conflict with char dlopen (); below.
20409 - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20410 - <limits.h> exists even on freestanding compilers. */
20413 -# include <limits.h>
20415 -# include <assert.h>
20420 -/* Override any gcc2 internal prototype to avoid an error. */
20421 -#ifdef __cplusplus
20425 -/* We use char because int might match the return type of a gcc2
20426 - builtin and then its argument prototype would still apply. */
20428 -/* The GNU C library defines this for functions which it implements
20429 - to always fail with ENOSYS. Some functions are actually named
20430 - something starting with __ and the normal name is an alias. */
20431 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
20434 -char (*f) () = dlopen;
20436 -#ifdef __cplusplus
20443 -return f != dlopen;
20448 -rm -f conftest.$ac_objext conftest$ac_exeext
20449 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20450 - (eval $ac_link) 2>conftest.er1
20452 - grep -v '^ *+' conftest.er1 >conftest.err
20453 - rm -f conftest.er1
20454 - cat conftest.err >&5
20455 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 - (exit $ac_status); } &&
20457 - { ac_try='test -z "$ac_c_werror_flag"
20458 - || test ! -s conftest.err'
20459 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 - (eval $ac_try) 2>&5
20462 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 - (exit $ac_status); }; } &&
20464 - { ac_try='test -s conftest$ac_exeext'
20465 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 - (eval $ac_try) 2>&5
20468 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 - (exit $ac_status); }; }; then
20470 - ac_cv_func_dlopen=yes
20472 - echo "$as_me: failed program was:" >&5
20473 -sed 's/^/| /' conftest.$ac_ext >&5
20475 -ac_cv_func_dlopen=no
20477 -rm -f conftest.err conftest.$ac_objext \
20478 - conftest$ac_exeext conftest.$ac_ext
20480 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
20481 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
20482 -if test $ac_cv_func_dlopen = yes; then
20483 - lt_cv_dlopen="dlopen"
20485 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20486 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20487 -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20488 - echo $ECHO_N "(cached) $ECHO_C" >&6
20490 - ac_check_lib_save_LIBS=$LIBS
20492 -cat >conftest.$ac_ext <<_ACEOF
20495 -cat confdefs.h >>conftest.$ac_ext
20496 -cat >>conftest.$ac_ext <<_ACEOF
20497 -/* end confdefs.h. */
20499 -/* Override any gcc2 internal prototype to avoid an error. */
20500 -#ifdef __cplusplus
20503 -/* We use char because int might match the return type of a gcc2
20504 - builtin and then its argument prototype would still apply. */
20514 -rm -f conftest.$ac_objext conftest$ac_exeext
20515 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20516 - (eval $ac_link) 2>conftest.er1
20518 - grep -v '^ *+' conftest.er1 >conftest.err
20519 - rm -f conftest.er1
20520 - cat conftest.err >&5
20521 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 - (exit $ac_status); } &&
20523 - { ac_try='test -z "$ac_c_werror_flag"
20524 - || test ! -s conftest.err'
20525 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20526 - (eval $ac_try) 2>&5
20528 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 - (exit $ac_status); }; } &&
20530 - { ac_try='test -s conftest$ac_exeext'
20531 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20532 - (eval $ac_try) 2>&5
20534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 - (exit $ac_status); }; }; then
20536 - ac_cv_lib_dl_dlopen=yes
20538 - echo "$as_me: failed program was:" >&5
20539 -sed 's/^/| /' conftest.$ac_ext >&5
20541 -ac_cv_lib_dl_dlopen=no
20543 -rm -f conftest.err conftest.$ac_objext \
20544 - conftest$ac_exeext conftest.$ac_ext
20545 -LIBS=$ac_check_lib_save_LIBS
20547 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20548 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20549 -if test $ac_cv_lib_dl_dlopen = yes; then
20550 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20552 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20553 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
20554 -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20555 - echo $ECHO_N "(cached) $ECHO_C" >&6
20557 - ac_check_lib_save_LIBS=$LIBS
20558 -LIBS="-lsvld $LIBS"
20559 -cat >conftest.$ac_ext <<_ACEOF
20562 -cat confdefs.h >>conftest.$ac_ext
20563 -cat >>conftest.$ac_ext <<_ACEOF
20564 -/* end confdefs.h. */
20566 -/* Override any gcc2 internal prototype to avoid an error. */
20567 -#ifdef __cplusplus
20570 -/* We use char because int might match the return type of a gcc2
20571 - builtin and then its argument prototype would still apply. */
20581 -rm -f conftest.$ac_objext conftest$ac_exeext
20582 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20583 - (eval $ac_link) 2>conftest.er1
20585 - grep -v '^ *+' conftest.er1 >conftest.err
20586 - rm -f conftest.er1
20587 - cat conftest.err >&5
20588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20589 - (exit $ac_status); } &&
20590 - { ac_try='test -z "$ac_c_werror_flag"
20591 - || test ! -s conftest.err'
20592 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20593 - (eval $ac_try) 2>&5
20595 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 - (exit $ac_status); }; } &&
20597 - { ac_try='test -s conftest$ac_exeext'
20598 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20599 - (eval $ac_try) 2>&5
20601 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 - (exit $ac_status); }; }; then
20603 - ac_cv_lib_svld_dlopen=yes
20605 - echo "$as_me: failed program was:" >&5
20606 -sed 's/^/| /' conftest.$ac_ext >&5
20607 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
20608 + hardcode_libdir_separator_GCJ=':'
20609 + link_all_deplibs_GCJ=yes
20610 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20611 + runpath_var='LD_RUN_PATH'
20613 -ac_cv_lib_svld_dlopen=no
20615 -rm -f conftest.err conftest.$ac_objext \
20616 - conftest$ac_exeext conftest.$ac_ext
20617 -LIBS=$ac_check_lib_save_LIBS
20619 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20620 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
20621 -if test $ac_cv_lib_svld_dlopen = yes; then
20622 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
20624 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20625 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
20626 -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20627 - echo $ECHO_N "(cached) $ECHO_C" >&6
20629 - ac_check_lib_save_LIBS=$LIBS
20630 -LIBS="-ldld $LIBS"
20631 -cat >conftest.$ac_ext <<_ACEOF
20634 -cat confdefs.h >>conftest.$ac_ext
20635 -cat >>conftest.$ac_ext <<_ACEOF
20636 -/* end confdefs.h. */
20637 + if test "$GCC" = yes; then
20638 + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20639 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20641 + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20642 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20646 -/* Override any gcc2 internal prototype to avoid an error. */
20647 -#ifdef __cplusplus
20650 -/* We use char because int might match the return type of a gcc2
20651 - builtin and then its argument prototype would still apply. */
20661 -rm -f conftest.$ac_objext conftest$ac_exeext
20662 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20663 - (eval $ac_link) 2>conftest.er1
20665 - grep -v '^ *+' conftest.er1 >conftest.err
20666 - rm -f conftest.er1
20667 - cat conftest.err >&5
20668 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 - (exit $ac_status); } &&
20670 - { ac_try='test -z "$ac_c_werror_flag"
20671 - || test ! -s conftest.err'
20672 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20673 - (eval $ac_try) 2>&5
20675 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20676 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
20677 + hardcode_shlibpath_var_GCJ=no
20686 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20687 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20688 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
20691 +# Do we need to explicitly link libc?
20693 +case "x$archive_cmds_need_lc_GCJ" in
20695 + # Assume -lc should be added
20696 + archive_cmds_need_lc_GCJ=yes
20698 + if test "$enable_shared" = yes && test "$GCC" = yes; then
20699 + case $archive_cmds_GCJ in
20701 + # FIXME: we may have to deal with multi-command sequences.
20704 + # Test whether the compiler implicitly links with -lc since on some
20705 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
20706 + # to ld, don't add -lc before -lgcc.
20707 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20708 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20710 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20712 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20713 + (eval $ac_compile) 2>&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 - (exit $ac_status); }; } &&
20717 - { ac_try='test -s conftest$ac_exeext'
20718 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20719 - (eval $ac_try) 2>&5
20720 + (exit $ac_status); } 2>conftest.err; then
20723 + libobjs=conftest.$ac_objext
20725 + wl=$lt_prog_compiler_wl_GCJ
20726 + pic_flag=$lt_prog_compiler_pic_GCJ
20727 + compiler_flags=-v
20732 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20733 + allow_undefined_flag_GCJ=
20734 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20735 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 - (exit $ac_status); }; }; then
20739 - ac_cv_lib_dld_dld_link=yes
20741 - echo "$as_me: failed program was:" >&5
20742 -sed 's/^/| /' conftest.$ac_ext >&5
20743 + (exit $ac_status); }
20745 + archive_cmds_need_lc_GCJ=no
20747 + archive_cmds_need_lc_GCJ=yes
20749 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20751 + cat conftest.err 1>&5
20754 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20755 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20762 -ac_cv_lib_dld_dld_link=no
20764 -rm -f conftest.err conftest.$ac_objext \
20765 - conftest$ac_exeext conftest.$ac_ext
20766 -LIBS=$ac_check_lib_save_LIBS
20768 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20769 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
20770 -if test $ac_cv_lib_dld_dld_link = yes; then
20771 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
20772 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20773 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20774 +library_names_spec=
20775 +libname_spec='lib$name'
20779 +postuninstall_cmds=
20783 +shlibpath_overrides_runpath=unknown
20785 +dynamic_linker="$host_os ld.so"
20786 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
20787 +if test "$GCC" = yes; then
20788 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20789 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
20790 + # if the path contains ";" then we assume it to be the separator
20791 + # otherwise default to the standard path separator (i.e. ":") - it is
20792 + # assumed that no part of a normal pathname contains ";" but that should
20793 + # okay in the real world where ";" in dirpaths is itself problematic.
20794 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20796 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20799 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20801 +need_lib_prefix=unknown
20802 +hardcode_into_libs=no
20804 +# when you set need_version to no, make sure it does not cause -set_version
20805 +# flags to be left without arguments
20806 +need_version=unknown
20811 + version_type=linux
20812 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20813 + shlibpath_var=LIBPATH
20815 + # AIX 3 has no versioning support, so we append a major version to the name.
20816 + soname_spec='${libname}${release}${shared_ext}$major'
20821 + version_type=linux
20822 + need_lib_prefix=no
20824 + hardcode_into_libs=yes
20825 + if test "$host_cpu" = ia64; then
20826 + # AIX 5 supports IA64
20827 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20828 + shlibpath_var=LD_LIBRARY_PATH
20830 + # With GCC up to 2.95.x, collect2 would create an import file
20831 + # for dependence libraries. The import file would start with
20832 + # the line `#! .'. This would cause the generated library to
20833 + # depend on `.', always an invalid library. This was fixed in
20834 + # development snapshots of GCC prior to 3.0.
20836 + aix4 | aix4.[01] | aix4.[01].*)
20837 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20839 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20842 + can_build_shared=no
20846 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20847 + # soname into executable. Probably we can add versioning support to
20848 + # collect2, so additional links can be useful in future.
20849 + if test "$aix_use_runtimelinking" = yes; then
20850 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20851 + # instead of lib<name>.a to let people know that these are not
20852 + # typical AIX shared libraries.
20853 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20855 + # We preserve .a as extension for shared libraries through AIX4.2
20856 + # and later when we are not doing run time linking.
20857 + library_names_spec='${libname}${release}.a $libname.a'
20858 + soname_spec='${libname}${release}${shared_ext}$major'
20860 + shlibpath_var=LIBPATH
20865 + library_names_spec='$libname.ixlibrary $libname.a'
20866 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
20867 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
20872 + library_names_spec='${libname}${shared_ext}'
20873 + dynamic_linker="$host_os ld.so"
20874 + shlibpath_var=LIBRARY_PATH
20878 + version_type=linux
20880 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20881 + soname_spec='${libname}${release}${shared_ext}$major'
20882 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20883 + shlibpath_var=LD_LIBRARY_PATH
20884 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20885 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20886 + # the default ld.so.conf also contains /usr/contrib/lib and
20887 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20888 + # libtool to hard-code these into programs
20892 +cygwin* | mingw* | pw32*)
20893 + version_type=windows
20894 + shrext_cmds=".dll"
20896 + need_lib_prefix=no
20898 + case $GCC,$host_os in
20899 + yes,cygwin* | yes,mingw* | yes,pw32*)
20900 + library_names_spec='$libname.dll.a'
20901 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
20902 + postinstall_cmds='base_file=`basename \${file}`~
20903 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20904 + dldir=$destdir/`dirname \$dlpath`~
20905 + test -d \$dldir || mkdir -p \$dldir~
20906 + $install_prog $dir/$dlname \$dldir/$dlname~
20907 + chmod a+x \$dldir/$dlname'
20908 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20909 + dlpath=$dir/\$dldll~
20911 + shlibpath_overrides_runpath=yes
20916 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20917 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20918 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20921 + # MinGW DLLs use traditional 'lib' prefix
20922 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20923 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20924 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20925 + # It is most probably a Windows format PATH printed by
20926 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
20927 + # path with ; separators, and with drive letters. We can handle the
20928 + # drive letters (cygwin fileutils understands them), so leave them,
20929 + # especially as we might pass files found there to a mingw objdump,
20930 + # which wouldn't understand a cygwinified path. Ahh.
20931 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20933 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20937 + # pw32 DLLs use 'pw' prefix rather than 'lib'
20938 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20944 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20947 + dynamic_linker='Win32 ld.exe'
20948 + # FIXME: first we should search . and the directory the executable is in
20949 + shlibpath_var=PATH
20952 - if test "x$lt_cv_dlopen" != xno; then
20953 - enable_dlopen=yes
20954 +darwin* | rhapsody*)
20955 + dynamic_linker="$host_os dyld"
20956 + version_type=darwin
20957 + need_lib_prefix=no
20959 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20960 + soname_spec='${libname}${release}${major}$shared_ext'
20961 + shlibpath_overrides_runpath=yes
20962 + shlibpath_var=DYLD_LIBRARY_PATH
20963 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20964 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20965 + if test "$GCC" = yes; then
20966 + 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"`
20969 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20971 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20974 - case $lt_cv_dlopen in
20976 - save_CPPFLAGS="$CPPFLAGS"
20977 - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
20979 + version_type=linux
20980 + need_lib_prefix=no
20982 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20983 + soname_spec='${libname}${release}${shared_ext}$major'
20984 + shlibpath_var=LD_LIBRARY_PATH
20987 - save_LDFLAGS="$LDFLAGS"
20988 - eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
20990 + dynamic_linker=no
20993 - save_LIBS="$LIBS"
20994 - LIBS="$lt_cv_dlopen_libs $LIBS"
20995 +freebsd* | dragonfly*)
20996 + # DragonFly does not have aout. When/if they implement a new
20997 + # versioning mechanism, adjust this.
20998 + if test -x /usr/bin/objformat; then
20999 + objformat=`/usr/bin/objformat`
21002 + freebsd[123]*) objformat=aout ;;
21003 + *) objformat=elf ;;
21006 + version_type=freebsd-$objformat
21007 + case $version_type in
21009 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21011 + need_lib_prefix=no
21014 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21018 + shlibpath_var=LD_LIBRARY_PATH
21021 + shlibpath_overrides_runpath=yes
21023 + freebsd3.[01]* | freebsdelf3.[01]*)
21024 + shlibpath_overrides_runpath=yes
21025 + hardcode_into_libs=yes
21027 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
21028 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
21029 + shlibpath_overrides_runpath=no
21030 + hardcode_into_libs=yes
21032 + freebsd*) # from 4.6 on
21033 + shlibpath_overrides_runpath=yes
21034 + hardcode_into_libs=yes
21039 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
21040 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
21041 -if test "${lt_cv_dlopen_self+set}" = set; then
21042 - echo $ECHO_N "(cached) $ECHO_C" >&6
21044 - if test "$cross_compiling" = yes; then :
21045 - lt_cv_dlopen_self=cross
21047 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21048 - lt_status=$lt_dlunknown
21049 - cat > conftest.$ac_ext <<EOF
21050 -#line 18844 "configure"
21051 -#include "confdefs.h"
21053 + version_type=linux
21054 + need_lib_prefix=no
21056 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21057 + soname_spec='${libname}${release}${shared_ext}$major'
21058 + shlibpath_var=LD_LIBRARY_PATH
21059 + hardcode_into_libs=yes
21063 -#include <dlfcn.h>
21065 +hpux9* | hpux10* | hpux11*)
21066 + # Give a soname corresponding to the major version so that dld.sl refuses to
21067 + # link against other versions.
21068 + version_type=sunos
21069 + need_lib_prefix=no
21071 + case $host_cpu in
21073 + shrext_cmds='.so'
21074 + hardcode_into_libs=yes
21075 + dynamic_linker="$host_os dld.so"
21076 + shlibpath_var=LD_LIBRARY_PATH
21077 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21078 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21079 + soname_spec='${libname}${release}${shared_ext}$major'
21080 + if test "X$HPUX_IA64_MODE" = X32; then
21081 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21083 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21085 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21088 + shrext_cmds='.sl'
21089 + hardcode_into_libs=yes
21090 + dynamic_linker="$host_os dld.sl"
21091 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21092 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21093 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21094 + soname_spec='${libname}${release}${shared_ext}$major'
21095 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21096 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21099 + shrext_cmds='.sl'
21100 + dynamic_linker="$host_os dld.sl"
21101 + shlibpath_var=SHLIB_PATH
21102 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21103 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21104 + soname_spec='${libname}${release}${shared_ext}$major'
21107 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
21108 + postinstall_cmds='chmod 555 $lib'
21111 -#include <stdio.h>
21113 + version_type=linux
21114 + need_lib_prefix=no
21116 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21117 + soname_spec='${libname}${release}${shared_ext}$major'
21118 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
21119 + shlibpath_var=LD_LIBRARY_PATH
21120 + shlibpath_overrides_runpath=no
21121 + hardcode_into_libs=yes
21124 -#ifdef RTLD_GLOBAL
21125 -# define LT_DLGLOBAL RTLD_GLOBAL
21128 -# define LT_DLGLOBAL DL_GLOBAL
21130 -# define LT_DLGLOBAL 0
21133 +irix5* | irix6* | nonstopux*)
21135 + nonstopux*) version_type=nonstopux ;;
21137 + if test "$lt_cv_prog_gnu_ld" = yes; then
21138 + version_type=linux
21140 + version_type=irix
21143 + need_lib_prefix=no
21145 + soname_spec='${libname}${release}${shared_ext}$major'
21146 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21148 + irix5* | nonstopux*)
21149 + libsuff= shlibsuff=
21152 + case $LD in # libtool.m4 will add one of these switches to LD
21153 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21154 + libsuff= shlibsuff= libmagic=32-bit;;
21155 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21156 + libsuff=32 shlibsuff=N32 libmagic=N32;;
21157 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21158 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
21159 + *) libsuff= shlibsuff= libmagic=never-match;;
21163 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21164 + shlibpath_overrides_runpath=no
21165 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21166 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21167 + hardcode_into_libs=yes
21170 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21171 - find out it does not work in some platform. */
21172 -#ifndef LT_DLLAZY_OR_NOW
21174 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
21177 -# define LT_DLLAZY_OR_NOW DL_LAZY
21180 -# define LT_DLLAZY_OR_NOW RTLD_NOW
21183 -# define LT_DLLAZY_OR_NOW DL_NOW
21185 -# define LT_DLLAZY_OR_NOW 0
21191 +# No shared lib support for Linux oldld, aout, or coff.
21192 +linux*oldld* | linux*aout* | linux*coff*)
21193 + dynamic_linker=no
21196 +# This must be Linux ELF.
21197 +linux* | k*bsd*-gnu)
21198 + version_type=linux
21199 + need_lib_prefix=no
21201 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21202 + soname_spec='${libname}${release}${shared_ext}$major'
21203 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21204 + shlibpath_var=LD_LIBRARY_PATH
21205 + shlibpath_overrides_runpath=no
21206 + # This implies no fast_install, which is unacceptable.
21207 + # Some rework will be needed to allow for fast_install
21208 + # before this can be enabled.
21209 + hardcode_into_libs=yes
21211 -#ifdef __cplusplus
21212 -extern "C" void exit (int);
21214 + # Append ld.so.conf contents to the search path
21215 + if test -f /etc/ld.so.conf; then
21216 + 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' ' '`
21217 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
21220 -void fnord() { int i=42;}
21223 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21224 - int status = $lt_dlunknown;
21225 + # We used to test for /lib/ld.so.1 and disable shared libraries on
21226 + # powerpc, because MkLinux only supported shared libraries with the
21227 + # GNU dynamic linker. Since this was broken with cross compilers,
21228 + # most powerpc-linux boxes support dynamic linking these days and
21229 + # people can always --disable-shared, the test was removed, and we
21230 + # assume the GNU/Linux dynamic linker is in use.
21231 + dynamic_linker='GNU/Linux ld.so'
21236 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
21237 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21238 - /* dlclose (self); */
21241 + version_type=linux
21242 + need_lib_prefix=no
21244 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21245 + soname_spec='${libname}${release}${shared_ext}$major'
21246 + shlibpath_var=LD_LIBRARY_PATH
21247 + shlibpath_overrides_runpath=no
21248 + hardcode_into_libs=yes
21249 + dynamic_linker='NetBSD ld.elf_so'
21255 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21256 - (eval $ac_link) 2>&5
21258 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21260 - (./conftest; exit; ) 2>/dev/null
21262 - case x$lt_status in
21263 - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
21264 - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
21265 - x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
21268 - # compilation failed
21269 - lt_cv_dlopen_self=no
21271 + version_type=sunos
21272 + need_lib_prefix=no
21274 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21275 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21276 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21277 + dynamic_linker='NetBSD (a.out) ld.so'
21279 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21280 + soname_spec='${libname}${release}${shared_ext}$major'
21281 + dynamic_linker='NetBSD ld.elf_so'
21286 + shlibpath_var=LD_LIBRARY_PATH
21287 + shlibpath_overrides_runpath=yes
21288 + hardcode_into_libs=yes
21292 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
21293 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
21295 + version_type=linux
21296 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21297 + shlibpath_var=LD_LIBRARY_PATH
21298 + shlibpath_overrides_runpath=yes
21301 - if test "x$lt_cv_dlopen_self" = xyes; then
21302 - LDFLAGS="$LDFLAGS $link_static_flag"
21303 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
21304 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
21305 -if test "${lt_cv_dlopen_self_static+set}" = set; then
21306 - echo $ECHO_N "(cached) $ECHO_C" >&6
21308 - if test "$cross_compiling" = yes; then :
21309 - lt_cv_dlopen_self_static=cross
21311 - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21312 - lt_status=$lt_dlunknown
21313 - cat > conftest.$ac_ext <<EOF
21314 -#line 18942 "configure"
21315 -#include "confdefs.h"
21317 + version_type=linux
21318 + need_lib_prefix=no
21320 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21321 + soname_spec='${libname}${release}${shared_ext}$major'
21322 + shlibpath_var=LD_LIBRARY_PATH
21323 + shlibpath_overrides_runpath=yes
21327 -#include <dlfcn.h>
21330 + version_type=sunos
21331 + sys_lib_dlsearch_path_spec="/usr/lib"
21332 + need_lib_prefix=no
21333 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
21335 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
21336 + *) need_version=no ;;
21338 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21339 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21340 + shlibpath_var=LD_LIBRARY_PATH
21341 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21343 + openbsd2.[89] | openbsd2.[89].*)
21344 + shlibpath_overrides_runpath=no
21347 + shlibpath_overrides_runpath=yes
21351 + shlibpath_overrides_runpath=yes
21355 -#include <stdio.h>
21357 + libname_spec='$name'
21358 + shrext_cmds=".dll"
21359 + need_lib_prefix=no
21360 + library_names_spec='$libname${shared_ext} $libname.a'
21361 + dynamic_linker='OS/2 ld.exe'
21362 + shlibpath_var=LIBPATH
21365 -#ifdef RTLD_GLOBAL
21366 -# define LT_DLGLOBAL RTLD_GLOBAL
21369 -# define LT_DLGLOBAL DL_GLOBAL
21371 -# define LT_DLGLOBAL 0
21374 +osf3* | osf4* | osf5*)
21376 + need_lib_prefix=no
21378 + soname_spec='${libname}${release}${shared_ext}$major'
21379 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21380 + shlibpath_var=LD_LIBRARY_PATH
21381 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21382 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21385 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21386 - find out it does not work in some platform. */
21387 -#ifndef LT_DLLAZY_OR_NOW
21389 -# define LT_DLLAZY_OR_NOW RTLD_LAZY
21392 -# define LT_DLLAZY_OR_NOW DL_LAZY
21395 -# define LT_DLLAZY_OR_NOW RTLD_NOW
21398 -# define LT_DLLAZY_OR_NOW DL_NOW
21400 -# define LT_DLLAZY_OR_NOW 0
21407 + version_type=linux
21408 + need_lib_prefix=no
21410 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21411 + soname_spec='${libname}${release}${shared_ext}$major'
21412 + shlibpath_var=LD_LIBRARY_PATH
21413 + shlibpath_overrides_runpath=yes
21414 + hardcode_into_libs=yes
21415 + # ldd complains unless libraries are executable
21416 + postinstall_cmds='chmod +x $lib'
21419 -#ifdef __cplusplus
21420 -extern "C" void exit (int);
21423 + version_type=sunos
21424 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21425 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21426 + shlibpath_var=LD_LIBRARY_PATH
21427 + shlibpath_overrides_runpath=yes
21428 + if test "$with_gnu_ld" = yes; then
21429 + need_lib_prefix=no
21434 -void fnord() { int i=42;}
21437 - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21438 - int status = $lt_dlunknown;
21440 + version_type=linux
21441 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21442 + soname_spec='${libname}${release}${shared_ext}$major'
21443 + shlibpath_var=LD_LIBRARY_PATH
21444 + case $host_vendor in
21446 + shlibpath_overrides_runpath=no
21447 + need_lib_prefix=no
21448 + export_dynamic_flag_spec='${wl}-Blargedynsym'
21449 + runpath_var=LD_RUN_PATH
21452 + need_lib_prefix=no
21455 + need_lib_prefix=no
21457 + shlibpath_overrides_runpath=no
21458 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21465 - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
21466 - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21467 - /* dlclose (self); */
21470 + if test -d /usr/nec ;then
21471 + version_type=linux
21472 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21473 + soname_spec='$libname${shared_ext}.$major'
21474 + shlibpath_var=LD_LIBRARY_PATH
21481 - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21482 - (eval $ac_link) 2>&5
21484 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21486 - (./conftest; exit; ) 2>/dev/null
21488 - case x$lt_status in
21489 - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
21490 - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
21491 - x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
21492 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
21493 + version_type=freebsd-elf
21494 + need_lib_prefix=no
21496 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21497 + soname_spec='${libname}${release}${shared_ext}$major'
21498 + shlibpath_var=LD_LIBRARY_PATH
21499 + hardcode_into_libs=yes
21500 + if test "$with_gnu_ld" = yes; then
21501 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21502 + shlibpath_overrides_runpath=no
21504 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
21505 + shlibpath_overrides_runpath=yes
21508 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
21512 - # compilation failed
21513 - lt_cv_dlopen_self_static=no
21517 + sys_lib_dlsearch_path_spec='/usr/lib'
21521 + version_type=linux
21522 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21523 + soname_spec='${libname}${release}${shared_ext}$major'
21524 + shlibpath_var=LD_LIBRARY_PATH
21528 + dynamic_linker=no
21531 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21532 +echo "${ECHO_T}$dynamic_linker" >&6; }
21533 +test "$dynamic_linker" = no && can_build_shared=no
21535 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21536 +if test "$GCC" = yes; then
21537 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21539 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
21540 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
21543 - CPPFLAGS="$save_CPPFLAGS"
21544 - LDFLAGS="$save_LDFLAGS"
21545 - LIBS="$save_LIBS"
21548 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21549 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
21550 +hardcode_action_GCJ=
21551 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
21552 + test -n "$runpath_var_GCJ" || \
21553 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
21555 - case $lt_cv_dlopen_self in
21556 - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
21557 - *) enable_dlopen_self=unknown ;;
21559 + # We can hardcode non-existant directories.
21560 + if test "$hardcode_direct_GCJ" != no &&
21561 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
21562 + # have to relink, otherwise we might link with an installed library
21563 + # when we should be linking with a yet-to-be-installed one
21564 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
21565 + test "$hardcode_minus_L_GCJ" != no; then
21566 + # Linking always hardcodes the temporary library directory.
21567 + hardcode_action_GCJ=relink
21569 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
21570 + hardcode_action_GCJ=immediate
21573 + # We cannot hardcode anything, or else we can only hardcode existing
21575 + hardcode_action_GCJ=unsupported
21577 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
21578 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
21580 - case $lt_cv_dlopen_self_static in
21581 - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
21582 - *) enable_dlopen_self_static=unknown ;;
21584 +if test "$hardcode_action_GCJ" = relink; then
21585 + # Fast installation is not supported
21586 + enable_fast_install=no
21587 +elif test "$shlibpath_overrides_runpath" = yes ||
21588 + test "$enable_shared" = no; then
21589 + # Fast installation is not necessary
21590 + enable_fast_install=needless
21594 @@ -19056,7 +18867,7 @@
21595 # Now quote all the things that may contain metacharacters while being
21596 # careful not to overquote the AC_SUBSTed values. We take copies of the
21597 # variables and quote the copies for generation of the libtool script.
21598 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
21599 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21601 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21602 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21603 @@ -19174,6 +18985,9 @@
21607 +# LTCC compiler flags.
21608 +LTCFLAGS=$lt_LTCFLAGS
21610 # A language-specific compiler.
21611 CC=$lt_compiler_GCJ
21613 @@ -19464,7 +19278,6 @@
21618 # Source file extension for RC test sources.
21621 @@ -19483,6 +19296,9 @@
21622 # If no C compiler was specified, use CC.
21625 +# If no C compiler flags were specified, use CFLAGS.
21626 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21628 # Allow CC to be a program name with arguments.
21631 @@ -19490,13 +19306,13 @@
21632 # save warnings/boilerplate of simple test code
21633 ac_outfile=conftest.$ac_objext
21634 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
21635 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
21636 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21637 _lt_compiler_boilerplate=`cat conftest.err`
21640 ac_outfile=conftest.$ac_objext
21641 printf "$lt_simple_link_test_code" >conftest.$ac_ext
21642 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
21643 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21644 _lt_linker_boilerplate=`cat conftest.err`
21647 @@ -19531,7 +19347,7 @@
21648 # Now quote all the things that may contain metacharacters while being
21649 # careful not to overquote the AC_SUBSTed values. We take copies of the
21650 # variables and quote the copies for generation of the libtool script.
21651 - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
21652 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21654 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21655 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21656 @@ -19649,6 +19465,9 @@
21660 +# LTCC compiler flags.
21661 +LTCFLAGS=$lt_LTCFLAGS
21663 # A language-specific compiler.
21666 @@ -19991,8 +19810,8 @@
21669 # Checks for header files.
21670 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21671 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
21672 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21673 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21674 if test "${ac_cv_header_stdc+set}" = set; then
21675 echo $ECHO_N "(cached) $ECHO_C" >&6
21677 @@ -20016,24 +19835,36 @@
21680 rm -f conftest.$ac_objext
21681 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21682 - (eval $ac_compile) 2>conftest.er1
21683 +if { (ac_try="$ac_compile"
21684 +case "(($ac_try" in
21685 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21686 + *) ac_try_echo=$ac_try;;
21688 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21689 + (eval "$ac_compile") 2>conftest.er1
21691 grep -v '^ *+' conftest.er1 >conftest.err
21693 cat conftest.err >&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } &&
21696 - { ac_try='test -z "$ac_c_werror_flag"
21697 - || test ! -s conftest.err'
21698 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21699 - (eval $ac_try) 2>&5
21700 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21701 + { (case "(($ac_try" in
21702 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21703 + *) ac_try_echo=$ac_try;;
21705 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21706 + (eval "$ac_try") 2>&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; } &&
21710 { ac_try='test -s conftest.$ac_objext'
21711 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21712 - (eval $ac_try) 2>&5
21713 + { (case "(($ac_try" in
21714 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21715 + *) ac_try_echo=$ac_try;;
21717 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21718 + (eval "$ac_try") 2>&5
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); }; }; then
21722 @@ -20042,9 +19873,10 @@
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.$ac_ext >&5
21726 -ac_cv_header_stdc=no
21727 + ac_cv_header_stdc=no
21729 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21731 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21733 if test $ac_cv_header_stdc = yes; then
21734 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21735 @@ -20100,6 +19932,7 @@
21736 cat >>conftest.$ac_ext <<_ACEOF
21737 /* end confdefs.h. */
21739 +#include <stdlib.h>
21740 #if ((' ' & 0x0FF) == 0x020)
21741 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21742 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21743 @@ -20119,18 +19952,27 @@
21744 for (i = 0; i < 256; i++)
21745 if (XOR (islower (i), ISLOWER (i))
21746 || toupper (i) != TOUPPER (i))
21753 rm -f conftest$ac_exeext
21754 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21755 - (eval $ac_link) 2>&5
21756 +if { (ac_try="$ac_link"
21757 +case "(($ac_try" in
21758 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21759 + *) ac_try_echo=$ac_try;;
21761 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21762 + (eval "$ac_link") 2>&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21766 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767 - (eval $ac_try) 2>&5
21768 + { (case "(($ac_try" in
21769 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21770 + *) ac_try_echo=$ac_try;;
21772 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21773 + (eval "$ac_try") 2>&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); }; }; then
21777 @@ -20143,12 +19985,14 @@
21778 ( exit $ac_status )
21779 ac_cv_header_stdc=no
21781 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21782 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21788 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21789 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
21790 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21791 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21792 if test $ac_cv_header_stdc = yes; then
21794 cat >>confdefs.h <<\_ACEOF
21795 @@ -20164,18 +20008,19 @@
21796 for ac_header in fcntl.h stdlib.h string.h unistd.h
21798 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21799 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
21800 - echo "$as_me:$LINENO: checking for $ac_header" >&5
21801 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21802 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
21803 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21804 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
21805 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21806 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21807 echo $ECHO_N "(cached) $ECHO_C" >&6
21809 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21810 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21811 +ac_res=`eval echo '${'$as_ac_Header'}'`
21812 + { echo "$as_me:$LINENO: result: $ac_res" >&5
21813 +echo "${ECHO_T}$ac_res" >&6; }
21815 # Is the header compilable?
21816 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
21817 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21818 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21819 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21820 cat >conftest.$ac_ext <<_ACEOF
21823 @@ -20186,24 +20031,36 @@
21824 #include <$ac_header>
21826 rm -f conftest.$ac_objext
21827 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21828 - (eval $ac_compile) 2>conftest.er1
21829 +if { (ac_try="$ac_compile"
21830 +case "(($ac_try" in
21831 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21832 + *) ac_try_echo=$ac_try;;
21834 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21835 + (eval "$ac_compile") 2>conftest.er1
21837 grep -v '^ *+' conftest.er1 >conftest.err
21839 cat conftest.err >&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); } &&
21842 - { ac_try='test -z "$ac_c_werror_flag"
21843 - || test ! -s conftest.err'
21844 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 - (eval $ac_try) 2>&5
21846 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21847 + { (case "(($ac_try" in
21848 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21849 + *) ac_try_echo=$ac_try;;
21851 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21852 + (eval "$ac_try") 2>&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); }; } &&
21856 { ac_try='test -s conftest.$ac_objext'
21857 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21858 - (eval $ac_try) 2>&5
21859 + { (case "(($ac_try" in
21860 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21861 + *) ac_try_echo=$ac_try;;
21863 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21864 + (eval "$ac_try") 2>&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); }; }; then
21868 @@ -20212,15 +20069,16 @@
21869 echo "$as_me: failed program was:" >&5
21870 sed 's/^/| /' conftest.$ac_ext >&5
21872 -ac_header_compiler=no
21873 + ac_header_compiler=no
21875 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21876 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21877 -echo "${ECHO_T}$ac_header_compiler" >&6
21879 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21881 +echo "${ECHO_T}$ac_header_compiler" >&6; }
21883 # Is the header present?
21884 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
21885 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21886 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21887 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21888 cat >conftest.$ac_ext <<_ACEOF
21891 @@ -20229,8 +20087,13 @@
21892 /* end confdefs.h. */
21893 #include <$ac_header>
21895 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21896 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21897 +if { (ac_try="$ac_cpp conftest.$ac_ext"
21898 +case "(($ac_try" in
21899 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21900 + *) ac_try_echo=$ac_try;;
21902 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21903 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21905 grep -v '^ *+' conftest.er1 >conftest.err
21907 @@ -20254,9 +20117,10 @@
21909 ac_header_preproc=no
21912 rm -f conftest.err conftest.$ac_ext
21913 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21914 -echo "${ECHO_T}$ac_header_preproc" >&6
21915 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21916 +echo "${ECHO_T}$ac_header_preproc" >&6; }
21918 # So? What about this header?
21919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21920 @@ -20280,25 +20144,24 @@
21921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21922 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21923 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21927 ## -------------------------------------------- ##
21928 ## Report this to sebastian.marsching@suphp.org ##
21929 ## -------------------------------------------- ##
21932 - sed "s/^/$as_me: WARNING: /" >&2
21933 + ) | sed "s/^/$as_me: WARNING: /" >&2
21936 -echo "$as_me:$LINENO: checking for $ac_header" >&5
21937 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21938 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
21939 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21940 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21941 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21942 echo $ECHO_N "(cached) $ECHO_C" >&6
21944 eval "$as_ac_Header=\$ac_header_preproc"
21946 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21947 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21948 +ac_res=`eval echo '${'$as_ac_Header'}'`
21949 + { echo "$as_me:$LINENO: result: $ac_res" >&5
21950 +echo "${ECHO_T}$ac_res" >&6; }
21953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21954 @@ -20323,13 +20186,12 @@
21958 - echo "$as_me:$LINENO: checking for APR" >&5
21959 -echo $ECHO_N "checking for APR... $ECHO_C" >&6
21960 + { echo "$as_me:$LINENO: checking for APR" >&5
21961 +echo $ECHO_N "checking for APR... $ECHO_C" >&6; }
21963 -# Check whether --with-apr or --without-apr was given.
21964 +# Check whether --with-apr was given.
21965 if test "${with_apr+set}" = set; then
21966 - withval="$with_apr"
21968 + withval=$with_apr;
21969 if test "$withval" = "no" || test "$withval" = "yes"; then
21970 { { echo "$as_me:$LINENO: error: --with-apr requires a directory to be provided" >&5
21971 echo "$as_me: error: --with-apr requires a directory to be provided" >&2;}
21972 @@ -20381,28 +20243,29 @@
21980 - echo "$as_me:$LINENO: result: $apr_found" >&5
21981 -echo "${ECHO_T}$apr_found" >&6
21982 + { echo "$as_me:$LINENO: result: $apr_found" >&5
21983 +echo "${ECHO_T}$apr_found" >&6; }
21986 # Determine Apache version and find apxs
21988 -echo "$as_me:$LINENO: checking for dynamic Apache module support (via APXS)" >&5
21989 -echo $ECHO_N "checking for dynamic Apache module support (via APXS)... $ECHO_C" >&6
21990 +{ echo "$as_me:$LINENO: checking for dynamic Apache module support (via APXS)" >&5
21991 +echo $ECHO_N "checking for dynamic Apache module support (via APXS)... $ECHO_C" >&6; }
21993 -# Check whether --with-apxs or --without-apxs was given.
21994 +# Check whether --with-apxs was given.
21995 if test "${with_apxs+set}" = set; then
21996 - withval="$with_apxs"
21998 + withval=$with_apxs;
21999 if test "$withval" = "yes"; then
22009 if test -z "$APXS"; then
22011 @@ -20447,14 +20310,14 @@
22015 - echo "$as_me:$LINENO: result: found at $APXS (version $APACHE_VERSION)" >&5
22016 -echo "${ECHO_T}found at $APXS (version $APACHE_VERSION)" >&6
22017 + { echo "$as_me:$LINENO: result: found at $APXS (version $APACHE_VERSION)" >&5
22018 +echo "${ECHO_T}found at $APXS (version $APACHE_VERSION)" >&6; }
22023 - echo "$as_me:$LINENO: result: no" >&5
22024 -echo "${ECHO_T}no" >&6
22025 + { echo "$as_me:$LINENO: result: no" >&5
22026 +echo "${ECHO_T}no" >&6; }
22029 if test x"${APACHE_VERSION_2}" = xtrue ; then \
22030 @@ -20470,20 +20333,20 @@
22034 -echo "$as_me:$LINENO: checking for set-UID/set-GID mode" >&5
22035 -echo $ECHO_N "checking for set-UID/set-GID mode... $ECHO_C" >&6
22036 +{ echo "$as_me:$LINENO: checking for set-UID/set-GID mode" >&5
22037 +echo $ECHO_N "checking for set-UID/set-GID mode... $ECHO_C" >&6; }
22039 -# Check whether --with-setid-mode or --without-setid-mode was given.
22040 +# Check whether --with-setid-mode was given.
22041 if test "${with_setid_mode+set}" = set; then
22042 - withval="$with_setid_mode"
22044 + withval=$with_setid_mode;
22045 if test "$withval" = "yes"; then
22046 SETID_MODE="paranoid"
22048 SETID_MODE="$withval"
22055 if test -z "$SETID_MODE" ; then
22056 SETID_MODE="paranoid"
22057 @@ -20524,18 +20387,17 @@
22058 { (exit 1); exit 1; }; }
22061 - echo "$as_me:$LINENO: result: ok - using $SETID_MODE" >&5
22062 -echo "${ECHO_T}ok - using $SETID_MODE" >&6
22063 + { echo "$as_me:$LINENO: result: ok - using $SETID_MODE" >&5
22064 +echo "${ECHO_T}ok - using $SETID_MODE" >&6; }
22068 # Checkpath (docroot) option
22071 -# Check whether --enable-checkpath or --disable-checkpath was given.
22072 +# Check whether --enable-checkpath was given.
22073 if test "${enable_checkpath+set}" = set; then
22074 - enableval="$enable_checkpath"
22076 + enableval=$enable_checkpath;
22077 if test "$enableval" = "no"; then
22080 @@ -20545,16 +20407,16 @@
22092 -# Check whether --with-min-uid or --without-min-uid was given.
22093 +# Check whether --with-min-uid was given.
22094 if test "${with_min_uid+set}" = set; then
22095 - withval="$with_min_uid"
22097 + withval=$with_min_uid;
22098 if test "$withval" -a ! "$withval" = "yes" ; then
22100 cat >>confdefs.h <<_ACEOF
22101 @@ -20571,15 +20433,15 @@
22112 -# Check whether --with-min-gid or --without-min-gid was given.
22113 +# Check whether --with-min-gid was given.
22114 if test "${with_min_gid+set}" = set; then
22115 - withval="$with_min_gid"
22117 + withval=$with_min_gid;
22118 if test "$withval" -a ! "$withval" = "yes" ; then
22120 cat >>confdefs.h <<_ACEOF
22121 @@ -20596,16 +20458,16 @@
22133 -# Check whether --with-apache-user or --without-apache-user was given.
22134 +# Check whether --with-apache-user was given.
22135 if test "${with_apache_user+set}" = set; then
22136 - withval="$with_apache_user"
22138 + withval=$with_apache_user;
22139 if test "$withval" -a ! "$withval" = "yes" ; then
22141 cat >>confdefs.h <<_ACEOF
22142 @@ -20622,15 +20484,15 @@
22153 -# Check whether --with-logfile or --without-logfile was given.
22154 +# Check whether --with-logfile was given.
22155 if test "${with_logfile+set}" = set; then
22156 - withval="$with_logfile"
22158 + withval=$with_logfile;
22159 if test "$withval" -a ! "$withval" = "yes" ; then
22161 cat >>confdefs.h <<_ACEOF
22162 @@ -20647,7 +20509,8 @@
22171 # Conditional building of Apache module
22172 @@ -20684,7 +20547,7 @@
22176 - ac_config_files="$ac_config_files Makefile src/Makefile src/apache/Makefile src/apache2/Makefile"
22177 +ac_config_files="$ac_config_files Makefile src/Makefile src/apache/Makefile src/apache2/Makefile"
22179 cat >confcache <<\_ACEOF
22180 # This file is a shell script that caches the results of configure
22181 @@ -20704,39 +20567,58 @@
22183 # The following way of writing the cache mishandles newlines in values,
22184 # but we know of no workaround that is simple, portable, and efficient.
22185 -# So, don't put newlines in cache variables' values.
22186 +# So, we kill variables containing newlines.
22187 # Ultrix sh set writes to stderr and can't be redirected directly,
22188 # and sets the high bit in the cache file unless we assign to the vars.
22191 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22192 + eval ac_val=\$$ac_var
22193 + case $ac_val in #(
22195 + case $ac_var in #(
22196 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22197 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22199 + case $ac_var in #(
22200 + _ | IFS | as_nl) ;; #(
22201 + *) $as_unset $ac_var ;;
22207 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
22209 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
22210 + *${as_nl}ac_space=\ *)
22211 # `set' does not quote correctly, so add quotes (double-quote
22212 # substitution turns \\\\ into \\, and sed turns \\ into \).
22215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22219 # `set' quotes correctly as required by POSIX, so do not add quotes.
22221 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22222 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22230 + /^ac_cv_env_/b end
22234 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22236 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22237 - : end' >>confcache
22238 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
22239 - if test -w $cache_file; then
22240 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22241 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22242 + :end' >>confcache
22243 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22244 + if test -w "$cache_file"; then
22245 + test "x$cache_file" != "x/dev/null" &&
22246 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22247 +echo "$as_me: updating cache $cache_file" >&6;}
22248 cat confcache >$cache_file
22250 - echo "not updating unwritable cache $cache_file"
22251 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22252 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22256 @@ -20745,32 +20627,18 @@
22257 # Let make expand exec_prefix.
22258 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22260 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
22261 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22262 -# trailing colons and then remove the whole line if VPATH becomes empty
22263 -# (actually we leave an empty line to preserve line numbers).
22264 -if test "x$srcdir" = x.; then
22265 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
22266 -s/:*\$(srcdir):*/:/;
22267 -s/:*\${srcdir}:*/:/;
22268 -s/:*@srcdir@:*/:/;
22269 -s/^\([^=]*=[ ]*\):*/\1/;
22275 DEFS=-DHAVE_CONFIG_H
22279 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22280 # 1. Remove the extension, and $U if already installed.
22281 - ac_i=`echo "$ac_i" |
22282 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22284 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22285 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22286 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22287 + ac_i=`echo "$ac_i" | sed "$ac_script"`
22288 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22289 + # will be set to the directory where LIBOBJS objects are built.
22290 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22291 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22293 LIBOBJS=$ac_libobjs
22295 @@ -20850,11 +20718,35 @@
22296 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22297 # is contrary to our usage. Disable this feature.
22298 alias -g '${1+"$@"}'='"$@"'
22299 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22301 + setopt NO_GLOB_SUBST
22303 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
22305 +BIN_SH=xpg4; export BIN_SH # for Tru64
22306 DUALCASE=1; export DUALCASE # for MKS sh
22310 +# Avoid depending upon Character Ranges.
22311 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22312 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22313 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22314 +as_cr_digits='0123456789'
22315 +as_cr_alnum=$as_cr_Letters$as_cr_digits
22317 +# The user is always right.
22318 +if test "${PATH_SEPARATOR+set}" != set; then
22319 + echo "#! /bin/sh" >conf$$.sh
22320 + echo "exit 0" >>conf$$.sh
22321 + chmod +x conf$$.sh
22322 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22323 + PATH_SEPARATOR=';'
22330 # Support unset when possible.
22331 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22333 @@ -20863,8 +20755,43 @@
22338 +# We need space, tab and new line, in precisely that order. Quoting is
22339 +# there to prevent editors from complaining about space-tab.
22340 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
22341 +# splitting by setting IFS to empty value.)
22346 +# Find who we are. Look in the path if we contain no directory separator.
22348 + *[\\/]* ) as_myself=$0 ;;
22349 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22350 +for as_dir in $PATH
22353 + test -z "$as_dir" && as_dir=.
22354 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22360 +# We did not find ourselves, most probably we were run as `sh COMMAND'
22361 +# in which case we are not to be found in the path.
22362 +if test "x$as_myself" = x; then
22365 +if test ! -f "$as_myself"; then
22366 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22367 + { (exit 1); exit 1; }
22370 # Work around bugs in pre-3.0 UWIN ksh.
22371 -$as_unset ENV MAIL MAILPATH
22372 +for as_var in ENV MAIL MAILPATH
22373 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22378 @@ -20878,18 +20805,19 @@
22379 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22380 eval $as_var=C; export $as_var
22382 - $as_unset $as_var
22383 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22387 # Required to use basename.
22388 -if expr a : '\(a\)' >/dev/null 2>&1; then
22389 +if expr a : '\(a\)' >/dev/null 2>&1 &&
22390 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
22396 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22397 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22398 as_basename=basename
22401 @@ -20897,159 +20825,120 @@
22404 # Name of the executable.
22405 -as_me=`$as_basename "$0" ||
22406 +as_me=`$as_basename -- "$0" ||
22407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22408 X"$0" : 'X\(//\)$' \| \
22409 - X"$0" : 'X\(/\)$' \| \
22410 - . : '\(.\)' 2>/dev/null ||
22411 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22413 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22414 - /^X\/\(\/\/\)$/{ s//\1/; q; }
22415 - /^X\/\(\/\).*/{ s//\1/; q; }
22419 -# PATH needs CR, and LINENO needs CR and PATH.
22420 -# Avoid depending upon Character Ranges.
22421 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22422 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22423 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22424 -as_cr_digits='0123456789'
22425 -as_cr_alnum=$as_cr_Letters$as_cr_digits
22426 + sed '/^.*\/\([^/][^/]*\)\/*$/{
22440 -# The user is always right.
22441 -if test "${PATH_SEPARATOR+set}" != set; then
22442 - echo "#! /bin/sh" >conf$$.sh
22443 - echo "exit 0" >>conf$$.sh
22444 - chmod +x conf$$.sh
22445 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22446 - PATH_SEPARATOR=';'
22456 - as_lineno_1=$LINENO
22457 - as_lineno_2=$LINENO
22458 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22459 - test "x$as_lineno_1" != "x$as_lineno_2" &&
22460 - test "x$as_lineno_3" = "x$as_lineno_2" || {
22461 - # Find who we are. Look in the path if we contain no path at all
22462 - # relative or not.
22464 - *[\\/]* ) as_myself=$0 ;;
22465 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22466 -for as_dir in $PATH
22469 - test -z "$as_dir" && as_dir=.
22470 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22475 - # We did not find ourselves, most probably we were run as `sh COMMAND'
22476 - # in which case we are not to be found in the path.
22477 - if test "x$as_myself" = x; then
22480 - if test ! -f "$as_myself"; then
22481 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22482 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22483 - { (exit 1); exit 1; }; }
22485 - case $CONFIG_SHELL in
22487 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22488 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22491 - test -z "$as_dir" && as_dir=.
22492 - for as_base in sh bash ksh sh5; do
22495 - if ("$as_dir/$as_base" -c '
22496 as_lineno_1=$LINENO
22497 as_lineno_2=$LINENO
22498 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22499 test "x$as_lineno_1" != "x$as_lineno_2" &&
22500 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22501 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22502 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22503 - CONFIG_SHELL=$as_dir/$as_base
22504 - export CONFIG_SHELL
22505 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22512 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22514 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22515 # uniformly replaced by the line number. The first 'sed' inserts a
22516 - # line-number line before each line; the second 'sed' does the real
22517 - # work. The second script uses 'N' to pair each line-number line
22518 - # with the numbered line, and appends trailing '-' during
22519 - # substitution so that $LINENO is not a special case at line end.
22520 + # line-number line after each line using $LINENO; the second 'sed'
22521 + # does the real work. The second script uses 'N' to pair each
22522 + # line-number line with the line containing $LINENO, and appends
22523 + # trailing '-' during substitution so that $LINENO is not a special
22524 + # case at line end.
22525 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22526 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22527 - sed '=' <$as_myself |
22528 + # scripts with optimization help from Paolo Bonzini. Blame Lee
22529 + # E. McMahon (1931-1989) for sed's syntax. :-)
22535 + s/[$]LINENO.*/&-/
22542 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22544 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22547 - s,^['$as_cr_digits']*\n,,
22549 ' >$as_me.lineno &&
22550 - chmod +x $as_me.lineno ||
22551 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22552 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22553 + chmod +x "$as_me.lineno" ||
22554 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22555 { (exit 1); exit 1; }; }
22557 # Don't try to exec as it changes $[0], causing all sort of problems
22558 # (the dirname of $[0] is not the place where we might find the
22559 - # original and so on. Autoconf is especially sensible to this).
22560 - . ./$as_me.lineno
22561 + # original and so on. Autoconf is especially sensitive to this).
22562 + . "./$as_me.lineno"
22563 # Exit status is that of the last command.
22568 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22569 - *c*,-n*) ECHO_N= ECHO_C='
22571 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22572 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
22573 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22574 + as_dirname=dirname
22579 +ECHO_C= ECHO_N= ECHO_T=
22580 +case `echo -n x` in
22582 + case `echo 'x\c'` in
22583 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22590 -if expr a : '\(a\)' >/dev/null 2>&1; then
22591 +if expr a : '\(a\)' >/dev/null 2>&1 &&
22592 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
22598 rm -f conf$$ conf$$.exe conf$$.file
22599 +if test -d conf$$.dir; then
22600 + rm -f conf$$.dir/conf$$.file
22606 if ln -s conf$$.file conf$$ 2>/dev/null; then
22607 - # We could just check for DJGPP; but this test a) works b) is more generic
22608 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22609 - if test -f conf$$.exe; then
22610 - # Don't use ln at all; we don't have any links
22612 + # ... but there are two gotchas:
22613 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22614 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22615 + # In both cases, we have to default to `cp -p'.
22616 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22621 elif ln conf$$.file conf$$ 2>/dev/null; then
22626 -rm -f conf$$ conf$$.exe conf$$.file
22627 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22628 +rmdir conf$$.dir 2>/dev/null
22630 if mkdir -p . 2>/dev/null; then
22632 @@ -21058,40 +20947,35 @@
22636 -as_executable_p="test -f"
22637 +# Find out whether ``test -x'' works. Don't use a zero-byte file, as
22638 +# systems may use methods other than mode bits to determine executability.
22639 +cat >conf$$.file <<_ASEOF
22643 +chmod +x conf$$.file
22644 +if test -x conf$$.file >/dev/null 2>&1; then
22645 + as_executable_p="test -x"
22647 + as_executable_p=:
22651 # Sed expression to map a string onto a valid CPP name.
22652 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22654 -# Sed expression to map a string onto a valid variable name.
22655 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22659 -# We need space, tab and new line, in precisely that order.
22669 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
22670 -# report actual input values of CONFIG_FILES etc. instead of their
22671 -# values after options handling. Logging --version etc. is OK.
22672 -exec 5>>config.log
22675 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22676 -## Running $as_me. ##
22680 +# Sed expression to map a string onto a valid variable name.
22681 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22686 +# Save the log message, to keep $[0] and so on meaningful, and to
22687 +# report actual input values of CONFIG_FILES etc. instead of their
22688 +# values after options handling.
22690 This file was extended by suPHP $as_me 0.6.1, which was
22691 -generated by GNU Autoconf 2.59. Invocation command line was
22692 +generated by GNU Autoconf 2.60a. Invocation command line was
22694 CONFIG_FILES = $CONFIG_FILES
22695 CONFIG_HEADERS = $CONFIG_HEADERS
22696 @@ -21099,30 +20983,20 @@
22697 CONFIG_COMMANDS = $CONFIG_COMMANDS
22701 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22703 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
22708 +cat >>$CONFIG_STATUS <<_ACEOF
22709 # Files that config.status was made for.
22710 -if test -n "$ac_config_files"; then
22711 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22714 -if test -n "$ac_config_headers"; then
22715 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22718 -if test -n "$ac_config_links"; then
22719 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22721 +config_files="$ac_config_files"
22722 +config_headers="$ac_config_headers"
22723 +config_commands="$ac_config_commands"
22725 -if test -n "$ac_config_commands"; then
22726 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22730 cat >>$CONFIG_STATUS <<\_ACEOF
22733 \`$as_me' instantiates files from templates according to the
22734 current configuration.
22735 @@ -21130,7 +21004,7 @@
22736 Usage: $0 [OPTIONS] [FILE]...
22738 -h, --help print this help, then exit
22739 - -V, --version print version number, then exit
22740 + -V, --version print version number and configuration settings, then exit
22741 -q, --quiet do not print progress messages
22742 -d, --debug don't remove temporary files
22743 --recheck update $as_me by reconfiguring in the same conditions
22744 @@ -21149,19 +21023,21 @@
22747 Report bugs to <bug-autoconf@gnu.org>."
22751 cat >>$CONFIG_STATUS <<_ACEOF
22753 suPHP config.status 0.6.1
22754 -configured by $0, generated by GNU Autoconf 2.59,
22755 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22756 +configured by $0, generated by GNU Autoconf 2.60a,
22757 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22759 -Copyright (C) 2003 Free Software Foundation, Inc.
22760 +Copyright (C) 2006 Free Software Foundation, Inc.
22761 This config.status script is free software; the Free Software Foundation
22762 gives unlimited permission to copy, distribute and modify it."
22764 -INSTALL="$INSTALL"
22768 +INSTALL='$INSTALL'
22771 cat >>$CONFIG_STATUS <<\_ACEOF
22772 @@ -21172,39 +21048,24 @@
22776 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
22777 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
22778 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
22779 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22788 - *) # This is not an option, so the user has probably given explicit
22791 - ac_need_defaults=false;;
22795 # Handling of the options.
22797 -cat >>$CONFIG_STATUS <<\_ACEOF
22798 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22800 - --version | --vers* | -V )
22801 - echo "$ac_cs_version"; exit 0 ;;
22803 - # Conflict between --help and --header
22804 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
22805 -Try \`$0 --help' for more information." >&5
22806 -echo "$as_me: error: ambiguous option: $1
22807 -Try \`$0 --help' for more information." >&2;}
22808 - { (exit 1); exit 1; }; };;
22809 - --help | --hel | -h )
22810 - echo "$ac_cs_usage"; exit 0 ;;
22811 - --debug | --d* | -d )
22812 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22813 + echo "$ac_cs_version"; exit ;;
22814 + --debug | --debu | --deb | --de | --d | -d )
22816 --file | --fil | --fi | --f )
22818 @@ -21214,18 +21075,24 @@
22820 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22821 ac_need_defaults=false;;
22823 + # Conflict between --help and --header
22824 + { echo "$as_me: error: ambiguous option: $1
22825 +Try \`$0 --help' for more information." >&2
22826 + { (exit 1); exit 1; }; };;
22827 + --help | --hel | -h )
22828 + echo "$ac_cs_usage"; exit ;;
22829 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22830 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22833 # This is an error.
22834 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22835 -Try \`$0 --help' for more information." >&5
22836 -echo "$as_me: error: unrecognized option: $1
22837 -Try \`$0 --help' for more information." >&2;}
22838 + -*) { echo "$as_me: error: unrecognized option: $1
22839 +Try \`$0 --help' for more information." >&2
22840 { (exit 1); exit 1; }; } ;;
22842 - *) ac_config_targets="$ac_config_targets $1" ;;
22843 + *) ac_config_targets="$ac_config_targets $1"
22844 + ac_need_defaults=false ;;
22848 @@ -21241,40 +21108,52 @@
22850 cat >>$CONFIG_STATUS <<_ACEOF
22851 if \$ac_cs_recheck; then
22852 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22853 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22854 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22855 + CONFIG_SHELL=$SHELL
22856 + export CONFIG_SHELL
22857 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22861 +cat >>$CONFIG_STATUS <<\_ACEOF
22862 +exec 5>>config.log
22865 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22866 +## Running $as_me. ##
22872 cat >>$CONFIG_STATUS <<_ACEOF
22874 -# INIT-COMMANDS section.
22878 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22884 cat >>$CONFIG_STATUS <<\_ACEOF
22886 +# Handling of arguments.
22887 for ac_config_target in $ac_config_targets
22889 - case "$ac_config_target" in
22890 - # Handling of arguments.
22891 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22892 - "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22893 - "src/apache/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/apache/Makefile" ;;
22894 - "src/apache2/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/apache2/Makefile" ;;
22895 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22896 - "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
22897 + case $ac_config_target in
22898 + "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
22899 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22900 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22901 + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22902 + "src/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/apache/Makefile" ;;
22903 + "src/apache2/Makefile") CONFIG_FILES="$CONFIG_FILES src/apache2/Makefile" ;;
22905 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22906 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22907 { (exit 1); exit 1; }; };;
22912 # If the user did not use the arguments to specify the items to instantiate,
22913 # then the envvar interface is used. Set only those that are not.
22914 # We use the long form for the default assignment because of an extremely
22915 @@ -21286,614 +21165,602 @@
22918 # Have a temporary directory for convenience. Make it in the build tree
22919 -# simply because there is no reason to put it here, and in addition,
22920 +# simply because there is no reason against having it here, and in addition,
22921 # creating and moving files from /tmp can sometimes cause problems.
22922 -# Create a temporary directory, and hook for its removal unless debugging.
22923 +# Hook for its removal unless debugging.
22924 +# Note that there is a small window in which the directory will not be cleaned:
22925 +# after its creation but before its name has been assigned to `$tmp'.
22928 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22930 + trap 'exit_status=$?
22931 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22933 trap '{ (exit 1); exit 1; }' 1 2 13 15
22936 # Create a (secure) tmp directory for tmp files.
22939 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22940 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22941 test -n "$tmp" && test -d "$tmp"
22944 - tmp=./confstat$$-$RANDOM
22945 - (umask 077 && mkdir $tmp)
22946 + tmp=./conf$$-$RANDOM
22947 + (umask 077 && mkdir "$tmp")
22950 echo "$me: cannot create a temporary directory in ." >&2
22951 { (exit 1); exit 1; }
22956 -cat >>$CONFIG_STATUS <<_ACEOF
22959 -# CONFIG_FILES section.
22960 +# Set up the sed scripts for CONFIG_FILES section.
22963 # No need to generate the scripts if there are no CONFIG_FILES.
22964 # This happens for instance when ./config.status config.h
22965 -if test -n "\$CONFIG_FILES"; then
22966 - # Protect against being on the right side of a sed subst in config.status.
22967 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22968 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22969 -s,@SHELL@,$SHELL,;t t
22970 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22971 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22972 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22973 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22974 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22975 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22976 -s,@exec_prefix@,$exec_prefix,;t t
22977 -s,@prefix@,$prefix,;t t
22978 -s,@program_transform_name@,$program_transform_name,;t t
22979 -s,@bindir@,$bindir,;t t
22980 -s,@sbindir@,$sbindir,;t t
22981 -s,@libexecdir@,$libexecdir,;t t
22982 -s,@datadir@,$datadir,;t t
22983 -s,@sysconfdir@,$sysconfdir,;t t
22984 -s,@sharedstatedir@,$sharedstatedir,;t t
22985 -s,@localstatedir@,$localstatedir,;t t
22986 -s,@libdir@,$libdir,;t t
22987 -s,@includedir@,$includedir,;t t
22988 -s,@oldincludedir@,$oldincludedir,;t t
22989 -s,@infodir@,$infodir,;t t
22990 -s,@mandir@,$mandir,;t t
22991 -s,@build_alias@,$build_alias,;t t
22992 -s,@host_alias@,$host_alias,;t t
22993 -s,@target_alias@,$target_alias,;t t
22994 -s,@DEFS@,$DEFS,;t t
22995 -s,@ECHO_C@,$ECHO_C,;t t
22996 -s,@ECHO_N@,$ECHO_N,;t t
22997 -s,@ECHO_T@,$ECHO_T,;t t
22998 -s,@LIBS@,$LIBS,;t t
22999 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23000 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23001 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23002 -s,@CYGPATH_W@,$CYGPATH_W,;t t
23003 -s,@PACKAGE@,$PACKAGE,;t t
23004 -s,@VERSION@,$VERSION,;t t
23005 -s,@ACLOCAL@,$ACLOCAL,;t t
23006 -s,@AUTOCONF@,$AUTOCONF,;t t
23007 -s,@AUTOMAKE@,$AUTOMAKE,;t t
23008 -s,@AUTOHEADER@,$AUTOHEADER,;t t
23009 -s,@MAKEINFO@,$MAKEINFO,;t t
23010 -s,@install_sh@,$install_sh,;t t
23011 -s,@STRIP@,$STRIP,;t t
23012 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23013 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23014 -s,@mkdir_p@,$mkdir_p,;t t
23016 -s,@SET_MAKE@,$SET_MAKE,;t t
23017 -s,@am__leading_dot@,$am__leading_dot,;t t
23018 -s,@AMTAR@,$AMTAR,;t t
23019 -s,@am__tar@,$am__tar,;t t
23020 -s,@am__untar@,$am__untar,;t t
23022 -s,@CFLAGS@,$CFLAGS,;t t
23023 -s,@LDFLAGS@,$LDFLAGS,;t t
23024 -s,@CPPFLAGS@,$CPPFLAGS,;t t
23025 -s,@ac_ct_CC@,$ac_ct_CC,;t t
23026 -s,@EXEEXT@,$EXEEXT,;t t
23027 -s,@OBJEXT@,$OBJEXT,;t t
23028 -s,@DEPDIR@,$DEPDIR,;t t
23029 -s,@am__include@,$am__include,;t t
23030 -s,@am__quote@,$am__quote,;t t
23031 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
23032 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
23033 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
23034 -s,@CCDEPMODE@,$CCDEPMODE,;t t
23035 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
23036 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
23038 -s,@CXXFLAGS@,$CXXFLAGS,;t t
23039 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23040 -s,@CXXDEPMODE@,$CXXDEPMODE,;t t
23041 -s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
23042 -s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
23043 -s,@build@,$build,;t t
23044 -s,@build_cpu@,$build_cpu,;t t
23045 -s,@build_vendor@,$build_vendor,;t t
23046 -s,@build_os@,$build_os,;t t
23047 -s,@host@,$host,;t t
23048 -s,@host_cpu@,$host_cpu,;t t
23049 -s,@host_vendor@,$host_vendor,;t t
23050 -s,@host_os@,$host_os,;t t
23051 -s,@EGREP@,$EGREP,;t t
23052 -s,@LN_S@,$LN_S,;t t
23053 -s,@ECHO@,$ECHO,;t t
23055 -s,@ac_ct_AR@,$ac_ct_AR,;t t
23056 -s,@RANLIB@,$RANLIB,;t t
23057 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23059 -s,@CXXCPP@,$CXXCPP,;t t
23061 -s,@FFLAGS@,$FFLAGS,;t t
23062 -s,@ac_ct_F77@,$ac_ct_F77,;t t
23063 -s,@LIBTOOL@,$LIBTOOL,;t t
23064 -s,@APXS@,$APXS,;t t
23065 -s,@APACHE_VERSION_1_3@,$APACHE_VERSION_1_3,;t t
23066 -s,@APACHE_VERSION_2@,$APACHE_VERSION_2,;t t
23067 -s,@APXS_INCLUDEDIR@,$APXS_INCLUDEDIR,;t t
23068 -s,@APXS_LIBEXECDIR@,$APXS_LIBEXECDIR,;t t
23069 -s,@APXS_EXTRA_CFLAGS@,$APXS_EXTRA_CFLAGS,;t t
23070 -s,@APR_INCLUDEDIR@,$APR_INCLUDEDIR,;t t
23071 -s,@OPT_APACHEMOD_USERGROUP_DEF@,$OPT_APACHEMOD_USERGROUP_DEF,;t t
23072 -s,@COND_AP13_TRUE@,$COND_AP13_TRUE,;t t
23073 -s,@COND_AP13_FALSE@,$COND_AP13_FALSE,;t t
23074 -s,@COND_AP20_TRUE@,$COND_AP20_TRUE,;t t
23075 -s,@COND_AP20_FALSE@,$COND_AP20_FALSE,;t t
23076 -s,@COND_APUSERGROUP_TRUE@,$COND_APUSERGROUP_TRUE,;t t
23077 -s,@COND_APUSERGROUP_FALSE@,$COND_APUSERGROUP_FALSE,;t t
23078 -s,@LIBOBJS@,$LIBOBJS,;t t
23079 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23084 - cat >>$CONFIG_STATUS <<\_ACEOF
23085 - # Split the substitutions into bite-sized pieces for seds with
23086 - # small command number limits, like on Digital OSF/1 and HP-UX.
23087 - ac_max_sed_lines=48
23088 - ac_sed_frag=1 # Number of current file.
23089 - ac_beg=1 # First line for current file.
23090 - ac_end=$ac_max_sed_lines # Line after last line for current file.
23093 - while $ac_more_lines; do
23094 - if test $ac_beg -gt 1; then
23095 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23097 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23099 - if test ! -s $tmp/subs.frag; then
23100 - ac_more_lines=false
23102 - # The purpose of the label and of the branching condition is to
23103 - # speed up the sed processing (if there are no `@' at all, there
23104 - # is no need to browse any of the substitutions).
23105 - # These are the two extra sed commands mentioned above.
23107 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23108 - if test -z "$ac_sed_cmds"; then
23109 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23111 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23113 - ac_sed_frag=`expr $ac_sed_frag + 1`
23115 - ac_end=`expr $ac_end + $ac_max_sed_lines`
23118 - if test -z "$ac_sed_cmds"; then
23120 +if test -n "$CONFIG_FILES"; then
23127 +for ac_last_try in false false false false false :; do
23128 + cat >conf$$subs.sed <<_ACEOF
23129 +SHELL!$SHELL$ac_delim
23130 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23131 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23132 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23133 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23134 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23135 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23136 +exec_prefix!$exec_prefix$ac_delim
23137 +prefix!$prefix$ac_delim
23138 +program_transform_name!$program_transform_name$ac_delim
23139 +bindir!$bindir$ac_delim
23140 +sbindir!$sbindir$ac_delim
23141 +libexecdir!$libexecdir$ac_delim
23142 +datarootdir!$datarootdir$ac_delim
23143 +datadir!$datadir$ac_delim
23144 +sysconfdir!$sysconfdir$ac_delim
23145 +sharedstatedir!$sharedstatedir$ac_delim
23146 +localstatedir!$localstatedir$ac_delim
23147 +includedir!$includedir$ac_delim
23148 +oldincludedir!$oldincludedir$ac_delim
23149 +docdir!$docdir$ac_delim
23150 +infodir!$infodir$ac_delim
23151 +htmldir!$htmldir$ac_delim
23152 +dvidir!$dvidir$ac_delim
23153 +pdfdir!$pdfdir$ac_delim
23154 +psdir!$psdir$ac_delim
23155 +libdir!$libdir$ac_delim
23156 +localedir!$localedir$ac_delim
23157 +mandir!$mandir$ac_delim
23158 +DEFS!$DEFS$ac_delim
23159 +ECHO_C!$ECHO_C$ac_delim
23160 +ECHO_N!$ECHO_N$ac_delim
23161 +ECHO_T!$ECHO_T$ac_delim
23162 +LIBS!$LIBS$ac_delim
23163 +build_alias!$build_alias$ac_delim
23164 +host_alias!$host_alias$ac_delim
23165 +target_alias!$target_alias$ac_delim
23166 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23167 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23168 +INSTALL_DATA!$INSTALL_DATA$ac_delim
23169 +CYGPATH_W!$CYGPATH_W$ac_delim
23170 +PACKAGE!$PACKAGE$ac_delim
23171 +VERSION!$VERSION$ac_delim
23172 +ACLOCAL!$ACLOCAL$ac_delim
23173 +AUTOCONF!$AUTOCONF$ac_delim
23174 +AUTOMAKE!$AUTOMAKE$ac_delim
23175 +AUTOHEADER!$AUTOHEADER$ac_delim
23176 +MAKEINFO!$MAKEINFO$ac_delim
23177 +install_sh!$install_sh$ac_delim
23178 +STRIP!$STRIP$ac_delim
23179 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23180 +mkdir_p!$mkdir_p$ac_delim
23182 +SET_MAKE!$SET_MAKE$ac_delim
23183 +am__leading_dot!$am__leading_dot$ac_delim
23184 +AMTAR!$AMTAR$ac_delim
23185 +am__tar!$am__tar$ac_delim
23186 +am__untar!$am__untar$ac_delim
23188 +CFLAGS!$CFLAGS$ac_delim
23189 +LDFLAGS!$LDFLAGS$ac_delim
23190 +CPPFLAGS!$CPPFLAGS$ac_delim
23191 +ac_ct_CC!$ac_ct_CC$ac_delim
23192 +EXEEXT!$EXEEXT$ac_delim
23193 +OBJEXT!$OBJEXT$ac_delim
23194 +DEPDIR!$DEPDIR$ac_delim
23195 +am__include!$am__include$ac_delim
23196 +am__quote!$am__quote$ac_delim
23197 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23198 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23199 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23200 +CCDEPMODE!$CCDEPMODE$ac_delim
23201 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23202 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23204 +CXXFLAGS!$CXXFLAGS$ac_delim
23205 +ac_ct_CXX!$ac_ct_CXX$ac_delim
23206 +CXXDEPMODE!$CXXDEPMODE$ac_delim
23207 +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23208 +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23209 +build!$build$ac_delim
23210 +build_cpu!$build_cpu$ac_delim
23211 +build_vendor!$build_vendor$ac_delim
23212 +build_os!$build_os$ac_delim
23213 +host!$host$ac_delim
23214 +host_cpu!$host_cpu$ac_delim
23215 +host_vendor!$host_vendor$ac_delim
23216 +host_os!$host_os$ac_delim
23217 +GREP!$GREP$ac_delim
23218 +EGREP!$EGREP$ac_delim
23219 +LN_S!$LN_S$ac_delim
23220 +ECHO!$ECHO$ac_delim
23222 +RANLIB!$RANLIB$ac_delim
23224 +CXXCPP!$CXXCPP$ac_delim
23228 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23230 + elif $ac_last_try; then
23231 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23232 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23233 + { (exit 1); exit 1; }; }
23235 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23237 -fi # test -n "$CONFIG_FILES"
23240 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23241 +if test -n "$ac_eof"; then
23242 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23243 + ac_eof=`expr $ac_eof + 1`
23246 +cat >>$CONFIG_STATUS <<_ACEOF
23247 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23248 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23251 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23252 +s/^/s,@/; s/!/@,|#_!!_#|/
23255 +s/'"$ac_delim"'$/,g/; t
23257 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23258 +' >>$CONFIG_STATUS <conf$$subs.sed
23259 +rm -f conf$$subs.sed
23260 +cat >>$CONFIG_STATUS <<_ACEOF
23266 +for ac_last_try in false false false false false :; do
23267 + cat >conf$$subs.sed <<_ACEOF
23268 +FFLAGS!$FFLAGS$ac_delim
23269 +ac_ct_F77!$ac_ct_F77$ac_delim
23270 +LIBTOOL!$LIBTOOL$ac_delim
23271 +APXS!$APXS$ac_delim
23272 +APACHE_VERSION_1_3!$APACHE_VERSION_1_3$ac_delim
23273 +APACHE_VERSION_2!$APACHE_VERSION_2$ac_delim
23274 +APXS_INCLUDEDIR!$APXS_INCLUDEDIR$ac_delim
23275 +APXS_LIBEXECDIR!$APXS_LIBEXECDIR$ac_delim
23276 +APXS_EXTRA_CFLAGS!$APXS_EXTRA_CFLAGS$ac_delim
23277 +APR_INCLUDEDIR!$APR_INCLUDEDIR$ac_delim
23278 +OPT_APACHEMOD_USERGROUP_DEF!$OPT_APACHEMOD_USERGROUP_DEF$ac_delim
23279 +COND_AP13_TRUE!$COND_AP13_TRUE$ac_delim
23280 +COND_AP13_FALSE!$COND_AP13_FALSE$ac_delim
23281 +COND_AP20_TRUE!$COND_AP20_TRUE$ac_delim
23282 +COND_AP20_FALSE!$COND_AP20_FALSE$ac_delim
23283 +COND_APUSERGROUP_TRUE!$COND_APUSERGROUP_TRUE$ac_delim
23284 +COND_APUSERGROUP_FALSE!$COND_APUSERGROUP_FALSE$ac_delim
23285 +LIBOBJS!$LIBOBJS$ac_delim
23286 +LTLIBOBJS!$LTLIBOBJS$ac_delim
23289 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
23291 + elif $ac_last_try; then
23292 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23293 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23294 + { (exit 1); exit 1; }; }
23296 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23300 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23301 +if test -n "$ac_eof"; then
23302 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23303 + ac_eof=`expr $ac_eof + 1`
23306 +cat >>$CONFIG_STATUS <<_ACEOF
23307 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23308 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23311 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23312 +s/^/s,@/; s/!/@,|#_!!_#|/
23315 +s/'"$ac_delim"'$/,g/; t
23317 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23318 +' >>$CONFIG_STATUS <conf$$subs.sed
23319 +rm -f conf$$subs.sed
23320 +cat >>$CONFIG_STATUS <<_ACEOF
23327 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
23328 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23329 +# trailing colons and then remove the whole line if VPATH becomes empty
23330 +# (actually we leave an empty line to preserve line numbers).
23331 +if test "x$srcdir" = x.; then
23332 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
23333 +s/:*\$(srcdir):*/:/
23334 +s/:*\${srcdir}:*/:/
23336 +s/^\([^=]*=[ ]*\):*/\1/
23342 cat >>$CONFIG_STATUS <<\_ACEOF
23343 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23344 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23346 - - | *:- | *:-:* ) # input from stdin
23348 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23349 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23350 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23351 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23352 - * ) ac_file_in=$ac_file.in ;;
23353 +fi # test -n "$CONFIG_FILES"
23356 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23359 + :[FHLC]) ac_mode=$ac_tag; continue;;
23361 + case $ac_mode$ac_tag in
23363 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23364 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23365 + { (exit 1); exit 1; }; };;
23366 + :[FH]-) ac_tag=-:-;;
23367 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23378 + :L) ac_source=$1;;
23384 + -) ac_f="$tmp/stdin";;
23385 + *) # Look for the file first in the build tree, then in the source tree
23386 + # (if the path is not absolute). The absolute path cannot be DOS-style,
23387 + # because $ac_f cannot contain `:'.
23388 + test -f "$ac_f" ||
23391 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23393 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23394 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23395 + { (exit 1); exit 1; }; };;
23397 + ac_file_inputs="$ac_file_inputs $ac_f"
23400 + # Let's still pretend it is `configure' which instantiates (i.e., don't
23401 + # use $as_me), people would be surprised to read:
23402 + # /* config.h. Generated by config.status. */
23403 + configure_input="Generated from "`IFS=:
23404 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23405 + if test x"$ac_file" != x-; then
23406 + configure_input="$ac_file. $configure_input"
23407 + { echo "$as_me:$LINENO: creating $ac_file" >&5
23408 +echo "$as_me: creating $ac_file" >&6;}
23412 + *:-:* | *:-) cat >"$tmp/stdin";;
23417 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23418 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23419 + ac_dir=`$as_dirname -- "$ac_file" ||
23420 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23421 X"$ac_file" : 'X\(//\)[^/]' \| \
23422 X"$ac_file" : 'X\(//\)$' \| \
23423 - X"$ac_file" : 'X\(/\)' \| \
23424 - . : '\(.\)' 2>/dev/null ||
23425 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23427 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23428 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23429 - /^X\(\/\/\)$/{ s//\1/; q; }
23430 - /^X\(\/\).*/{ s//\1/; q; }
23432 - { if $as_mkdir_p; then
23433 - mkdir -p "$ac_dir"
23436 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23440 + /^X\(\/\/\)[^/].*/{
23453 + { as_dir="$ac_dir"
23454 + case $as_dir in #(
23455 + -*) as_dir=./$as_dir;;
23457 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23459 - while test ! -d "$as_dir"; do
23460 - as_dirs="$as_dir $as_dirs"
23461 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
23463 + case $as_dir in #(
23464 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23465 + *) as_qdir=$as_dir;;
23467 + as_dirs="'$as_qdir' $as_dirs"
23468 + as_dir=`$as_dirname -- "$as_dir" ||
23469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23470 X"$as_dir" : 'X\(//\)[^/]' \| \
23471 X"$as_dir" : 'X\(//\)$' \| \
23472 - X"$as_dir" : 'X\(/\)' \| \
23473 - . : '\(.\)' 2>/dev/null ||
23474 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23476 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23477 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23478 - /^X\(\/\/\)$/{ s//\1/; q; }
23479 - /^X\(\/\).*/{ s//\1/; q; }
23481 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23485 + /^X\(\/\/\)[^/].*/{
23498 + test -d "$as_dir" && break
23500 - test ! -n "$as_dirs" || mkdir $as_dirs
23501 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23502 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23503 + test -z "$as_dirs" || eval "mkdir $as_dirs"
23504 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23505 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
23506 { (exit 1); exit 1; }; }; }
23510 -if test "$ac_dir" != .; then
23512 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23514 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23515 - # A "../" for each directory in $ac_dir_suffix.
23516 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23518 - ac_dir_suffix= ac_top_builddir=
23520 + # A ".." for each directory in $ac_dir_suffix.
23521 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23522 + case $ac_top_builddir_sub in
23523 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23524 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23527 +ac_abs_top_builddir=$ac_pwd
23528 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
23529 +# for backward compatibility:
23530 +ac_top_builddir=$ac_top_build_prefix
23533 - .) # No --srcdir option. We are building in place.
23534 + .) # We are building in place.
23536 - if test -z "$ac_top_builddir"; then
23539 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23541 - [\\/]* | ?:[\\/]* ) # Absolute path.
23542 + ac_top_srcdir=$ac_top_builddir_sub
23543 + ac_abs_top_srcdir=$ac_pwd ;;
23544 + [\\/]* | ?:[\\/]* ) # Absolute name.
23545 ac_srcdir=$srcdir$ac_dir_suffix;
23546 - ac_top_srcdir=$srcdir ;;
23547 - *) # Relative path.
23548 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23549 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
23550 + ac_top_srcdir=$srcdir
23551 + ac_abs_top_srcdir=$srcdir ;;
23552 + *) # Relative name.
23553 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23554 + ac_top_srcdir=$ac_top_build_prefix$srcdir
23555 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23557 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23559 -# Do not use `cd foo && pwd` to compute absolute paths, because
23560 -# the directories may not exist.
23562 -.) ac_abs_builddir="$ac_dir";;
23564 - case "$ac_dir" in
23565 - .) ac_abs_builddir=`pwd`;;
23566 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23567 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
23570 -case $ac_abs_builddir in
23571 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
23573 - case ${ac_top_builddir}. in
23574 - .) ac_abs_top_builddir=$ac_abs_builddir;;
23575 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23576 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23579 -case $ac_abs_builddir in
23580 -.) ac_abs_srcdir=$ac_srcdir;;
23582 - case $ac_srcdir in
23583 - .) ac_abs_srcdir=$ac_abs_builddir;;
23584 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23585 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23588 -case $ac_abs_builddir in
23589 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
23591 - case $ac_top_srcdir in
23592 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
23593 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23594 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23605 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23606 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23607 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23611 - if test x"$ac_file" != x-; then
23612 - { echo "$as_me:$LINENO: creating $ac_file" >&5
23613 -echo "$as_me: creating $ac_file" >&6;}
23616 - # Let's still pretend it is `configure' which instantiates (i.e., don't
23617 - # use $as_me), people would be surprised to read:
23618 - # /* config.h. Generated by config.status. */
23619 - if test x"$ac_file" = x-; then
23622 - configure_input="$ac_file. "
23624 - configure_input=$configure_input"Generated from `echo $ac_file_in |
23625 - sed 's,.*/,,'` by configure."
23627 - # First look for the input files in the build tree, otherwise in the
23629 - ac_file_inputs=`IFS=:
23630 - for f in $ac_file_in; do
23632 - -) echo $tmp/stdin ;;
23634 - # Absolute (can't be DOS-style, as IFS=:)
23635 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23636 -echo "$as_me: error: cannot find input file: $f" >&2;}
23637 - { (exit 1); exit 1; }; }
23640 - if test -f "$f"; then
23643 - elif test -f "$srcdir/$f"; then
23645 - echo "$srcdir/$f"
23648 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23649 -echo "$as_me: error: cannot find input file: $f" >&2;}
23650 - { (exit 1); exit 1; }; }
23653 - done` || { (exit 1); exit 1; }
23654 +cat >>$CONFIG_STATUS <<\_ACEOF
23655 +# If the template does not know about datarootdir, expand it.
23656 +# FIXME: This hack should be removed a few years after 2.60.
23657 +ac_datarootdir_hack=; ac_datarootdir_seen=
23659 +case `sed -n '/datarootdir/ {
23668 +' $ac_file_inputs` in
23669 +*datarootdir*) ac_datarootdir_seen=yes;;
23670 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23671 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23672 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23674 cat >>$CONFIG_STATUS <<_ACEOF
23675 + ac_datarootdir_hack='
23676 + s&@datadir@&$datadir&g
23677 + s&@docdir@&$docdir&g
23678 + s&@infodir@&$infodir&g
23679 + s&@localedir@&$localedir&g
23680 + s&@mandir@&$mandir&g
23681 + s&\\\${datarootdir}&$datarootdir&g' ;;
23685 +# Neutralize VPATH when `$srcdir' = `.'.
23686 +# Shell code in configure.ac might set extrasub.
23687 +# FIXME: do we really want to maintain this feature?
23688 +cat >>$CONFIG_STATUS <<_ACEOF
23692 cat >>$CONFIG_STATUS <<\_ACEOF
23694 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23695 -s,@configure_input@,$configure_input,;t t
23696 -s,@srcdir@,$ac_srcdir,;t t
23697 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
23698 -s,@top_srcdir@,$ac_top_srcdir,;t t
23699 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23700 -s,@builddir@,$ac_builddir,;t t
23701 -s,@abs_builddir@,$ac_abs_builddir,;t t
23702 -s,@top_builddir@,$ac_top_builddir,;t t
23703 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23704 -s,@INSTALL@,$ac_INSTALL,;t t
23705 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23707 - if test x"$ac_file" != x-; then
23708 - mv $tmp/out $ac_file
23716 -cat >>$CONFIG_STATUS <<\_ACEOF
23719 -# CONFIG_HEADER section.
23722 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23723 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
23725 -# ac_d sets the value in "#define NAME VALUE" lines.
23726 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23727 -ac_dB='[ ].*$,\1#\2'
23730 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23731 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23732 -ac_uB='$,\1#\2define\3'
23735 +s&@configure_input@&$configure_input&;t t
23736 +s&@top_builddir@&$ac_top_builddir_sub&;t t
23737 +s&@srcdir@&$ac_srcdir&;t t
23738 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
23739 +s&@top_srcdir@&$ac_top_srcdir&;t t
23740 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23741 +s&@builddir@&$ac_builddir&;t t
23742 +s&@abs_builddir@&$ac_abs_builddir&;t t
23743 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23744 +s&@INSTALL@&$ac_INSTALL&;t t
23745 +$ac_datarootdir_hack
23746 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23748 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23749 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23750 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23751 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23752 +which seems to be undefined. Please make sure it is defined." >&5
23753 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23754 +which seems to be undefined. Please make sure it is defined." >&2;}
23756 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23757 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23758 + rm -f "$tmp/stdin"
23760 - - | *:- | *:-:* ) # input from stdin
23762 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23763 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23764 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23765 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23766 - * ) ac_file_in=$ac_file.in ;;
23767 + -) cat "$tmp/out"; rm -f "$tmp/out";;
23768 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23771 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23772 -echo "$as_me: creating $ac_file" >&6;}
23774 - # First look for the input files in the build tree, otherwise in the
23776 - ac_file_inputs=`IFS=:
23777 - for f in $ac_file_in; do
23779 - -) echo $tmp/stdin ;;
23781 - # Absolute (can't be DOS-style, as IFS=:)
23782 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23783 -echo "$as_me: error: cannot find input file: $f" >&2;}
23784 - { (exit 1); exit 1; }; }
23785 - # Do quote $f, to prevent DOS paths from being IFS'd.
23788 - if test -f "$f"; then
23791 - elif test -f "$srcdir/$f"; then
23793 - echo "$srcdir/$f"
23796 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23797 -echo "$as_me: error: cannot find input file: $f" >&2;}
23798 - { (exit 1); exit 1; }; }
23801 - done` || { (exit 1); exit 1; }
23802 - # Remove the trailing spaces.
23803 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23812 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
23813 -# `conftest.undefs', that substitutes the proper values into
23814 -# config.h.in to produce config.h. The first handles `#define'
23815 -# templates, and the second `#undef' templates.
23816 -# And first: Protect against being on the right side of a sed subst in
23817 -# config.status. Protect against being in an unquoted here document
23818 -# in config.status.
23819 -rm -f conftest.defines conftest.undefs
23820 -# Using a here document instead of a string reduces the quoting nightmare.
23821 -# Putting comments in sed scripts is not portable.
23823 -# `end' is used to avoid that the second main sed command (meant for
23824 -# 0-ary CPP macros) applies to n-ary macro definitions.
23825 -# See the Autoconf documentation for `clear'.
23826 -cat >confdef2sed.sed <<\_ACEOF
23831 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23833 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23836 -# If some macros were called several times there might be several times
23837 -# the same #defines, which is useless. Nevertheless, we may not want to
23838 -# sort them, since we want the *last* AC-DEFINE to be honored.
23839 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23840 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23841 -rm -f confdef2sed.sed
23842 +# Transform confdefs.h into a sed script `conftest.defines', that
23843 +# substitutes the proper values into config.h.in to produce config.h.
23844 +rm -f conftest.defines conftest.tail
23845 +# First, append a space to every undef/define line, to ease matching.
23846 +echo 's/$/ /' >conftest.defines
23847 +# Then, protect against being on the right side of a sed subst, or in
23848 +# an unquoted here document, in config.status. If some macros were
23849 +# called several times there might be several #defines for the same
23850 +# symbol, which is useless. But do not sort them, since the last
23851 +# AC_DEFINE must be honored.
23852 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23853 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23854 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
23855 +# PARAMS is the parameter list in the macro definition--in most cases, it's
23856 +# just an empty string.
23857 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23858 +ac_dB='\\)[ (].*,\\1define\\2'
23862 -# This sed command replaces #undef with comments. This is necessary, for
23867 + s/^[ ]*#[ ]*define[ ][ ]*//
23872 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23873 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23874 + ' >>conftest.defines
23876 +# Remove the space that was appended to ease matching.
23877 +# Then replace #undef with comments. This is necessary, for
23878 # example, in the case of _POSIX_SOURCE, which is predefined and required
23879 # on some systems where configure will not decide to define it.
23880 -cat >>conftest.undefs <<\_ACEOF
23881 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23883 +# (The regexp can be short, since the line contains either #define or #undef.)
23885 +s,^[ #]*u.*,/* & */,' >>conftest.defines
23887 +# Break up conftest.defines:
23888 +ac_max_sed_lines=50
23890 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23891 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23892 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23894 +ac_in='$ac_file_inputs'
23895 +ac_out='"$tmp/out1"'
23896 +ac_nxt='"$tmp/out2"'
23898 -# Break up conftest.defines because some shells have a limit on the size
23899 -# of here documents, and old seds have small limits too (100 cmds).
23900 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23901 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23902 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23903 -echo ' :' >>$CONFIG_STATUS
23904 -rm -f conftest.tail
23905 -while grep . conftest.defines >/dev/null
23908 - # Write a limited-size here document to $tmp/defines.sed.
23909 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23910 - # Speed up: don't consider the non `#define' lines.
23911 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23912 - # Work around the forget-to-reset-the-flag bug.
23913 - echo 't clr' >>$CONFIG_STATUS
23914 - echo ': clr' >>$CONFIG_STATUS
23915 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
23916 + # Write a here document:
23917 + cat >>$CONFIG_STATUS <<_ACEOF
23918 + # First, check the format of the line:
23919 + cat >"\$tmp/defines.sed" <<\\CEOF
23920 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23921 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23925 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23927 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
23929 - mv $tmp/out $tmp/in
23930 -' >>$CONFIG_STATUS
23931 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
23932 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23933 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23934 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23935 + grep . conftest.tail >/dev/null || break
23936 rm -f conftest.defines
23937 mv conftest.tail conftest.defines
23939 -rm -f conftest.defines
23940 -echo ' fi # grep' >>$CONFIG_STATUS
23941 -echo >>$CONFIG_STATUS
23943 -# Break up conftest.undefs because some shells have a limit on the size
23944 -# of here documents, and old seds have small limits too (100 cmds).
23945 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23946 -rm -f conftest.tail
23947 -while grep . conftest.undefs >/dev/null
23949 - # Write a limited-size here document to $tmp/undefs.sed.
23950 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23951 - # Speed up: don't consider the non `#undef'
23952 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23953 - # Work around the forget-to-reset-the-flag bug.
23954 - echo 't clr' >>$CONFIG_STATUS
23955 - echo ': clr' >>$CONFIG_STATUS
23956 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23958 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23960 - mv $tmp/out $tmp/in
23961 -' >>$CONFIG_STATUS
23962 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23963 - rm -f conftest.undefs
23964 - mv conftest.tail conftest.undefs
23966 -rm -f conftest.undefs
23967 +rm -f conftest.defines conftest.tail
23969 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
23970 cat >>$CONFIG_STATUS <<\_ACEOF
23971 - # Let's still pretend it is `configure' which instantiates (i.e., don't
23972 - # use $as_me), people would be surprised to read:
23973 - # /* config.h. Generated by config.status. */
23974 - if test x"$ac_file" = x-; then
23975 - echo "/* Generated by configure. */" >$tmp/config.h
23977 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23979 - cat $tmp/in >>$tmp/config.h
23981 if test x"$ac_file" != x-; then
23982 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
23983 + echo "/* $configure_input */" >"$tmp/config.h"
23984 + cat "$ac_result" >>"$tmp/config.h"
23985 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23986 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23987 echo "$as_me: $ac_file is unchanged" >&6;}
23989 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23990 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23991 - X"$ac_file" : 'X\(//\)[^/]' \| \
23992 - X"$ac_file" : 'X\(//\)$' \| \
23993 - X"$ac_file" : 'X\(/\)' \| \
23994 - . : '\(.\)' 2>/dev/null ||
23995 -echo X"$ac_file" |
23996 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23997 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23998 - /^X\(\/\/\)$/{ s//\1/; q; }
23999 - /^X\(\/\).*/{ s//\1/; q; }
24001 - { if $as_mkdir_p; then
24002 - mkdir -p "$ac_dir"
24006 - while test ! -d "$as_dir"; do
24007 - as_dirs="$as_dir $as_dirs"
24008 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
24009 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24010 - X"$as_dir" : 'X\(//\)[^/]' \| \
24011 - X"$as_dir" : 'X\(//\)$' \| \
24012 - X"$as_dir" : 'X\(/\)' \| \
24013 - . : '\(.\)' 2>/dev/null ||
24015 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24016 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24017 - /^X\(\/\/\)$/{ s//\1/; q; }
24018 - /^X\(\/\).*/{ s//\1/; q; }
24021 - test ! -n "$as_dirs" || mkdir $as_dirs
24022 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24023 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24024 - { (exit 1); exit 1; }; }; }
24027 - mv $tmp/config.h $ac_file
24028 + mv "$tmp/config.h" $ac_file
24031 - cat $tmp/config.h
24032 - rm -f $tmp/config.h
24033 + echo "/* $configure_input */"
24036 + rm -f "$tmp/out12"
24037 # Compute $ac_file's index in $config_headers.
24039 for _am_header in $config_headers :; do
24040 @@ -21904,135 +21771,39 @@
24041 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24044 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
24045 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24046 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24047 X$ac_file : 'X\(//\)[^/]' \| \
24048 X$ac_file : 'X\(//\)$' \| \
24049 - X$ac_file : 'X\(/\)' \| \
24050 - . : '\(.\)' 2>/dev/null ||
24051 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24053 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24054 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24055 - /^X\(\/\/\)$/{ s//\1/; q; }
24056 - /^X\(\/\).*/{ s//\1/; q; }
24057 - s/.*/./; q'`/stamp-h$_am_stamp_count
24060 -cat >>$CONFIG_STATUS <<\_ACEOF
24063 -# CONFIG_COMMANDS section.
24065 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24066 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24067 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24068 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24069 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24070 - X"$ac_dest" : 'X\(//\)[^/]' \| \
24071 - X"$ac_dest" : 'X\(//\)$' \| \
24072 - X"$ac_dest" : 'X\(/\)' \| \
24073 - . : '\(.\)' 2>/dev/null ||
24074 -echo X"$ac_dest" |
24075 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24076 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24077 - /^X\(\/\/\)$/{ s//\1/; q; }
24078 - /^X\(\/\).*/{ s//\1/; q; }
24080 - { if $as_mkdir_p; then
24081 - mkdir -p "$ac_dir"
24085 - while test ! -d "$as_dir"; do
24086 - as_dirs="$as_dir $as_dirs"
24087 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
24088 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24089 - X"$as_dir" : 'X\(//\)[^/]' \| \
24090 - X"$as_dir" : 'X\(//\)$' \| \
24091 - X"$as_dir" : 'X\(/\)' \| \
24092 - . : '\(.\)' 2>/dev/null ||
24094 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24095 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24096 - /^X\(\/\/\)$/{ s//\1/; q; }
24097 - /^X\(\/\).*/{ s//\1/; q; }
24100 - test ! -n "$as_dirs" || mkdir $as_dirs
24101 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24102 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24103 - { (exit 1); exit 1; }; }; }
24107 -if test "$ac_dir" != .; then
24108 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24109 - # A "../" for each directory in $ac_dir_suffix.
24110 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24112 - ac_dir_suffix= ac_top_builddir=
24116 - .) # No --srcdir option. We are building in place.
24118 - if test -z "$ac_top_builddir"; then
24121 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24123 - [\\/]* | ?:[\\/]* ) # Absolute path.
24124 - ac_srcdir=$srcdir$ac_dir_suffix;
24125 - ac_top_srcdir=$srcdir ;;
24126 - *) # Relative path.
24127 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24128 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
24130 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24134 + /^X\(\/\/\)[^/].*/{
24146 + s/.*/./; q'`/stamp-h$_am_stamp_count
24149 -# Do not use `cd foo && pwd` to compute absolute paths, because
24150 -# the directories may not exist.
24152 -.) ac_abs_builddir="$ac_dir";;
24154 - case "$ac_dir" in
24155 - .) ac_abs_builddir=`pwd`;;
24156 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24157 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
24160 -case $ac_abs_builddir in
24161 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
24163 - case ${ac_top_builddir}. in
24164 - .) ac_abs_top_builddir=$ac_abs_builddir;;
24165 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24166 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24169 -case $ac_abs_builddir in
24170 -.) ac_abs_srcdir=$ac_srcdir;;
24172 - case $ac_srcdir in
24173 - .) ac_abs_srcdir=$ac_abs_builddir;;
24174 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24175 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24178 -case $ac_abs_builddir in
24179 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
24181 - case $ac_top_srcdir in
24182 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
24183 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24184 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24187 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24188 +echo "$as_me: executing $ac_file commands" >&6;}
24193 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24194 -echo "$as_me: executing $ac_dest commands" >&6;}
24196 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24197 + case $ac_file$ac_mode in
24198 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24199 # Strip MF so we end up with the name of the file.
24200 mf=`echo "$mf" | sed -e 's/:.*$//'`
24201 # Check whether this is an Automake generated Makefile or not.
24202 @@ -22042,18 +21813,29 @@
24203 # each Makefile.in and add a new line on top of each file to say so.
24204 # So let's grep whole file.
24205 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24206 - dirpart=`(dirname "$mf") 2>/dev/null ||
24207 + dirpart=`$as_dirname -- "$mf" ||
24208 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24209 X"$mf" : 'X\(//\)[^/]' \| \
24210 X"$mf" : 'X\(//\)$' \| \
24211 - X"$mf" : 'X\(/\)' \| \
24212 - . : '\(.\)' 2>/dev/null ||
24213 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24215 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24216 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24217 - /^X\(\/\/\)$/{ s//\1/; q; }
24218 - /^X\(\/\).*/{ s//\1/; q; }
24220 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24224 + /^X\(\/\/\)[^/].*/{
24240 @@ -22075,53 +21857,79 @@
24241 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24242 # Make sure the directory exists.
24243 test -f "$dirpart/$file" && continue
24244 - fdir=`(dirname "$file") 2>/dev/null ||
24245 + fdir=`$as_dirname -- "$file" ||
24246 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24247 X"$file" : 'X\(//\)[^/]' \| \
24248 X"$file" : 'X\(//\)$' \| \
24249 - X"$file" : 'X\(/\)' \| \
24250 - . : '\(.\)' 2>/dev/null ||
24251 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24253 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24254 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24255 - /^X\(\/\/\)$/{ s//\1/; q; }
24256 - /^X\(\/\).*/{ s//\1/; q; }
24258 - { if $as_mkdir_p; then
24259 - mkdir -p $dirpart/$fdir
24261 - as_dir=$dirpart/$fdir
24262 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24266 + /^X\(\/\/\)[^/].*/{
24279 + { as_dir=$dirpart/$fdir
24280 + case $as_dir in #(
24281 + -*) as_dir=./$as_dir;;
24283 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24285 - while test ! -d "$as_dir"; do
24286 - as_dirs="$as_dir $as_dirs"
24287 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
24289 + case $as_dir in #(
24290 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24291 + *) as_qdir=$as_dir;;
24293 + as_dirs="'$as_qdir' $as_dirs"
24294 + as_dir=`$as_dirname -- "$as_dir" ||
24295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24296 X"$as_dir" : 'X\(//\)[^/]' \| \
24297 X"$as_dir" : 'X\(//\)$' \| \
24298 - X"$as_dir" : 'X\(/\)' \| \
24299 - . : '\(.\)' 2>/dev/null ||
24300 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24302 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24303 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24304 - /^X\(\/\/\)$/{ s//\1/; q; }
24305 - /^X\(\/\).*/{ s//\1/; q; }
24307 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24311 + /^X\(\/\/\)[^/].*/{
24324 + test -d "$as_dir" && break
24326 - test ! -n "$as_dirs" || mkdir $as_dirs
24327 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
24328 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
24329 + test -z "$as_dirs" || eval "mkdir $as_dirs"
24330 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24331 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
24332 { (exit 1); exit 1; }; }; }
24334 # echo "creating $dirpart/$file"
24335 echo '# dummy' > "$dirpart/$file"
24345 -cat >>$CONFIG_STATUS <<\_ACEOF
24347 { (exit 0); exit 0; }
24349 --- ./src/Makefile.in 2005-11-26 20:29:02.000000000 +0100
24350 +++ ./src/Makefile.in 2006-10-10 17:43:48.000000000 +0200
24352 $(top_srcdir)/configure.ac
24353 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
24355 -mkinstalldirs = $(install_sh) -d
24356 +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
24357 CONFIG_HEADER = config.h
24358 CONFIG_CLEAN_FILES =
24359 am__installdirs = "$(DESTDIR)$(sbindir)"
24360 @@ -136,6 +136,7 @@
24365 INSTALL_DATA = @INSTALL_DATA@
24366 INSTALL_PROGRAM = @INSTALL_PROGRAM@
24367 INSTALL_SCRIPT = @INSTALL_SCRIPT@
24368 @@ -161,12 +162,9 @@
24371 VERSION = @VERSION@
24372 -ac_ct_AR = @ac_ct_AR@
24373 ac_ct_CC = @ac_ct_CC@
24374 ac_ct_CXX = @ac_ct_CXX@
24375 ac_ct_F77 = @ac_ct_F77@
24376 -ac_ct_RANLIB = @ac_ct_RANLIB@
24377 -ac_ct_STRIP = @ac_ct_STRIP@
24378 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
24379 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
24380 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
24381 @@ -183,23 +181,30 @@
24382 build_os = @build_os@
24383 build_vendor = @build_vendor@
24384 datadir = @datadir@
24385 +datarootdir = @datarootdir@
24388 exec_prefix = @exec_prefix@
24390 host_alias = @host_alias@
24391 host_cpu = @host_cpu@
24392 host_os = @host_os@
24393 host_vendor = @host_vendor@
24394 +htmldir = @htmldir@
24395 includedir = @includedir@
24396 infodir = @infodir@
24397 install_sh = @install_sh@
24399 libexecdir = @libexecdir@
24400 +localedir = @localedir@
24401 localstatedir = @localstatedir@
24403 mkdir_p = @mkdir_p@
24404 oldincludedir = @oldincludedir@
24407 program_transform_name = @program_transform_name@
24409 sbindir = @sbindir@
24410 sharedstatedir = @sharedstatedir@
24411 sysconfdir = @sysconfdir@
24412 --- ./src/apache/Makefile.in 2005-11-26 20:29:02.000000000 +0100
24413 +++ ./src/apache/Makefile.in 2006-10-10 17:43:48.000000000 +0200
24415 $(top_srcdir)/configure.ac
24416 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
24418 -mkinstalldirs = $(install_sh) -d
24419 +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
24420 CONFIG_HEADER = $(top_builddir)/src/config.h
24421 CONFIG_CLEAN_FILES =
24422 LTLIBRARIES = $(noinst_LTLIBRARIES)
24423 @@ -108,6 +108,7 @@
24428 INSTALL_DATA = @INSTALL_DATA@
24429 INSTALL_PROGRAM = @INSTALL_PROGRAM@
24430 INSTALL_SCRIPT = @INSTALL_SCRIPT@
24431 @@ -133,12 +134,9 @@
24434 VERSION = @VERSION@
24435 -ac_ct_AR = @ac_ct_AR@
24436 ac_ct_CC = @ac_ct_CC@
24437 ac_ct_CXX = @ac_ct_CXX@
24438 ac_ct_F77 = @ac_ct_F77@
24439 -ac_ct_RANLIB = @ac_ct_RANLIB@
24440 -ac_ct_STRIP = @ac_ct_STRIP@
24441 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
24442 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
24443 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
24444 @@ -155,23 +153,30 @@
24445 build_os = @build_os@
24446 build_vendor = @build_vendor@
24447 datadir = @datadir@
24448 +datarootdir = @datarootdir@
24451 exec_prefix = @exec_prefix@
24453 host_alias = @host_alias@
24454 host_cpu = @host_cpu@
24455 host_os = @host_os@
24456 host_vendor = @host_vendor@
24457 +htmldir = @htmldir@
24458 includedir = @includedir@
24459 infodir = @infodir@
24460 install_sh = @install_sh@
24462 libexecdir = @libexecdir@
24463 +localedir = @localedir@
24464 localstatedir = @localstatedir@
24466 mkdir_p = @mkdir_p@
24467 oldincludedir = @oldincludedir@
24470 program_transform_name = @program_transform_name@
24472 sbindir = @sbindir@
24473 sharedstatedir = @sharedstatedir@
24474 sysconfdir = @sysconfdir@
24475 --- ./src/apache2/Makefile.in 2005-11-26 20:29:02.000000000 +0100
24476 +++ ./src/apache2/Makefile.in 2006-10-10 17:43:48.000000000 +0200
24478 $(top_srcdir)/configure.ac
24479 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
24481 -mkinstalldirs = $(install_sh) -d
24482 +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
24483 CONFIG_HEADER = $(top_builddir)/src/config.h
24484 CONFIG_CLEAN_FILES =
24485 LTLIBRARIES = $(noinst_LTLIBRARIES)
24486 @@ -108,6 +108,7 @@
24491 INSTALL_DATA = @INSTALL_DATA@
24492 INSTALL_PROGRAM = @INSTALL_PROGRAM@
24493 INSTALL_SCRIPT = @INSTALL_SCRIPT@
24494 @@ -133,12 +134,9 @@
24497 VERSION = @VERSION@
24498 -ac_ct_AR = @ac_ct_AR@
24499 ac_ct_CC = @ac_ct_CC@
24500 ac_ct_CXX = @ac_ct_CXX@
24501 ac_ct_F77 = @ac_ct_F77@
24502 -ac_ct_RANLIB = @ac_ct_RANLIB@
24503 -ac_ct_STRIP = @ac_ct_STRIP@
24504 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
24505 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
24506 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
24507 @@ -155,23 +153,30 @@
24508 build_os = @build_os@
24509 build_vendor = @build_vendor@
24510 datadir = @datadir@
24511 +datarootdir = @datarootdir@
24514 exec_prefix = @exec_prefix@
24516 host_alias = @host_alias@
24517 host_cpu = @host_cpu@
24518 host_os = @host_os@
24519 host_vendor = @host_vendor@
24520 +htmldir = @htmldir@
24521 includedir = @includedir@
24522 infodir = @infodir@
24523 install_sh = @install_sh@
24525 libexecdir = @libexecdir@
24526 +localedir = @localedir@
24527 localstatedir = @localstatedir@
24529 mkdir_p = @mkdir_p@
24530 oldincludedir = @oldincludedir@
24533 program_transform_name = @program_transform_name@
24535 sbindir = @sbindir@
24536 sharedstatedir = @sharedstatedir@
24537 sysconfdir = @sysconfdir@