1 diff -urN gtk+-1.2.10.orig/Makefile.in gtk+-1.2.10/Makefile.in
2 --- gtk+-1.2.10.orig/Makefile.in 2001-04-01 21:14:07.000000000 -0600
3 +++ gtk+-1.2.10/Makefile.in 2006-07-09 02:29:45.000000000 -0600
5 -# Makefile.in generated automatically by automake 1.4 from Makefile.am
6 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
8 -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
9 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
10 # This Makefile.in is free software; the Free Software Foundation
11 # gives unlimited permission to copy and/or distribute it,
12 # with or without modifications, as long as this notice is preserved.
15 host_alias = @host_alias@
21 CATOBJEXT = @CATOBJEXT@
25 DATADIRNAME = @DATADIRNAME@
32 +GCJFLAGS = @GCJFLAGS@
33 GDK_WLIBS = @GDK_WLIBS@
35 GLIB_CFLAGS = @GLIB_CFLAGS@
37 GTK_XIM_FLAGS = @GTK_XIM_FLAGS@
40 +HAVE_LIB = @HAVE_LIB@
41 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
43 INSTOBJEXT = @INSTOBJEXT@
52 LT_CURRENT = @LT_CURRENT@
53 LT_RELEASE = @LT_RELEASE@
56 MKINSTALLDIRS = @MKINSTALLDIRS@
61 +PKG_CONFIG = @PKG_CONFIG@
68 STRIP_BEGIN = @STRIP_BEGIN@
69 STRIP_DUMMY = @STRIP_DUMMY@
70 STRIP_END = @STRIP_END@
73 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
80 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
81 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
82 + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
84 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
85 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
87 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
91 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
92 rev="$$subdir $$rev"; \
93 - test "$$subdir" = "." && dot_seen=yes; \
94 + test "$$subdir" != "." || dot_seen=yes; \
96 test "$$dot_seen" = "no" && rev=". $$rev"; \
97 target=`echo $@ | sed s/-recursive//`; \
99 awk ' { files[$$0] = 1; } \
100 END { for (i in files) print i; }'`; \
101 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
102 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
103 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
110 -chmod 777 $(distdir)
111 + here=`cd $(top_builddir) && pwd`; \
112 + top_distdir=`cd $(distdir) && pwd`; \
113 + distdir=`cd $(distdir) && pwd`; \
115 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
116 $(mkinstalldirs) $(distdir)/examples $(distdir)/examples/aspectframe \
117 $(distdir)/examples/base $(distdir)/examples/buttons \
118 $(distdir)/examples/calendar $(distdir)/examples/clist \
119 diff -urN gtk+-1.2.10.orig/acinclude.m4 gtk+-1.2.10/acinclude.m4
120 --- gtk+-1.2.10.orig/acinclude.m4 2006-07-09 02:29:43.000000000 -0600
121 +++ gtk+-1.2.10/acinclude.m4 2006-07-09 02:29:43.000000000 -0600
123 AC_DEFINE(HAVE_STPCPY)
130 if test "x$CATOBJEXT" != "x"; then
131 diff -urN gtk+-1.2.10.orig/aclocal.m4 gtk+-1.2.10/aclocal.m4
132 --- gtk+-1.2.10.orig/aclocal.m4 2001-03-28 14:11:43.000000000 -0700
133 +++ gtk+-1.2.10/aclocal.m4 2006-07-09 02:29:45.000000000 -0600
135 -dnl aclocal.m4 generated automatically by aclocal 1.4
136 +dnl aclocal.m4 generated automatically by aclocal 1.4-p6
138 -dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
139 +dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
140 dnl This file is free software; the Free Software Foundation
141 dnl gives unlimited permission to copy and/or distribute it,
142 dnl with or without modifications, as long as this notice is preserved.
144 dnl PARTICULAR PURPOSE.
147 -# serial 40 AC_PROG_LIBTOOL
148 -AC_DEFUN(AC_PROG_LIBTOOL,
149 -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
151 -# Save cache, so that ltconfig can load it
154 -# Actually configure libtool. ac_aux_dir is where install-sh is found.
155 -CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
156 -LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
157 -LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
158 -DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
159 -${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
160 -$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
161 -|| AC_MSG_ERROR([libtool configure failed])
163 -# Reload cache, that may have been modified by ltconfig
166 -# This can be used to rebuild libtool when needed
167 -LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
169 -# Always use our own libtool.
170 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
171 -AC_SUBST(LIBTOOL)dnl
173 -# Redirect the config.log output again, so that the ltconfig log is not
174 -# clobbered by the next message.
175 -exec 5>>./config.log
178 -AC_DEFUN(AC_LIBTOOL_SETUP,
180 -AC_REQUIRE([AC_ENABLE_SHARED])dnl
181 -AC_REQUIRE([AC_ENABLE_STATIC])dnl
182 -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
183 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
184 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
185 -AC_REQUIRE([AC_PROG_RANLIB])dnl
186 -AC_REQUIRE([AC_PROG_CC])dnl
187 -AC_REQUIRE([AC_PROG_LD])dnl
188 -AC_REQUIRE([AC_PROG_NM])dnl
189 -AC_REQUIRE([AC_PROG_LN_S])dnl
193 -NONE) lt_target="$host" ;;
194 -*) lt_target="$target" ;;
197 -# Check for any special flags to pass to ltconfig.
198 -libtool_flags="--cache-file=$cache_file"
199 -test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
200 -test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
201 -test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
202 -test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
203 -test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
204 -ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN],
205 -[libtool_flags="$libtool_flags --enable-dlopen"])
206 -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
207 -[libtool_flags="$libtool_flags --enable-win32-dll"])
208 -AC_ARG_ENABLE(libtool-lock,
209 - [ --disable-libtool-lock avoid locking (might break parallel builds)])
210 -test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
211 -test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
213 -# Some flags need to be propagated to the compiler or linker for good
215 -case "$lt_target" in
217 - # Find out which ABI we are using.
218 - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
219 - if AC_TRY_EVAL(ac_compile); then
220 - case "`/usr/bin/file conftest.o`" in
236 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
237 - SAVE_CFLAGS="$CFLAGS"
238 - CFLAGS="$CFLAGS -belf"
239 - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
240 - [AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])])
241 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
242 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
243 - CFLAGS="$SAVE_CFLAGS"
247 -ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
248 -[*-*-cygwin* | *-*-mingw*)
249 - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
250 - AC_CHECK_TOOL(AS, as, false)
251 - AC_CHECK_TOOL(OBJDUMP, objdump, false)
257 -# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
258 -AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
260 -# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
261 -AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
263 -# AC_ENABLE_SHARED - implement the --enable-shared flag
264 -# Usage: AC_ENABLE_SHARED[(DEFAULT)]
265 -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
267 -AC_DEFUN(AC_ENABLE_SHARED, [dnl
268 -define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
269 -AC_ARG_ENABLE(shared,
270 -changequote(<<, >>)dnl
271 -<< --enable-shared[=PKGS] build shared libraries [default=>>AC_ENABLE_SHARED_DEFAULT],
272 -changequote([, ])dnl
273 -[p=${PACKAGE-default}
274 -case "$enableval" in
275 -yes) enable_shared=yes ;;
276 -no) enable_shared=no ;;
279 - # Look at the argument we got. We use all the common list separators.
280 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
281 - for pkg in $enableval; do
282 - if test "X$pkg" = "X$p"; then
289 -enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
292 -# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
293 -AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
294 -AC_ENABLE_SHARED(no)])
296 -# AC_ENABLE_STATIC - implement the --enable-static flag
297 -# Usage: AC_ENABLE_STATIC[(DEFAULT)]
298 -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
300 -AC_DEFUN(AC_ENABLE_STATIC, [dnl
301 -define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
302 -AC_ARG_ENABLE(static,
303 -changequote(<<, >>)dnl
304 -<< --enable-static[=PKGS] build static libraries [default=>>AC_ENABLE_STATIC_DEFAULT],
305 -changequote([, ])dnl
306 -[p=${PACKAGE-default}
307 -case "$enableval" in
308 -yes) enable_static=yes ;;
309 -no) enable_static=no ;;
312 - # Look at the argument we got. We use all the common list separators.
313 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
314 - for pkg in $enableval; do
315 - if test "X$pkg" = "X$p"; then
322 -enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
325 -# AC_DISABLE_STATIC - set the default static flag to --disable-static
326 -AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
327 -AC_ENABLE_STATIC(no)])
330 -# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
331 -# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
332 -# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
334 -AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
335 -define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
336 -AC_ARG_ENABLE(fast-install,
337 -changequote(<<, >>)dnl
338 -<< --enable-fast-install[=PKGS] optimize for fast installation [default=>>AC_ENABLE_FAST_INSTALL_DEFAULT],
339 -changequote([, ])dnl
340 -[p=${PACKAGE-default}
341 -case "$enableval" in
342 -yes) enable_fast_install=yes ;;
343 -no) enable_fast_install=no ;;
345 - enable_fast_install=no
346 - # Look at the argument we got. We use all the common list separators.
347 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
348 - for pkg in $enableval; do
349 - if test "X$pkg" = "X$p"; then
350 - enable_fast_install=yes
356 -enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
359 -# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
360 -AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
361 -AC_ENABLE_FAST_INSTALL(no)])
363 -# AC_PROG_LD - find the path to the GNU or non-GNU linker
364 -AC_DEFUN(AC_PROG_LD,
365 -[AC_ARG_WITH(gnu-ld,
366 -[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
367 -test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
368 -AC_REQUIRE([AC_PROG_CC])dnl
369 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
370 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
372 -if test "$ac_cv_prog_gcc" = yes; then
373 - # Check if gcc -print-prog-name=ld gives a path.
374 - AC_MSG_CHECKING([for ld used by GCC])
375 - ac_prog=`($CC -print-prog-name=ld) 2>&5`
377 - # Accept absolute paths.
379 - [\\/]* | [A-Za-z]:[\\/]*)
380 - re_direlt='/[^/][^/]*/\.\./'
382 - # Canonicalize the path of ld
383 - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
384 - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
385 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
387 - test -z "$LD" && LD="$ac_prog"
390 - # If it fails, then pretend we aren't using GCC.
394 - # If it is relative, then search for the first ld in PATH.
395 - with_gnu_ld=unknown
398 -elif test "$with_gnu_ld" = yes; then
399 - AC_MSG_CHECKING([for GNU ld])
401 - AC_MSG_CHECKING([for non-GNU ld])
403 -AC_CACHE_VAL(ac_cv_path_LD,
404 -[if test -z "$LD"; then
405 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
406 - for ac_dir in $PATH; do
407 - test -z "$ac_dir" && ac_dir=.
408 - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
409 - ac_cv_path_LD="$ac_dir/$ac_prog"
410 - # Check to see if the program is GNU ld. I'd rather use --version,
411 - # but apparently some GNU ld's only accept -v.
412 - # Break only if it was the GNU/non-GNU ld that we prefer.
413 - if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
414 - test "$with_gnu_ld" != no && break
416 - test "$with_gnu_ld" != yes && break
422 - ac_cv_path_LD="$LD" # Let the user override the test with a path.
425 -if test -n "$LD"; then
430 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
434 -AC_DEFUN(AC_PROG_LD_GNU,
435 -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
436 -[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
437 -if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
438 - ac_cv_prog_gnu_ld=yes
440 - ac_cv_prog_gnu_ld=no
444 -# AC_PROG_NM - find the path to a BSD-compatible name lister
445 -AC_DEFUN(AC_PROG_NM,
446 -[AC_MSG_CHECKING([for BSD-compatible nm])
447 -AC_CACHE_VAL(ac_cv_path_NM,
448 -[if test -n "$NM"; then
449 - # Let the user override the test.
450 - ac_cv_path_NM="$NM"
452 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
453 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
454 - test -z "$ac_dir" && ac_dir=.
455 - if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
456 - # Check to see if the nm accepts a BSD-compat flag.
457 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
458 - # nm: unknown option "B" ignored
459 - if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
460 - ac_cv_path_NM="$ac_dir/nm -B"
462 - elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
463 - ac_cv_path_NM="$ac_dir/nm -p"
466 - ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
467 - continue # so that we can try to find one that supports BSD flags
472 - test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
475 -AC_MSG_RESULT([$NM])
478 -# AC_CHECK_LIBM - check for math library
479 -AC_DEFUN(AC_CHECK_LIBM,
480 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
482 -case "$lt_target" in
483 -*-*-beos* | *-*-cygwin*)
484 - # These system don't have libm
487 - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
488 - AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
491 - AC_CHECK_LIB(m, main, LIBM="-lm")
496 -# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
497 -# the libltdl convenience library, adds --enable-ltdl-convenience to
498 -# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
499 -# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
500 -# to be `${top_builddir}/libltdl'. Make sure you start DIR with
501 -# '${top_builddir}/' (note the single quotes!) if your package is not
502 -# flat, and, if you're not using automake, define top_builddir as
503 -# appropriate in the Makefiles.
504 -AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
505 - case "$enable_ltdl_convenience" in
506 - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
507 - "") enable_ltdl_convenience=yes
508 - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
510 - LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdlc.la
511 - INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
514 -# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
515 -# the libltdl installable library, and adds --enable-ltdl-install to
516 -# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
517 -# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
518 -# to be `${top_builddir}/libltdl'. Make sure you start DIR with
519 -# '${top_builddir}/' (note the single quotes!) if your package is not
520 -# flat, and, if you're not using automake, define top_builddir as
521 -# appropriate in the Makefiles.
522 -# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
523 -AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
524 - AC_CHECK_LIB(ltdl, main,
525 - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
526 - [if test x"$enable_ltdl_install" = xno; then
527 - AC_MSG_WARN([libltdl not installed, but installation disabled])
529 - enable_ltdl_install=yes
532 - if test x"$enable_ltdl_install" = x"yes"; then
533 - ac_configure_args="$ac_configure_args --enable-ltdl-install"
534 - LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la
535 - INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl'])
537 - ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
544 -AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
545 -AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
546 -AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
547 -AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
548 -AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
549 -AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
550 -AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
552 -dnl This is just to silence aclocal about the macro not being used
553 -ifelse([AC_DISABLE_FAST_INSTALL])dnl
555 -# Macro to add for using GNU gettext.
556 -# Ulrich Drepper <drepper@cygnus.com>, 1995.
558 -# Modified to never use included libintl.
559 -# Owen Taylor <otaylor@redhat.com>, 12/15/1998
562 -# This file can be copied and used freely without restrictions. It can
563 -# be used in projects which are not available under the GNU Public License
564 -# but which still want to provide support for the GNU gettext functionality.
565 -# Please note that the actual code is *not* freely available.
569 AC_DEFUN(AM_GTK_WITH_NLS,
570 [AC_MSG_CHECKING([whether NLS is requested])
571 dnl Default is enabled NLS
573 AC_DEFINE(HAVE_STPCPY)
580 if test "x$CATOBJEXT" != "x"; then
581 @@ -723,229 +301,7533 @@
585 - dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
586 - dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
587 - dnl Try to locate is.
589 - if test -n "$ac_aux_dir"; then
590 - MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
592 - if test -z "$MKINSTALLDIRS"; then
593 - MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
595 - AC_SUBST(MKINSTALLDIRS)
596 + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
597 + dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
598 + dnl Try to locate is.
600 + if test -n "$ac_aux_dir"; then
601 + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
603 + if test -z "$MKINSTALLDIRS"; then
604 + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
606 + AC_SUBST(MKINSTALLDIRS)
608 + dnl *** For now the libtool support in intl/Makefile is not for real.
612 + dnl Generate list of files to be processed by xgettext which will
613 + dnl be included in po/Makefile.
614 + test -d po || mkdir po
615 + if test "x$srcdir" != "x."; then
616 + if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
617 + posrcprefix="$srcdir/"
619 + posrcprefix="../$srcdir/"
625 + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
626 + < $srcdir/po/POTFILES.in > po/POTFILES
630 +# lib-prefix.m4 serial 4 (gettext-0.14.2)
631 +dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
632 +dnl This file is free software; the Free Software Foundation
633 +dnl gives unlimited permission to copy and/or distribute it,
634 +dnl with or without modifications, as long as this notice is preserved.
636 +dnl From Bruno Haible.
638 +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
639 +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
640 +dnl require excessive bracketing.
641 +ifdef([AC_HELP_STRING],
642 +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
643 +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
645 +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
646 +dnl to access previously installed libraries. The basic assumption is that
647 +dnl a user will want packages to use other packages he previously installed
648 +dnl with the same --prefix option.
649 +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
650 +dnl libraries, but is otherwise very convenient.
651 +AC_DEFUN([AC_LIB_PREFIX],
653 + AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
654 + AC_REQUIRE([AC_PROG_CC])
655 + AC_REQUIRE([AC_CANONICAL_HOST])
656 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
657 + dnl By default, look in $includedir and $libdir.
659 + AC_LIB_WITH_FINAL_PREFIX([
660 + eval additional_includedir=\"$includedir\"
661 + eval additional_libdir=\"$libdir\"
663 + AC_LIB_ARG_WITH([lib-prefix],
664 +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
665 + --without-lib-prefix don't search for libraries in includedir and libdir],
667 + if test "X$withval" = "Xno"; then
670 + if test "X$withval" = "X"; then
671 + AC_LIB_WITH_FINAL_PREFIX([
672 + eval additional_includedir=\"$includedir\"
673 + eval additional_libdir=\"$libdir\"
676 + additional_includedir="$withval/include"
677 + additional_libdir="$withval/lib"
681 + if test $use_additional = yes; then
682 + dnl Potentially add $additional_includedir to $CPPFLAGS.
683 + dnl But don't add it
684 + dnl 1. if it's the standard /usr/include,
685 + dnl 2. if it's already present in $CPPFLAGS,
686 + dnl 3. if it's /usr/local/include and we are using GCC on Linux,
687 + dnl 4. if it doesn't exist as a directory.
688 + if test "X$additional_includedir" != "X/usr/include"; then
690 + for x in $CPPFLAGS; do
691 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
692 + if test "X$x" = "X-I$additional_includedir"; then
697 + if test -z "$haveit"; then
698 + if test "X$additional_includedir" = "X/usr/local/include"; then
699 + if test -n "$GCC"; then
701 + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
705 + if test -z "$haveit"; then
706 + if test -d "$additional_includedir"; then
707 + dnl Really add $additional_includedir to $CPPFLAGS.
708 + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
713 + dnl Potentially add $additional_libdir to $LDFLAGS.
714 + dnl But don't add it
715 + dnl 1. if it's the standard /usr/lib,
716 + dnl 2. if it's already present in $LDFLAGS,
717 + dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
718 + dnl 4. if it doesn't exist as a directory.
719 + if test "X$additional_libdir" != "X/usr/lib"; then
721 + for x in $LDFLAGS; do
722 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
723 + if test "X$x" = "X-L$additional_libdir"; then
728 + if test -z "$haveit"; then
729 + if test "X$additional_libdir" = "X/usr/local/lib"; then
730 + if test -n "$GCC"; then
732 + linux*) haveit=yes;;
736 + if test -z "$haveit"; then
737 + if test -d "$additional_libdir"; then
738 + dnl Really add $additional_libdir to $LDFLAGS.
739 + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
747 +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
748 +dnl acl_final_exec_prefix, containing the values to which $prefix and
749 +dnl $exec_prefix will expand at the end of the configure script.
750 +AC_DEFUN([AC_LIB_PREPARE_PREFIX],
752 + dnl Unfortunately, prefix and exec_prefix get only finally determined
753 + dnl at the end of configure.
754 + if test "X$prefix" = "XNONE"; then
755 + acl_final_prefix="$ac_default_prefix"
757 + acl_final_prefix="$prefix"
759 + if test "X$exec_prefix" = "XNONE"; then
760 + acl_final_exec_prefix='${prefix}'
762 + acl_final_exec_prefix="$exec_prefix"
764 + acl_save_prefix="$prefix"
765 + prefix="$acl_final_prefix"
766 + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
767 + prefix="$acl_save_prefix"
770 +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
771 +dnl variables prefix and exec_prefix bound to the values they will have
772 +dnl at the end of the configure script.
773 +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
775 + acl_save_prefix="$prefix"
776 + prefix="$acl_final_prefix"
777 + acl_save_exec_prefix="$exec_prefix"
778 + exec_prefix="$acl_final_exec_prefix"
780 + exec_prefix="$acl_save_exec_prefix"
781 + prefix="$acl_save_prefix"
784 +# lib-link.m4 serial 6 (gettext-0.14.3)
785 +dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
786 +dnl This file is free software; the Free Software Foundation
787 +dnl gives unlimited permission to copy and/or distribute it,
788 +dnl with or without modifications, as long as this notice is preserved.
790 +dnl From Bruno Haible.
794 +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
795 +dnl the libraries corresponding to explicit and implicit dependencies.
796 +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
797 +dnl augments the CPPFLAGS variable.
798 +AC_DEFUN([AC_LIB_LINKFLAGS],
800 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
801 + AC_REQUIRE([AC_LIB_RPATH])
802 + define([Name],[translit([$1],[./-], [___])])
803 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
804 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
805 + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
806 + AC_LIB_LINKFLAGS_BODY([$1], [$2])
807 + ac_cv_lib[]Name[]_libs="$LIB[]NAME"
808 + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
809 + ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
811 + LIB[]NAME="$ac_cv_lib[]Name[]_libs"
812 + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
813 + INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
814 + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
815 + AC_SUBST([LIB]NAME)
816 + AC_SUBST([LTLIB]NAME)
817 + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
818 + dnl results of this search when this library appears as a dependency.
824 +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
825 +dnl searches for libname and the libraries corresponding to explicit and
826 +dnl implicit dependencies, together with the specified include files and
827 +dnl the ability to compile and link the specified testcode. If found, it
828 +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
829 +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
830 +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
831 +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
832 +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
834 + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
835 + AC_REQUIRE([AC_LIB_RPATH])
836 + define([Name],[translit([$1],[./-], [___])])
837 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
838 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
840 + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
842 + AC_LIB_LINKFLAGS_BODY([$1], [$2])
844 + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
845 + dnl because if the user has installed lib[]Name and not disabled its use
846 + dnl via --without-lib[]Name-prefix, he wants to use it.
847 + ac_save_CPPFLAGS="$CPPFLAGS"
848 + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
850 + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
851 + ac_save_LIBS="$LIBS"
852 + LIBS="$LIBS $LIB[]NAME"
853 + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
854 + LIBS="$ac_save_LIBS"
856 + if test "$ac_cv_lib[]Name" = yes; then
858 + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
859 + AC_MSG_CHECKING([how to link with lib[]$1])
860 + AC_MSG_RESULT([$LIB[]NAME])
863 + dnl If $LIB[]NAME didn't lead to a usable library, we don't need
864 + dnl $INC[]NAME either.
865 + CPPFLAGS="$ac_save_CPPFLAGS"
869 + AC_SUBST([HAVE_LIB]NAME)
870 + AC_SUBST([LIB]NAME)
871 + AC_SUBST([LTLIB]NAME)
876 +dnl Determine the platform dependent parameters needed to use rpath:
877 +dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
878 +dnl hardcode_direct, hardcode_minus_L.
879 +AC_DEFUN([AC_LIB_RPATH],
881 + dnl Tell automake >= 1.10 to complain if config.rpath is missing.
882 + m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
883 + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
884 + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
885 + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
886 + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
887 + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
888 + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
889 + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
891 + rm -f ./conftest.sh
895 + libext="$acl_cv_libext"
896 + shlibext="$acl_cv_shlibext"
897 + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
898 + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
899 + hardcode_direct="$acl_cv_hardcode_direct"
900 + hardcode_minus_L="$acl_cv_hardcode_minus_L"
901 + dnl Determine whether the user wants rpath handling at all.
902 + AC_ARG_ENABLE(rpath,
903 + [ --disable-rpath do not hardcode runtime library paths],
904 + :, enable_rpath=yes)
907 +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
908 +dnl the libraries corresponding to explicit and implicit dependencies.
909 +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
910 +AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
912 + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
913 + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
914 + dnl By default, look in $includedir and $libdir.
916 + AC_LIB_WITH_FINAL_PREFIX([
917 + eval additional_includedir=\"$includedir\"
918 + eval additional_libdir=\"$libdir\"
920 + AC_LIB_ARG_WITH([lib$1-prefix],
921 +[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
922 + --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
924 + if test "X$withval" = "Xno"; then
927 + if test "X$withval" = "X"; then
928 + AC_LIB_WITH_FINAL_PREFIX([
929 + eval additional_includedir=\"$includedir\"
930 + eval additional_libdir=\"$libdir\"
933 + additional_includedir="$withval/include"
934 + additional_libdir="$withval/lib"
938 + dnl Search the library and its dependencies in $additional_libdir and
939 + dnl $LDFLAGS. Using breadth-first-seach.
945 + names_already_handled=
946 + names_next_round='$1 $2'
947 + while test -n "$names_next_round"; do
948 + names_this_round="$names_next_round"
950 + for name in $names_this_round; do
952 + for n in $names_already_handled; do
953 + if test "$n" = "$name"; then
954 + already_handled=yes
958 + if test -z "$already_handled"; then
959 + names_already_handled="$names_already_handled $name"
960 + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
961 + dnl or AC_LIB_HAVE_LINKFLAGS call.
962 + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
963 + eval value=\"\$HAVE_LIB$uppername\"
964 + if test -n "$value"; then
965 + if test "$value" = yes; then
966 + eval value=\"\$LIB$uppername\"
967 + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
968 + eval value=\"\$LTLIB$uppername\"
969 + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
971 + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
972 + dnl that this library doesn't exist. So just drop it.
976 + dnl Search the library lib$name in $additional_libdir and $LDFLAGS
977 + dnl and the already constructed $LIBNAME/$LTLIBNAME.
982 + if test $use_additional = yes; then
983 + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
984 + found_dir="$additional_libdir"
985 + found_so="$additional_libdir/lib$name.$shlibext"
986 + if test -f "$additional_libdir/lib$name.la"; then
987 + found_la="$additional_libdir/lib$name.la"
990 + if test -f "$additional_libdir/lib$name.$libext"; then
991 + found_dir="$additional_libdir"
992 + found_a="$additional_libdir/lib$name.$libext"
993 + if test -f "$additional_libdir/lib$name.la"; then
994 + found_la="$additional_libdir/lib$name.la"
999 + if test "X$found_dir" = "X"; then
1000 + for x in $LDFLAGS $LTLIB[]NAME; do
1001 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1004 + dir=`echo "X$x" | sed -e 's/^X-L//'`
1005 + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
1007 + found_so="$dir/lib$name.$shlibext"
1008 + if test -f "$dir/lib$name.la"; then
1009 + found_la="$dir/lib$name.la"
1012 + if test -f "$dir/lib$name.$libext"; then
1014 + found_a="$dir/lib$name.$libext"
1015 + if test -f "$dir/lib$name.la"; then
1016 + found_la="$dir/lib$name.la"
1022 + if test "X$found_dir" != "X"; then
1027 + if test "X$found_dir" != "X"; then
1028 + dnl Found the library.
1029 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
1030 + if test "X$found_so" != "X"; then
1031 + dnl Linking with a shared library. We attempt to hardcode its
1032 + dnl directory into the executable's runpath, unless it's the
1033 + dnl standard /usr/lib.
1034 + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
1035 + dnl No hardcoding is needed.
1036 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1038 + dnl Use an explicit option to hardcode DIR into the resulting
1040 + dnl Potentially add DIR to ltrpathdirs.
1041 + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1043 + for x in $ltrpathdirs; do
1044 + if test "X$x" = "X$found_dir"; then
1049 + if test -z "$haveit"; then
1050 + ltrpathdirs="$ltrpathdirs $found_dir"
1052 + dnl The hardcoding into $LIBNAME is system dependent.
1053 + if test "$hardcode_direct" = yes; then
1054 + dnl Using DIR/libNAME.so during linking hardcodes DIR into the
1055 + dnl resulting binary.
1056 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1058 + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
1059 + dnl Use an explicit option to hardcode DIR into the resulting
1061 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1062 + dnl Potentially add DIR to rpathdirs.
1063 + dnl The rpathdirs will be appended to $LIBNAME at the end.
1065 + for x in $rpathdirs; do
1066 + if test "X$x" = "X$found_dir"; then
1071 + if test -z "$haveit"; then
1072 + rpathdirs="$rpathdirs $found_dir"
1075 + dnl Rely on "-L$found_dir".
1076 + dnl But don't add it if it's already contained in the LDFLAGS
1077 + dnl or the already constructed $LIBNAME
1079 + for x in $LDFLAGS $LIB[]NAME; do
1080 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1081 + if test "X$x" = "X-L$found_dir"; then
1086 + if test -z "$haveit"; then
1087 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
1089 + if test "$hardcode_minus_L" != no; then
1090 + dnl FIXME: Not sure whether we should use
1091 + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1093 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1095 + dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
1096 + dnl here, because this doesn't fit in flags passed to the
1097 + dnl compiler. So give up. No hardcoding. This affects only
1098 + dnl very old systems.
1099 + dnl FIXME: Not sure whether we should use
1100 + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1102 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1108 + if test "X$found_a" != "X"; then
1109 + dnl Linking with a static library.
1110 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
1112 + dnl We shouldn't come here, but anyway it's good to have a
1114 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
1117 + dnl Assume the include files are nearby.
1118 + additional_includedir=
1119 + case "$found_dir" in
1121 + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
1122 + additional_includedir="$basedir/include"
1125 + if test "X$additional_includedir" != "X"; then
1126 + dnl Potentially add $additional_includedir to $INCNAME.
1127 + dnl But don't add it
1128 + dnl 1. if it's the standard /usr/include,
1129 + dnl 2. if it's /usr/local/include and we are using GCC on Linux,
1130 + dnl 3. if it's already present in $CPPFLAGS or the already
1131 + dnl constructed $INCNAME,
1132 + dnl 4. if it doesn't exist as a directory.
1133 + if test "X$additional_includedir" != "X/usr/include"; then
1135 + if test "X$additional_includedir" = "X/usr/local/include"; then
1136 + if test -n "$GCC"; then
1138 + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
1142 + if test -z "$haveit"; then
1143 + for x in $CPPFLAGS $INC[]NAME; do
1144 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1145 + if test "X$x" = "X-I$additional_includedir"; then
1150 + if test -z "$haveit"; then
1151 + if test -d "$additional_includedir"; then
1152 + dnl Really add $additional_includedir to $INCNAME.
1153 + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
1159 + dnl Look for dependencies.
1160 + if test -n "$found_la"; then
1161 + dnl Read the .la file. It defines the variables
1162 + dnl dlname, library_names, old_library, dependency_libs, current,
1163 + dnl age, revision, installed, dlopen, dlpreopen, libdir.
1164 + save_libdir="$libdir"
1165 + case "$found_la" in
1166 + */* | *\\*) . "$found_la" ;;
1167 + *) . "./$found_la" ;;
1169 + libdir="$save_libdir"
1170 + dnl We use only dependency_libs.
1171 + for dep in $dependency_libs; do
1174 + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
1175 + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
1176 + dnl But don't add it
1177 + dnl 1. if it's the standard /usr/lib,
1178 + dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
1179 + dnl 3. if it's already present in $LDFLAGS or the already
1180 + dnl constructed $LIBNAME,
1181 + dnl 4. if it doesn't exist as a directory.
1182 + if test "X$additional_libdir" != "X/usr/lib"; then
1184 + if test "X$additional_libdir" = "X/usr/local/lib"; then
1185 + if test -n "$GCC"; then
1187 + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
1191 + if test -z "$haveit"; then
1193 + for x in $LDFLAGS $LIB[]NAME; do
1194 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1195 + if test "X$x" = "X-L$additional_libdir"; then
1200 + if test -z "$haveit"; then
1201 + if test -d "$additional_libdir"; then
1202 + dnl Really add $additional_libdir to $LIBNAME.
1203 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
1207 + for x in $LDFLAGS $LTLIB[]NAME; do
1208 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1209 + if test "X$x" = "X-L$additional_libdir"; then
1214 + if test -z "$haveit"; then
1215 + if test -d "$additional_libdir"; then
1216 + dnl Really add $additional_libdir to $LTLIBNAME.
1217 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
1224 + dir=`echo "X$dep" | sed -e 's/^X-R//'`
1225 + if test "$enable_rpath" != no; then
1226 + dnl Potentially add DIR to rpathdirs.
1227 + dnl The rpathdirs will be appended to $LIBNAME at the end.
1229 + for x in $rpathdirs; do
1230 + if test "X$x" = "X$dir"; then
1235 + if test -z "$haveit"; then
1236 + rpathdirs="$rpathdirs $dir"
1238 + dnl Potentially add DIR to ltrpathdirs.
1239 + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1241 + for x in $ltrpathdirs; do
1242 + if test "X$x" = "X$dir"; then
1247 + if test -z "$haveit"; then
1248 + ltrpathdirs="$ltrpathdirs $dir"
1253 + dnl Handle this in the next round.
1254 + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
1257 + dnl Handle this in the next round. Throw away the .la's
1258 + dnl directory; it is already contained in a preceding -L
1260 + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
1263 + dnl Most likely an immediate library name.
1264 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
1265 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
1271 + dnl Didn't find the library; assume it is in the system directories
1272 + dnl known to the linker and runtime loader. (All the system
1273 + dnl directories known to the linker should also be known to the
1274 + dnl runtime loader, otherwise the system is severely misconfigured.)
1275 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1276 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
1282 + if test "X$rpathdirs" != "X"; then
1283 + if test -n "$hardcode_libdir_separator"; then
1284 + dnl Weird platform: only the last -rpath option counts, the user must
1285 + dnl pass all path elements in one option. We can arrange that for a
1286 + dnl single library, but not when more than one $LIBNAMEs are used.
1288 + for found_dir in $rpathdirs; do
1289 + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
1291 + dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
1292 + acl_save_libdir="$libdir"
1294 + eval flag=\"$hardcode_libdir_flag_spec\"
1295 + libdir="$acl_save_libdir"
1296 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1298 + dnl The -rpath options are cumulative.
1299 + for found_dir in $rpathdirs; do
1300 + acl_save_libdir="$libdir"
1301 + libdir="$found_dir"
1302 + eval flag=\"$hardcode_libdir_flag_spec\"
1303 + libdir="$acl_save_libdir"
1304 + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1308 + if test "X$ltrpathdirs" != "X"; then
1309 + dnl When using libtool, the option that works for both libraries and
1310 + dnl executables is -R. The -R options are cumulative.
1311 + for found_dir in $ltrpathdirs; do
1312 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
1317 +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
1318 +dnl unless already present in VAR.
1319 +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
1320 +dnl contains two or three consecutive elements that belong together.
1321 +AC_DEFUN([AC_LIB_APPENDTOVAR],
1323 + for element in [$2]; do
1325 + for x in $[$1]; do
1326 + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1327 + if test "X$x" = "X$element"; then
1332 + if test -z "$haveit"; then
1333 + [$1]="${[$1]}${[$1]:+ }$element"
1338 +# lib-ld.m4 serial 3 (gettext-0.13)
1339 +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
1340 +dnl This file is free software; the Free Software Foundation
1341 +dnl gives unlimited permission to copy and/or distribute it,
1342 +dnl with or without modifications, as long as this notice is preserved.
1344 +dnl Subroutines of libtool.m4,
1345 +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
1346 +dnl with libtool.m4.
1348 +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
1349 +AC_DEFUN([AC_LIB_PROG_LD_GNU],
1350 +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
1351 +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1352 +case `$LD -v 2>&1 </dev/null` in
1353 +*GNU* | *'with BFD'*)
1354 + acl_cv_prog_gnu_ld=yes ;;
1356 + acl_cv_prog_gnu_ld=no ;;
1358 +with_gnu_ld=$acl_cv_prog_gnu_ld
1361 +dnl From libtool-1.4. Sets the variable LD.
1362 +AC_DEFUN([AC_LIB_PROG_LD],
1363 +[AC_ARG_WITH(gnu-ld,
1364 +[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
1365 +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
1366 +AC_REQUIRE([AC_PROG_CC])dnl
1367 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
1368 +# Prepare PATH_SEPARATOR.
1369 +# The user is always right.
1370 +if test "${PATH_SEPARATOR+set}" != set; then
1371 + echo "#! /bin/sh" >conf$$.sh
1372 + echo "exit 0" >>conf$$.sh
1373 + chmod +x conf$$.sh
1374 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1375 + PATH_SEPARATOR=';'
1382 +if test "$GCC" = yes; then
1383 + # Check if gcc -print-prog-name=ld gives a path.
1384 + AC_MSG_CHECKING([for ld used by GCC])
1387 + # gcc leaves a trailing carriage return which upsets mingw
1388 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1390 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1393 + # Accept absolute paths.
1394 + [[\\/]* | [A-Za-z]:[\\/]*)]
1395 + [re_direlt='/[^/][^/]*/\.\./']
1396 + # Canonicalize the path of ld
1397 + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1398 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1399 + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1401 + test -z "$LD" && LD="$ac_prog"
1404 + # If it fails, then pretend we aren't using GCC.
1408 + # If it is relative, then search for the first ld in PATH.
1409 + with_gnu_ld=unknown
1412 +elif test "$with_gnu_ld" = yes; then
1413 + AC_MSG_CHECKING([for GNU ld])
1415 + AC_MSG_CHECKING([for non-GNU ld])
1417 +AC_CACHE_VAL(acl_cv_path_LD,
1418 +[if test -z "$LD"; then
1419 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1420 + for ac_dir in $PATH; do
1421 + test -z "$ac_dir" && ac_dir=.
1422 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1423 + acl_cv_path_LD="$ac_dir/$ac_prog"
1424 + # Check to see if the program is GNU ld. I'd rather use --version,
1425 + # but apparently some GNU ld's only accept -v.
1426 + # Break only if it was the GNU/non-GNU ld that we prefer.
1427 + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
1428 + *GNU* | *'with BFD'*)
1429 + test "$with_gnu_ld" != no && break ;;
1431 + test "$with_gnu_ld" != yes && break ;;
1435 + IFS="$ac_save_ifs"
1437 + acl_cv_path_LD="$LD" # Let the user override the test with a path.
1439 +LD="$acl_cv_path_LD"
1440 +if test -n "$LD"; then
1441 + AC_MSG_RESULT($LD)
1445 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
1449 +# progtest.m4 serial 4 (gettext-0.14.2)
1450 +dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc.
1451 +dnl This file is free software; the Free Software Foundation
1452 +dnl gives unlimited permission to copy and/or distribute it,
1453 +dnl with or without modifications, as long as this notice is preserved.
1455 +dnl This file can can be used in projects which are not available under
1456 +dnl the GNU General Public License or the GNU Library General Public
1457 +dnl License but which still want to provide support for the GNU gettext
1459 +dnl Please note that the actual code of the GNU gettext library is covered
1460 +dnl by the GNU Library General Public License, and the rest of the GNU
1461 +dnl gettext package package is covered by the GNU General Public License.
1462 +dnl They are *not* in the public domain.
1465 +dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
1469 +# Search path for a program which passes the given test.
1471 +dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
1472 +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
1473 +AC_DEFUN([AM_PATH_PROG_WITH_TEST],
1475 +# Prepare PATH_SEPARATOR.
1476 +# The user is always right.
1477 +if test "${PATH_SEPARATOR+set}" != set; then
1478 + echo "#! /bin/sh" >conf$$.sh
1479 + echo "exit 0" >>conf$$.sh
1480 + chmod +x conf$$.sh
1481 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1482 + PATH_SEPARATOR=';'
1489 +# Find out how to test for executable files. Don't use a zero-byte file,
1490 +# as systems may use methods other than mode bits to determine executability.
1491 +cat >conf$$.file <<_ASEOF
1495 +chmod +x conf$$.file
1496 +if test -x conf$$.file >/dev/null 2>&1; then
1497 + ac_executable_p="test -x"
1499 + ac_executable_p="test -f"
1503 +# Extract the first word of "$2", so it can be a program name with args.
1504 +set dummy $2; ac_word=[$]2
1505 +AC_MSG_CHECKING([for $ac_word])
1506 +AC_CACHE_VAL(ac_cv_path_$1,
1508 + [[\\/]]* | ?:[[\\/]]*)
1509 + ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
1512 + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
1513 + for ac_dir in ifelse([$5], , $PATH, [$5]); do
1514 + IFS="$ac_save_IFS"
1515 + test -z "$ac_dir" && ac_dir=.
1516 + for ac_exec_ext in '' $ac_executable_extensions; do
1517 + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1518 + echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
1520 + ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
1526 + IFS="$ac_save_IFS"
1527 +dnl If no 4th arg is given, leave the cache variable unset,
1528 +dnl so AC_PATH_PROGS will keep looking.
1529 +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
1533 +$1="$ac_cv_path_$1"
1534 +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
1535 + AC_MSG_RESULT([$]$1)
1542 +# isc-posix.m4 serial 2 (gettext-0.11.2)
1543 +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
1544 +dnl This file is free software; the Free Software Foundation
1545 +dnl gives unlimited permission to copy and/or distribute it,
1546 +dnl with or without modifications, as long as this notice is preserved.
1548 +# This file is not needed with autoconf-2.53 and newer. Remove it in 2005.
1550 +# This test replaces the one in autoconf.
1551 +# Currently this macro should have the same name as the autoconf macro
1552 +# because gettext's gettext.m4 (distributed in the automake package)
1553 +# still uses it. Otherwise, the use in gettext.m4 makes autoheader
1554 +# give these diagnostics:
1555 +# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
1556 +# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
1558 +undefine([AC_ISC_POSIX])
1560 +AC_DEFUN([AC_ISC_POSIX],
1562 + dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
1563 + AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
1567 +# Do all the work for Automake. This macro actually does too much --
1568 +# some checks are only needed if your package does certain things.
1569 +# But this isn't really a big deal.
1574 +dnl AM_INIT_AUTOMAKE(package,version, [no-define])
1576 +AC_DEFUN([AM_INIT_AUTOMAKE],
1577 +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1578 +AC_REQUIRE([AC_PROG_INSTALL])
1583 +dnl test to see if srcdir already configured
1584 +if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1585 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1588 +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1589 +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
1590 +AC_REQUIRE([AM_SANITY_CHECK])
1591 +AC_REQUIRE([AC_ARG_PROGRAM])
1592 +dnl FIXME This is truly gross.
1593 +missing_dir=`cd $ac_aux_dir && pwd`
1594 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
1595 +AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
1596 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
1597 +AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
1598 +AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
1599 +AC_REQUIRE([AC_PROG_MAKE_SET])])
1601 +# Copyright 2002 Free Software Foundation, Inc.
1603 +# This program is free software; you can redistribute it and/or modify
1604 +# it under the terms of the GNU General Public License as published by
1605 +# the Free Software Foundation; either version 2, or (at your option)
1606 +# any later version.
1608 +# This program is distributed in the hope that it will be useful,
1609 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1610 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1611 +# GNU General Public License for more details.
1613 +# You should have received a copy of the GNU General Public License
1614 +# along with this program; if not, write to the Free Software
1615 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1617 +# AM_AUTOMAKE_VERSION(VERSION)
1618 +# ----------------------------
1619 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
1620 +# generated from the m4 files accompanying Automake X.Y.
1621 +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
1623 +# AM_SET_CURRENT_AUTOMAKE_VERSION
1624 +# -------------------------------
1625 +# Call AM_AUTOMAKE_VERSION so it can be traced.
1626 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
1627 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1628 + [AM_AUTOMAKE_VERSION([1.4-p6])])
1631 +# Check to make sure that the build environment is sane.
1634 +AC_DEFUN([AM_SANITY_CHECK],
1635 +[AC_MSG_CHECKING([whether build environment is sane])
1638 +echo timestamp > conftestfile
1639 +# Do `set' in a subshell so we don't clobber the current shell's
1640 +# arguments. Must try -L first in case configure is actually a
1641 +# symlink; some systems play weird games with the mod time of symlinks
1642 +# (eg FreeBSD returns the mod time of the symlink's containing
1645 + set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1646 + if test "[$]*" = "X"; then
1648 + set X `ls -t $srcdir/configure conftestfile`
1650 + if test "[$]*" != "X $srcdir/configure conftestfile" \
1651 + && test "[$]*" != "X conftestfile $srcdir/configure"; then
1653 + # If neither matched, then we have a broken ls. This can happen
1654 + # if, for instance, CONFIG_SHELL is bash and it inherits a
1655 + # broken ls alias from the environment. This has actually
1656 + # happened. Such a system could not be considered "sane".
1657 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1658 +alias in your environment])
1661 + test "[$]2" = conftestfile
1667 + AC_MSG_ERROR([newly created file is older than distributed files!
1668 +Check your system clock])
1671 +AC_MSG_RESULT(yes)])
1673 +dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
1674 +dnl The program must properly implement --version.
1675 +AC_DEFUN([AM_MISSING_PROG],
1676 +[AC_MSG_CHECKING(for working $2)
1677 +# Run test in a subshell; some versions of sh will print an error if
1678 +# an executable is not found, even if stderr is redirected.
1679 +# Redirect stdin to placate older versions of autoconf. Sigh.
1680 +if ($2 --version) < /dev/null > /dev/null 2>&1; then
1682 + AC_MSG_RESULT(found)
1684 + $1="$3/missing $2"
1685 + AC_MSG_RESULT(missing)
1689 +# Like AC_CONFIG_HEADER, but automatically create stamp file.
1691 +AC_DEFUN([AM_CONFIG_HEADER],
1693 +AC_CONFIG_HEADER([$1])
1694 +dnl When config.status generates a header, we must update the stamp-h file.
1695 +dnl This file resides in the same directory as the config header
1696 +dnl that is generated. We must strip everything past the first ":",
1697 +dnl and everything past the last "/".
1698 +AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
1699 +ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
1700 +<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
1702 +for am_file in <<$1>>; do
1703 + case " <<$>>CONFIG_HEADERS " in
1704 + *" <<$>>am_file "*<<)>>
1705 + echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
1708 + am_indx=`expr "<<$>>am_indx" + 1`
1710 +changequote([,]))])
1712 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1714 +# serial 48 Debian 1.5.22-2 AC_PROG_LIBTOOL
1717 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
1718 +# -----------------------------------------------------------
1719 +# If this macro is not defined by Autoconf, define it here.
1720 +m4_ifdef([AC_PROVIDE_IFELSE],
1722 + [m4_define([AC_PROVIDE_IFELSE],
1723 + [m4_ifdef([AC_PROVIDE_$1],
1729 +AC_DEFUN([AC_PROG_LIBTOOL],
1730 +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
1731 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
1732 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
1733 + AC_PROVIDE_IFELSE([AC_PROG_CXX],
1735 + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
1737 +dnl And a similar setup for Fortran 77 support
1738 + AC_PROVIDE_IFELSE([AC_PROG_F77],
1740 + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
1743 +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
1744 +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
1745 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
1746 + AC_PROVIDE_IFELSE([AC_PROG_GCJ],
1748 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
1750 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
1752 + [ifdef([AC_PROG_GCJ],
1753 + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
1754 + ifdef([A][M_PROG_GCJ],
1755 + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
1756 + ifdef([LT_AC_PROG_GCJ],
1757 + [define([LT_AC_PROG_GCJ],
1758 + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
1759 +])])# AC_PROG_LIBTOOL
1764 +AC_DEFUN([_AC_PROG_LIBTOOL],
1765 +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
1766 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
1767 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
1768 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
1770 +# This can be used to rebuild libtool when needed
1771 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
1773 +# Always use our own libtool.
1774 +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1775 +AC_SUBST(LIBTOOL)dnl
1777 +# Prevent multiple expansion
1778 +define([AC_PROG_LIBTOOL], [])
1779 +])# _AC_PROG_LIBTOOL
1784 +AC_DEFUN([AC_LIBTOOL_SETUP],
1785 +[AC_PREREQ(2.50)dnl
1786 +AC_REQUIRE([AC_ENABLE_SHARED])dnl
1787 +AC_REQUIRE([AC_ENABLE_STATIC])dnl
1788 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
1789 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
1790 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
1791 +AC_REQUIRE([AC_PROG_CC])dnl
1792 +AC_REQUIRE([AC_PROG_LD])dnl
1793 +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
1794 +AC_REQUIRE([AC_PROG_NM])dnl
1796 +AC_REQUIRE([AC_PROG_LN_S])dnl
1797 +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
1798 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1799 +AC_REQUIRE([AC_OBJEXT])dnl
1800 +AC_REQUIRE([AC_EXEEXT])dnl
1803 +AC_LIBTOOL_SYS_MAX_CMD_LEN
1804 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
1807 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1808 +_LT_AC_PROG_ECHO_BACKSLASH
1812 + # AIX sometimes has problems with the GCC collect2 program. For some
1813 + # reason, if we set the COLLECT_NAMES environment variable, the problems
1814 + # vanish in a puff of smoke.
1815 + if test "X${COLLECT_NAMES+set}" != Xset; then
1817 + export COLLECT_NAMES
1822 +# Sed substitution that helps us do robust quoting. It backslashifies
1823 +# metacharacters that are still active within double-quoted strings.
1824 +Xsed='sed -e 1s/^X//'
1825 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
1827 +# Same as above, but do not quote variable references.
1828 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
1830 +# Sed substitution to delay expansion of an escaped shell variable in a
1831 +# double_quote_subst'ed string.
1832 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1834 +# Sed substitution to avoid accidental globbing in evaled expressions
1835 +no_glob_subst='s/\*/\\\*/g'
1840 +# Global variables:
1841 +default_ofile=libtool
1842 +can_build_shared=yes
1844 +# All known linkers require a `.a' archive for static linking (except MSVC,
1845 +# which needs '.lib').
1847 +ltmain="$ac_aux_dir/ltmain.sh"
1848 +ofile="$default_ofile"
1849 +with_gnu_ld="$lt_cv_prog_gnu_ld"
1851 +AC_CHECK_TOOL(AR, ar, false)
1852 +AC_CHECK_TOOL(RANLIB, ranlib, :)
1853 +AC_CHECK_TOOL(STRIP, strip, :)
1856 +old_CFLAGS="$CFLAGS"
1858 +# Set sane defaults for various variables
1859 +test -z "$AR" && AR=ar
1860 +test -z "$AR_FLAGS" && AR_FLAGS=cru
1861 +test -z "$AS" && AS=as
1862 +test -z "$CC" && CC=cc
1863 +test -z "$LTCC" && LTCC=$CC
1864 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
1865 +test -z "$DLLTOOL" && DLLTOOL=dlltool
1866 +test -z "$LD" && LD=ld
1867 +test -z "$LN_S" && LN_S="ln -s"
1868 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
1869 +test -z "$NM" && NM=nm
1870 +test -z "$SED" && SED=sed
1871 +test -z "$OBJDUMP" && OBJDUMP=objdump
1872 +test -z "$RANLIB" && RANLIB=:
1873 +test -z "$STRIP" && STRIP=:
1874 +test -z "$ac_objext" && ac_objext=o
1876 +# Determine commands to create old-style static archives.
1877 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
1878 +old_postinstall_cmds='chmod 644 $oldlib'
1879 +old_postuninstall_cmds=
1881 +if test -n "$RANLIB"; then
1884 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1887 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1890 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1893 +_LT_CC_BASENAME([$compiler])
1895 +# Only perform the check for file, if the check method requires it
1896 +case $deplibs_check_method in
1898 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1904 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
1905 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
1906 +enable_win32_dll=yes, enable_win32_dll=no)
1908 +AC_ARG_ENABLE([libtool-lock],
1909 + [AC_HELP_STRING([--disable-libtool-lock],
1910 + [avoid locking (might break parallel builds)])])
1911 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1914 + [AC_HELP_STRING([--with-pic],
1915 + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
1916 + [pic_mode="$withval"],
1917 + [pic_mode=default])
1918 +test -z "$pic_mode" && pic_mode=default
1920 +# Use C for the default configuration in the libtool script
1922 +AC_LIBTOOL_LANG_C_CONFIG
1924 +])# AC_LIBTOOL_SETUP
1927 +# _LT_AC_SYS_COMPILER
1928 +# -------------------
1929 +AC_DEFUN([_LT_AC_SYS_COMPILER],
1930 +[AC_REQUIRE([AC_PROG_CC])dnl
1932 +# If no C compiler was specified, use CC.
1935 +# If no C compiler flags were specified, use CFLAGS.
1936 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1938 +# Allow CC to be a program name with arguments.
1940 +])# _LT_AC_SYS_COMPILER
1943 +# _LT_CC_BASENAME(CC)
1944 +# -------------------
1945 +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
1946 +AC_DEFUN([_LT_CC_BASENAME],
1947 +[for cc_temp in $1""; do
1949 + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
1950 + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
1955 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1959 +# _LT_COMPILER_BOILERPLATE
1960 +# ------------------------
1961 +# Check for compiler boilerplate output or warnings with
1962 +# the simple compiler test code.
1963 +AC_DEFUN([_LT_COMPILER_BOILERPLATE],
1964 +[ac_outfile=conftest.$ac_objext
1965 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
1966 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1967 +_lt_compiler_boilerplate=`cat conftest.err`
1969 +])# _LT_COMPILER_BOILERPLATE
1972 +# _LT_LINKER_BOILERPLATE
1973 +# ----------------------
1974 +# Check for linker boilerplate output or warnings with
1975 +# the simple link test code.
1976 +AC_DEFUN([_LT_LINKER_BOILERPLATE],
1977 +[ac_outfile=conftest.$ac_objext
1978 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
1979 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1980 +_lt_linker_boilerplate=`cat conftest.err`
1982 +])# _LT_LINKER_BOILERPLATE
1985 +# _LT_AC_SYS_LIBPATH_AIX
1986 +# ----------------------
1987 +# Links a minimal program and checks the executable
1988 +# for the system default hardcoded library path. In most cases,
1989 +# this is /usr/lib:/lib, but when the MPI compilers are used
1990 +# the location of the communication and MPI libs are included too.
1991 +# If we don't find anything, use the default library path according
1992 +# to the aix ld manual.
1993 +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
1994 +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
1995 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
1997 +# Check for a 64-bit object if we didn't find anything.
1998 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
2000 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
2001 +])# _LT_AC_SYS_LIBPATH_AIX
2004 +# _LT_AC_SHELL_INIT(ARG)
2005 +# ----------------------
2006 +AC_DEFUN([_LT_AC_SHELL_INIT],
2007 +[ifdef([AC_DIVERSION_NOTICE],
2008 + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
2009 + [AC_DIVERT_PUSH(NOTICE)])
2012 +])# _LT_AC_SHELL_INIT
2015 +# _LT_AC_PROG_ECHO_BACKSLASH
2016 +# --------------------------
2017 +# Add some code to the start of the generated configure script which
2018 +# will find an echo command which doesn't interpret backslashes.
2019 +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
2020 +[_LT_AC_SHELL_INIT([
2021 +# Check that we are running under the correct shell.
2022 +SHELL=${CONFIG_SHELL-/bin/sh}
2026 + # Remove one level of quotation (which was required for Make).
2027 + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
2032 +if test "X[$]1" = X--no-reexec; then
2033 + # Discard the --no-reexec flag, and continue.
2035 +elif test "X[$]1" = X--fallback-echo; then
2036 + # Avoid inline document here, it may be left over
2038 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
2039 + # Yippee, $echo works!
2042 + # Restart under the correct shell.
2043 + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
2046 +if test "X[$]1" = X--fallback-echo; then
2047 + # used as fallback echo
2055 +# The HP-UX ksh and POSIX shell print the target directory to stdout
2056 +# if CDPATH is set.
2057 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2059 +if test -z "$ECHO"; then
2060 +if test "X${echo_test_string+set}" != Xset; then
2061 +# find a string as large as possible, as long as the shell can cope with it
2062 + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
2063 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
2064 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
2065 + echo_test_string=`eval $cmd` &&
2066 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
2073 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
2074 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
2075 + test "X$echo_testing_string" = "X$echo_test_string"; then
2078 + # The Solaris, AIX, and Digital Unix default echo programs unquote
2079 + # backslashes. This makes it impossible to quote backslashes using
2080 + # echo "$something" | sed 's/\\/\\\\/g'
2082 + # So, first we look for a working echo in the user's PATH.
2084 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2085 + for dir in $PATH /usr/ucb; do
2086 + IFS="$lt_save_ifs"
2087 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
2088 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
2089 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
2090 + test "X$echo_testing_string" = "X$echo_test_string"; then
2095 + IFS="$lt_save_ifs"
2097 + if test "X$echo" = Xecho; then
2098 + # We didn't find a better echo, so look for alternatives.
2099 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
2100 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
2101 + test "X$echo_testing_string" = "X$echo_test_string"; then
2102 + # This shell has a builtin print -r that does the trick.
2104 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
2105 + test "X$CONFIG_SHELL" != X/bin/ksh; then
2106 + # If we have ksh, try running configure again with it.
2107 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2108 + export ORIGINAL_CONFIG_SHELL
2109 + CONFIG_SHELL=/bin/ksh
2110 + export CONFIG_SHELL
2111 + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
2113 + # Try using printf.
2114 + echo='printf %s\n'
2115 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
2116 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
2117 + test "X$echo_testing_string" = "X$echo_test_string"; then
2118 + # Cool, printf works
2120 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2121 + test "X$echo_testing_string" = 'X\t' &&
2122 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2123 + test "X$echo_testing_string" = "X$echo_test_string"; then
2124 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
2125 + export CONFIG_SHELL
2126 + SHELL="$CONFIG_SHELL"
2128 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
2129 + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
2130 + test "X$echo_testing_string" = 'X\t' &&
2131 + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
2132 + test "X$echo_testing_string" = "X$echo_test_string"; then
2133 + echo="$CONFIG_SHELL [$]0 --fallback-echo"
2135 + # maybe with a smaller string...
2138 + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
2139 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
2146 + if test "$prev" != 'sed 50q "[$]0"'; then
2147 + echo_test_string=`eval $prev`
2148 + export echo_test_string
2149 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
2151 + # Oops. We lost completely, so just stick with echo.
2160 +# Copy echo and quote the copy suitably for passing to libtool from
2161 +# the Makefile, instead of quoting the original, which is used later.
2163 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
2164 + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
2168 +])])# _LT_AC_PROG_ECHO_BACKSLASH
2173 +AC_DEFUN([_LT_AC_LOCK],
2174 +[AC_ARG_ENABLE([libtool-lock],
2175 + [AC_HELP_STRING([--disable-libtool-lock],
2176 + [avoid locking (might break parallel builds)])])
2177 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
2179 +# Some flags need to be propagated to the compiler or linker for good
2183 + # Find out which ABI we are using.
2184 + echo 'int i;' > conftest.$ac_ext
2185 + if AC_TRY_EVAL(ac_compile); then
2186 + case `/usr/bin/file conftest.$ac_objext` in
2188 + HPUX_IA64_MODE="32"
2191 + HPUX_IA64_MODE="64"
2198 + # Find out which ABI we are using.
2199 + echo '[#]line __oline__ "configure"' > conftest.$ac_ext
2200 + if AC_TRY_EVAL(ac_compile); then
2201 + if test "$lt_cv_prog_gnu_ld" = yes; then
2202 + case `/usr/bin/file conftest.$ac_objext` in
2204 + LD="${LD-ld} -melf32bsmip"
2207 + LD="${LD-ld} -melf32bmipn32"
2210 + LD="${LD-ld} -melf64bmip"
2214 + case `/usr/bin/file conftest.$ac_objext` in
2219 + LD="${LD-ld} -n32"
2230 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2231 + # Find out which ABI we are using.
2232 + echo 'int i;' > conftest.$ac_ext
2233 + if AC_TRY_EVAL(ac_compile); then
2234 + case `/usr/bin/file conftest.o` in
2238 + LD="${LD-ld} -m elf_i386"
2240 + ppc64-*linux*|powerpc64-*linux*)
2241 + LD="${LD-ld} -m elf32ppclinux"
2244 + LD="${LD-ld} -m elf_s390"
2247 + LD="${LD-ld} -m elf32_sparc"
2254 + LD="${LD-ld} -m elf_x86_64"
2256 + ppc*-*linux*|powerpc*-*linux*)
2257 + LD="${LD-ld} -m elf64ppc"
2260 + LD="${LD-ld} -m elf64_s390"
2263 + LD="${LD-ld} -m elf64_sparc"
2273 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2274 + SAVE_CFLAGS="$CFLAGS"
2275 + CFLAGS="$CFLAGS -belf"
2276 + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
2278 + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
2280 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2281 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2282 + CFLAGS="$SAVE_CFLAGS"
2286 + # Find out which ABI we are using.
2287 + echo 'int i;' > conftest.$ac_ext
2288 + if AC_TRY_EVAL(ac_compile); then
2289 + case `/usr/bin/file conftest.o` in
2291 + case $lt_cv_prog_gnu_ld in
2292 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
2293 + *) LD="${LD-ld} -64" ;;
2301 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
2302 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
2303 + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
2304 + AC_CHECK_TOOL(AS, as, false)
2305 + AC_CHECK_TOOL(OBJDUMP, objdump, false)
2310 +need_locks="$enable_libtool_lock"
2315 +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2316 +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
2317 +# ----------------------------------------------------------------
2318 +# Check whether the given compiler option works
2319 +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
2320 +[AC_REQUIRE([LT_AC_PROG_SED])
2321 +AC_CACHE_CHECK([$1], [$2],
2323 + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
2324 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
2325 + lt_compiler_flag="$3"
2326 + # Insert the option either (1) after the last *FLAGS variable, or
2327 + # (2) before a word containing "conftest.", or (3) at the end.
2328 + # Note that $ac_compile itself does not contain backslashes and begins
2329 + # with a dollar sign (not a hyphen), so the echo should work correctly.
2330 + # The option is referenced via a variable to avoid confusing sed.
2331 + lt_compile=`echo "$ac_compile" | $SED \
2332 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2333 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2334 + -e 's:$: $lt_compiler_flag:'`
2335 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2336 + (eval "$lt_compile" 2>conftest.err)
2338 + cat conftest.err >&AS_MESSAGE_LOG_FD
2339 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2340 + if (exit $ac_status) && test -s "$ac_outfile"; then
2341 + # The compiler can only warn and ignore the option if not recognized
2342 + # So say no if there are warnings other than the usual output.
2343 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
2344 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2345 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
2352 +if test x"[$]$2" = xyes; then
2353 + ifelse([$5], , :, [$5])
2355 + ifelse([$6], , :, [$6])
2357 +])# AC_LIBTOOL_COMPILER_OPTION
2360 +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
2361 +# [ACTION-SUCCESS], [ACTION-FAILURE])
2362 +# ------------------------------------------------------------
2363 +# Check whether the given compiler option works
2364 +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
2365 +[AC_CACHE_CHECK([$1], [$2],
2367 + save_LDFLAGS="$LDFLAGS"
2368 + LDFLAGS="$LDFLAGS $3"
2369 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
2370 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
2371 + # The linker can only warn and ignore the option if not recognized
2372 + # So say no if there are warnings
2373 + if test -s conftest.err; then
2374 + # Append any errors to the config.log.
2375 + cat conftest.err 1>&AS_MESSAGE_LOG_FD
2376 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
2377 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2378 + if diff conftest.exp conftest.er2 >/dev/null; then
2386 + LDFLAGS="$save_LDFLAGS"
2389 +if test x"[$]$2" = xyes; then
2390 + ifelse([$4], , :, [$4])
2392 + ifelse([$5], , :, [$5])
2394 +])# AC_LIBTOOL_LINKER_OPTION
2397 +# AC_LIBTOOL_SYS_MAX_CMD_LEN
2398 +# --------------------------
2399 +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
2400 +[# find the maximum length of command line arguments
2401 +AC_MSG_CHECKING([the maximum length of command line arguments])
2402 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
2408 + # On DJGPP, this test can blow up pretty badly due to problems in libc
2409 + # (any single argument exceeding 2000 bytes causes a buffer overrun
2410 + # during glob expansion). Even if it were fixed, the result of this
2411 + # check would be larger than it should be.
2412 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
2416 + # Under GNU Hurd, this test is not required because there is
2417 + # no limit to the length of command line arguments.
2418 + # Libtool will interpret -1 as no limit whatsoever
2419 + lt_cv_sys_max_cmd_len=-1;
2423 + # On Win9x/ME, this test blows up -- it succeeds, but takes
2424 + # about 5 minutes as the teststring grows exponentially.
2425 + # Worse, since 9x/ME are not pre-emptively multitasking,
2426 + # you end up with a "frozen" computer, even though with patience
2427 + # the test eventually succeeds (with a max line length of 256k).
2428 + # Instead, let's just punt: use the minimum linelength reported by
2429 + # all of the supported platforms: 8192 (on NT/2K/XP).
2430 + lt_cv_sys_max_cmd_len=8192;
2434 + # On AmigaOS with pdksh, this test takes hours, literally.
2435 + # So we just punt and use a minimum line length of 8192.
2436 + lt_cv_sys_max_cmd_len=8192;
2439 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
2440 + # This has been around since 386BSD, at least. Likely further.
2441 + if test -x /sbin/sysctl; then
2442 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
2443 + elif test -x /usr/sbin/sysctl; then
2444 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
2446 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
2448 + # And add a safety zone
2449 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2450 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2454 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
2455 + lt_cv_sys_max_cmd_len=196608
2459 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
2460 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
2461 + # nice to cause kernel panics so lets avoid the loop below.
2462 + # First set a reasonable default.
2463 + lt_cv_sys_max_cmd_len=16384
2465 + if test -x /sbin/sysconfig; then
2466 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
2467 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
2472 + lt_cv_sys_max_cmd_len=102400
2474 + sysv5* | sco5v6* | sysv4.2uw2*)
2475 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
2476 + if test -n "$kargmax"; then
2477 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
2479 + lt_cv_sys_max_cmd_len=32768
2483 + # If test is not a shell built-in, we'll probably end up computing a
2484 + # maximum length that is only half of the actual maximum length, but
2486 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
2487 + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
2488 + = "XX$teststring") >/dev/null 2>&1 &&
2489 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
2490 + lt_cv_sys_max_cmd_len=$new_result &&
2491 + test $i != 17 # 1/2 MB should be enough
2494 + teststring=$teststring$teststring
2497 + # Add a significant safety factor because C++ compilers can tack on massive
2498 + # amounts of additional arguments before passing them to the linker.
2499 + # It appears as though 1/2 is a usable value.
2500 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
2504 +if test -n $lt_cv_sys_max_cmd_len ; then
2505 + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
2507 + AC_MSG_RESULT(none)
2509 +])# AC_LIBTOOL_SYS_MAX_CMD_LEN
2512 +# _LT_AC_CHECK_DLFCN
2513 +# ------------------
2514 +AC_DEFUN([_LT_AC_CHECK_DLFCN],
2515 +[AC_CHECK_HEADERS(dlfcn.h)dnl
2516 +])# _LT_AC_CHECK_DLFCN
2519 +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
2520 +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
2521 +# ---------------------------------------------------------------------
2522 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
2523 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
2524 +if test "$cross_compiling" = yes; then :
2527 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
2528 + lt_status=$lt_dlunknown
2529 + cat > conftest.$ac_ext <<EOF
2530 +[#line __oline__ "configure"
2531 +#include "confdefs.h"
2540 +# define LT_DLGLOBAL RTLD_GLOBAL
2543 +# define LT_DLGLOBAL DL_GLOBAL
2545 +# define LT_DLGLOBAL 0
2549 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
2550 + find out it does not work in some platform. */
2551 +#ifndef LT_DLLAZY_OR_NOW
2553 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
2556 +# define LT_DLLAZY_OR_NOW DL_LAZY
2559 +# define LT_DLLAZY_OR_NOW RTLD_NOW
2562 +# define LT_DLLAZY_OR_NOW DL_NOW
2564 +# define LT_DLLAZY_OR_NOW 0
2572 +extern "C" void exit (int);
2575 +void fnord() { int i=42;}
2578 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
2579 + int status = $lt_dlunknown;
2583 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
2584 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
2585 + /* dlclose (self); */
2588 + puts (dlerror ());
2593 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
2594 + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
2596 + case x$lt_status in
2597 + x$lt_dlno_uscore) $1 ;;
2598 + x$lt_dlneed_uscore) $2 ;;
2599 + x$lt_dlunknown|x*) $3 ;;
2602 + # compilation failed
2607 +])# _LT_AC_TRY_DLOPEN_SELF
2610 +# AC_LIBTOOL_DLOPEN_SELF
2611 +# ----------------------
2612 +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
2613 +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
2614 +if test "x$enable_dlopen" != xyes; then
2615 + enable_dlopen=unknown
2616 + enable_dlopen_self=unknown
2617 + enable_dlopen_self_static=unknown
2620 + lt_cv_dlopen_libs=
2624 + lt_cv_dlopen="load_add_on"
2625 + lt_cv_dlopen_libs=
2626 + lt_cv_dlopen_self=yes
2630 + lt_cv_dlopen="LoadLibrary"
2631 + lt_cv_dlopen_libs=
2635 + lt_cv_dlopen="dlopen"
2636 + lt_cv_dlopen_libs=
2640 + # if libdl is installed we need to link against it
2641 + AC_CHECK_LIB([dl], [dlopen],
2642 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
2643 + lt_cv_dlopen="dyld"
2644 + lt_cv_dlopen_libs=
2645 + lt_cv_dlopen_self=yes
2650 + AC_CHECK_FUNC([shl_load],
2651 + [lt_cv_dlopen="shl_load"],
2652 + [AC_CHECK_LIB([dld], [shl_load],
2653 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
2654 + [AC_CHECK_FUNC([dlopen],
2655 + [lt_cv_dlopen="dlopen"],
2656 + [AC_CHECK_LIB([dl], [dlopen],
2657 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
2658 + [AC_CHECK_LIB([svld], [dlopen],
2659 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
2660 + [AC_CHECK_LIB([dld], [dld_link],
2661 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
2670 + if test "x$lt_cv_dlopen" != xno; then
2676 + case $lt_cv_dlopen in
2678 + save_CPPFLAGS="$CPPFLAGS"
2679 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2681 + save_LDFLAGS="$LDFLAGS"
2682 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
2685 + LIBS="$lt_cv_dlopen_libs $LIBS"
2687 + AC_CACHE_CHECK([whether a program can dlopen itself],
2688 + lt_cv_dlopen_self, [dnl
2689 + _LT_AC_TRY_DLOPEN_SELF(
2690 + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
2691 + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
2694 + if test "x$lt_cv_dlopen_self" = xyes; then
2695 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
2696 + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
2697 + lt_cv_dlopen_self_static, [dnl
2698 + _LT_AC_TRY_DLOPEN_SELF(
2699 + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
2700 + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
2704 + CPPFLAGS="$save_CPPFLAGS"
2705 + LDFLAGS="$save_LDFLAGS"
2710 + case $lt_cv_dlopen_self in
2711 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
2712 + *) enable_dlopen_self=unknown ;;
2715 + case $lt_cv_dlopen_self_static in
2716 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
2717 + *) enable_dlopen_self_static=unknown ;;
2720 +])# AC_LIBTOOL_DLOPEN_SELF
2723 +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
2724 +# ---------------------------------
2725 +# Check to see if options -c and -o are simultaneously supported by compiler
2726 +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
2727 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
2728 +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
2729 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
2730 + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
2731 + $rm -r conftest 2>/dev/null
2735 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
2737 + lt_compiler_flag="-o out/conftest2.$ac_objext"
2738 + # Insert the option either (1) after the last *FLAGS variable, or
2739 + # (2) before a word containing "conftest.", or (3) at the end.
2740 + # Note that $ac_compile itself does not contain backslashes and begins
2741 + # with a dollar sign (not a hyphen), so the echo should work correctly.
2742 + lt_compile=`echo "$ac_compile" | $SED \
2743 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2744 + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2745 + -e 's:$: $lt_compiler_flag:'`
2746 + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2747 + (eval "$lt_compile" 2>out/conftest.err)
2749 + cat out/conftest.err >&AS_MESSAGE_LOG_FD
2750 + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2751 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
2753 + # The compiler can only warn and ignore the option if not recognized
2754 + # So say no if there are warnings
2755 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
2756 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
2757 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2758 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2761 + chmod u+w . 2>&AS_MESSAGE_LOG_FD
2763 + # SGI C++ compiler will create directory out/ii_files/ for
2764 + # template instantiation
2765 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
2766 + $rm out/* && rmdir out
2771 +])# AC_LIBTOOL_PROG_CC_C_O
2774 +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
2775 +# -----------------------------------------
2776 +# Check to see if we can do hard links to lock some files if needed
2777 +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
2778 +[AC_REQUIRE([_LT_AC_LOCK])dnl
2780 +hard_links="nottested"
2781 +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
2782 + # do not overwrite the value of need_locks provided by the user
2783 + AC_MSG_CHECKING([if we can lock with hard links])
2786 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
2788 + ln conftest.a conftest.b 2>&5 || hard_links=no
2789 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
2790 + AC_MSG_RESULT([$hard_links])
2791 + if test "$hard_links" = no; then
2792 + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
2798 +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
2801 +# AC_LIBTOOL_OBJDIR
2802 +# -----------------
2803 +AC_DEFUN([AC_LIBTOOL_OBJDIR],
2804 +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
2805 +[rm -f .libs 2>/dev/null
2806 +mkdir .libs 2>/dev/null
2807 +if test -d .libs; then
2808 + lt_cv_objdir=.libs
2810 + # MS-DOS does not allow filenames that begin with a dot.
2811 + lt_cv_objdir=_libs
2813 +rmdir .libs 2>/dev/null])
2814 +objdir=$lt_cv_objdir
2815 +])# AC_LIBTOOL_OBJDIR
2818 +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
2819 +# ----------------------------------------------
2820 +# Check hardcoding attributes.
2821 +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
2822 +[AC_MSG_CHECKING([how to hardcode library paths into programs])
2823 +_LT_AC_TAGVAR(hardcode_action, $1)=
2824 +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
2825 + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
2826 + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
2828 + # We can hardcode non-existant directories.
2829 + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
2830 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
2831 + # have to relink, otherwise we might link with an installed library
2832 + # when we should be linking with a yet-to-be-installed one
2833 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
2834 + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
2835 + # Linking always hardcodes the temporary library directory.
2836 + _LT_AC_TAGVAR(hardcode_action, $1)=relink
2838 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
2839 + _LT_AC_TAGVAR(hardcode_action, $1)=immediate
2842 + # We cannot hardcode anything, or else we can only hardcode existing
2844 + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
2846 +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
2848 +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
2849 + # Fast installation is not supported
2850 + enable_fast_install=no
2851 +elif test "$shlibpath_overrides_runpath" = yes ||
2852 + test "$enable_shared" = no; then
2853 + # Fast installation is not necessary
2854 + enable_fast_install=needless
2856 +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
2859 +# AC_LIBTOOL_SYS_LIB_STRIP
2860 +# ------------------------
2861 +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
2864 +AC_MSG_CHECKING([whether stripping libraries is possible])
2865 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
2866 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
2867 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
2868 + AC_MSG_RESULT([yes])
2870 +# FIXME - insert some real tests, host_os isn't really good enough
2873 + if test -n "$STRIP" ; then
2874 + striplib="$STRIP -x"
2875 + AC_MSG_RESULT([yes])
2877 + AC_MSG_RESULT([no])
2881 + AC_MSG_RESULT([no])
2885 +])# AC_LIBTOOL_SYS_LIB_STRIP
2888 +# AC_LIBTOOL_SYS_DYNAMIC_LINKER
2889 +# -----------------------------
2890 +# PORTME Fill in your ld.so characteristics
2891 +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
2892 +[AC_MSG_CHECKING([dynamic linker characteristics])
2893 +library_names_spec=
2894 +libname_spec='lib$name'
2898 +postuninstall_cmds=
2902 +shlibpath_overrides_runpath=unknown
2904 +dynamic_linker="$host_os ld.so"
2905 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
2906 +if test "$GCC" = yes; then
2907 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2908 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
2909 + # if the path contains ";" then we assume it to be the separator
2910 + # otherwise default to the standard path separator (i.e. ":") - it is
2911 + # assumed that no part of a normal pathname contains ";" but that should
2912 + # okay in the real world where ";" in dirpaths is itself problematic.
2913 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2915 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2918 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2920 +need_lib_prefix=unknown
2921 +hardcode_into_libs=no
2923 +# when you set need_version to no, make sure it does not cause -set_version
2924 +# flags to be left without arguments
2925 +need_version=unknown
2929 + version_type=linux
2930 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
2931 + shlibpath_var=LIBPATH
2933 + # AIX 3 has no versioning support, so we append a major version to the name.
2934 + soname_spec='${libname}${release}${shared_ext}$major'
2938 + version_type=linux
2939 + need_lib_prefix=no
2941 + hardcode_into_libs=yes
2942 + if test "$host_cpu" = ia64; then
2943 + # AIX 5 supports IA64
2944 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
2945 + shlibpath_var=LD_LIBRARY_PATH
2947 + # With GCC up to 2.95.x, collect2 would create an import file
2948 + # for dependence libraries. The import file would start with
2949 + # the line `#! .'. This would cause the generated library to
2950 + # depend on `.', always an invalid library. This was fixed in
2951 + # development snapshots of GCC prior to 3.0.
2953 + aix4 | aix4.[[01]] | aix4.[[01]].*)
2954 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
2956 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
2959 + can_build_shared=no
2963 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
2964 + # soname into executable. Probably we can add versioning support to
2965 + # collect2, so additional links can be useful in future.
2966 + if test "$aix_use_runtimelinking" = yes; then
2967 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
2968 + # instead of lib<name>.a to let people know that these are not
2969 + # typical AIX shared libraries.
2970 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2972 + # We preserve .a as extension for shared libraries through AIX4.2
2973 + # and later when we are not doing run time linking.
2974 + library_names_spec='${libname}${release}.a $libname.a'
2975 + soname_spec='${libname}${release}${shared_ext}$major'
2977 + shlibpath_var=LIBPATH
2982 + library_names_spec='$libname.ixlibrary $libname.a'
2983 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
2984 + 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'
2988 + library_names_spec='${libname}${shared_ext}'
2989 + dynamic_linker="$host_os ld.so"
2990 + shlibpath_var=LIBRARY_PATH
2994 + version_type=linux
2996 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2997 + soname_spec='${libname}${release}${shared_ext}$major'
2998 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
2999 + shlibpath_var=LD_LIBRARY_PATH
3000 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
3001 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
3002 + # the default ld.so.conf also contains /usr/contrib/lib and
3003 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
3004 + # libtool to hard-code these into programs
3007 +cygwin* | mingw* | pw32*)
3008 + version_type=windows
3009 + shrext_cmds=".dll"
3011 + need_lib_prefix=no
3013 + case $GCC,$host_os in
3014 + yes,cygwin* | yes,mingw* | yes,pw32*)
3015 + library_names_spec='$libname.dll.a'
3016 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
3017 + postinstall_cmds='base_file=`basename \${file}`~
3018 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
3019 + dldir=$destdir/`dirname \$dlpath`~
3020 + test -d \$dldir || mkdir -p \$dldir~
3021 + $install_prog $dir/$dlname \$dldir/$dlname~
3022 + chmod a+x \$dldir/$dlname'
3023 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
3024 + dlpath=$dir/\$dldll~
3026 + shlibpath_overrides_runpath=yes
3030 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
3031 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3032 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3035 + # MinGW DLLs use traditional 'lib' prefix
3036 + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3037 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3038 + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
3039 + # It is most probably a Windows format PATH printed by
3040 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
3041 + # path with ; separators, and with drive letters. We can handle the
3042 + # drive letters (cygwin fileutils understands them), so leave them,
3043 + # especially as we might pass files found there to a mingw objdump,
3044 + # which wouldn't understand a cygwinified path. Ahh.
3045 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
3047 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
3051 + # pw32 DLLs use 'pw' prefix rather than 'lib'
3052 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3058 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
3061 + dynamic_linker='Win32 ld.exe'
3062 + # FIXME: first we should search . and the directory the executable is in
3063 + shlibpath_var=PATH
3066 +darwin* | rhapsody*)
3067 + dynamic_linker="$host_os dyld"
3068 + version_type=darwin
3069 + need_lib_prefix=no
3071 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
3072 + soname_spec='${libname}${release}${major}$shared_ext'
3073 + shlibpath_overrides_runpath=yes
3074 + shlibpath_var=DYLD_LIBRARY_PATH
3075 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
3076 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
3077 + if test "$GCC" = yes; then
3078 + 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"`
3080 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
3082 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
3086 + version_type=linux
3087 + need_lib_prefix=no
3089 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
3090 + soname_spec='${libname}${release}${shared_ext}$major'
3091 + shlibpath_var=LD_LIBRARY_PATH
3099 + version_type=linux
3100 + need_lib_prefix=no
3102 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3103 + soname_spec='${libname}${release}${shared_ext}$major'
3104 + shlibpath_var=LD_LIBRARY_PATH
3105 + shlibpath_overrides_runpath=no
3106 + hardcode_into_libs=yes
3107 + dynamic_linker='GNU ld.so'
3110 +freebsd* | dragonfly*)
3111 + # DragonFly does not have aout. When/if they implement a new
3112 + # versioning mechanism, adjust this.
3113 + if test -x /usr/bin/objformat; then
3114 + objformat=`/usr/bin/objformat`
3117 + freebsd[[123]]*) objformat=aout ;;
3118 + *) objformat=elf ;;
3121 + version_type=freebsd-$objformat
3122 + case $version_type in
3124 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
3126 + need_lib_prefix=no
3129 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
3133 + shlibpath_var=LD_LIBRARY_PATH
3136 + shlibpath_overrides_runpath=yes
3138 + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
3139 + shlibpath_overrides_runpath=yes
3140 + hardcode_into_libs=yes
3142 + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
3143 + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
3144 + shlibpath_overrides_runpath=no
3145 + hardcode_into_libs=yes
3147 + freebsd*) # from 4.6 on
3148 + shlibpath_overrides_runpath=yes
3149 + hardcode_into_libs=yes
3155 + version_type=linux
3156 + need_lib_prefix=no
3158 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
3159 + soname_spec='${libname}${release}${shared_ext}$major'
3160 + shlibpath_var=LD_LIBRARY_PATH
3161 + hardcode_into_libs=yes
3164 +hpux9* | hpux10* | hpux11*)
3165 + # Give a soname corresponding to the major version so that dld.sl refuses to
3166 + # link against other versions.
3167 + version_type=sunos
3168 + need_lib_prefix=no
3173 + hardcode_into_libs=yes
3174 + dynamic_linker="$host_os dld.so"
3175 + shlibpath_var=LD_LIBRARY_PATH
3176 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
3177 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3178 + soname_spec='${libname}${release}${shared_ext}$major'
3179 + if test "X$HPUX_IA64_MODE" = X32; then
3180 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
3182 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
3184 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
3188 + hardcode_into_libs=yes
3189 + dynamic_linker="$host_os dld.sl"
3190 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
3191 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
3192 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3193 + soname_spec='${libname}${release}${shared_ext}$major'
3194 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
3195 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
3199 + dynamic_linker="$host_os dld.sl"
3200 + shlibpath_var=SHLIB_PATH
3201 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
3202 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3203 + soname_spec='${libname}${release}${shared_ext}$major'
3206 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
3207 + postinstall_cmds='chmod 555 $lib'
3211 + version_type=linux
3212 + need_lib_prefix=no
3214 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3215 + soname_spec='${libname}${release}${shared_ext}$major'
3216 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
3217 + shlibpath_var=LD_LIBRARY_PATH
3218 + shlibpath_overrides_runpath=no
3219 + hardcode_into_libs=yes
3222 +irix5* | irix6* | nonstopux*)
3224 + nonstopux*) version_type=nonstopux ;;
3226 + if test "$lt_cv_prog_gnu_ld" = yes; then
3227 + version_type=linux
3232 + need_lib_prefix=no
3234 + soname_spec='${libname}${release}${shared_ext}$major'
3235 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
3237 + irix5* | nonstopux*)
3238 + libsuff= shlibsuff=
3241 + case $LD in # libtool.m4 will add one of these switches to LD
3242 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
3243 + libsuff= shlibsuff= libmagic=32-bit;;
3244 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
3245 + libsuff=32 shlibsuff=N32 libmagic=N32;;
3246 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
3247 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
3248 + *) libsuff= shlibsuff= libmagic=never-match;;
3252 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
3253 + shlibpath_overrides_runpath=no
3254 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
3255 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
3256 + hardcode_into_libs=yes
3259 +# No shared lib support for Linux oldld, aout, or coff.
3260 +linux*oldld* | linux*aout* | linux*coff*)
3264 +# This must be Linux ELF.
3266 + version_type=linux
3267 + need_lib_prefix=no
3269 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3270 + soname_spec='${libname}${release}${shared_ext}$major'
3271 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
3272 + shlibpath_var=LD_LIBRARY_PATH
3273 + shlibpath_overrides_runpath=no
3274 + # This implies no fast_install, which is unacceptable.
3275 + # Some rework will be needed to allow for fast_install
3276 + # before this can be enabled.
3277 + hardcode_into_libs=yes
3279 + # Append ld.so.conf contents to the search path
3280 + if test -f /etc/ld.so.conf; then
3281 + 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' ' '`
3282 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
3285 + # We used to test for /lib/ld.so.1 and disable shared libraries on
3286 + # powerpc, because MkLinux only supported shared libraries with the
3287 + # GNU dynamic linker. Since this was broken with cross compilers,
3288 + # most powerpc-linux boxes support dynamic linking these days and
3289 + # people can always --disable-shared, the test was removed, and we
3290 + # assume the GNU/Linux dynamic linker is in use.
3291 + dynamic_linker='GNU/Linux ld.so'
3295 + version_type=linux
3296 + need_lib_prefix=no
3298 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3299 + soname_spec='${libname}${release}${shared_ext}$major'
3300 + shlibpath_var=LD_LIBRARY_PATH
3301 + shlibpath_overrides_runpath=no
3302 + hardcode_into_libs=yes
3303 + dynamic_linker='NetBSD ld.elf_so'
3307 + version_type=linux
3308 + need_lib_prefix=no
3310 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3311 + soname_spec='${libname}${release}${shared_ext}$major'
3312 + shlibpath_var=LD_LIBRARY_PATH
3313 + shlibpath_overrides_runpath=no
3314 + hardcode_into_libs=yes
3315 + dynamic_linker='GNU ld.so'
3319 + version_type=sunos
3320 + need_lib_prefix=no
3322 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3323 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3324 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
3325 + dynamic_linker='NetBSD (a.out) ld.so'
3327 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
3328 + soname_spec='${libname}${release}${shared_ext}$major'
3329 + dynamic_linker='NetBSD ld.elf_so'
3331 + shlibpath_var=LD_LIBRARY_PATH
3332 + shlibpath_overrides_runpath=yes
3333 + hardcode_into_libs=yes
3337 + version_type=linux
3338 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3339 + shlibpath_var=LD_LIBRARY_PATH
3340 + shlibpath_overrides_runpath=yes
3344 + version_type=linux
3345 + need_lib_prefix=no
3347 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3348 + soname_spec='${libname}${release}${shared_ext}$major'
3349 + shlibpath_var=LD_LIBRARY_PATH
3350 + shlibpath_overrides_runpath=yes
3354 + version_type=sunos
3355 + sys_lib_dlsearch_path_spec="/usr/lib"
3356 + need_lib_prefix=no
3357 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
3359 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
3360 + *) need_version=no ;;
3362 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3363 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
3364 + shlibpath_var=LD_LIBRARY_PATH
3365 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3367 + openbsd2.[[89]] | openbsd2.[[89]].*)
3368 + shlibpath_overrides_runpath=no
3371 + shlibpath_overrides_runpath=yes
3375 + shlibpath_overrides_runpath=yes
3380 + libname_spec='$name'
3381 + shrext_cmds=".dll"
3382 + need_lib_prefix=no
3383 + library_names_spec='$libname${shared_ext} $libname.a'
3384 + dynamic_linker='OS/2 ld.exe'
3385 + shlibpath_var=LIBPATH
3388 +osf3* | osf4* | osf5*)
3390 + need_lib_prefix=no
3392 + soname_spec='${libname}${release}${shared_ext}$major'
3393 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3394 + shlibpath_var=LD_LIBRARY_PATH
3395 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
3396 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
3400 + version_type=linux
3401 + need_lib_prefix=no
3403 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3404 + soname_spec='${libname}${release}${shared_ext}$major'
3405 + shlibpath_var=LD_LIBRARY_PATH
3406 + shlibpath_overrides_runpath=yes
3407 + hardcode_into_libs=yes
3408 + # ldd complains unless libraries are executable
3409 + postinstall_cmds='chmod +x $lib'
3413 + version_type=sunos
3414 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
3415 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
3416 + shlibpath_var=LD_LIBRARY_PATH
3417 + shlibpath_overrides_runpath=yes
3418 + if test "$with_gnu_ld" = yes; then
3419 + need_lib_prefix=no
3425 + version_type=linux
3426 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3427 + soname_spec='${libname}${release}${shared_ext}$major'
3428 + shlibpath_var=LD_LIBRARY_PATH
3429 + case $host_vendor in
3431 + shlibpath_overrides_runpath=no
3432 + need_lib_prefix=no
3433 + export_dynamic_flag_spec='${wl}-Blargedynsym'
3434 + runpath_var=LD_RUN_PATH
3437 + need_lib_prefix=no
3440 + need_lib_prefix=no
3442 + shlibpath_overrides_runpath=no
3443 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
3449 + if test -d /usr/nec ;then
3450 + version_type=linux
3451 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
3452 + soname_spec='$libname${shared_ext}.$major'
3453 + shlibpath_var=LD_LIBRARY_PATH
3457 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3458 + version_type=freebsd-elf
3459 + need_lib_prefix=no
3461 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
3462 + soname_spec='${libname}${release}${shared_ext}$major'
3463 + shlibpath_var=LD_LIBRARY_PATH
3464 + hardcode_into_libs=yes
3465 + if test "$with_gnu_ld" = yes; then
3466 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
3467 + shlibpath_overrides_runpath=no
3469 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
3470 + shlibpath_overrides_runpath=yes
3473 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
3477 + sys_lib_dlsearch_path_spec='/usr/lib'
3481 + version_type=linux
3482 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3483 + soname_spec='${libname}${release}${shared_ext}$major'
3484 + shlibpath_var=LD_LIBRARY_PATH
3491 +AC_MSG_RESULT([$dynamic_linker])
3492 +test "$dynamic_linker" = no && can_build_shared=no
3494 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
3495 +if test "$GCC" = yes; then
3496 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3498 +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
3503 +AC_DEFUN([_LT_AC_TAGCONFIG],
3504 +[AC_ARG_WITH([tags],
3505 + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
3506 + [include additional configurations @<:@automatic@:>@])],
3507 + [tagnames="$withval"])
3509 +if test -f "$ltmain" && test -n "$tagnames"; then
3510 + if test ! -f "${ofile}"; then
3511 + AC_MSG_WARN([output file `$ofile' does not exist])
3514 + if test -z "$LTCC"; then
3515 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
3516 + if test -z "$LTCC"; then
3517 + AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
3519 + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
3522 + if test -z "$LTCFLAGS"; then
3523 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
3526 + # Extract list of available tagged configurations in $ofile.
3527 + # Note that this assumes the entire list is on one line.
3528 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
3530 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3531 + for tagname in $tagnames; do
3532 + IFS="$lt_save_ifs"
3533 + # Check whether tagname contains only valid characters
3534 + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
3536 + *) AC_MSG_ERROR([invalid tag name: $tagname])
3540 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
3542 + AC_MSG_ERROR([tag name \"$tagname\" already exists])
3545 + # Update the list of available tags.
3546 + if test -n "$tagname"; then
3547 + echo appending configuration tag \"$tagname\" to $ofile
3551 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
3552 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
3553 + (test "X$CXX" != "Xg++"))) ; then
3554 + AC_LIBTOOL_LANG_CXX_CONFIG
3561 + if test -n "$F77" && test "X$F77" != "Xno"; then
3562 + AC_LIBTOOL_LANG_F77_CONFIG
3569 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
3570 + AC_LIBTOOL_LANG_GCJ_CONFIG
3577 + AC_LIBTOOL_LANG_RC_CONFIG
3581 + AC_MSG_ERROR([Unsupported tag name: $tagname])
3585 + # Append the new tag name to the list of available tags.
3586 + if test -n "$tagname" ; then
3587 + available_tags="$available_tags $tagname"
3591 + IFS="$lt_save_ifs"
3593 + # Now substitute the updated list of available tags.
3594 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
3595 + mv "${ofile}T" "$ofile"
3599 + AC_MSG_ERROR([unable to update list of available tagged configurations.])
3602 +])# _LT_AC_TAGCONFIG
3605 +# AC_LIBTOOL_DLOPEN
3606 +# -----------------
3607 +# enable checks for dlopen support
3608 +AC_DEFUN([AC_LIBTOOL_DLOPEN],
3609 + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
3610 +])# AC_LIBTOOL_DLOPEN
3613 +# AC_LIBTOOL_WIN32_DLL
3614 +# --------------------
3615 +# declare package support for building win32 DLLs
3616 +AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
3617 +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
3618 +])# AC_LIBTOOL_WIN32_DLL
3621 +# AC_ENABLE_SHARED([DEFAULT])
3622 +# ---------------------------
3623 +# implement the --enable-shared flag
3624 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3625 +AC_DEFUN([AC_ENABLE_SHARED],
3626 +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
3627 +AC_ARG_ENABLE([shared],
3628 + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
3629 + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
3630 + [p=${PACKAGE-default}
3631 + case $enableval in
3632 + yes) enable_shared=yes ;;
3633 + no) enable_shared=no ;;
3636 + # Look at the argument we got. We use all the common list separators.
3637 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3638 + for pkg in $enableval; do
3639 + IFS="$lt_save_ifs"
3640 + if test "X$pkg" = "X$p"; then
3644 + IFS="$lt_save_ifs"
3647 + [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
3648 +])# AC_ENABLE_SHARED
3651 +# AC_DISABLE_SHARED
3652 +# -----------------
3653 +# set the default shared flag to --disable-shared
3654 +AC_DEFUN([AC_DISABLE_SHARED],
3655 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3656 +AC_ENABLE_SHARED(no)
3657 +])# AC_DISABLE_SHARED
3660 +# AC_ENABLE_STATIC([DEFAULT])
3661 +# ---------------------------
3662 +# implement the --enable-static flag
3663 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3664 +AC_DEFUN([AC_ENABLE_STATIC],
3665 +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
3666 +AC_ARG_ENABLE([static],
3667 + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
3668 + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
3669 + [p=${PACKAGE-default}
3670 + case $enableval in
3671 + yes) enable_static=yes ;;
3672 + no) enable_static=no ;;
3675 + # Look at the argument we got. We use all the common list separators.
3676 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3677 + for pkg in $enableval; do
3678 + IFS="$lt_save_ifs"
3679 + if test "X$pkg" = "X$p"; then
3683 + IFS="$lt_save_ifs"
3686 + [enable_static=]AC_ENABLE_STATIC_DEFAULT)
3687 +])# AC_ENABLE_STATIC
3690 +# AC_DISABLE_STATIC
3691 +# -----------------
3692 +# set the default static flag to --disable-static
3693 +AC_DEFUN([AC_DISABLE_STATIC],
3694 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3695 +AC_ENABLE_STATIC(no)
3696 +])# AC_DISABLE_STATIC
3699 +# AC_ENABLE_FAST_INSTALL([DEFAULT])
3700 +# ---------------------------------
3701 +# implement the --enable-fast-install flag
3702 +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
3703 +AC_DEFUN([AC_ENABLE_FAST_INSTALL],
3704 +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
3705 +AC_ARG_ENABLE([fast-install],
3706 + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
3707 + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
3708 + [p=${PACKAGE-default}
3709 + case $enableval in
3710 + yes) enable_fast_install=yes ;;
3711 + no) enable_fast_install=no ;;
3713 + enable_fast_install=no
3714 + # Look at the argument we got. We use all the common list separators.
3715 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3716 + for pkg in $enableval; do
3717 + IFS="$lt_save_ifs"
3718 + if test "X$pkg" = "X$p"; then
3719 + enable_fast_install=yes
3722 + IFS="$lt_save_ifs"
3725 + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
3726 +])# AC_ENABLE_FAST_INSTALL
3729 +# AC_DISABLE_FAST_INSTALL
3730 +# -----------------------
3731 +# set the default to --disable-fast-install
3732 +AC_DEFUN([AC_DISABLE_FAST_INSTALL],
3733 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3734 +AC_ENABLE_FAST_INSTALL(no)
3735 +])# AC_DISABLE_FAST_INSTALL
3738 +# AC_LIBTOOL_PICMODE([MODE])
3739 +# --------------------------
3740 +# implement the --with-pic flag
3741 +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
3742 +AC_DEFUN([AC_LIBTOOL_PICMODE],
3743 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3744 +pic_mode=ifelse($#,1,$1,default)
3745 +])# AC_LIBTOOL_PICMODE
3750 +# This is predefined starting with Autoconf 2.54, so this conditional
3751 +# definition can be removed once we require Autoconf 2.54 or later.
3752 +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
3753 +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
3754 + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3755 + then ac_cv_prog_egrep='grep -E'
3756 + else ac_cv_prog_egrep='egrep'
3758 + EGREP=$ac_cv_prog_egrep
3763 +# AC_PATH_TOOL_PREFIX
3764 +# -------------------
3765 +# find a file program which can recognise shared library
3766 +AC_DEFUN([AC_PATH_TOOL_PREFIX],
3767 +[AC_REQUIRE([AC_PROG_EGREP])dnl
3768 +AC_MSG_CHECKING([for $1])
3769 +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
3770 +[case $MAGIC_CMD in
3771 +[[\\/*] | ?:[\\/]*])
3772 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3775 + lt_save_MAGIC_CMD="$MAGIC_CMD"
3776 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3777 +dnl $ac_dummy forces splitting on constant user-supplied paths.
3778 +dnl POSIX.2 word splitting is done only on the output of word expansions,
3779 +dnl not every word. This closes a longstanding sh security hole.
3780 + ac_dummy="ifelse([$2], , $PATH, [$2])"
3781 + for ac_dir in $ac_dummy; do
3782 + IFS="$lt_save_ifs"
3783 + test -z "$ac_dir" && ac_dir=.
3784 + if test -f $ac_dir/$1; then
3785 + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
3786 + if test -n "$file_magic_test_file"; then
3787 + case $deplibs_check_method in
3789 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3790 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3791 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3792 + $EGREP "$file_magic_regex" > /dev/null; then
3797 +*** Warning: the command libtool uses to detect shared libraries,
3798 +*** $file_magic_cmd, produces output that libtool cannot recognize.
3799 +*** The result is that libtool may fail to recognize shared libraries
3800 +*** as such. This will affect the creation of libtool libraries that
3801 +*** depend on shared libraries, but programs linked with such libtool
3802 +*** libraries will work regardless of this problem. Nevertheless, you
3803 +*** may want to report the problem to your system manager and/or to
3804 +*** bug-libtool@gnu.org
3813 + IFS="$lt_save_ifs"
3814 + MAGIC_CMD="$lt_save_MAGIC_CMD"
3817 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3818 +if test -n "$MAGIC_CMD"; then
3819 + AC_MSG_RESULT($MAGIC_CMD)
3823 +])# AC_PATH_TOOL_PREFIX
3828 +# find a file program which can recognise a shared library
3829 +AC_DEFUN([AC_PATH_MAGIC],
3830 +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
3831 +if test -z "$lt_cv_path_MAGIC_CMD"; then
3832 + if test -n "$ac_tool_prefix"; then
3833 + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
3843 +# find the pathname to the GNU or non-GNU linker
3844 +AC_DEFUN([AC_PROG_LD],
3845 +[AC_ARG_WITH([gnu-ld],
3846 + [AC_HELP_STRING([--with-gnu-ld],
3847 + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3848 + [test "$withval" = no || with_gnu_ld=yes],
3850 +AC_REQUIRE([LT_AC_PROG_SED])dnl
3851 +AC_REQUIRE([AC_PROG_CC])dnl
3852 +AC_REQUIRE([AC_CANONICAL_HOST])dnl
3853 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3855 +if test "$GCC" = yes; then
3856 + # Check if gcc -print-prog-name=ld gives a path.
3857 + AC_MSG_CHECKING([for ld used by $CC])
3860 + # gcc leaves a trailing carriage return which upsets mingw
3861 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3863 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3866 + # Accept absolute paths.
3867 + [[\\/]]* | ?:[[\\/]]*)
3868 + re_direlt='/[[^/]][[^/]]*/\.\./'
3869 + # Canonicalize the pathname of ld
3870 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3871 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3872 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3874 + test -z "$LD" && LD="$ac_prog"
3877 + # If it fails, then pretend we aren't using GCC.
3881 + # If it is relative, then search for the first ld in PATH.
3882 + with_gnu_ld=unknown
3885 +elif test "$with_gnu_ld" = yes; then
3886 + AC_MSG_CHECKING([for GNU ld])
3888 + AC_MSG_CHECKING([for non-GNU ld])
3890 +AC_CACHE_VAL(lt_cv_path_LD,
3891 +[if test -z "$LD"; then
3892 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3893 + for ac_dir in $PATH; do
3894 + IFS="$lt_save_ifs"
3895 + test -z "$ac_dir" && ac_dir=.
3896 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3897 + lt_cv_path_LD="$ac_dir/$ac_prog"
3898 + # Check to see if the program is GNU ld. I'd rather use --version,
3899 + # but apparently some variants of GNU ld only accept -v.
3900 + # Break only if it was the GNU/non-GNU ld that we prefer.
3901 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3902 + *GNU* | *'with BFD'*)
3903 + test "$with_gnu_ld" != no && break
3906 + test "$with_gnu_ld" != yes && break
3911 + IFS="$lt_save_ifs"
3913 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
3915 +LD="$lt_cv_path_LD"
3916 +if test -n "$LD"; then
3917 + AC_MSG_RESULT($LD)
3921 +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3928 +AC_DEFUN([AC_PROG_LD_GNU],
3929 +[AC_REQUIRE([AC_PROG_EGREP])dnl
3930 +AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
3931 +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
3932 +case `$LD -v 2>&1 </dev/null` in
3933 +*GNU* | *'with BFD'*)
3934 + lt_cv_prog_gnu_ld=yes
3937 + lt_cv_prog_gnu_ld=no
3940 +with_gnu_ld=$lt_cv_prog_gnu_ld
3944 +# AC_PROG_LD_RELOAD_FLAG
3945 +# ----------------------
3946 +# find reload flag for linker
3947 +# -- PORTME Some linkers may need a different reload flag.
3948 +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
3949 +[AC_CACHE_CHECK([for $LD option to reload object files],
3950 + lt_cv_ld_reload_flag,
3951 + [lt_cv_ld_reload_flag='-r'])
3952 +reload_flag=$lt_cv_ld_reload_flag
3953 +case $reload_flag in
3955 +*) reload_flag=" $reload_flag" ;;
3957 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
3960 + if test "$GCC" = yes; then
3961 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3963 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
3967 +])# AC_PROG_LD_RELOAD_FLAG
3970 +# AC_DEPLIBS_CHECK_METHOD
3971 +# -----------------------
3972 +# how to check for library dependencies
3973 +# -- PORTME fill in with the dynamic library characteristics
3974 +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
3975 +[AC_CACHE_CHECK([how to recognise dependent libraries],
3976 +lt_cv_deplibs_check_method,
3977 +[lt_cv_file_magic_cmd='$MAGIC_CMD'
3978 +lt_cv_file_magic_test_file=
3979 +lt_cv_deplibs_check_method='unknown'
3980 +# Need to set the preceding variable on all platforms that support
3981 +# interlibrary dependencies.
3982 +# 'none' -- dependencies not supported.
3983 +# `unknown' -- same as none, but documents that we really don't know.
3984 +# 'pass_all' -- all dependencies passed with no checks.
3985 +# 'test_compile' -- check by making test program.
3986 +# 'file_magic [[regex]]' -- check by looking for files in library path
3987 +# which responds to the $file_magic_cmd with a given extended regex.
3988 +# If you have `file' or equivalent on your system and you're not sure
3989 +# whether `pass_all' will *always* work, you probably want this one.
3993 + lt_cv_deplibs_check_method=pass_all
3997 + lt_cv_deplibs_check_method=pass_all
4001 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
4002 + lt_cv_file_magic_cmd='/usr/bin/file -L'
4003 + lt_cv_file_magic_test_file=/shlib/libc.so
4007 + # func_win32_libid is a shell function defined in ltmain.sh
4008 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4009 + lt_cv_file_magic_cmd='func_win32_libid'
4013 + # Base MSYS/MinGW do not provide the 'file' command needed by
4014 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4015 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4016 + lt_cv_file_magic_cmd='$OBJDUMP -f'
4019 +darwin* | rhapsody*)
4020 + lt_cv_deplibs_check_method=pass_all
4023 +freebsd* | kfreebsd*-gnu | dragonfly*)
4024 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4027 + # Not sure whether the presence of OpenBSD here was a mistake.
4028 + # Let's accept both of them until this is cleared up.
4029 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
4030 + lt_cv_file_magic_cmd=/usr/bin/file
4031 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4035 + lt_cv_deplibs_check_method=pass_all
4040 + lt_cv_deplibs_check_method=pass_all
4043 +hpux10.20* | hpux11*)
4044 + lt_cv_file_magic_cmd=/usr/bin/file
4047 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
4048 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4051 + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
4052 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4055 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
4056 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
4062 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4063 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
4066 +irix5* | irix6* | nonstopux*)
4068 + *-32|*"-32 ") libmagic=32-bit;;
4069 + *-n32|*"-n32 ") libmagic=N32;;
4070 + *-64|*"-64 ") libmagic=64-bit;;
4071 + *) libmagic=never-match;;
4073 + lt_cv_deplibs_check_method=pass_all
4076 +# This must be Linux ELF.
4078 + lt_cv_deplibs_check_method=pass_all
4081 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
4082 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4083 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
4085 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
4090 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
4091 + lt_cv_file_magic_cmd=/usr/bin/file
4092 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
4096 + lt_cv_deplibs_check_method=unknown
4100 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4101 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
4103 + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
4107 +osf3* | osf4* | osf5*)
4108 + lt_cv_deplibs_check_method=pass_all
4112 + lt_cv_deplibs_check_method=pass_all
4116 + case $host_vendor in
4118 + 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]]'
4119 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4122 + lt_cv_deplibs_check_method=pass_all
4125 + lt_cv_file_magic_cmd='/bin/file'
4126 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
4129 + lt_cv_file_magic_cmd='/bin/file'
4130 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
4131 + lt_cv_file_magic_test_file=/lib/libc.so
4134 + lt_cv_deplibs_check_method=pass_all
4137 + lt_cv_deplibs_check_method=pass_all
4142 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4143 + lt_cv_deplibs_check_method=pass_all
4147 +file_magic_cmd=$lt_cv_file_magic_cmd
4148 +deplibs_check_method=$lt_cv_deplibs_check_method
4149 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
4150 +])# AC_DEPLIBS_CHECK_METHOD
4155 +# find the pathname to a BSD-compatible name lister
4156 +AC_DEFUN([AC_PROG_NM],
4157 +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
4158 +[if test -n "$NM"; then
4159 + # Let the user override the test.
4160 + lt_cv_path_NM="$NM"
4162 + lt_nm_to_check="${ac_tool_prefix}nm"
4163 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4164 + lt_nm_to_check="$lt_nm_to_check nm"
4166 + for lt_tmp_nm in $lt_nm_to_check; do
4167 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4168 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4169 + IFS="$lt_save_ifs"
4170 + test -z "$ac_dir" && ac_dir=.
4171 + tmp_nm="$ac_dir/$lt_tmp_nm"
4172 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4173 + # Check to see if the nm accepts a BSD-compat flag.
4174 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4175 + # nm: unknown option "B" ignored
4176 + # Tru64's nm complains that /dev/null is an invalid object file
4177 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4178 + */dev/null* | *'Invalid file or object type'*)
4179 + lt_cv_path_NM="$tmp_nm -B"
4183 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4185 + lt_cv_path_NM="$tmp_nm -p"
4189 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4190 + continue # so that we can try to find one that supports BSD flags
4197 + IFS="$lt_save_ifs"
4199 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4201 +NM="$lt_cv_path_NM"
4207 +# check for math library
4208 +AC_DEFUN([AC_CHECK_LIBM],
4209 +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
4212 +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
4213 + # These system don't have libm, or don't need it
4216 + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
4217 + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
4220 + AC_CHECK_LIB(m, cos, LIBM="-lm")
4226 +# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
4227 +# -----------------------------------
4228 +# sets LIBLTDL to the link flags for the libltdl convenience library and
4229 +# LTDLINCL to the include flags for the libltdl header and adds
4230 +# --enable-ltdl-convenience to the configure arguments. Note that
4231 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
4232 +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
4233 +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
4234 +# (note the single quotes!). If your package is not flat and you're not
4235 +# using automake, define top_builddir and top_srcdir appropriately in
4237 +AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
4238 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4239 + case $enable_ltdl_convenience in
4240 + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
4241 + "") enable_ltdl_convenience=yes
4242 + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
4244 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
4245 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
4246 + # For backwards non-gettext consistent compatibility...
4247 + INCLTDL="$LTDLINCL"
4248 +])# AC_LIBLTDL_CONVENIENCE
4251 +# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
4252 +# -----------------------------------
4253 +# sets LIBLTDL to the link flags for the libltdl installable library and
4254 +# LTDLINCL to the include flags for the libltdl header and adds
4255 +# --enable-ltdl-install to the configure arguments. Note that
4256 +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
4257 +# and an installed libltdl is not found, it is assumed to be `libltdl'.
4258 +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
4259 +# '${top_srcdir}/' (note the single quotes!). If your package is not
4260 +# flat and you're not using automake, define top_builddir and top_srcdir
4261 +# appropriately in the Makefiles.
4262 +# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
4263 +AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
4264 +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
4265 + AC_CHECK_LIB(ltdl, lt_dlinit,
4266 + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
4267 + [if test x"$enable_ltdl_install" = xno; then
4268 + AC_MSG_WARN([libltdl not installed, but installation disabled])
4270 + enable_ltdl_install=yes
4273 + if test x"$enable_ltdl_install" = x"yes"; then
4274 + ac_configure_args="$ac_configure_args --enable-ltdl-install"
4275 + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
4276 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
4278 + ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
4282 + # For backwards non-gettext consistent compatibility...
4283 + INCLTDL="$LTDLINCL"
4284 +])# AC_LIBLTDL_INSTALLABLE
4289 +# enable support for C++ libraries
4290 +AC_DEFUN([AC_LIBTOOL_CXX],
4291 +[AC_REQUIRE([_LT_AC_LANG_CXX])
4297 +AC_DEFUN([_LT_AC_LANG_CXX],
4298 +[AC_REQUIRE([AC_PROG_CXX])
4299 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
4300 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
4301 +])# _LT_AC_LANG_CXX
4303 +# _LT_AC_PROG_CXXCPP
4304 +# ------------------
4305 +AC_DEFUN([_LT_AC_PROG_CXXCPP],
4307 +AC_REQUIRE([AC_PROG_CXX])
4308 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4309 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4310 + (test "X$CXX" != "Xg++"))) ; then
4313 +])# _LT_AC_PROG_CXXCPP
4317 +# enable support for Fortran 77 libraries
4318 +AC_DEFUN([AC_LIBTOOL_F77],
4319 +[AC_REQUIRE([_LT_AC_LANG_F77])
4325 +AC_DEFUN([_LT_AC_LANG_F77],
4326 +[AC_REQUIRE([AC_PROG_F77])
4327 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
4328 +])# _LT_AC_LANG_F77
4333 +# enable support for GCJ libraries
4334 +AC_DEFUN([AC_LIBTOOL_GCJ],
4335 +[AC_REQUIRE([_LT_AC_LANG_GCJ])
4341 +AC_DEFUN([_LT_AC_LANG_GCJ],
4342 +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
4343 + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
4344 + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
4345 + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
4346 + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
4347 + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
4348 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
4349 +])# _LT_AC_LANG_GCJ
4354 +# enable support for Windows resource files
4355 +AC_DEFUN([AC_LIBTOOL_RC],
4356 +[AC_REQUIRE([LT_AC_PROG_RC])
4357 +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
4361 +# AC_LIBTOOL_LANG_C_CONFIG
4362 +# ------------------------
4363 +# Ensure that the configuration vars for the C compiler are
4364 +# suitably defined. Those variables are subsequently used by
4365 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4366 +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
4367 +AC_DEFUN([_LT_AC_LANG_C_CONFIG],
4371 +# Source file extension for C test sources.
4374 +# Object file extension for compiled C test sources.
4376 +_LT_AC_TAGVAR(objext, $1)=$objext
4378 +# Code to be used in simple compile tests
4379 +lt_simple_compile_test_code="int some_variable = 0;\n"
4381 +# Code to be used in simple link tests
4382 +lt_simple_link_test_code='int main(){return(0);}\n'
4384 +_LT_AC_SYS_COMPILER
4386 +# save warnings/boilerplate of simple test code
4387 +_LT_COMPILER_BOILERPLATE
4388 +_LT_LINKER_BOILERPLATE
4390 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
4391 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
4392 +AC_LIBTOOL_PROG_CC_C_O($1)
4393 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4394 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
4395 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4396 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4397 +AC_LIBTOOL_SYS_LIB_STRIP
4398 +AC_LIBTOOL_DLOPEN_SELF
4400 +# Report which library types will actually be built
4401 +AC_MSG_CHECKING([if libtool supports shared libraries])
4402 +AC_MSG_RESULT([$can_build_shared])
4404 +AC_MSG_CHECKING([whether to build shared libraries])
4405 +test "$can_build_shared" = "no" && enable_shared=no
4407 +# On AIX, shared libraries and static libraries use the same namespace, and
4408 +# are all built from PIC.
4411 + test "$enable_shared" = yes && enable_static=no
4412 + if test -n "$RANLIB"; then
4413 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
4414 + postinstall_cmds='$RANLIB $lib'
4419 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4420 + test "$enable_shared" = yes && enable_static=no
4424 +AC_MSG_RESULT([$enable_shared])
4426 +AC_MSG_CHECKING([whether to build static libraries])
4427 +# Make sure either enable_shared or enable_static is yes.
4428 +test "$enable_shared" = yes || enable_static=yes
4429 +AC_MSG_RESULT([$enable_static])
4431 +AC_LIBTOOL_CONFIG($1)
4435 +])# AC_LIBTOOL_LANG_C_CONFIG
4438 +# AC_LIBTOOL_LANG_CXX_CONFIG
4439 +# --------------------------
4440 +# Ensure that the configuration vars for the C compiler are
4441 +# suitably defined. Those variables are subsequently used by
4442 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4443 +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
4444 +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
4446 +AC_REQUIRE([AC_PROG_CXX])
4447 +AC_REQUIRE([_LT_AC_PROG_CXXCPP])
4449 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4450 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
4451 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
4452 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
4453 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
4454 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
4455 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
4456 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4457 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4458 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
4459 +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4460 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
4461 +_LT_AC_TAGVAR(module_cmds, $1)=
4462 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
4463 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
4464 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4465 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
4466 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4467 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
4469 +# Dependencies to place before and after the object being linked:
4470 +_LT_AC_TAGVAR(predep_objects, $1)=
4471 +_LT_AC_TAGVAR(postdep_objects, $1)=
4472 +_LT_AC_TAGVAR(predeps, $1)=
4473 +_LT_AC_TAGVAR(postdeps, $1)=
4474 +_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
4476 +# Source file extension for C++ test sources.
4479 +# Object file extension for compiled C++ test sources.
4481 +_LT_AC_TAGVAR(objext, $1)=$objext
4483 +# Code to be used in simple compile tests
4484 +lt_simple_compile_test_code="int some_variable = 0;\n"
4486 +# Code to be used in simple link tests
4487 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
4489 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4490 +_LT_AC_SYS_COMPILER
4492 +# save warnings/boilerplate of simple test code
4493 +_LT_COMPILER_BOILERPLATE
4494 +_LT_LINKER_BOILERPLATE
4496 +# Allow CC to be a program name with arguments.
4501 +lt_save_with_gnu_ld=$with_gnu_ld
4502 +lt_save_path_LD=$lt_cv_path_LD
4503 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
4504 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
4506 + $as_unset lt_cv_prog_gnu_ld
4508 +if test -n "${lt_cv_path_LDCXX+set}"; then
4509 + lt_cv_path_LD=$lt_cv_path_LDCXX
4511 + $as_unset lt_cv_path_LD
4513 +test -z "${LDCXX+set}" || LD=$LDCXX
4516 +_LT_AC_TAGVAR(compiler, $1)=$CC
4517 +_LT_CC_BASENAME([$compiler])
4519 +# We don't want -fno-exception wen compiling C++ code, so set the
4520 +# no_builtin_flag separately
4521 +if test "$GXX" = yes; then
4522 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4524 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
4527 +if test "$GXX" = yes; then
4528 + # Set up default GNU C++ configuration
4532 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
4533 + # archiving commands below assume that GNU ld is being used.
4534 + if test "$with_gnu_ld" = yes; then
4535 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4536 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4538 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
4539 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4541 + # If archive_cmds runs LD, not CC, wlarc should be empty
4542 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
4543 + # investigate it a little bit more. (MM)
4546 + # ancient GNU ld didn't support --whole-archive et. al.
4547 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
4548 + grep 'no-whole-archive' > /dev/null; then
4549 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
4551 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
4557 + # A generic and very simple default shared library creation
4558 + # command for GNU C++ for the case where it uses the native
4559 + # linker, instead of GNU ld. If possible, this setting should
4560 + # overridden to take advantage of the native linker features on
4561 + # the platform it is being used on.
4562 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
4565 + # Commands to make compiler produce verbose output that lists
4566 + # what "hidden" libraries, object files and flags are used when
4567 + # linking a shared library.
4568 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
4576 +# PORTME: fill in a description of your system's C++ link characteristics
4577 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
4578 +_LT_AC_TAGVAR(ld_shlibs, $1)=yes
4581 + # FIXME: insert proper C++ library support
4582 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4585 + if test "$host_cpu" = ia64; then
4586 + # On IA64, the linker does run time linking by default, so we don't
4587 + # have to do anything special.
4588 + aix_use_runtimelinking=no
4589 + exp_sym_flag='-Bexport'
4592 + aix_use_runtimelinking=no
4594 + # Test if we are trying to use run time linking or normal
4595 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
4596 + # need to do runtime linking.
4597 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
4598 + for ld_flag in $LDFLAGS; do
4601 + aix_use_runtimelinking=yes
4609 + exp_sym_flag='-bexport'
4610 + no_entry_flag='-bnoentry'
4613 + # When large executables or shared objects are built, AIX ld can
4614 + # have problems creating the table of contents. If linking a library
4615 + # or program results in "error TOC overflow" add -mminimal-toc to
4616 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
4617 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
4619 + _LT_AC_TAGVAR(archive_cmds, $1)=''
4620 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4621 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
4622 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4624 + if test "$GXX" = yes; then
4625 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
4626 + # We only want to do this on AIX 4.2 and lower, the check
4627 + # below for broken collect2 doesn't work under 4.3+
4628 + collect2name=`${CC} -print-prog-name=collect2`
4629 + if test -f "$collect2name" && \
4630 + strings "$collect2name" | grep resolve_lib_name >/dev/null
4632 + # We have reworked collect2
4633 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4635 + # We have old collect2
4636 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
4637 + # It fails to find uninstalled libraries when the uninstalled
4638 + # path is not listed in the libpath. Setting hardcode_minus_L
4639 + # to unsupported forces relinking
4640 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
4641 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4642 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
4646 + shared_flag='-shared'
4647 + if test "$aix_use_runtimelinking" = yes; then
4648 + shared_flag="$shared_flag "'${wl}-G'
4652 + if test "$host_cpu" = ia64; then
4653 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
4654 + # chokes on -Wl,-G. The following line is correct:
4657 + if test "$aix_use_runtimelinking" = yes; then
4658 + shared_flag='${wl}-G'
4660 + shared_flag='${wl}-bM:SRE'
4665 + # It seems that -bexpall does not export symbols beginning with
4666 + # underscore (_), so it is better to generate a list of symbols to export.
4667 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
4668 + if test "$aix_use_runtimelinking" = yes; then
4669 + # Warning - without using the other runtime loading flags (-brtl),
4670 + # -berok will link without error, but may produce a broken library.
4671 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
4672 + # Determine the default libpath from the value encoded in an empty executable.
4673 + _LT_AC_SYS_LIBPATH_AIX
4674 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4676 + _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"
4678 + if test "$host_cpu" = ia64; then
4679 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
4680 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
4681 + _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"
4683 + # Determine the default libpath from the value encoded in an empty executable.
4684 + _LT_AC_SYS_LIBPATH_AIX
4685 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
4686 + # Warning - without using the other run time loading flags,
4687 + # -berok will link without error, but may produce a broken library.
4688 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
4689 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
4690 + # Exported symbols can be pulled into shared objects from archives
4691 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
4692 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
4693 + # This is similar to how AIX traditionally builds its shared libraries.
4694 + _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'
4700 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4701 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4702 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
4703 + # support --undefined. This deserves some investigation. FIXME
4704 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4706 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4711 + case $cc_basename in
4713 + # FIXME: insert proper C++ library support
4714 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4719 + cygwin* | mingw* | pw32*)
4720 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4721 + # as there is no search path for DLLs.
4722 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4723 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4724 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
4725 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4727 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
4728 + _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'
4729 + # If the export-symbols file already is a .def file (1st line
4730 + # is EXPORTS), use it as is; otherwise, prepend...
4731 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
4732 + cp $export_symbols $output_objdir/$soname.def;
4734 + echo EXPORTS > $output_objdir/$soname.def;
4735 + cat $export_symbols >> $output_objdir/$soname.def;
4737 + $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'
4739 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4742 + darwin* | rhapsody*)
4744 + rhapsody* | darwin1.[[012]])
4745 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
4747 + *) # Darwin 1.3 on
4748 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
4749 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
4751 + case ${MACOSX_DEPLOYMENT_TARGET} in
4753 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
4756 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
4762 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4763 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4764 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
4765 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4766 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
4767 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4769 + if test "$GXX" = yes ; then
4770 + lt_int_apple_cc_single_mod=no
4771 + output_verbose_link_cmd='echo'
4772 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
4773 + lt_int_apple_cc_single_mod=yes
4775 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4776 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
4778 + _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'
4780 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4781 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4782 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4783 + _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}'
4785 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4787 + _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}'
4789 + case $cc_basename in
4791 + output_verbose_link_cmd='echo'
4792 + _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'
4793 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4794 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4795 + _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}'
4796 + _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}'
4799 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4806 + case $cc_basename in
4808 + # FIXME: insert proper C++ library support
4809 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4812 + # Green Hills C++ Compiler
4813 + # FIXME: insert proper C++ library support
4814 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4817 + # FIXME: insert proper C++ library support
4818 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4823 + # C++ shared libraries reported to be fairly broken before switch to ELF
4824 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4827 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4829 + freebsd* | kfreebsd*-gnu | dragonfly*)
4830 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
4832 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
4837 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4838 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4839 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4840 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4841 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4842 + # but as the default
4843 + # location of the library.
4845 + case $cc_basename in
4847 + # FIXME: insert proper C++ library support
4848 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4851 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
4852 + # Commands to make compiler produce verbose output that lists
4853 + # what "hidden" libraries, object files and flags are used when
4854 + # linking a shared library.
4856 + # There doesn't appear to be a way to prevent this compiler from
4857 + # explicitly linking system object files so we need to strip them
4858 + # from the output so that they don't get included in the library
4860 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4863 + if test "$GXX" = yes; then
4864 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
4866 + # FIXME: insert proper C++ library support
4867 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4873 + if test $with_gnu_ld = no; then
4874 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4875 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4879 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
4882 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4888 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4889 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4892 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
4893 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
4894 + # but as the default
4895 + # location of the library.
4899 + case $cc_basename in
4901 + # FIXME: insert proper C++ library support
4902 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4907 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4910 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4913 + _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'
4916 + # Commands to make compiler produce verbose output that lists
4917 + # what "hidden" libraries, object files and flags are used when
4918 + # linking a shared library.
4920 + # There doesn't appear to be a way to prevent this compiler from
4921 + # explicitly linking system object files so we need to strip them
4922 + # from the output so that they don't get included in the library
4924 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4927 + if test "$GXX" = yes; then
4928 + if test $with_gnu_ld = no; then
4931 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4934 + _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'
4937 + _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'
4942 + # FIXME: insert proper C++ library support
4943 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
4949 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
4950 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4951 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4952 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4953 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
4954 + # Instead, shared libraries are loaded at an image base (0x10000000 by
4955 + # default) and relocated if they conflict, which is a slow very memory
4956 + # consuming and fragmenting process. To avoid this, we pick a random,
4957 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
4958 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
4959 + _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'
4960 + _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'
4963 + case $cc_basename in
4966 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4968 + # Archives containing C++ object files must be created using
4969 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
4970 + # necessary to make sure instantiated templates are included
4972 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
4975 + if test "$GXX" = yes; then
4976 + if test "$with_gnu_ld" = no; then
4977 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
4979 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
4982 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4985 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4986 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
4989 + case $cc_basename in
4991 + # Kuck and Associates, Inc. (KAI) C++ Compiler
4993 + # KCC will only create a shared library if the output file
4994 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
4995 + # to its proper name (with version) after linking.
4996 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
4997 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
4998 + # Commands to make compiler produce verbose output that lists
4999 + # what "hidden" libraries, object files and flags are used when
5000 + # linking a shared library.
5002 + # There doesn't appear to be a way to prevent this compiler from
5003 + # explicitly linking system object files so we need to strip them
5004 + # from the output so that they don't get included in the library
5006 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5008 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
5009 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5011 + # Archives containing C++ object files must be created using
5012 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
5013 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
5018 + # version 8.0 and above of icpc choke on multiply defined symbols
5019 + # if we add $predep_objects and $postdep_objects, however 7.1 and
5020 + # earlier do not add the objects themselves.
5021 + case `$CC -V 2>&1` in
5023 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5024 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5026 + *) # Version 8.0 or newer
5029 + ia64*) tmp_idyn=' -i_dynamic';;
5031 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5032 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5035 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5036 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5037 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5038 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
5041 + # Portland Group C++ compiler
5042 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
5043 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
5045 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
5046 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5047 + _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'
5051 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
5052 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
5054 + runpath_var=LD_RUN_PATH
5055 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5056 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5058 + # Commands to make compiler produce verbose output that lists
5059 + # what "hidden" libraries, object files and flags are used when
5060 + # linking a shared library.
5062 + # There doesn't appear to be a way to prevent this compiler from
5063 + # explicitly linking system object files so we need to strip them
5064 + # from the output so that they don't get included in the library
5066 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5071 + # FIXME: insert proper C++ library support
5072 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5075 + # FIXME: insert proper C++ library support
5076 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5079 + case $cc_basename in
5081 + # FIXME: insert proper C++ library support
5082 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5085 + # FIXME: insert proper C++ library support
5086 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5090 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
5091 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5092 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
5094 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5095 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5096 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5098 + # Workaround some broken pre-1.5 toolchains
5099 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
5102 + # C++ shared libraries are fairly broken
5103 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5106 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5107 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5108 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
5109 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5110 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5111 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
5112 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5113 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5115 + output_verbose_link_cmd='echo'
5118 + case $cc_basename in
5120 + # Kuck and Associates, Inc. (KAI) C++ Compiler
5122 + # KCC will only create a shared library if the output file
5123 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
5124 + # to its proper name (with version) after linking.
5125 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
5127 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5128 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5130 + # Archives containing C++ object files must be created using
5131 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
5132 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
5136 + # Rational C++ 2.4.1
5137 + # FIXME: insert proper C++ library support
5138 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5141 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5142 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
5144 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5145 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5147 + # Commands to make compiler produce verbose output that lists
5148 + # what "hidden" libraries, object files and flags are used when
5149 + # linking a shared library.
5151 + # There doesn't appear to be a way to prevent this compiler from
5152 + # explicitly linking system object files so we need to strip them
5153 + # from the output so that they don't get included in the library
5155 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5158 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5159 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5160 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5162 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5163 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5165 + # Commands to make compiler produce verbose output that lists
5166 + # what "hidden" libraries, object files and flags are used when
5167 + # linking a shared library.
5168 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5171 + # FIXME: insert proper C++ library support
5172 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5178 + case $cc_basename in
5180 + # Kuck and Associates, Inc. (KAI) C++ Compiler
5182 + # KCC will only create a shared library if the output file
5183 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
5184 + # to its proper name (with version) after linking.
5185 + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
5187 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5188 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5190 + # Archives containing C++ object files must be created using
5191 + # the KAI C++ compiler.
5192 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
5195 + # Rational C++ 2.4.1
5196 + # FIXME: insert proper C++ library support
5197 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5200 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5201 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
5202 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
5203 + echo "-hidden">> $lib.exp~
5204 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
5207 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5208 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5210 + # Commands to make compiler produce verbose output that lists
5211 + # what "hidden" libraries, object files and flags are used when
5212 + # linking a shared library.
5214 + # There doesn't appear to be a way to prevent this compiler from
5215 + # explicitly linking system object files so we need to strip them
5216 + # from the output so that they don't get included in the library
5218 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
5221 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5222 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5223 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5225 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5226 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5228 + # Commands to make compiler produce verbose output that lists
5229 + # what "hidden" libraries, object files and flags are used when
5230 + # linking a shared library.
5231 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
5234 + # FIXME: insert proper C++ library support
5235 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5241 + # FIXME: insert proper C++ library support
5242 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5245 + case $cc_basename in
5248 + # FIXME: insert proper C++ library support
5249 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5253 + # FIXME: insert proper C++ library support
5254 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5257 + # FIXME: insert proper C++ library support
5258 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5263 + case $cc_basename in
5265 + # Sun C++ 4.2, 5.x and Centerline C++
5266 + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
5267 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
5268 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
5269 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5270 + $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'
5272 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5273 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5275 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5277 + # The C++ compiler is used as linker so we must use $wl
5278 + # flag to pass the commands to the underlying system
5279 + # linker. We must also pass each convience library through
5280 + # to the system linker between allextract/defaultextract.
5281 + # The C++ compiler will combine linker options so we
5282 + # cannot just pass the convience library names through
5284 + # Supported since Solaris 2.6 (maybe 2.5.1?)
5285 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
5288 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5290 + output_verbose_link_cmd='echo'
5292 + # Archives containing C++ object files must be created using
5293 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
5294 + # necessary to make sure instantiated templates are included
5296 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
5299 + # Green Hills C++ Compiler
5300 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5302 + # The C++ compiler must be used to create the archive.
5303 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
5306 + # GNU C++ compiler with Solaris linker
5307 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
5308 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
5309 + if $CC --version | grep -v '^2\.7' > /dev/null; then
5310 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5311 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5312 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
5314 + # Commands to make compiler produce verbose output that lists
5315 + # what "hidden" libraries, object files and flags are used when
5316 + # linking a shared library.
5317 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
5319 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
5321 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
5322 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5323 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
5325 + # Commands to make compiler produce verbose output that lists
5326 + # what "hidden" libraries, object files and flags are used when
5327 + # linking a shared library.
5328 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
5331 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
5336 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
5337 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
5338 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5339 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5340 + runpath_var='LD_RUN_PATH'
5342 + case $cc_basename in
5344 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5345 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5348 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5349 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5353 + sysv5* | sco3.2v5* | sco5v6*)
5354 + # Note: We can NOT use -z defs as we might desire, because we do not
5355 + # link with -lc, and that would cause any symbols used from libc to
5356 + # always be unresolved, which means just about no library would
5357 + # ever link correctly. If we're not using GNU ld we use -z text
5358 + # though, which does catch some bad symbols but isn't as heavy-handed
5360 + # For security reasons, it is highly recommended that you always
5361 + # use absolute paths for naming shared libraries, and exclude the
5362 + # DT_RUNPATH tag from executables and libraries. But doing so
5363 + # requires that you compile everything twice, which is a pain.
5364 + # So that behaviour is only enabled if SCOABSPATH is set to a
5365 + # non-empty value in the environment. Most likely only useful for
5366 + # creating official distributions of packages.
5367 + # This is a hack until libtool officially supports absolute path
5368 + # names for shared libraries.
5369 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
5370 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
5371 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5372 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5373 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
5374 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
5375 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5376 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
5377 + runpath_var='LD_RUN_PATH'
5379 + case $cc_basename in
5381 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
5382 + _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'
5385 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
5386 + _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'
5391 + case $cc_basename in
5393 + # NonStop-UX NCC 3.20
5394 + # FIXME: insert proper C++ library support
5395 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5398 + # FIXME: insert proper C++ library support
5399 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5404 + # FIXME: insert proper C++ library support
5405 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5408 + # FIXME: insert proper C++ library support
5409 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
5412 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
5413 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
5415 +_LT_AC_TAGVAR(GCC, $1)="$GXX"
5416 +_LT_AC_TAGVAR(LD, $1)="$LD"
5418 +AC_LIBTOOL_POSTDEP_PREDEP($1)
5419 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
5420 +AC_LIBTOOL_PROG_CC_C_O($1)
5421 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5422 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
5423 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5424 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5426 +AC_LIBTOOL_CONFIG($1)
5433 +with_gnu_ldcxx=$with_gnu_ld
5434 +with_gnu_ld=$lt_save_with_gnu_ld
5435 +lt_cv_path_LDCXX=$lt_cv_path_LD
5436 +lt_cv_path_LD=$lt_save_path_LD
5437 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
5438 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
5439 +])# AC_LIBTOOL_LANG_CXX_CONFIG
5441 +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
5442 +# ------------------------------------
5443 +# Figure out "hidden" library dependencies from verbose
5444 +# compiler output when linking a shared library.
5445 +# Parse the compiler output and extract the necessary
5446 +# objects, libraries and library flags.
5447 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
5448 +dnl we can't use the lt_simple_compile_test_code here,
5449 +dnl because it contains code intended for an executable,
5450 +dnl not a library. It's possible we should let each
5451 +dnl tag define a new lt_????_link_test_code variable,
5452 +dnl but it's only used here...
5453 +ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
5455 +void foo (void) { a = 0; }
5457 +],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
5461 + Foo (void) { a = 0; }
5466 +],[$1],[F77],[cat > conftest.$ac_ext <<EOF
5474 +],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
5477 + public void bar (void) {
5483 +dnl Parse the compiler output and extract the necessary
5484 +dnl objects, libraries and library flags.
5485 +if AC_TRY_EVAL(ac_compile); then
5486 + # Parse the compiler output and extract the necessary
5487 + # objects, libraries and library flags.
5489 + # Sentinel used to keep track of whether or not we are before
5490 + # the conftest object file.
5491 + pre_test_object_deps_done=no
5493 + # The `*' in the case matches for architectures that use `case' in
5494 + # $output_verbose_cmd can trigger glob expansion during the loop
5495 + # eval without this substitution.
5496 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
5498 + for p in `eval $output_verbose_link_cmd`; do
5502 + # Some compilers place space between "-{L,R}" and the path.
5503 + # Remove the space.
5504 + if test $p = "-L" \
5505 + || test $p = "-R"; then
5512 + if test "$pre_test_object_deps_done" = no; then
5515 + # Internal compiler library paths should come after those
5516 + # provided the user. The postdeps already come after the
5517 + # user supplied libs so there is no need to process them.
5518 + if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
5519 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
5521 + _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
5524 + # The "-l" case would never come before the object being
5525 + # linked, so don't bother handling this case.
5528 + if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
5529 + _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
5531 + _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
5537 + # This assumes that the test object file only shows up
5538 + # once in the compiler output.
5539 + if test "$p" = "conftest.$objext"; then
5540 + pre_test_object_deps_done=yes
5544 + if test "$pre_test_object_deps_done" = no; then
5545 + if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
5546 + _LT_AC_TAGVAR(predep_objects, $1)="$p"
5548 + _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
5551 + if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
5552 + _LT_AC_TAGVAR(postdep_objects, $1)="$p"
5554 + _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
5559 + *) ;; # Ignore the rest.
5567 + echo "libtool.m4: error: problem compiling $1 test program"
5570 +$rm -f confest.$objext
5572 +# PORTME: override above test on systems where it is broken
5576 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
5577 + # hack all around it, let's just trust "g++" to DTRT.
5578 + _LT_AC_TAGVAR(predep_objects,$1)=
5579 + _LT_AC_TAGVAR(postdep_objects,$1)=
5580 + _LT_AC_TAGVAR(postdeps,$1)=
5584 + case $cc_basename in
5586 + # Adding this requires a known-good setup of shared libraries for
5587 + # Sun compiler versions before 5.6, else PIC objects from an old
5588 + # archive will be linked into the output, leading to subtle bugs.
5589 + _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
5596 +case " $_LT_AC_TAGVAR(postdeps, $1) " in
5597 +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
5599 +])# AC_LIBTOOL_POSTDEP_PREDEP
5601 +# AC_LIBTOOL_LANG_F77_CONFIG
5602 +# --------------------------
5603 +# Ensure that the configuration vars for the C compiler are
5604 +# suitably defined. Those variables are subsequently used by
5605 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5606 +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
5607 +AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
5608 +[AC_REQUIRE([AC_PROG_F77])
5609 +AC_LANG_PUSH(Fortran 77)
5611 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5612 +_LT_AC_TAGVAR(allow_undefined_flag, $1)=
5613 +_LT_AC_TAGVAR(always_export_symbols, $1)=no
5614 +_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
5615 +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5616 +_LT_AC_TAGVAR(hardcode_direct, $1)=no
5617 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5618 +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5619 +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5620 +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5621 +_LT_AC_TAGVAR(hardcode_automatic, $1)=no
5622 +_LT_AC_TAGVAR(module_cmds, $1)=
5623 +_LT_AC_TAGVAR(module_expsym_cmds, $1)=
5624 +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5625 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5626 +_LT_AC_TAGVAR(no_undefined_flag, $1)=
5627 +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5628 +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5630 +# Source file extension for f77 test sources.
5633 +# Object file extension for compiled f77 test sources.
5635 +_LT_AC_TAGVAR(objext, $1)=$objext
5637 +# Code to be used in simple compile tests
5638 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
5640 +# Code to be used in simple link tests
5641 +lt_simple_link_test_code=" program t\n end\n"
5643 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5644 +_LT_AC_SYS_COMPILER
5646 +# save warnings/boilerplate of simple test code
5647 +_LT_COMPILER_BOILERPLATE
5648 +_LT_LINKER_BOILERPLATE
5650 +# Allow CC to be a program name with arguments.
5654 +_LT_AC_TAGVAR(compiler, $1)=$CC
5655 +_LT_CC_BASENAME([$compiler])
5657 +AC_MSG_CHECKING([if libtool supports shared libraries])
5658 +AC_MSG_RESULT([$can_build_shared])
5660 +AC_MSG_CHECKING([whether to build shared libraries])
5661 +test "$can_build_shared" = "no" && enable_shared=no
5663 +# On AIX, shared libraries and static libraries use the same namespace, and
5664 +# are all built from PIC.
5667 + test "$enable_shared" = yes && enable_static=no
5668 + if test -n "$RANLIB"; then
5669 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
5670 + postinstall_cmds='$RANLIB $lib'
5674 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
5675 + test "$enable_shared" = yes && enable_static=no
5679 +AC_MSG_RESULT([$enable_shared])
5681 +AC_MSG_CHECKING([whether to build static libraries])
5682 +# Make sure either enable_shared or enable_static is yes.
5683 +test "$enable_shared" = yes || enable_static=yes
5684 +AC_MSG_RESULT([$enable_static])
5686 +_LT_AC_TAGVAR(GCC, $1)="$G77"
5687 +_LT_AC_TAGVAR(LD, $1)="$LD"
5689 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
5690 +AC_LIBTOOL_PROG_CC_C_O($1)
5691 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5692 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
5693 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5694 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5696 +AC_LIBTOOL_CONFIG($1)
5700 +])# AC_LIBTOOL_LANG_F77_CONFIG
5703 +# AC_LIBTOOL_LANG_GCJ_CONFIG
5704 +# --------------------------
5705 +# Ensure that the configuration vars for the C compiler are
5706 +# suitably defined. Those variables are subsequently used by
5707 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5708 +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
5709 +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
5712 +# Source file extension for Java test sources.
5715 +# Object file extension for compiled Java test sources.
5717 +_LT_AC_TAGVAR(objext, $1)=$objext
5719 +# Code to be used in simple compile tests
5720 +lt_simple_compile_test_code="class foo {}\n"
5722 +# Code to be used in simple link tests
5723 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
5725 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5726 +_LT_AC_SYS_COMPILER
5728 +# save warnings/boilerplate of simple test code
5729 +_LT_COMPILER_BOILERPLATE
5730 +_LT_LINKER_BOILERPLATE
5732 +# Allow CC to be a program name with arguments.
5736 +_LT_AC_TAGVAR(compiler, $1)=$CC
5737 +_LT_CC_BASENAME([$compiler])
5739 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
5740 +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5742 +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
5744 +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
5745 +AC_LIBTOOL_PROG_COMPILER_PIC($1)
5746 +AC_LIBTOOL_PROG_CC_C_O($1)
5747 +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
5748 +AC_LIBTOOL_PROG_LD_SHLIBS($1)
5749 +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
5750 +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
5752 +AC_LIBTOOL_CONFIG($1)
5756 +])# AC_LIBTOOL_LANG_GCJ_CONFIG
5759 +# AC_LIBTOOL_LANG_RC_CONFIG
5760 +# -------------------------
5761 +# Ensure that the configuration vars for the Windows resource compiler are
5762 +# suitably defined. Those variables are subsequently used by
5763 +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
5764 +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
5765 +AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
5768 +# Source file extension for RC test sources.
5771 +# Object file extension for compiled RC test sources.
5773 +_LT_AC_TAGVAR(objext, $1)=$objext
5775 +# Code to be used in simple compile tests
5776 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
5778 +# Code to be used in simple link tests
5779 +lt_simple_link_test_code="$lt_simple_compile_test_code"
5781 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
5782 +_LT_AC_SYS_COMPILER
5784 +# save warnings/boilerplate of simple test code
5785 +_LT_COMPILER_BOILERPLATE
5786 +_LT_LINKER_BOILERPLATE
5788 +# Allow CC to be a program name with arguments.
5792 +_LT_AC_TAGVAR(compiler, $1)=$CC
5793 +_LT_CC_BASENAME([$compiler])
5794 +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
5796 +AC_LIBTOOL_CONFIG($1)
5800 +])# AC_LIBTOOL_LANG_RC_CONFIG
5803 +# AC_LIBTOOL_CONFIG([TAGNAME])
5804 +# ----------------------------
5805 +# If TAGNAME is not passed, then create an initial libtool script
5806 +# with a default configuration from the untagged config vars. Otherwise
5807 +# add code to config.status for appending the configuration named by
5808 +# TAGNAME from the matching tagged config vars.
5809 +AC_DEFUN([AC_LIBTOOL_CONFIG],
5810 +[# The else clause should only fire when bootstrapping the
5811 +# libtool distribution, otherwise you forgot to ship ltmain.sh
5812 +# with your package, and you will get complaints that there are
5813 +# no rules to generate ltmain.sh.
5814 +if test -f "$ltmain"; then
5815 + # See if we are running on zsh, and set the options which allow our commands through
5816 + # without removal of \ escapes.
5817 + if test -n "${ZSH_VERSION+set}" ; then
5818 + setopt NO_GLOB_SUBST
5820 + # Now quote all the things that may contain metacharacters while being
5821 + # careful not to overquote the AC_SUBSTed values. We take copies of the
5822 + # variables and quote the copies for generation of the libtool script.
5823 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
5825 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
5826 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
5827 + deplibs_check_method reload_flag reload_cmds need_locks \
5828 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
5829 + lt_cv_sys_global_symbol_to_c_name_address \
5830 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
5831 + old_postinstall_cmds old_postuninstall_cmds \
5832 + _LT_AC_TAGVAR(compiler, $1) \
5833 + _LT_AC_TAGVAR(CC, $1) \
5834 + _LT_AC_TAGVAR(LD, $1) \
5835 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
5836 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
5837 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
5838 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
5839 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
5840 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
5841 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
5842 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
5843 + _LT_AC_TAGVAR(old_archive_cmds, $1) \
5844 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
5845 + _LT_AC_TAGVAR(predep_objects, $1) \
5846 + _LT_AC_TAGVAR(postdep_objects, $1) \
5847 + _LT_AC_TAGVAR(predeps, $1) \
5848 + _LT_AC_TAGVAR(postdeps, $1) \
5849 + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
5850 + _LT_AC_TAGVAR(archive_cmds, $1) \
5851 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
5852 + _LT_AC_TAGVAR(postinstall_cmds, $1) \
5853 + _LT_AC_TAGVAR(postuninstall_cmds, $1) \
5854 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
5855 + _LT_AC_TAGVAR(allow_undefined_flag, $1) \
5856 + _LT_AC_TAGVAR(no_undefined_flag, $1) \
5857 + _LT_AC_TAGVAR(export_symbols_cmds, $1) \
5858 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
5859 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
5860 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
5861 + _LT_AC_TAGVAR(hardcode_automatic, $1) \
5862 + _LT_AC_TAGVAR(module_cmds, $1) \
5863 + _LT_AC_TAGVAR(module_expsym_cmds, $1) \
5864 + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
5865 + _LT_AC_TAGVAR(exclude_expsyms, $1) \
5866 + _LT_AC_TAGVAR(include_expsyms, $1); do
5869 + _LT_AC_TAGVAR(old_archive_cmds, $1) | \
5870 + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
5871 + _LT_AC_TAGVAR(archive_cmds, $1) | \
5872 + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
5873 + _LT_AC_TAGVAR(module_cmds, $1) | \
5874 + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
5875 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
5876 + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
5877 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
5878 + postinstall_cmds | postuninstall_cmds | \
5879 + old_postinstall_cmds | old_postuninstall_cmds | \
5880 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
5881 + # Double-quote double-evaled strings.
5882 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
5885 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
5891 + *'\[$]0 --fallback-echo"')
5892 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
5897 + [cfgfile="${ofile}T"
5898 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
5900 + AC_MSG_NOTICE([creating $ofile])],
5901 + [cfgfile="$ofile"])
5903 + cat <<__EOF__ >> "$cfgfile"
5907 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
5908 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
5909 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
5911 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
5912 +# Free Software Foundation, Inc.
5914 +# This file is part of GNU Libtool:
5915 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
5917 +# This program is free software; you can redistribute it and/or modify
5918 +# it under the terms of the GNU General Public License as published by
5919 +# the Free Software Foundation; either version 2 of the License, or
5920 +# (at your option) any later version.
5922 +# This program is distributed in the hope that it will be useful, but
5923 +# WITHOUT ANY WARRANTY; without even the implied warranty of
5924 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5925 +# General Public License for more details.
5927 +# You should have received a copy of the GNU General Public License
5928 +# along with this program; if not, write to the Free Software
5929 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
5931 +# As a special exception to the GNU General Public License, if you
5932 +# distribute this file as part of a program that contains a
5933 +# configuration script generated by Autoconf, you may include it under
5934 +# the same distribution terms that you use for the rest of that program.
5936 +# A sed program that does not truncate output.
5939 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
5940 +Xsed="$SED -e 1s/^X//"
5942 +# The HP-UX ksh and POSIX shell print the target directory to stdout
5943 +# if CDPATH is set.
5944 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5946 +# The names of the tagged configurations supported by this script.
5949 +# ### BEGIN LIBTOOL CONFIG],
5950 +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
5952 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5954 +# Shell to use when invoking shell scripts.
5957 +# Whether or not to build shared libraries.
5958 +build_libtool_libs=$enable_shared
5960 +# Whether or not to build static libraries.
5961 +build_old_libs=$enable_static
5963 +# Whether or not to add -lc for building shared libraries.
5964 +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
5966 +# Whether or not to disallow shared libs when runtime libs are static
5967 +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
5969 +# Whether or not to optimize for fast installation.
5970 +fast_install=$enable_fast_install
5973 +host_alias=$host_alias
5977 +# The build system.
5978 +build_alias=$build_alias
5982 +# An echo program that does not interpret backslashes.
5987 +AR_FLAGS=$lt_AR_FLAGS
5992 +# LTCC compiler flags.
5993 +LTCFLAGS=$lt_LTCFLAGS
5995 +# A language-specific compiler.
5996 +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
5998 +# Is the compiler the GNU C compiler?
5999 +with_gcc=$_LT_AC_TAGVAR(GCC, $1)
6004 +# The linker used to build libraries.
6005 +LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
6007 +# Whether we need hard or soft links.
6010 +# A BSD-compatible nm program.
6013 +# A symbol stripping program
6016 +# Used to examine libraries when file_magic_cmd begins "file"
6017 +MAGIC_CMD=$MAGIC_CMD
6019 +# Used on cygwin: DLL creation program.
6022 +# Used on cygwin: object dumper.
6025 +# Used on cygwin: assembler.
6028 +# The name of the directory that contains temporary libtool files.
6031 +# How to create reloadable object files.
6032 +reload_flag=$lt_reload_flag
6033 +reload_cmds=$lt_reload_cmds
6035 +# How to pass a linker flag through the compiler.
6036 +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
6038 +# Object file suffix (normally "o").
6039 +objext="$ac_objext"
6041 +# Old archive suffix (normally "a").
6044 +# Shared library suffix (normally ".so").
6045 +shrext_cmds='$shrext_cmds'
6047 +# Executable file suffix (normally "").
6050 +# Additional compiler flags for building library objects.
6051 +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
6054 +# What is the maximum length of a command?
6055 +max_cmd_len=$lt_cv_sys_max_cmd_len
6057 +# Does compiler simultaneously support -c and -o options?
6058 +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
6060 +# Must we lock files when doing compilation?
6061 +need_locks=$lt_need_locks
6063 +# Do we need the lib prefix for modules?
6064 +need_lib_prefix=$need_lib_prefix
6066 +# Do we need a version for libraries?
6067 +need_version=$need_version
6069 +# Whether dlopen is supported.
6070 +dlopen_support=$enable_dlopen
6072 +# Whether dlopen of programs is supported.
6073 +dlopen_self=$enable_dlopen_self
6075 +# Whether dlopen of statically linked programs is supported.
6076 +dlopen_self_static=$enable_dlopen_self_static
6078 +# Compiler flag to prevent dynamic linking.
6079 +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
6081 +# Compiler flag to turn off builtin functions.
6082 +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
6084 +# Compiler flag to allow reflexive dlopens.
6085 +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
6087 +# Compiler flag to generate shared objects directly from archives.
6088 +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
6090 +# Compiler flag to generate thread-safe objects.
6091 +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
6093 +# Library versioning type.
6094 +version_type=$version_type
6096 +# Format of library name prefix.
6097 +libname_spec=$lt_libname_spec
6099 +# List of archive names. First name is the real one, the rest are links.
6100 +# The last name is the one that the linker finds with -lNAME.
6101 +library_names_spec=$lt_library_names_spec
6103 +# The coded name of the library, if different from the real name.
6104 +soname_spec=$lt_soname_spec
6106 +# Commands used to build and install an old-style archive.
6108 +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
6109 +old_postinstall_cmds=$lt_old_postinstall_cmds
6110 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
6112 +# Create an old-style archive from a shared archive.
6113 +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
6115 +# Create a temporary old-style archive to link instead of a shared archive.
6116 +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
6118 +# Commands used to build and install a shared archive.
6119 +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
6120 +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
6121 +postinstall_cmds=$lt_postinstall_cmds
6122 +postuninstall_cmds=$lt_postuninstall_cmds
6124 +# Commands used to build a loadable module (assumed same as above if empty)
6125 +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
6126 +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
6128 +# Commands to strip libraries.
6129 +old_striplib=$lt_old_striplib
6130 +striplib=$lt_striplib
6132 +# Dependencies to place before the objects being linked to create a
6134 +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
6136 +# Dependencies to place after the objects being linked to create a
6138 +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
6140 +# Dependencies to place before the objects being linked to create a
6142 +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
6144 +# Dependencies to place after the objects being linked to create a
6146 +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
6148 +# The library search path used internally by the compiler when linking
6149 +# a shared library.
6150 +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
6152 +# Method to check whether dependent libraries are shared objects.
6153 +deplibs_check_method=$lt_deplibs_check_method
6155 +# Command to use when deplibs_check_method == file_magic.
6156 +file_magic_cmd=$lt_file_magic_cmd
6158 +# Flag that allows shared libraries with undefined symbols to be built.
6159 +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
6161 +# Flag that forces no undefined symbols.
6162 +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
6164 +# Commands used to finish a libtool library installation in a directory.
6165 +finish_cmds=$lt_finish_cmds
6167 +# Same as above, but a single script fragment to be evaled but not shown.
6168 +finish_eval=$lt_finish_eval
6170 +# Take the output of nm and produce a listing of raw symbols and C names.
6171 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
6173 +# Transform the output of nm in a proper C declaration
6174 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
6176 +# Transform the output of nm in a C name address pair
6177 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
6179 +# This is the shared library runtime path variable.
6180 +runpath_var=$runpath_var
6182 +# This is the shared library path variable.
6183 +shlibpath_var=$shlibpath_var
6185 +# Is shlibpath searched before the hard-coded library search path?
6186 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
6188 +# How to hardcode a shared library path into an executable.
6189 +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
6191 +# Whether we should hardcode library paths into libraries.
6192 +hardcode_into_libs=$hardcode_into_libs
6194 +# Flag to hardcode \$libdir into a binary during linking.
6195 +# This must work even if \$libdir does not exist.
6196 +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
6198 +# If ld is used when linking, flag to hardcode \$libdir into
6199 +# a binary during linking. This must work even if \$libdir does
6201 +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
6203 +# Whether we need a single -rpath flag with a separated argument.
6204 +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
6206 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
6207 +# resulting binary.
6208 +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
6210 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
6211 +# resulting binary.
6212 +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
6214 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
6215 +# the resulting binary.
6216 +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
6218 +# Set to yes if building a shared library automatically hardcodes DIR into the library
6219 +# and all subsequent libraries and executables linked against it.
6220 +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
6222 +# Variables whose values should be saved in libtool wrapper scripts and
6223 +# restored at relink time.
6224 +variables_saved_for_relink="$variables_saved_for_relink"
6226 +# Whether libtool must link a program against all its dependency libraries.
6227 +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
6229 +# Compile-time system search path for libraries
6230 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
6232 +# Run-time system search path for libraries
6233 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
6235 +# Fix the shell variable \$srcfile for the compiler.
6236 +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
6238 +# Set to yes if exported symbols are required.
6239 +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
6241 +# The commands to list exported symbols.
6242 +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
6244 +# The commands to extract the exported symbol list from a shared archive.
6245 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
6247 +# Symbols that should not be listed in the preloaded symbols.
6248 +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
6250 +# Symbols that must always be exported.
6251 +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
6254 +[# ### END LIBTOOL CONFIG],
6255 +[# ### END LIBTOOL TAG CONFIG: $tagname])
6262 + cat <<\EOF >> "$cfgfile"
6264 +# AIX sometimes has problems with the GCC collect2 program. For some
6265 +# reason, if we set the COLLECT_NAMES environment variable, the problems
6266 +# vanish in a puff of smoke.
6267 +if test "X${COLLECT_NAMES+set}" != Xset; then
6269 + export COLLECT_NAMES
6275 + # We use sed instead of cat because bash on DJGPP gets confused if
6276 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
6277 + # text mode, it properly converts lines to CR/LF. This bash problem
6278 + # is reportedly fixed, but why not run on old versions too?
6279 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
6281 + mv -f "$cfgfile" "$ofile" || \
6282 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
6286 + # If there is no Makefile yet, we rely on a make rule to execute
6287 + # `config.status --recheck' to rerun these tests and create the
6288 + # libtool script then.
6289 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
6290 + if test -f "$ltmain_in"; then
6291 + test -f Makefile && make "$ltmain"
6294 +])# AC_LIBTOOL_CONFIG
6297 +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
6298 +# -------------------------------------------
6299 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
6300 +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
6302 +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
6304 +if test "$GCC" = yes; then
6305 + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
6307 + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
6308 + lt_cv_prog_compiler_rtti_exceptions,
6309 + [-fno-rtti -fno-exceptions], [],
6310 + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
6312 +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
6315 +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
6316 +# ---------------------------------
6317 +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
6318 +[AC_REQUIRE([AC_CANONICAL_HOST])
6319 +AC_REQUIRE([AC_PROG_NM])
6320 +AC_REQUIRE([AC_OBJEXT])
6321 +# Check for command to grab the raw symbol name followed by C symbol from nm.
6322 +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
6323 +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
6325 +# These are sane defaults that work on at least a few old systems.
6326 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6328 +# Character class describing NM global symbol codes.
6329 +symcode='[[BCDEGRST]]'
6331 +# Regexp to match symbols that can be accessed directly from C.
6332 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
6334 +# Transform an extracted symbol line into a proper C declaration
6335 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6337 +# Transform an extracted symbol line into symbol name and symbol address
6338 +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'"
6340 +# Define system-specific variables.
6343 + symcode='[[BCDT]]'
6345 +cygwin* | mingw* | pw32*)
6346 + symcode='[[ABCDGISTW]]'
6348 +hpux*) # Its linker distinguishes data from code symbols
6349 + if test "$host_cpu" = ia64; then
6350 + symcode='[[ABCDEGRST]]'
6352 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6353 + 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'"
6356 + if test "$host_cpu" = ia64; then
6357 + symcode='[[ABCDGIRSTW]]'
6358 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6359 + 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'"
6362 +irix* | nonstopux*)
6363 + symcode='[[BCDEGRST]]'
6366 + symcode='[[BCDEGQRST]]'
6369 + symcode='[[BDRT]]'
6377 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
6378 + symcode='[[ABDT]]'
6381 + symcode='[[DFNSTU]]'
6385 +# Handle CRLF in mingw tool chain
6389 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6393 +# If we're using GNU nm, then use its standard symbol codes.
6394 +case `$NM -V 2>&1` in
6395 +*GNU* | *'with BFD'*)
6396 + symcode='[[ABCDGIRSTW]]' ;;
6399 +# Try without a prefix undercore, then with it.
6400 +for ac_symprfx in "" "_"; do
6402 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6403 + symxfrm="\\1 $ac_symprfx\\2 \\2"
6405 + # Write the raw and C identifiers.
6406 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6408 + # Check to see that the pipe works correctly.
6412 + cat > conftest.$ac_ext <<EOF
6417 +void nm_test_func(){}
6421 +int main(){nm_test_var='a';nm_test_func();return(0);}
6424 + if AC_TRY_EVAL(ac_compile); then
6425 + # Now try to grab the symbols.
6427 + if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
6428 + # Try sorting and uniquifying the output.
6429 + if sort "$nlist" | uniq > "$nlist"T; then
6430 + mv -f "$nlist"T "$nlist"
6435 + # Make sure that we snagged all the symbols we need.
6436 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
6437 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
6438 + cat <<EOF > conftest.$ac_ext
6444 + # Now generate the symbol file.
6445 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6447 + cat <<EOF >> conftest.$ac_ext
6448 +#if defined (__STDC__) && __STDC__
6449 +# define lt_ptr_t void *
6451 +# define lt_ptr_t char *
6455 +/* The mapping between symbol names and symbols. */
6460 +lt_preloaded_symbols[[]] =
6463 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6464 + cat <<\EOF >> conftest.$ac_ext
6472 + # Now try linking the two files.
6473 + mv conftest.$ac_objext conftstm.$ac_objext
6474 + lt_save_LIBS="$LIBS"
6475 + lt_save_CFLAGS="$CFLAGS"
6476 + LIBS="conftstm.$ac_objext"
6477 + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
6478 + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
6481 + LIBS="$lt_save_LIBS"
6482 + CFLAGS="$lt_save_CFLAGS"
6484 + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
6487 + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
6490 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
6493 + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
6494 + cat conftest.$ac_ext >&5
6496 + rm -f conftest* conftst*
6498 + # Do not use the global_symbol_pipe unless it works.
6499 + if test "$pipe_works" = yes; then
6502 + lt_cv_sys_global_symbol_pipe=
6506 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
6507 + lt_cv_sys_global_symbol_to_cdecl=
6509 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6510 + AC_MSG_RESULT(failed)
6514 +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
6517 +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
6518 +# ---------------------------------------
6519 +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
6520 +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
6521 +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6522 +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
6524 +AC_MSG_CHECKING([for $compiler option to produce PIC])
6525 + ifelse([$1],[CXX],[
6526 + # C++ specific cases for pic, static, wl, etc.
6527 + if test "$GXX" = yes; then
6528 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6529 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6533 + # All AIX code is PIC.
6534 + if test "$host_cpu" = ia64; then
6535 + # AIX 5 now supports IA64 processor
6536 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6540 + # FIXME: we need at least 68020 code to build shared libraries, but
6541 + # adding the `-m68020' flag to GCC prevents building anything better,
6543 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
6545 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6546 + # PIC is the default for these OSes.
6548 + mingw* | os2* | pw32*)
6549 + # This hack is so that the source file can tell whether it is being
6550 + # built for inclusion in a dll (and should export symbols for example).
6551 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
6553 + darwin* | rhapsody*)
6554 + # PIC is the default on this platform
6555 + # Common symbols not allowed in MH_DYLIB files
6556 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
6559 + # DJGPP does not support shared libraries at all
6560 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6563 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6564 + # Instead, we relocate shared libraries at runtime.
6567 + if test -d /usr/nec; then
6568 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
6572 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6573 + # not for PA HP-UX.
6578 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6583 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6589 + # All AIX code is PIC.
6590 + if test "$host_cpu" = ia64; then
6591 + # AIX 5 now supports IA64 processor
6592 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6594 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
6598 + case $cc_basename in
6600 + # Green Hills C++ Compiler
6601 + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
6606 + # PIC is the default on this platform
6607 + # Common symbols not allowed in MH_DYLIB files
6608 + case $cc_basename in
6610 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
6611 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6616 + case $cc_basename in
6618 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6621 + # Green Hills C++ Compiler
6622 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6628 + freebsd* | kfreebsd*-gnu | dragonfly*)
6629 + # FreeBSD uses GNU C++
6631 + hpux9* | hpux10* | hpux11*)
6632 + case $cc_basename in
6634 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6635 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
6636 + if test "$host_cpu" != ia64; then
6637 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
6641 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6642 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
6648 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
6657 + # This is c89, which is MS Visual C++ (no shared libs)
6658 + # Anyone wants to do a port?
6660 + irix5* | irix6* | nonstopux*)
6661 + case $cc_basename in
6663 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6664 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6665 + # CC pic flag -KPIC is the default.
6672 + case $cc_basename in
6674 + # KAI C++ Compiler
6675 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
6676 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6680 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6681 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6682 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6685 + # Portland Group C++ compiler.
6686 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6687 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
6688 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6692 + # Make sure the PIC flag is empty. It appears that all Alpha
6693 + # Linux and Compaq Tru64 Unix objects are PIC.
6694 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6695 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6706 + case $cc_basename in
6708 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
6714 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6716 + osf3* | osf4* | osf5*)
6717 + case $cc_basename in
6719 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
6722 + # Rational C++ 2.4.1
6723 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6726 + # Digital/Compaq C++
6727 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6728 + # Make sure the PIC flag is empty. It appears that all Alpha
6729 + # Linux and Compaq Tru64 Unix objects are PIC.
6730 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
6731 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6740 + case $cc_basename in
6742 + # Sun C++ 4.2, 5.x and Centerline C++
6743 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6744 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6745 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
6748 + # Green Hills C++ Compiler
6749 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
6756 + case $cc_basename in
6759 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6760 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6764 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6771 + case $cc_basename in
6773 + # NonStop-UX NCC 3.20
6774 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6780 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6781 + case $cc_basename in
6783 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6784 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6785 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6792 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6798 + if test "$GCC" = yes; then
6799 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6800 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6804 + # All AIX code is PIC.
6805 + if test "$host_cpu" = ia64; then
6806 + # AIX 5 now supports IA64 processor
6807 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6812 + # FIXME: we need at least 68020 code to build shared libraries, but
6813 + # adding the `-m68020' flag to GCC prevents building anything better,
6815 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
6818 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6819 + # PIC is the default for these OSes.
6822 + mingw* | pw32* | os2*)
6823 + # This hack is so that the source file can tell whether it is being
6824 + # built for inclusion in a dll (and should export symbols for example).
6825 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
6828 + darwin* | rhapsody*)
6829 + # PIC is the default on this platform
6830 + # Common symbols not allowed in MH_DYLIB files
6831 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
6835 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6836 + # Instead, we relocate shared libraries at runtime.
6840 + # Just because we use GCC doesn't mean we suddenly get shared libraries
6841 + # on systems that don't support them.
6842 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6847 + if test -d /usr/nec; then
6848 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
6853 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6854 + # not for PA HP-UX.
6860 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6866 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6870 + # PORTME Check for flag to pass linker flags through the system compiler.
6873 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6874 + if test "$host_cpu" = ia64; then
6875 + # AIX 5 now supports IA64 processor
6876 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6878 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
6882 + # PIC is the default on this platform
6883 + # Common symbols not allowed in MH_DYLIB files
6884 + case $cc_basename in
6886 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
6887 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6892 + mingw* | pw32* | os2*)
6893 + # This hack is so that the source file can tell whether it is being
6894 + # built for inclusion in a dll (and should export symbols for example).
6895 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
6898 + hpux9* | hpux10* | hpux11*)
6899 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6900 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6901 + # not for PA HP-UX.
6907 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
6910 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
6911 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
6914 + irix5* | irix6* | nonstopux*)
6915 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6916 + # PIC (with -KPIC) is the default.
6917 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6921 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6922 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6926 + case $cc_basename in
6928 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6929 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6930 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
6932 + pgcc* | pgf77* | pgf90* | pgf95*)
6933 + # Portland Group compilers (*not* the Pentium gcc compiler,
6934 + # which looks to be a dead project)
6935 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6936 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
6937 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6940 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6941 + # All Alpha code is PIC.
6942 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6947 + osf3* | osf4* | osf5*)
6948 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6949 + # All OSF/1 code is PIC.
6950 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6954 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6955 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6956 + case $cc_basename in
6957 + f77* | f90* | f95*)
6958 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
6960 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
6965 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
6966 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
6967 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6970 + sysv4 | sysv4.2uw2* | sysv4.3*)
6971 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6972 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6973 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6977 + if test -d /usr/nec ;then
6978 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
6979 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6983 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6984 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6985 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6986 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6990 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6991 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
6995 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
6996 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
7000 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
7005 +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
7008 +# Check to make sure the PIC flag actually works.
7010 +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
7011 + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
7012 + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
7013 + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
7014 + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
7016 + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
7018 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7019 + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
7022 + # For platforms which do not support PIC, -DPIC is meaningless:
7024 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
7027 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
7032 +# Check to make sure the static flag actually works.
7034 +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
7035 +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
7036 + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
7037 + $lt_tmp_static_flag,
7039 + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
7043 +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
7044 +# ------------------------------------
7045 +# See if the linker supports building shared libraries.
7046 +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
7047 +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
7048 +ifelse([$1],[CXX],[
7049 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7052 + # If we're using GNU nm, then we don't want the "-C" option.
7053 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
7054 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7055 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
7057 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
7061 + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
7064 + _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'
7067 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
7070 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
7073 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7078 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
7079 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7080 + _LT_AC_TAGVAR(archive_cmds, $1)=
7081 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
7082 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
7083 + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
7084 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
7085 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7086 + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
7087 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
7088 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7089 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7090 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
7091 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
7092 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
7093 + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
7094 + _LT_AC_TAGVAR(hardcode_automatic, $1)=no
7095 + _LT_AC_TAGVAR(module_cmds, $1)=
7096 + _LT_AC_TAGVAR(module_expsym_cmds, $1)=
7097 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
7098 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7099 + # include_expsyms should be a list of space-separated symbols to be *always*
7100 + # included in the symbol list
7101 + _LT_AC_TAGVAR(include_expsyms, $1)=
7102 + # exclude_expsyms can be an extended regexp of symbols to exclude
7103 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
7104 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7105 + # as well as any symbol that contains `d'.
7106 + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
7107 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7108 + # platforms (ab)use it in PIC code, but their linkers get confused if
7109 + # the symbol is explicitly referenced. Since portable code cannot
7110 + # rely on this symbol name, it's probably fine to never include it in
7111 + # preloaded symbol tables.
7112 + extract_expsyms_cmds=
7113 + # Just being paranoid about ensuring that cc_basename is set.
7114 + _LT_CC_BASENAME([$compiler])
7116 + cygwin* | mingw* | pw32*)
7117 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
7118 + # When not using gcc, we currently assume that we are using
7119 + # Microsoft Visual C++.
7120 + if test "$GCC" != yes; then
7125 + # we just hope/assume this is gcc and not c89 (= MSVC++)
7133 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
7134 + if test "$with_gnu_ld" = yes; then
7135 + # If archive_cmds runs LD, not CC, wlarc should be empty
7138 + # Set some defaults for GNU ld with shared library support. These
7139 + # are reset later if shared libraries are not supported. Putting them
7140 + # here allows them to be overridden if necessary.
7141 + runpath_var=LD_RUN_PATH
7142 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
7143 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
7144 + # ancient GNU ld didn't support --whole-archive et. al.
7145 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7146 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7148 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7150 + supports_anon_versioning=no
7151 + case `$LD -v 2>/dev/null` in
7152 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
7153 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7154 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7155 + *\ 2.11.*) ;; # other 2.11 versions
7156 + *) supports_anon_versioning=yes ;;
7159 + # See if GNU ld supports shared libraries.
7161 + aix3* | aix4* | aix5*)
7162 + # On AIX/PPC, the GNU linker is very broken
7163 + if test "$host_cpu" != ia64; then
7164 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7167 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7168 +*** to be unable to reliably create shared libraries on AIX.
7169 +*** Therefore, libtool is disabling shared libraries support. If you
7170 +*** really care for shared libraries, you may want to modify your PATH
7171 +*** so that a non-GNU linker is found, and then restart.
7178 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7179 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7180 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7182 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7183 + # that the semantics of dynamic libraries on AmigaOS, at least up
7184 + # to version 4, is to share data among multiple programs linked
7185 + # with the same dynamic library. Since this doesn't match the
7186 + # behavior of shared libraries on other platforms, we can't use
7188 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7192 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7193 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7194 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7195 + # support --undefined. This deserves some investigation. FIXME
7196 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7198 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7202 + cygwin* | mingw* | pw32*)
7203 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
7204 + # as there is no search path for DLLs.
7205 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7206 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7207 + _LT_AC_TAGVAR(always_export_symbols, $1)=no
7208 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7209 + _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'
7211 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7212 + _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'
7213 + # If the export-symbols file already is a .def file (1st line
7214 + # is EXPORTS), use it as is; otherwise, prepend...
7215 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7216 + cp $export_symbols $output_objdir/$soname.def;
7218 + echo EXPORTS > $output_objdir/$soname.def;
7219 + cat $export_symbols >> $output_objdir/$soname.def;
7221 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7223 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7228 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
7229 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7230 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7231 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7232 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7233 + # Instead, shared libraries are loaded at an image base (0x10000000 by
7234 + # default) and relocated if they conflict, which is a slow very memory
7235 + # consuming and fragmenting process. To avoid this, we pick a random,
7236 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7237 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7238 + _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'
7239 + _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'
7243 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7245 + case $cc_basename,$host_cpu in
7246 + pgcc*) # Portland Group C compiler
7247 + _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'
7248 + tmp_addflag=' $pic_flag'
7250 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7251 + _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'
7252 + tmp_addflag=' $pic_flag -Mnomain' ;;
7253 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7254 + tmp_addflag=' -i_dynamic' ;;
7255 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7256 + tmp_addflag=' -i_dynamic -nofor_main' ;;
7257 + ifc* | ifort*) # Intel Fortran compiler
7258 + tmp_addflag=' -nofor_main' ;;
7260 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7262 + if test $supports_anon_versioning = yes; then
7263 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
7264 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7265 + $echo "local: *; };" >> $output_objdir/$libname.ver~
7266 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7268 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
7270 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7274 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7275 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7276 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7279 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7280 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7285 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7286 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7289 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7290 +*** create shared libraries on Solaris systems. Therefore, libtool
7291 +*** is disabling shared libraries support. We urge you to upgrade GNU
7292 +*** binutils to release 2.9.1 or newer. Another option is to modify
7293 +*** your PATH or compiler configuration so that the native linker is
7294 +*** used, and then restart.
7297 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7298 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7299 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7301 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7305 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7306 + case `$LD -v 2>&1` in
7307 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
7308 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7309 + cat <<_LT_EOF 1>&2
7311 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7312 +*** reliably create shared libraries on SCO systems. Therefore, libtool
7313 +*** is disabling shared libraries support. We urge you to upgrade GNU
7314 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7315 +*** your PATH or compiler configuration so that the native linker is
7316 +*** used, and then restart.
7321 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7322 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7323 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7324 + _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'
7326 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7333 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7335 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7336 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7340 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7341 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7342 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7344 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7349 + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
7351 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
7352 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
7353 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
7356 + # PORTME fill in a description of your system's linker (not GNU ld)
7359 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7360 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7361 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7362 + # Note: this linker hardcodes the directories in LIBPATH if there
7363 + # are no directories specified by -L.
7364 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7365 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7366 + # Neither direct hardcoding nor static linking is supported with a
7367 + # broken collect2.
7368 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
7373 + if test "$host_cpu" = ia64; then
7374 + # On IA64, the linker does run time linking by default, so we don't
7375 + # have to do anything special.
7376 + aix_use_runtimelinking=no
7377 + exp_sym_flag='-Bexport'
7380 + # If we're using GNU nm, then we don't want the "-C" option.
7381 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
7382 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7383 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
7385 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
7387 + aix_use_runtimelinking=no
7389 + # Test if we are trying to use run time linking or normal
7390 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7391 + # need to do runtime linking.
7392 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
7393 + for ld_flag in $LDFLAGS; do
7394 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7395 + aix_use_runtimelinking=yes
7402 + exp_sym_flag='-bexport'
7403 + no_entry_flag='-bnoentry'
7406 + # When large executables or shared objects are built, AIX ld can
7407 + # have problems creating the table of contents. If linking a library
7408 + # or program results in "error TOC overflow" add -mminimal-toc to
7409 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7410 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7412 + _LT_AC_TAGVAR(archive_cmds, $1)=''
7413 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7414 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
7415 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7417 + if test "$GCC" = yes; then
7418 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
7419 + # We only want to do this on AIX 4.2 and lower, the check
7420 + # below for broken collect2 doesn't work under 4.3+
7421 + collect2name=`${CC} -print-prog-name=collect2`
7422 + if test -f "$collect2name" && \
7423 + strings "$collect2name" | grep resolve_lib_name >/dev/null
7425 + # We have reworked collect2
7426 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7428 + # We have old collect2
7429 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
7430 + # It fails to find uninstalled libraries when the uninstalled
7431 + # path is not listed in the libpath. Setting hardcode_minus_L
7432 + # to unsupported forces relinking
7433 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7434 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7435 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
7439 + shared_flag='-shared'
7440 + if test "$aix_use_runtimelinking" = yes; then
7441 + shared_flag="$shared_flag "'${wl}-G'
7445 + if test "$host_cpu" = ia64; then
7446 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7447 + # chokes on -Wl,-G. The following line is correct:
7450 + if test "$aix_use_runtimelinking" = yes; then
7451 + shared_flag='${wl}-G'
7453 + shared_flag='${wl}-bM:SRE'
7458 + # It seems that -bexpall does not export symbols beginning with
7459 + # underscore (_), so it is better to generate a list of symbols to export.
7460 + _LT_AC_TAGVAR(always_export_symbols, $1)=yes
7461 + if test "$aix_use_runtimelinking" = yes; then
7462 + # Warning - without using the other runtime loading flags (-brtl),
7463 + # -berok will link without error, but may produce a broken library.
7464 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
7465 + # Determine the default libpath from the value encoded in an empty executable.
7466 + _LT_AC_SYS_LIBPATH_AIX
7467 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7468 + _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"
7470 + if test "$host_cpu" = ia64; then
7471 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
7472 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
7473 + _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"
7475 + # Determine the default libpath from the value encoded in an empty executable.
7476 + _LT_AC_SYS_LIBPATH_AIX
7477 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7478 + # Warning - without using the other run time loading flags,
7479 + # -berok will link without error, but may produce a broken library.
7480 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
7481 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
7482 + # Exported symbols can be pulled into shared objects from archives
7483 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
7484 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
7485 + # This is similar to how AIX traditionally builds its shared libraries.
7486 + _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'
7492 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7493 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7494 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7495 + # see comment about different semantics on the GNU ld section
7496 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7500 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
7503 + cygwin* | mingw* | pw32*)
7504 + # When not using gcc, we currently assume that we are using
7505 + # Microsoft Visual C++.
7506 + # hardcode_libdir_flag_spec is actually meaningless, as there is
7507 + # no search path for DLLs.
7508 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
7509 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7510 + # Tell ltmain to make .lib files, not .a files.
7512 + # Tell ltmain to make .dll files, not .so files.
7513 + shrext_cmds=".dll"
7514 + # FIXME: Setting linknames here is a bad hack.
7515 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7516 + # The linker will automatically build a .lib file if we build a DLL.
7517 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
7518 + # FIXME: Should let the user specify the lib program.
7519 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
7520 + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
7521 + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7524 + darwin* | rhapsody*)
7526 + rhapsody* | darwin1.[[012]])
7527 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
7529 + *) # Darwin 1.3 on
7530 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7531 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7533 + case ${MACOSX_DEPLOYMENT_TARGET} in
7535 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7538 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
7544 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7545 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
7546 + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
7547 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
7548 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
7549 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7550 + if test "$GCC" = yes ; then
7551 + output_verbose_link_cmd='echo'
7552 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7553 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7554 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7555 + _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}'
7556 + _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}'
7558 + case $cc_basename in
7560 + output_verbose_link_cmd='echo'
7561 + _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'
7562 + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7563 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7564 + _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}'
7565 + _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}'
7568 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7575 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7576 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7577 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7581 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
7584 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7585 + # support. Future versions do this automatically, but an explicit c++rt0.o
7586 + # does not break anything, and helps significantly (at the cost of a little
7589 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7590 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7591 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7592 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7595 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7597 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7598 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7599 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7600 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7603 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7604 + freebsd* | dragonfly*)
7605 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7606 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7607 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7608 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7611 + # GNU/kFreeBSD uses gcc -shared to do shared libraries.
7613 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7614 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7615 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7616 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7617 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
7621 + if test "$GCC" = yes; then
7622 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7624 + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7626 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7627 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7628 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7630 + # hardcode_minus_L: Not really in the search PATH,
7631 + # but as the default location of the library.
7632 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7633 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7637 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7638 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7640 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7642 + if test "$with_gnu_ld" = no; then
7643 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7644 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7646 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7647 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7649 + # hardcode_minus_L: Not really in the search PATH,
7650 + # but as the default location of the library.
7651 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7656 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7659 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7662 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7665 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7671 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7674 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7677 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7681 + if test "$with_gnu_ld" = no; then
7682 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7683 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7687 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
7688 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
7689 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7692 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7693 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7695 + # hardcode_minus_L: Not really in the search PATH,
7696 + # but as the default location of the library.
7697 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7703 + irix5* | irix6* | nonstopux*)
7704 + if test "$GCC" = yes; then
7705 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7707 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7708 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
7710 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7711 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7712 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7715 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
7716 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7717 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7719 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7721 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7722 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7723 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7726 - dnl *** For now the libtool support in intl/Makefile is not for real.
7730 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7731 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7732 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7733 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7734 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7737 - dnl Generate list of files to be processed by xgettext which will
7738 - dnl be included in po/Makefile.
7739 - test -d po || mkdir po
7740 - if test "x$srcdir" != "x."; then
7741 - if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7742 - posrcprefix="$srcdir/"
7744 - posrcprefix="../$srcdir/"
7750 - sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7751 - < $srcdir/po/POTFILES.in > po/POTFILES
7754 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7755 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7756 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7757 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7758 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7759 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7760 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7763 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
7764 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7765 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7768 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7769 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
7776 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7777 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7778 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
7779 + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7780 + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7783 -# Search path for a program which passes the given test.
7784 -# Ulrich Drepper <drepper@cygnus.com>, 1996.
7786 -# This file can be copied and used freely without restrictions. It can
7787 -# be used in projects which are not available under the GNU Public License
7788 -# but which still want to provide support for the GNU gettext functionality.
7789 -# Please note that the actual code is *not* freely available.
7791 + if test "$GCC" = yes; then
7792 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
7793 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7795 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7796 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7798 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7799 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7803 + osf4* | osf5*) # as osf3* with the addition of -msym flag
7804 + if test "$GCC" = yes; then
7805 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
7806 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7807 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7809 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7810 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7811 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7812 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7814 -dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
7815 -dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
7816 -AC_DEFUN(AM_PATH_PROG_WITH_TEST,
7817 -[# Extract the first word of "$2", so it can be a program name with args.
7818 -set dummy $2; ac_word=[$]2
7819 -AC_MSG_CHECKING([for $ac_word])
7820 -AC_CACHE_VAL(ac_cv_path_$1,
7823 - ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
7826 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7827 - for ac_dir in ifelse([$5], , $PATH, [$5]); do
7828 - test -z "$ac_dir" && ac_dir=.
7829 - if test -f $ac_dir/$ac_word; then
7831 - ac_cv_path_$1="$ac_dir/$ac_word"
7833 + # Both c and cxx compiler support -rpath directly
7834 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7838 - IFS="$ac_save_ifs"
7839 -dnl If no 4th arg is given, leave the cache variable unset,
7840 -dnl so AC_PATH_PROGS will keep looking.
7841 -ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
7845 -$1="$ac_cv_path_$1"
7846 -if test -n "[$]$1"; then
7847 - AC_MSG_RESULT([$]$1)
7853 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
7856 -# Check whether LC_MESSAGES is available in <locale.h>.
7857 -# Ulrich Drepper <drepper@cygnus.com>, 1995.
7859 -# This file can be copied and used freely without restrictions. It can
7860 -# be used in projects which are not available under the GNU Public License
7861 -# but which still want to provide support for the GNU gettext functionality.
7862 -# Please note that the actual code is *not* freely available.
7864 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
7865 + if test "$GCC" = yes; then
7867 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7868 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7869 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7872 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7873 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7874 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7876 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
7877 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7879 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
7881 + # The compiler driver will combine linker options so we
7882 + # cannot just pass the convience library names through
7883 + # without $wl, iff we do not link with $LD.
7884 + # Luckily, gcc supports the same syntax we need for Sun Studio.
7885 + # Supported since Solaris 2.6 (maybe 2.5.1?)
7888 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
7890 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7893 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7898 + if test "x$host_vendor" = xsequent; then
7899 + # Use $CC to link under sequent, because it throws in some extra .o
7900 + # files that make .init and .fini sections work.
7901 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7903 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7905 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7906 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
7907 + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7908 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7911 -AC_DEFUN(AM_LC_MESSAGES,
7912 - [if test $ac_cv_header_locale_h = yes; then
7913 - AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
7914 - [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
7915 - am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
7916 - if test $am_cv_val_LC_MESSAGES = yes; then
7917 - AC_DEFINE(HAVE_LC_MESSAGES)
7921 + case $host_vendor in
7923 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7924 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
7927 + ## LD is ld it makes a PLAMLIB
7928 + ## CC just makes a GrossModule.
7929 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7930 + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
7931 + _LT_AC_TAGVAR(hardcode_direct, $1)=no
7934 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7935 + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
7938 + runpath_var='LD_RUN_PATH'
7939 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7942 -# Do all the work for Automake. This macro actually does too much --
7943 -# some checks are only needed if your package does certain things.
7944 -# But this isn't really a big deal.
7946 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7947 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7948 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
7953 + if test -d /usr/nec; then
7954 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7955 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7956 + runpath_var=LD_RUN_PATH
7957 + hardcode_runpath_var=yes
7958 + _LT_AC_TAGVAR(ld_shlibs, $1)=yes
7963 -dnl AM_INIT_AUTOMAKE(package,version, [no-define])
7964 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
7965 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
7966 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7967 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7968 + runpath_var='LD_RUN_PATH'
7970 + if test "$GCC" = yes; then
7971 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7972 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7974 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7975 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7979 -AC_DEFUN(AM_INIT_AUTOMAKE,
7980 -[AC_REQUIRE([AC_PROG_INSTALL])
7985 -dnl test to see if srcdir already configured
7986 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
7987 - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
7990 -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
7991 -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
7992 -AC_REQUIRE([AM_SANITY_CHECK])
7993 -AC_REQUIRE([AC_ARG_PROGRAM])
7994 -dnl FIXME This is truly gross.
7995 -missing_dir=`cd $ac_aux_dir && pwd`
7996 -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
7997 -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
7998 -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
7999 -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
8000 -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
8001 -AC_REQUIRE([AC_PROG_MAKE_SET])])
8002 + sysv5* | sco3.2v5* | sco5v6*)
8003 + # Note: We can NOT use -z defs as we might desire, because we do not
8004 + # link with -lc, and that would cause any symbols used from libc to
8005 + # always be unresolved, which means just about no library would
8006 + # ever link correctly. If we're not using GNU ld we use -z text
8007 + # though, which does catch some bad symbols but isn't as heavy-handed
8009 + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
8010 + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
8011 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8012 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8013 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8014 + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
8015 + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
8016 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
8017 + runpath_var='LD_RUN_PATH'
8019 + if test "$GCC" = yes; then
8020 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8021 + _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'
8023 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8024 + _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'
8029 -# Check to make sure that the build environment is sane.
8032 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8033 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
8034 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
8037 -AC_DEFUN(AM_SANITY_CHECK,
8038 -[AC_MSG_CHECKING([whether build environment is sane])
8041 -echo timestamp > conftestfile
8042 -# Do `set' in a subshell so we don't clobber the current shell's
8043 -# arguments. Must try -L first in case configure is actually a
8044 -# symlink; some systems play weird games with the mod time of symlinks
8045 -# (eg FreeBSD returns the mod time of the symlink's containing
8048 - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
8049 - if test "[$]*" = "X"; then
8051 - set X `ls -t $srcdir/configure conftestfile`
8053 - if test "[$]*" != "X $srcdir/configure conftestfile" \
8054 - && test "[$]*" != "X conftestfile $srcdir/configure"; then
8056 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
8061 +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
8062 +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
8064 - # If neither matched, then we have a broken ls. This can happen
8065 - # if, for instance, CONFIG_SHELL is bash and it inherits a
8066 - # broken ls alias from the environment. This has actually
8067 - # happened. Such a system could not be considered "sane".
8068 - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
8069 -alias in your environment])
8072 +# Do we need to explicitly link libc?
8074 +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
8076 + # Assume -lc should be added
8077 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8079 + if test "$enable_shared" = yes && test "$GCC" = yes; then
8080 + case $_LT_AC_TAGVAR(archive_cmds, $1) in
8082 + # FIXME: we may have to deal with multi-command sequences.
8085 + # Test whether the compiler implicitly links with -lc since on some
8086 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
8087 + # to ld, don't add -lc before -lgcc.
8088 + AC_MSG_CHECKING([whether -lc should be explicitly linked in])
8090 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8092 + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
8095 + libobjs=conftest.$ac_objext
8097 + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
8098 + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
8104 + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
8105 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=
8106 + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
8108 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
8110 + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
8112 + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
8114 + cat conftest.err 1>&5
8117 + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
8123 +])# AC_LIBTOOL_PROG_LD_SHLIBS
8125 - test "[$]2" = conftestfile
8131 - AC_MSG_ERROR([newly created file is older than distributed files!
8132 -Check your system clock])
8135 -AC_MSG_RESULT(yes)])
8137 -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
8138 -dnl The program must properly implement --version.
8139 -AC_DEFUN(AM_MISSING_PROG,
8140 -[AC_MSG_CHECKING(for working $2)
8141 -# Run test in a subshell; some versions of sh will print an error if
8142 -# an executable is not found, even if stderr is redirected.
8143 -# Redirect stdin to placate older versions of autoconf. Sigh.
8144 -if ($2 --version) < /dev/null > /dev/null 2>&1; then
8146 - AC_MSG_RESULT(found)
8148 - $1="$3/missing $2"
8149 - AC_MSG_RESULT(missing)
8152 +# _LT_AC_FILE_LTDLL_C
8153 +# -------------------
8154 +# Be careful that the start marker always follows a newline.
8155 +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
8156 +# /* ltdll.c starts here */
8157 +# #define WIN32_LEAN_AND_MEAN
8158 +# #include <windows.h>
8159 +# #undef WIN32_LEAN_AND_MEAN
8160 +# #include <stdio.h>
8162 +# #ifndef __CYGWIN__
8163 +# # ifdef __CYGWIN32__
8164 +# # define __CYGWIN__ __CYGWIN32__
8168 +# #ifdef __cplusplus
8171 +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
8172 +# #ifdef __cplusplus
8176 +# #ifdef __CYGWIN__
8177 +# #include <cygwin/cygwin_dll.h>
8178 +# DECLARE_CYGWIN_DLL( DllMain );
8180 +# HINSTANCE __hDllInstance_base;
8183 +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
8185 +# __hDllInstance_base = hInst;
8188 +# /* ltdll.c ends here */
8189 +])# _LT_AC_FILE_LTDLL_C
8192 +# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
8193 +# ---------------------------------
8194 +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
8198 +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
8199 +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
8200 +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
8201 +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
8202 +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
8203 +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
8204 +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
8206 +# This is just to silence aclocal about the macro not being used
8207 +ifelse([AC_DISABLE_FAST_INSTALL])
8209 +AC_DEFUN([LT_AC_PROG_GCJ],
8210 +[AC_CHECK_TOOL(GCJ, gcj, no)
8211 + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
8212 + AC_SUBST(GCJFLAGS)
8215 -# Like AC_CONFIG_HEADER, but automatically create stamp file.
8216 +AC_DEFUN([LT_AC_PROG_RC],
8217 +[AC_CHECK_TOOL(RC, windres, no)
8220 -AC_DEFUN(AM_CONFIG_HEADER,
8222 -AC_CONFIG_HEADER([$1])
8223 -dnl When config.status generates a header, we must update the stamp-h file.
8224 -dnl This file resides in the same directory as the config header
8225 -dnl that is generated. We must strip everything past the first ":",
8226 -dnl and everything past the last "/".
8227 -AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
8228 -ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
8229 -<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
8231 -for am_file in <<$1>>; do
8232 - case " <<$>>CONFIG_HEADERS " in
8233 - *" <<$>>am_file "*<<)>>
8234 - echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
8237 - am_indx=`expr "<<$>>am_indx" + 1`
8239 -changequote([,]))])
8240 +# NOTE: This macro has been submitted for inclusion into #
8241 +# GNU Autoconf as AC_PROG_SED. When it is available in #
8242 +# a released version of Autoconf we should remove this #
8243 +# macro and use it instead. #
8246 +# Check for a fully-functional sed program, that truncates
8247 +# as few characters as possible. Prefer GNU sed if found.
8248 +AC_DEFUN([LT_AC_PROG_SED],
8249 +[AC_MSG_CHECKING([for a sed that does not truncate output])
8250 +AC_CACHE_VAL(lt_cv_path_SED,
8251 +[# Loop through the user's path and test for sed and gsed.
8252 +# Then use that list of sed's as ones to test for truncation.
8253 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8254 +for as_dir in $PATH
8257 + test -z "$as_dir" && as_dir=.
8258 + for lt_ac_prog in sed gsed; do
8259 + for ac_exec_ext in '' $ac_executable_extensions; do
8260 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
8261 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
8268 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
8269 +# along with /bin/sed that truncates output.
8270 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
8271 + test ! -f $lt_ac_sed && continue
8272 + cat /dev/null > conftest.in
8274 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
8275 + # Check for GNU sed and select it if it is found.
8276 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8277 + lt_cv_path_SED=$lt_ac_sed
8281 + cat conftest.in conftest.in >conftest.tmp
8282 + mv conftest.tmp conftest.in
8283 + cp conftest.in conftest.nl
8284 + echo >>conftest.nl
8285 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8286 + cmp -s conftest.out conftest.nl || break
8287 + # 10000 chars as input seems more than enough
8288 + test $lt_ac_count -gt 10 && break
8289 + lt_ac_count=`expr $lt_ac_count + 1`
8290 + if test $lt_ac_count -gt $lt_ac_max; then
8291 + lt_ac_max=$lt_ac_count
8292 + lt_cv_path_SED=$lt_ac_sed
8297 +SED=$lt_cv_path_SED
8298 +AC_MSG_RESULT([$SED])
8301 # Add --enable-maintainer-mode option to configure.
8306 -AC_DEFUN(AM_MAINTAINER_MODE,
8307 +AC_DEFUN([AM_MAINTAINER_MODE],
8308 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
8309 dnl maintainer-mode is disabled by default
8310 AC_ARG_ENABLE(maintainer-mode,
8311 @@ -962,7 +7844,7 @@
8313 # Define a conditional.
8315 -AC_DEFUN(AM_CONDITIONAL,
8316 +AC_DEFUN([AM_CONDITIONAL],
8320 @@ -991,7 +7873,7 @@
8321 # program @code{ansi2knr}, which comes with Ghostscript.
8324 -AC_DEFUN(AM_PROG_CC_STDC,
8325 +AC_DEFUN([AM_PROG_CC_STDC],
8326 [AC_REQUIRE([AC_PROG_CC])
8327 AC_BEFORE([$0], [AC_C_INLINE])
8328 AC_BEFORE([$0], [AC_C_CONST])
8329 @@ -1258,3 +8140,160 @@
8333 +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
8335 +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
8337 +# This program is free software; you can redistribute it and/or modify
8338 +# it under the terms of the GNU General Public License as published by
8339 +# the Free Software Foundation; either version 2 of the License, or
8340 +# (at your option) any later version.
8342 +# This program is distributed in the hope that it will be useful, but
8343 +# WITHOUT ANY WARRANTY; without even the implied warranty of
8344 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8345 +# General Public License for more details.
8347 +# You should have received a copy of the GNU General Public License
8348 +# along with this program; if not, write to the Free Software
8349 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8351 +# As a special exception to the GNU General Public License, if you
8352 +# distribute this file as part of a program that contains a
8353 +# configuration script generated by Autoconf, you may include it under
8354 +# the same distribution terms that you use for the rest of that program.
8356 +# PKG_PROG_PKG_CONFIG([MIN-VERSION])
8357 +# ----------------------------------
8358 +AC_DEFUN([PKG_PROG_PKG_CONFIG],
8359 +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
8360 +m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
8361 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
8362 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8363 + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
8365 +if test -n "$PKG_CONFIG"; then
8366 + _pkg_min_version=m4_default([$1], [0.9.0])
8367 + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
8368 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8369 + AC_MSG_RESULT([yes])
8371 + AC_MSG_RESULT([no])
8376 +])# PKG_PROG_PKG_CONFIG
8378 +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
8380 +# Check to see whether a particular set of modules exists. Similar
8381 +# to PKG_CHECK_MODULES(), but does not set variables or print errors.
8384 +# Similar to PKG_CHECK_MODULES, make sure that the first instance of
8385 +# this or PKG_CHECK_MODULES is called, or make sure to call
8386 +# PKG_CHECK_EXISTS manually
8387 +# --------------------------------------------------------------
8388 +AC_DEFUN([PKG_CHECK_EXISTS],
8389 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
8390 +if test -n "$PKG_CONFIG" && \
8391 + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
8392 + m4_ifval([$2], [$2], [:])
8393 +m4_ifvaln([$3], [else
8398 +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
8399 +# ---------------------------------------------
8400 +m4_define([_PKG_CONFIG],
8401 +[if test -n "$PKG_CONFIG"; then
8402 + if test -n "$$1"; then
8405 + PKG_CHECK_EXISTS([$3],
8406 + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
8410 + pkg_failed=untried
8414 +# _PKG_SHORT_ERRORS_SUPPORTED
8415 +# -----------------------------
8416 +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
8417 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
8418 +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8419 + _pkg_short_errors_supported=yes
8421 + _pkg_short_errors_supported=no
8423 +])# _PKG_SHORT_ERRORS_SUPPORTED
8426 +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
8427 +# [ACTION-IF-NOT-FOUND])
8430 +# Note that if there is a possibility the first call to
8431 +# PKG_CHECK_MODULES might not happen, you should be sure to include an
8432 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
8435 +# --------------------------------------------------------------
8436 +AC_DEFUN([PKG_CHECK_MODULES],
8437 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
8438 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
8439 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
8442 +AC_MSG_CHECKING([for $1])
8444 +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
8445 +_PKG_CONFIG([$1][_LIBS], [libs], [$2])
8447 +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
8448 +and $1[]_LIBS to avoid the need to call pkg-config.
8449 +See the pkg-config man page for more details.])
8451 +if test $pkg_failed = yes; then
8452 + _PKG_SHORT_ERRORS_SUPPORTED
8453 + if test $_pkg_short_errors_supported = yes; then
8454 + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
8456 + $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
8458 + # Put the nasty error message in config.log where it belongs
8459 + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
8461 + ifelse([$4], , [AC_MSG_ERROR(dnl
8462 +[Package requirements ($2) were not met:
8466 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
8467 +installed software in a non-standard prefix.
8472 +elif test $pkg_failed = untried; then
8473 + ifelse([$4], , [AC_MSG_FAILURE(dnl
8474 +[The pkg-config script could not be found or is too old. Make sure it
8475 +is in your PATH or set the PKG_CONFIG environment variable to the full
8476 +path to pkg-config.
8480 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
8483 + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
8484 + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
8485 + AC_MSG_RESULT([yes])
8486 + ifelse([$3], , :, [$3])
8488 +])# PKG_CHECK_MODULES
8490 diff -urN gtk+-1.2.10.orig/config.h.in gtk+-1.2.10/config.h.in
8491 --- gtk+-1.2.10.orig/config.h.in 2001-02-27 00:49:58.000000000 -0700
8492 +++ gtk+-1.2.10/config.h.in 2006-07-09 02:29:44.000000000 -0600
8494 -/* config.h.in. Generated automatically from configure.in by autoheader. */
8495 +/* config.h.in. Generated from configure.in by autoheader. */
8497 + This file is in the public domain.
8499 + Descriptive text for the C preprocessor macros that
8500 + the distributed Autoconf macros can define.
8501 + No software package will use all of them; autoheader copies the ones
8502 + your configure.in uses into your configuration header file templates.
8504 + The entries are in sort -df order: alphabetical, case insensitive,
8505 + ignoring punctuation (such as underscores). Although this order
8506 + can split up related entries, it makes it easier to check whether
8507 + a given entry is in the file.
8509 -/* Define if using alloca.c. */
8512 -/* Define to empty if the keyword does not work. */
8515 -/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
8516 - This function is required for alloca.c support on those systems. */
8517 -#undef CRAY_STACKSEG_END
8519 -/* Define to `int' if <sys/types.h> doesn't define. */
8522 -/* Define if you have alloca, as a function or macro. */
8525 -/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
8526 -#undef HAVE_ALLOCA_H
8528 -/* Define if you have a working `mmap' system call. */
8531 -/* Define as __inline if that's what the C compiler calls it. */
8534 -/* Define to `long' if <sys/types.h> doesn't define. */
8537 -/* Define if you need to in order for stat and other things to work. */
8538 -#undef _POSIX_SOURCE
8540 -/* Define as the return type of signal handlers (int or void). */
8543 -/* Define to `unsigned' if <sys/types.h> doesn't define. */
8546 -/* If using the C implementation of alloca, define if you know the
8547 - direction of stack growth for your system; otherwise it will be
8548 - automatically deduced at run-time.
8549 - STACK_DIRECTION > 0 => grows toward higher addresses
8550 - STACK_DIRECTION < 0 => grows toward lower addresses
8551 - STACK_DIRECTION = 0 => direction of growth unknown
8553 -#undef STACK_DIRECTION
8555 -/* Define if you have the ANSI C header files. */
8556 -#undef STDC_HEADERS
8558 -/* Define to `int' if <sys/types.h> doesn't define. */
8561 -/* Define if the X Window System is missing or not being used. */
8562 -#undef X_DISPLAY_MISSING
8563 + Leave the following blank line there!! Autoheader needs it. */
8572 +#undef RESOURCE_BASE
8574 /* Define to use X11R6 additions to XIM */
8575 #undef USE_X11R6_XIM
8577 @@ -86,77 +48,122 @@
8578 /* Define as the return type of signal handlers (int or void). */
8581 -/* Define if you have the __argz_count function. */
8582 -#undef HAVE___ARGZ_COUNT
8583 +/* Most machines will be happy with int or void. IRIX requires '...' */
8584 +#undef SIGNAL_ARG_TYPE
8586 -/* Define if you have the __argz_next function. */
8587 -#undef HAVE___ARGZ_NEXT
8588 +/* #undef PACKAGE */
8589 +/* #undef VERSION */
8591 -/* Define if you have the __argz_stringify function. */
8592 -#undef HAVE___ARGZ_STRINGIFY
8594 +/* Leave that blank line there!! Autoheader needs it.
8595 + If you're adding to this file, keep in mind:
8596 + The entries are in sort -df order: alphabetical, case insensitive,
8597 + ignoring punctuation (such as underscores). */
8599 +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
8600 + systems. This function is required for `alloca.c' support on those systems.
8602 +#undef CRAY_STACKSEG_END
8604 +/* Define to 1 if using `alloca.c'. */
8607 +/* Define to 1 if you have `alloca', as a function or macro. */
8610 -/* Define if you have the dcgettext function. */
8611 +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
8613 +#undef HAVE_ALLOCA_H
8615 +/* Define to 1 if you have the <argz.h> header file. */
8618 +/* Define if the wctype function is broken */
8619 +#undef HAVE_BROKEN_WCTYPE
8621 +/* Define to 1 if you have the `dcgettext' function. */
8622 #undef HAVE_DCGETTEXT
8624 -/* Define if you have the getcwd function. */
8625 +/* Define to 1 if you have the `getcwd' function. */
8628 -/* Define if you have the getpagesize function. */
8629 +/* Define to 1 if you have the `getpagesize' function. */
8630 #undef HAVE_GETPAGESIZE
8632 -/* Define if you have the getresuid function. */
8633 +/* Define to 1 if you have the `getresuid' function. */
8634 #undef HAVE_GETRESUID
8636 -/* Define if you have the munmap function. */
8637 +/* Define to 1 if you have the <inttypes.h> header file. */
8638 +#undef HAVE_INTTYPES_H
8640 +/* Define to 1 if you have the `i' library (-li). */
8643 +/* Define to 1 if you have the <limits.h> header file. */
8644 +#undef HAVE_LIMITS_H
8646 +/* Define to 1 if you have the <locale.h> header file. */
8647 +#undef HAVE_LOCALE_H
8649 +/* Define to 1 if you have the <malloc.h> header file. */
8650 +#undef HAVE_MALLOC_H
8652 +/* Define to 1 if you have the <memory.h> header file. */
8653 +#undef HAVE_MEMORY_H
8655 +/* Define to 1 if you have a working `mmap' system call. */
8658 +/* Define to 1 if you have the `munmap' function. */
8661 -/* Define if you have the putenv function. */
8662 +/* Define to 1 if you have the <nl_types.h> header file. */
8663 +#undef HAVE_NL_TYPES_H
8665 +/* Define to 1 if you have the `putenv' function. */
8668 -/* Define if you have the setenv function. */
8669 +/* Define to 1 if you have the `setenv' function. */
8672 -/* Define if you have the setlocale function. */
8673 +/* Define to 1 if you have the `setlocale' function. */
8674 #undef HAVE_SETLOCALE
8676 -/* Define if you have the stpcpy function. */
8677 +/* Define to 1 if you have the <stdint.h> header file. */
8678 +#undef HAVE_STDINT_H
8680 +/* Define to 1 if you have the <stdlib.h> header file. */
8681 +#undef HAVE_STDLIB_H
8683 +/* Define to 1 if you have the `stpcpy' function. */
8686 -/* Define if you have the strcasecmp function. */
8687 +/* Define to 1 if you have the `strcasecmp' function. */
8688 #undef HAVE_STRCASECMP
8690 -/* Define if you have the strchr function. */
8691 +/* Define to 1 if you have the `strchr' function. */
8694 -/* Define if you have the strdup function. */
8695 +/* Define to 1 if you have the `strdup' function. */
8698 -/* Define if you have the <argz.h> header file. */
8701 -/* Define if you have the <limits.h> header file. */
8702 -#undef HAVE_LIMITS_H
8703 +/* Define to 1 if you have the <strings.h> header file. */
8704 +#undef HAVE_STRINGS_H
8706 -/* Define if you have the <locale.h> header file. */
8707 -#undef HAVE_LOCALE_H
8709 -/* Define if you have the <malloc.h> header file. */
8710 -#undef HAVE_MALLOC_H
8712 -/* Define if you have the <nl_types.h> header file. */
8713 -#undef HAVE_NL_TYPES_H
8715 -/* Define if you have the <string.h> header file. */
8716 +/* Define to 1 if you have the <string.h> header file. */
8717 #undef HAVE_STRING_H
8719 -/* Define if you have the <sys/param.h> header file. */
8720 +/* Define to 1 if you have the <sys/param.h> header file. */
8721 #undef HAVE_SYS_PARAM_H
8723 -/* Define if you have the <unistd.h> header file. */
8724 -#undef HAVE_UNISTD_H
8725 +/* Define to 1 if you have the <sys/stat.h> header file. */
8726 +#undef HAVE_SYS_STAT_H
8728 -/* Define if you have the i library (-li). */
8730 +/* Define to 1 if you have the <sys/types.h> header file. */
8731 +#undef HAVE_SYS_TYPES_H
8733 +/* Define to 1 if you have the <unistd.h> header file. */
8734 +#undef HAVE_UNISTD_H
8736 /* Define if wchar.h exists */
8738 @@ -164,6 +171,70 @@
8739 /* Define if wctype.h exists */
8740 #undef HAVE_WCTYPE_H
8742 -/* Define if the wctype function is broken */
8743 -#undef HAVE_BROKEN_WCTYPE
8744 +/* Define to 1 if you have the `__argz_count' function. */
8745 +#undef HAVE___ARGZ_COUNT
8747 +/* Define to 1 if you have the `__argz_next' function. */
8748 +#undef HAVE___ARGZ_NEXT
8750 +/* Define to 1 if you have the `__argz_stringify' function. */
8751 +#undef HAVE___ARGZ_STRINGIFY
8753 +/* Name of package */
8756 +/* Define to the address where bug reports for this package should be sent. */
8757 +#undef PACKAGE_BUGREPORT
8759 +/* Define to the full name of this package. */
8760 +#undef PACKAGE_NAME
8762 +/* Define to the full name and version of this package. */
8763 +#undef PACKAGE_STRING
8765 +/* Define to the one symbol short name of this package. */
8766 +#undef PACKAGE_TARNAME
8768 +/* Define to the version of this package. */
8769 +#undef PACKAGE_VERSION
8771 +/* Define as the return type of signal handlers (`int' or `void'). */
8774 +/* If using the C implementation of alloca, define if you know the
8775 + direction of stack growth for your system; otherwise it will be
8776 + automatically deduced at run-time.
8777 + STACK_DIRECTION > 0 => grows toward higher addresses
8778 + STACK_DIRECTION < 0 => grows toward lower addresses
8779 + STACK_DIRECTION = 0 => direction of growth unknown */
8780 +#undef STACK_DIRECTION
8782 +/* Define to 1 if you have the ANSI C header files. */
8783 +#undef STDC_HEADERS
8785 +/* Version number of package */
8788 +/* Define to 1 if the X Window System is missing or not being used. */
8789 +#undef X_DISPLAY_MISSING
8791 +/* Define to empty if `const' does not conform to ANSI C. */
8794 +/* Define to `int' if <sys/types.h> doesn't define. */
8797 +/* Define to `__inline__' or `__inline' if that's what the C compiler
8798 + calls it, or to nothing if 'inline' is not supported under any name. */
8799 +#ifndef __cplusplus
8803 +/* Define to `long' if <sys/types.h> does not define. */
8806 +/* Define to `unsigned' if <sys/types.h> does not define. */
8809 +/* Define to `int' if <sys/types.h> doesn't define. */
8811 diff -urN gtk+-1.2.10.orig/configure gtk+-1.2.10/configure
8812 --- gtk+-1.2.10.orig/configure 2001-03-28 14:11:45.000000000 -0700
8813 +++ gtk+-1.2.10/configure 2006-07-09 02:29:47.000000000 -0600
8817 # Guess values for system-dependent variables and create Makefiles.
8818 -# Generated automatically using autoconf version 2.13
8819 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
8820 +# Generated by GNU Autoconf 2.59.
8822 +# Copyright (C) 2003 Free Software Foundation, Inc.
8823 # This configure script is free software; the Free Software Foundation
8824 # gives unlimited permission to copy, distribute and modify it.
8825 +## --------------------- ##
8826 +## M4sh Initialization. ##
8827 +## --------------------- ##
8829 +# Be Bourne compatible
8830 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8833 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8834 + # is contrary to our usage. Disable this feature.
8835 + alias -g '${1+"$@"}'='"$@"'
8836 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8839 +DUALCASE=1; export DUALCASE # for MKS sh
8841 +# Support unset when possible.
8842 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8849 +# Work around bugs in pre-3.0 UWIN ksh.
8850 +$as_unset ENV MAIL MAILPATH
8857 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8858 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8859 + LC_TELEPHONE LC_TIME
8861 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8862 + eval $as_var=C; export $as_var
8868 +# Required to use basename.
8869 +if expr a : '\(a\)' >/dev/null 2>&1; then
8875 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8876 + as_basename=basename
8882 +# Name of the executable.
8883 +as_me=`$as_basename "$0" ||
8884 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8885 + X"$0" : 'X\(//\)$' \| \
8886 + X"$0" : 'X\(/\)$' \| \
8887 + . : '\(.\)' 2>/dev/null ||
8889 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8890 + /^X\/\(\/\/\)$/{ s//\1/; q; }
8891 + /^X\/\(\/\).*/{ s//\1/; q; }
8895 +# PATH needs CR, and LINENO needs CR and PATH.
8896 +# Avoid depending upon Character Ranges.
8897 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8898 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8899 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8900 +as_cr_digits='0123456789'
8901 +as_cr_alnum=$as_cr_Letters$as_cr_digits
8903 +# The user is always right.
8904 +if test "${PATH_SEPARATOR+set}" != set; then
8905 + echo "#! /bin/sh" >conf$$.sh
8906 + echo "exit 0" >>conf$$.sh
8907 + chmod +x conf$$.sh
8908 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8909 + PATH_SEPARATOR=';'
8917 + as_lineno_1=$LINENO
8918 + as_lineno_2=$LINENO
8919 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8920 + test "x$as_lineno_1" != "x$as_lineno_2" &&
8921 + test "x$as_lineno_3" = "x$as_lineno_2" || {
8922 + # Find who we are. Look in the path if we contain no path at all
8923 + # relative or not.
8925 + *[\\/]* ) as_myself=$0 ;;
8926 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8927 +for as_dir in $PATH
8930 + test -z "$as_dir" && as_dir=.
8931 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8936 + # We did not find ourselves, most probably we were run as `sh COMMAND'
8937 + # in which case we are not to be found in the path.
8938 + if test "x$as_myself" = x; then
8941 + if test ! -f "$as_myself"; then
8942 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
8943 + { (exit 1); exit 1; }; }
8945 + case $CONFIG_SHELL in
8947 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8948 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8951 + test -z "$as_dir" && as_dir=.
8952 + for as_base in sh bash ksh sh5; do
8955 + if ("$as_dir/$as_base" -c '
8956 + as_lineno_1=$LINENO
8957 + as_lineno_2=$LINENO
8958 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8959 + test "x$as_lineno_1" != "x$as_lineno_2" &&
8960 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
8961 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8962 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8963 + CONFIG_SHELL=$as_dir/$as_base
8964 + export CONFIG_SHELL
8965 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8973 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8974 + # uniformly replaced by the line number. The first 'sed' inserts a
8975 + # line-number line before each line; the second 'sed' does the real
8976 + # work. The second script uses 'N' to pair each line-number line
8977 + # with the numbered line, and appends trailing '-' during
8978 + # substitution so that $LINENO is not a special case at line end.
8979 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8980 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8981 + sed '=' <$as_myself |
8986 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8989 + s,^['$as_cr_digits']*\n,,
8990 + ' >$as_me.lineno &&
8991 + chmod +x $as_me.lineno ||
8992 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8993 + { (exit 1); exit 1; }; }
8995 + # Don't try to exec as it changes $[0], causing all sort of problems
8996 + # (the dirname of $[0] is not the place where we might find the
8997 + # original and so on. Autoconf is especially sensible to this).
8999 + # Exit status is that of the last command.
9004 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9005 + *c*,-n*) ECHO_N= ECHO_C='
9007 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9008 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
9011 +if expr a : '\(a\)' >/dev/null 2>&1; then
9017 +rm -f conf$$ conf$$.exe conf$$.file
9019 +if ln -s conf$$.file conf$$ 2>/dev/null; then
9020 + # We could just check for DJGPP; but this test a) works b) is more generic
9021 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9022 + if test -f conf$$.exe; then
9023 + # Don't use ln at all; we don't have any links
9028 +elif ln conf$$.file conf$$ 2>/dev/null; then
9033 +rm -f conf$$ conf$$.exe conf$$.file
9035 +if mkdir -p . 2>/dev/null; then
9038 + test -d ./-p && rmdir ./-p
9042 +as_executable_p="test -f"
9044 +# Sed expression to map a string onto a valid CPP name.
9045 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9047 +# Sed expression to map a string onto a valid variable name.
9048 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9052 +# We need space, tab and new line, in precisely that order.
9062 -ac_default_prefix=/usr/local
9063 -# Any additions from configure.in:
9066 # GTK_MICRO_VERSION += 1;
9067 @@ -26,66 +255,246 @@
9070 GTK_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$GTK_MICRO_VERSION
9072 - --enable-shared[=PKGS] build shared libraries [default=yes]"
9074 - --enable-static[=PKGS] build static libraries [default=yes]"
9076 - --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
9078 - --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
9080 - --disable-libtool-lock avoid locking (might break parallel builds)"
9082 - --enable-maintainer-mode enable make rules and dependencies not useful
9083 - (and sometimes confusing) to the casual installer"
9086 +# Check that we are running under the correct shell.
9087 +SHELL=${CONFIG_SHELL-/bin/sh}
9091 + # Remove one level of quotation (which was required for Make).
9092 + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
9097 +if test "X$1" = X--no-reexec; then
9098 + # Discard the --no-reexec flag, and continue.
9100 +elif test "X$1" = X--fallback-echo; then
9101 + # Avoid inline document here, it may be left over
9103 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
9104 + # Yippee, $echo works!
9107 + # Restart under the correct shell.
9108 + exec $SHELL "$0" --no-reexec ${1+"$@"}
9111 +if test "X$1" = X--fallback-echo; then
9112 + # used as fallback echo
9120 +# The HP-UX ksh and POSIX shell print the target directory to stdout
9121 +# if CDPATH is set.
9122 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9124 +if test -z "$ECHO"; then
9125 +if test "X${echo_test_string+set}" != Xset; then
9126 +# find a string as large as possible, as long as the shell can cope with it
9127 + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
9128 + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
9129 + if (echo_test_string=`eval $cmd`) 2>/dev/null &&
9130 + echo_test_string=`eval $cmd` &&
9131 + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
9138 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
9139 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
9140 + test "X$echo_testing_string" = "X$echo_test_string"; then
9143 + # The Solaris, AIX, and Digital Unix default echo programs unquote
9144 + # backslashes. This makes it impossible to quote backslashes using
9145 + # echo "$something" | sed 's/\\/\\\\/g'
9147 + # So, first we look for a working echo in the user's PATH.
9149 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9150 + for dir in $PATH /usr/ucb; do
9151 + IFS="$lt_save_ifs"
9152 + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
9153 + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
9154 + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
9155 + test "X$echo_testing_string" = "X$echo_test_string"; then
9160 + IFS="$lt_save_ifs"
9162 + if test "X$echo" = Xecho; then
9163 + # We didn't find a better echo, so look for alternatives.
9164 + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
9165 + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
9166 + test "X$echo_testing_string" = "X$echo_test_string"; then
9167 + # This shell has a builtin print -r that does the trick.
9169 + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
9170 + test "X$CONFIG_SHELL" != X/bin/ksh; then
9171 + # If we have ksh, try running configure again with it.
9172 + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
9173 + export ORIGINAL_CONFIG_SHELL
9174 + CONFIG_SHELL=/bin/ksh
9175 + export CONFIG_SHELL
9176 + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
9178 + # Try using printf.
9179 + echo='printf %s\n'
9180 + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
9181 + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
9182 + test "X$echo_testing_string" = "X$echo_test_string"; then
9183 + # Cool, printf works
9185 + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
9186 + test "X$echo_testing_string" = 'X\t' &&
9187 + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
9188 + test "X$echo_testing_string" = "X$echo_test_string"; then
9189 + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
9190 + export CONFIG_SHELL
9191 + SHELL="$CONFIG_SHELL"
9193 + echo="$CONFIG_SHELL $0 --fallback-echo"
9194 + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
9195 + test "X$echo_testing_string" = 'X\t' &&
9196 + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
9197 + test "X$echo_testing_string" = "X$echo_test_string"; then
9198 + echo="$CONFIG_SHELL $0 --fallback-echo"
9200 + # maybe with a smaller string...
9203 + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
9204 + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
9211 + if test "$prev" != 'sed 50q "$0"'; then
9212 + echo_test_string=`eval $prev`
9213 + export echo_test_string
9214 + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
9216 + # Oops. We lost completely, so just stick with echo.
9225 +# Copy echo and quote the copy suitably for passing to libtool from
9226 +# the Makefile, instead of quoting the original, which is used later.
9228 +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
9229 + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
9235 +tagnames=${tagnames+${tagnames},}CXX
9237 +tagnames=${tagnames+${tagnames},}F77
9239 if test `expr $GTK_MINOR_VERSION \% 2` = 1 ; then
9242 debug_default=minimum
9245 - --enable-debug=[no/minimum/yes] turn on debugging [default=$debug_default]"
9247 - --enable-shm support shared memory if available [default=yes]"
9249 - --enable-ansi turn on strict ansi [default=no]"
9251 - --with-glib=DIR Use uninstalled copy of glib"
9253 - --enable-xim support XIM [default=yes]"
9255 - --disable-xim-inst does not use xim instantiate callback"
9257 - --disable-rebuilds disable all source autogeneration rules"
9259 - --with-locale=LOCALE locale name you want to use "
9261 - --with-xinput=[no/gxi/xfree] support XInput "
9263 - --with-native-locale=[yes/no] Use native locale support [default=no]"
9265 - --disable-nls do not use Native Language Support"
9267 - --with-catgets use catgets functions if available"
9269 - --with-glib-prefix=PFX Prefix where GLIB is installed (optional)"
9271 - --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)"
9273 - --disable-glibtest Do not try to compile and run a test GLIB program"
9275 - --with-x use the X Window System"
9277 +# Name of the host.
9278 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
9279 +# so uname gets run too.
9280 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
9287 +ac_default_prefix=/usr/local
9288 +ac_config_libobj_dir=.
9293 +SHELL=${CONFIG_SHELL-/bin/sh}
9295 +# Maximum number of lines to put in a shell here document.
9296 +# This variable seems obsolete. It should probably be removed, and
9297 +# only ac_max_sed_lines should be used.
9298 +: ${ac_max_here_lines=38}
9300 +# Identity of this package.
9307 +ac_unique_file="gdk/gdktypes.h"
9308 +# Factoring default headers for most tests.
9309 +ac_includes_default="\
9311 +#if HAVE_SYS_TYPES_H
9312 +# include <sys/types.h>
9314 +#if HAVE_SYS_STAT_H
9315 +# include <sys/stat.h>
9318 +# include <stdlib.h>
9319 +# include <stddef.h>
9322 +# include <stdlib.h>
9326 +# if !STDC_HEADERS && HAVE_MEMORY_H
9327 +# include <memory.h>
9329 +# include <string.h>
9332 +# include <strings.h>
9334 +#if HAVE_INTTYPES_H
9335 +# include <inttypes.h>
9338 +# include <stdint.h>
9342 +# include <unistd.h>
9345 +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 GTK_MAJOR_VERSION GTK_MINOR_VERSION GTK_MICRO_VERSION GTK_INTERFACE_AGE GTK_BINARY_AGE GTK_VERSION LT_RELEASE LT_CURRENT LT_REVISION LT_AGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT AWK PERL INDENT REBUILD STRIP_DUMMY STRIP_BEGIN STRIP_END ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT GENCAT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l gtklocaledir GLIB_CONFIG GLIB_CFLAGS GLIB_LIBS glib_cflags glib_libs glib_thread_cflags glib_thread_libs GLIB_DEPLIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PKG_CONFIG ac_pt_PKG_CONFIG x_cflags x_includes x_ldflags x_libs xinput_progs GDK_WLIBS GTK_DEBUG_FLAGS GTK_XIM_FLAGS GTK_LOCALE_FLAGS LIBOBJS LTLIBOBJS'
9348 # Initialize some variables set by options.
9350 +ac_init_version=false
9351 # The variables have the same names as the options, with
9352 # dashes changed to underlines.
9354 -cache_file=./config.cache
9355 +cache_file=/dev/null
9363 @@ -94,10 +503,15 @@
9372 +# Installation directory options.
9373 +# These are left unexpanded so users can "make install exec_prefix=/foo"
9374 +# and all the variables that are supposed to be based on exec_prefix
9375 +# by default will actually change.
9376 +# Use braces instead of parens because sh, perl, etc. also accept them.
9377 bindir='${exec_prefix}/bin'
9378 sbindir='${exec_prefix}/sbin'
9379 libexecdir='${exec_prefix}/libexec'
9380 @@ -111,17 +525,9 @@
9381 infodir='${prefix}/info'
9382 mandir='${prefix}/man'
9384 -# Initialize some other variables.
9387 -SHELL=${CONFIG_SHELL-/bin/sh}
9388 -# Maximum number of lines to put in a shell here document.
9389 -ac_max_here_lines=12
9395 # If the previous option needs an argument, assign it.
9396 if test -n "$ac_prev"; then
9397 eval "$ac_prev=\$ac_option"
9398 @@ -129,59 +535,59 @@
9402 - case "$ac_option" in
9403 - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
9406 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
9408 # Accept the important Cygnus configure options, so we can diagnose typos.
9410 - case "$ac_option" in
9411 + case $ac_option in
9413 -bindir | --bindir | --bindi | --bind | --bin | --bi)
9415 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
9416 - bindir="$ac_optarg" ;;
9417 + bindir=$ac_optarg ;;
9419 -build | --build | --buil | --bui | --bu)
9421 + ac_prev=build_alias ;;
9422 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
9423 - build="$ac_optarg" ;;
9424 + build_alias=$ac_optarg ;;
9426 -cache-file | --cache-file | --cache-fil | --cache-fi \
9427 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
9428 ac_prev=cache_file ;;
9429 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
9430 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
9431 - cache_file="$ac_optarg" ;;
9432 + cache_file=$ac_optarg ;;
9434 + --config-cache | -C)
9435 + cache_file=config.cache ;;
9437 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
9439 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
9441 - datadir="$ac_optarg" ;;
9442 + datadir=$ac_optarg ;;
9444 -disable-* | --disable-*)
9445 - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
9446 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
9447 # Reject names that are not valid shell variable names.
9448 - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
9449 - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
9451 - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
9452 - eval "enable_${ac_feature}=no" ;;
9453 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9454 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
9455 + { (exit 1); exit 1; }; }
9456 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
9457 + eval "enable_$ac_feature=no" ;;
9459 -enable-* | --enable-*)
9460 - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
9461 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
9462 # Reject names that are not valid shell variable names.
9463 - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
9464 - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
9466 - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
9467 - case "$ac_option" in
9469 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9470 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
9471 + { (exit 1); exit 1; }; }
9472 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
9473 + case $ac_option in
9474 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
9477 - eval "enable_${ac_feature}='$ac_optarg'" ;;
9478 + eval "enable_$ac_feature='$ac_optarg'" ;;
9480 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
9481 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
9482 @@ -190,95 +596,47 @@
9483 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
9484 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
9485 | --exec=* | --exe=* | --ex=*)
9486 - exec_prefix="$ac_optarg" ;;
9487 + exec_prefix=$ac_optarg ;;
9489 -gas | --gas | --ga | --g)
9490 # Obsolete; use --with-gas.
9493 - -help | --help | --hel | --he)
9494 - # Omit some internal or obsolete options to make the list less imposing.
9495 - # This message is too long to be a string in the A/UX 3.1 sh.
9497 -Usage: configure [options] [host]
9498 -Options: [defaults in brackets after descriptions]
9500 - --cache-file=FILE cache test results in FILE
9501 - --help print this message
9502 - --no-create do not create output files
9503 - --quiet, --silent do not print \`checking...' messages
9504 - --version print the version of autoconf that created configure
9505 -Directory and file names:
9506 - --prefix=PREFIX install architecture-independent files in PREFIX
9507 - [$ac_default_prefix]
9508 - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
9510 - --bindir=DIR user executables in DIR [EPREFIX/bin]
9511 - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
9512 - --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
9513 - --datadir=DIR read-only architecture-independent data in DIR
9515 - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
9516 - --sharedstatedir=DIR modifiable architecture-independent data in DIR
9518 - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
9519 - --libdir=DIR object code libraries in DIR [EPREFIX/lib]
9520 - --includedir=DIR C header files in DIR [PREFIX/include]
9521 - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
9522 - --infodir=DIR info documentation in DIR [PREFIX/info]
9523 - --mandir=DIR man documentation in DIR [PREFIX/man]
9524 - --srcdir=DIR find the sources in DIR [configure dir or ..]
9525 - --program-prefix=PREFIX prepend PREFIX to installed program names
9526 - --program-suffix=SUFFIX append SUFFIX to installed program names
9527 - --program-transform-name=PROGRAM
9528 - run sed PROGRAM on installed program names
9532 - --build=BUILD configure for building on BUILD [BUILD=HOST]
9533 - --host=HOST configure for HOST [guessed]
9534 - --target=TARGET configure for TARGET [TARGET=HOST]
9535 -Features and packages:
9536 - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
9537 - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
9538 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
9539 - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
9540 - --x-includes=DIR X include files are in DIR
9541 - --x-libraries=DIR X library files are in DIR
9543 - if test -n "$ac_help"; then
9544 - echo "--enable and --with options recognized:$ac_help"
9547 + -help | --help | --hel | --he | -h)
9548 + ac_init_help=long ;;
9549 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
9550 + ac_init_help=recursive ;;
9551 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
9552 + ac_init_help=short ;;
9554 -host | --host | --hos | --ho)
9556 + ac_prev=host_alias ;;
9557 -host=* | --host=* | --hos=* | --ho=*)
9558 - host="$ac_optarg" ;;
9559 + host_alias=$ac_optarg ;;
9561 -includedir | --includedir | --includedi | --included | --include \
9562 | --includ | --inclu | --incl | --inc)
9563 ac_prev=includedir ;;
9564 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
9565 | --includ=* | --inclu=* | --incl=* | --inc=*)
9566 - includedir="$ac_optarg" ;;
9567 + includedir=$ac_optarg ;;
9569 -infodir | --infodir | --infodi | --infod | --info | --inf)
9571 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
9572 - infodir="$ac_optarg" ;;
9573 + infodir=$ac_optarg ;;
9575 -libdir | --libdir | --libdi | --libd)
9577 -libdir=* | --libdir=* | --libdi=* | --libd=*)
9578 - libdir="$ac_optarg" ;;
9579 + libdir=$ac_optarg ;;
9581 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
9582 | --libexe | --libex | --libe)
9583 ac_prev=libexecdir ;;
9584 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
9585 | --libexe=* | --libex=* | --libe=*)
9586 - libexecdir="$ac_optarg" ;;
9587 + libexecdir=$ac_optarg ;;
9589 -localstatedir | --localstatedir | --localstatedi | --localstated \
9590 | --localstate | --localstat | --localsta | --localst \
9591 @@ -287,19 +645,19 @@
9592 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
9593 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
9594 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
9595 - localstatedir="$ac_optarg" ;;
9596 + localstatedir=$ac_optarg ;;
9598 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
9600 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
9601 - mandir="$ac_optarg" ;;
9602 + mandir=$ac_optarg ;;
9604 -nfp | --nfp | --nf)
9605 # Obsolete; use --without-fp.
9608 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9609 - | --no-cr | --no-c)
9610 + | --no-cr | --no-c | -n)
9613 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9614 @@ -313,26 +671,26 @@
9615 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
9616 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
9617 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
9618 - oldincludedir="$ac_optarg" ;;
9619 + oldincludedir=$ac_optarg ;;
9621 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
9623 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9624 - prefix="$ac_optarg" ;;
9625 + prefix=$ac_optarg ;;
9627 -program-prefix | --program-prefix | --program-prefi | --program-pref \
9628 | --program-pre | --program-pr | --program-p)
9629 ac_prev=program_prefix ;;
9630 -program-prefix=* | --program-prefix=* | --program-prefi=* \
9631 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
9632 - program_prefix="$ac_optarg" ;;
9633 + program_prefix=$ac_optarg ;;
9635 -program-suffix | --program-suffix | --program-suffi | --program-suff \
9636 | --program-suf | --program-su | --program-s)
9637 ac_prev=program_suffix ;;
9638 -program-suffix=* | --program-suffix=* | --program-suffi=* \
9639 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
9640 - program_suffix="$ac_optarg" ;;
9641 + program_suffix=$ac_optarg ;;
9643 -program-transform-name | --program-transform-name \
9644 | --program-transform-nam | --program-transform-na \
9646 | --program-transfo=* | --program-transf=* \
9647 | --program-trans=* | --program-tran=* \
9648 | --progr-tra=* | --program-tr=* | --program-t=*)
9649 - program_transform_name="$ac_optarg" ;;
9650 + program_transform_name=$ac_optarg ;;
9652 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9653 | -silent | --silent | --silen | --sile | --sil)
9656 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
9658 - sbindir="$ac_optarg" ;;
9659 + sbindir=$ac_optarg ;;
9661 -sharedstatedir | --sharedstatedir | --sharedstatedi \
9662 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
9663 @@ -370,58 +728,57 @@
9664 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
9665 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
9667 - sharedstatedir="$ac_optarg" ;;
9668 + sharedstatedir=$ac_optarg ;;
9670 -site | --site | --sit)
9672 -site=* | --site=* | --sit=*)
9673 - site="$ac_optarg" ;;
9674 + site=$ac_optarg ;;
9676 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
9678 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
9679 - srcdir="$ac_optarg" ;;
9680 + srcdir=$ac_optarg ;;
9682 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
9683 | --syscon | --sysco | --sysc | --sys | --sy)
9684 ac_prev=sysconfdir ;;
9685 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
9686 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
9687 - sysconfdir="$ac_optarg" ;;
9688 + sysconfdir=$ac_optarg ;;
9690 -target | --target | --targe | --targ | --tar | --ta | --t)
9692 + ac_prev=target_alias ;;
9693 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
9694 - target="$ac_optarg" ;;
9695 + target_alias=$ac_optarg ;;
9697 -v | -verbose | --verbose | --verbos | --verbo | --verb)
9700 - -version | --version | --versio | --versi | --vers)
9701 - echo "configure generated by autoconf version 2.13"
9703 + -version | --version | --versio | --versi | --vers | -V)
9704 + ac_init_version=: ;;
9707 - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
9708 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
9709 # Reject names that are not valid shell variable names.
9710 - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
9711 - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
9713 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9714 + { echo "$as_me: error: invalid package name: $ac_package" >&2
9715 + { (exit 1); exit 1; }; }
9716 ac_package=`echo $ac_package| sed 's/-/_/g'`
9717 - case "$ac_option" in
9719 + case $ac_option in
9720 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
9723 - eval "with_${ac_package}='$ac_optarg'" ;;
9724 + eval "with_$ac_package='$ac_optarg'" ;;
9726 -without-* | --without-*)
9727 - ac_package=`echo $ac_option|sed -e 's/-*without-//'`
9728 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
9729 # Reject names that are not valid shell variable names.
9730 - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
9731 - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
9733 - ac_package=`echo $ac_package| sed 's/-/_/g'`
9734 - eval "with_${ac_package}=no" ;;
9735 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9736 + { echo "$as_me: error: invalid package name: $ac_package" >&2
9737 + { (exit 1); exit 1; }; }
9738 + ac_package=`echo $ac_package | sed 's/-/_/g'`
9739 + eval "with_$ac_package=no" ;;
9742 # Obsolete; use --with-x.
9743 @@ -432,99 +789,110 @@
9744 ac_prev=x_includes ;;
9745 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
9746 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
9747 - x_includes="$ac_optarg" ;;
9748 + x_includes=$ac_optarg ;;
9750 -x-libraries | --x-libraries | --x-librarie | --x-librari \
9751 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
9752 ac_prev=x_libraries ;;
9753 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
9754 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
9755 - x_libraries="$ac_optarg" ;;
9756 + x_libraries=$ac_optarg ;;
9758 - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
9759 + -*) { echo "$as_me: error: unrecognized option: $ac_option
9760 +Try \`$0 --help' for more information." >&2
9761 + { (exit 1); exit 1; }; }
9765 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
9766 + # Reject names that are not valid shell variable names.
9767 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
9768 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
9769 + { (exit 1); exit 1; }; }
9770 + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
9771 + eval "$ac_envvar='$ac_optarg'"
9772 + export $ac_envvar ;;
9775 - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
9776 - echo "configure: warning: $ac_option: invalid host type" 1>&2
9778 - if test "x$nonopt" != xNONE; then
9779 - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
9781 - nonopt="$ac_option"
9782 + # FIXME: should be removed in autoconf 3.0.
9783 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
9784 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
9785 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
9786 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
9792 if test -n "$ac_prev"; then
9793 - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
9794 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
9795 + { echo "$as_me: error: missing argument to $ac_option" >&2
9796 + { (exit 1); exit 1; }; }
9799 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
9801 -# File descriptor usage:
9804 -# 2 errors and warnings
9805 -# 3 some systems may open it to /dev/tty
9806 -# 4 used on the Kubota Titan
9807 -# 6 checking for... messages and results
9808 -# 5 compiler messages saved in config.log
9809 -if test "$silent" = yes; then
9814 -exec 5>./config.log
9817 -This file contains any messages produced by compilers while
9818 -running configure, to aid debugging if configure makes a mistake.
9820 +# Be sure to have absolute paths.
9821 +for ac_var in exec_prefix prefix
9823 + eval ac_val=$`echo $ac_var`
9825 + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
9826 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
9827 + { (exit 1); exit 1; }; };;
9831 -# Strip out --no-create and --no-recursion so they do not pile up.
9832 -# Also quote any args containing shell metacharacters.
9835 +# Be sure to have absolute paths.
9836 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
9837 + localstatedir libdir includedir oldincludedir infodir mandir
9840 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9841 - | --no-cr | --no-c) ;;
9842 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9843 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
9844 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
9845 - ac_configure_args="$ac_configure_args '$ac_arg'" ;;
9846 - *) ac_configure_args="$ac_configure_args $ac_arg" ;;
9847 + eval ac_val=$`echo $ac_var`
9849 + [\\/$]* | ?:[\\/]* ) ;;
9850 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
9851 + { (exit 1); exit 1; }; };;
9856 -# Only set these to C if already set. These must not be set unconditionally
9857 -# because not all systems understand e.g. LANG=C (notably SCO).
9858 -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
9859 -# Non-C LC_CTYPE values break the ctype check.
9860 -if test "${LANG+set}" = set; then LANG=C; export LANG; fi
9861 -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
9862 -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
9863 -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
9864 +# There might be people who depend on the old broken behavior: `$host'
9865 +# used to hold the argument of --host etc.
9866 +# FIXME: To remove some day.
9869 +target=$target_alias
9871 +# FIXME: To remove some day.
9872 +if test "x$host_alias" != x; then
9873 + if test "x$build_alias" = x; then
9874 + cross_compiling=maybe
9875 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
9876 + If a cross compiler is detected then cross compile mode will be used." >&2
9877 + elif test "x$build_alias" != "x$host_alias"; then
9878 + cross_compiling=yes
9882 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
9883 -rm -rf conftest* confdefs.h
9884 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
9887 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
9889 +test "$silent" = yes && exec 6>/dev/null
9891 -# A filename unique to this package, relative to the directory that
9892 -# configure is in, which we can look for to find out if srcdir is correct.
9893 -ac_unique_file=gdk/gdktypes.h
9895 # Find the source files, if location was not specified.
9896 if test -z "$srcdir"; then
9897 ac_srcdir_defaulted=yes
9898 # Try the directory containing this script, then its parent.
9900 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
9901 - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
9902 + ac_confdir=`(dirname "$0") 2>/dev/null ||
9903 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9904 + X"$0" : 'X\(//\)[^/]' \| \
9905 + X"$0" : 'X\(//\)$' \| \
9906 + X"$0" : 'X\(/\)' \| \
9907 + . : '\(.\)' 2>/dev/null ||
9909 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9910 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9911 + /^X\(\/\/\)$/{ s//\1/; q; }
9912 + /^X\(\/\).*/{ s//\1/; q; }
9915 if test ! -r $srcdir/$ac_unique_file; then
9917 @@ -534,116 +902,719 @@
9919 if test ! -r $srcdir/$ac_unique_file; then
9920 if test "$ac_srcdir_defaulted" = yes; then
9921 - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
9922 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
9923 + { (exit 1); exit 1; }; }
9925 - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
9926 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
9927 + { (exit 1); exit 1; }; }
9930 -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
9931 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
9932 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
9933 + { (exit 1); exit 1; }; }
9934 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
9935 +ac_env_build_alias_set=${build_alias+set}
9936 +ac_env_build_alias_value=$build_alias
9937 +ac_cv_env_build_alias_set=${build_alias+set}
9938 +ac_cv_env_build_alias_value=$build_alias
9939 +ac_env_host_alias_set=${host_alias+set}
9940 +ac_env_host_alias_value=$host_alias
9941 +ac_cv_env_host_alias_set=${host_alias+set}
9942 +ac_cv_env_host_alias_value=$host_alias
9943 +ac_env_target_alias_set=${target_alias+set}
9944 +ac_env_target_alias_value=$target_alias
9945 +ac_cv_env_target_alias_set=${target_alias+set}
9946 +ac_cv_env_target_alias_value=$target_alias
9947 +ac_env_CC_set=${CC+set}
9948 +ac_env_CC_value=$CC
9949 +ac_cv_env_CC_set=${CC+set}
9950 +ac_cv_env_CC_value=$CC
9951 +ac_env_CFLAGS_set=${CFLAGS+set}
9952 +ac_env_CFLAGS_value=$CFLAGS
9953 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
9954 +ac_cv_env_CFLAGS_value=$CFLAGS
9955 +ac_env_LDFLAGS_set=${LDFLAGS+set}
9956 +ac_env_LDFLAGS_value=$LDFLAGS
9957 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
9958 +ac_cv_env_LDFLAGS_value=$LDFLAGS
9959 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
9960 +ac_env_CPPFLAGS_value=$CPPFLAGS
9961 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
9962 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
9963 +ac_env_CPP_set=${CPP+set}
9964 +ac_env_CPP_value=$CPP
9965 +ac_cv_env_CPP_set=${CPP+set}
9966 +ac_cv_env_CPP_value=$CPP
9967 +ac_env_CXX_set=${CXX+set}
9968 +ac_env_CXX_value=$CXX
9969 +ac_cv_env_CXX_set=${CXX+set}
9970 +ac_cv_env_CXX_value=$CXX
9971 +ac_env_CXXFLAGS_set=${CXXFLAGS+set}
9972 +ac_env_CXXFLAGS_value=$CXXFLAGS
9973 +ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
9974 +ac_cv_env_CXXFLAGS_value=$CXXFLAGS
9975 +ac_env_CXXCPP_set=${CXXCPP+set}
9976 +ac_env_CXXCPP_value=$CXXCPP
9977 +ac_cv_env_CXXCPP_set=${CXXCPP+set}
9978 +ac_cv_env_CXXCPP_value=$CXXCPP
9979 +ac_env_F77_set=${F77+set}
9980 +ac_env_F77_value=$F77
9981 +ac_cv_env_F77_set=${F77+set}
9982 +ac_cv_env_F77_value=$F77
9983 +ac_env_FFLAGS_set=${FFLAGS+set}
9984 +ac_env_FFLAGS_value=$FFLAGS
9985 +ac_cv_env_FFLAGS_set=${FFLAGS+set}
9986 +ac_cv_env_FFLAGS_value=$FFLAGS
9987 +ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
9988 +ac_env_PKG_CONFIG_value=$PKG_CONFIG
9989 +ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
9990 +ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
9991 +ac_env_X_CFLAGS_set=${X_CFLAGS+set}
9992 +ac_env_X_CFLAGS_value=$X_CFLAGS
9993 +ac_cv_env_X_CFLAGS_set=${X_CFLAGS+set}
9994 +ac_cv_env_X_CFLAGS_value=$X_CFLAGS
9995 +ac_env_X_LIBS_set=${X_LIBS+set}
9996 +ac_env_X_LIBS_value=$X_LIBS
9997 +ac_cv_env_X_LIBS_set=${X_LIBS+set}
9998 +ac_cv_env_X_LIBS_value=$X_LIBS
10000 -# Prefer explicitly selected file to automatically selected ones.
10001 -if test -z "$CONFIG_SITE"; then
10002 - if test "x$prefix" != xNONE; then
10003 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
10005 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
10008 -for ac_site_file in $CONFIG_SITE; do
10009 - if test -r "$ac_site_file"; then
10010 - echo "loading site script $ac_site_file"
10011 - . "$ac_site_file"
10015 +# Report the --help message.
10017 +if test "$ac_init_help" = "long"; then
10018 + # Omit some internal or obsolete options to make the list less imposing.
10019 + # This message is too long to be a string in the A/UX 3.1 sh.
10021 +\`configure' configures this package to adapt to many kinds of systems.
10023 -if test -r "$cache_file"; then
10024 - echo "loading cache $cache_file"
10027 - echo "creating cache $cache_file"
10030 +Usage: $0 [OPTION]... [VAR=VALUE]...
10033 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10034 -ac_cpp='$CPP $CPPFLAGS'
10035 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10036 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10037 -cross_compiling=$ac_cv_prog_cc_cross
10041 -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
10042 - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
10043 - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
10047 - ac_n=-n ac_c= ac_t=
10050 - ac_n= ac_c='\c' ac_t=
10052 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
10053 +VAR=VALUE. See below for descriptions of some of the useful variables.
10055 +Defaults for the options are specified in brackets.
10058 + -h, --help display this help and exit
10059 + --help=short display options specific to this package
10060 + --help=recursive display the short help of all the included packages
10061 + -V, --version display version information and exit
10062 + -q, --quiet, --silent do not print \`checking...' messages
10063 + --cache-file=FILE cache test results in FILE [disabled]
10064 + -C, --config-cache alias for \`--cache-file=config.cache'
10065 + -n, --no-create do not create output files
10066 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
10068 -# In the following, there are a the following variants
10069 -# of GLib cflags and libs variables
10071 -# GLIB_CFLAGS: cflags for compiling libraries and example progs
10072 -# GLIB_LIBS: libraries for linking example programs
10073 -# GLIB_DEPLIBS: libraries for linking libraries against
10074 -# glib_cflags: cflags to store in gtk-config
10075 -# glib_libs: libs to store in gtk-config
10076 -# glib_thread_cflags: cflags to store in gtk-config for gtk-config gthread
10077 -# glib_thread_libs: libs to store in gtk-config for gtk-config gthread
10080 -# Save this value here, since automake will set cflags later
10081 -cflags_set=${CFLAGS+set}
10083 +Installation directories:
10084 + --prefix=PREFIX install architecture-independent files in PREFIX
10085 + [$ac_default_prefix]
10086 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
10089 +By default, \`make install' will install all the files in
10090 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
10091 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
10092 +for instance \`--prefix=\$HOME'.
10094 +For better control, use the options below.
10096 +Fine tuning of the installation directories:
10097 + --bindir=DIR user executables [EPREFIX/bin]
10098 + --sbindir=DIR system admin executables [EPREFIX/sbin]
10099 + --libexecdir=DIR program executables [EPREFIX/libexec]
10100 + --datadir=DIR read-only architecture-independent data [PREFIX/share]
10101 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
10102 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
10103 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
10104 + --libdir=DIR object code libraries [EPREFIX/lib]
10105 + --includedir=DIR C header files [PREFIX/include]
10106 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
10107 + --infodir=DIR info documentation [PREFIX/info]
10108 + --mandir=DIR man documentation [PREFIX/man]
10114 + --program-prefix=PREFIX prepend PREFIX to installed program names
10115 + --program-suffix=SUFFIX append SUFFIX to installed program names
10116 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
10119 + --x-includes=DIR X include files are in DIR
10120 + --x-libraries=DIR X library files are in DIR
10123 + --build=BUILD configure for building on BUILD [guessed]
10124 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
10128 +if test -n "$ac_init_help"; then
10132 +Optional Features:
10133 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
10134 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
10135 + --enable-shared[=PKGS]
10136 + build shared libraries [default=yes]
10137 + --enable-static[=PKGS]
10138 + build static libraries [default=yes]
10139 + --enable-fast-install[=PKGS]
10140 + optimize for fast installation [default=yes]
10141 + --disable-libtool-lock avoid locking (might break parallel builds)
10142 + --enable-maintainer-mode enable make rules and dependencies not useful
10143 + (and sometimes confusing) to the casual installer
10144 + --enable-debug=no/minimum/yes turn on debugging default=$debug_default
10145 + --enable-shm support shared memory if available default=yes
10146 + --enable-ansi turn on strict ansi default=no
10147 + --enable-xim support XIM default=yes
10148 + --disable-xim-inst does not use xim instantiate callback
10149 + --disable-rebuilds disable all source autogeneration rules
10150 + --disable-nls do not use Native Language Support
10151 + --disable-glibtest Do not try to compile and run a test GLIB program
10153 +Optional Packages:
10154 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
10155 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
10156 + --with-gnu-ld assume the C compiler uses GNU ld [default=no]
10157 + --with-pic try to use only PIC/non-PIC objects [default=use
10159 + --with-tags[=TAGS]
10160 + include additional configurations [automatic]
10161 + --with-glib=DIR Use uninstalled copy of glib
10162 + --with-locale=LOCALE locale name you want to use
10163 + --with-xinput=no/gxi/xfree support XInput
10164 + --with-native-locale=yes/no Use native locale support default=no
10165 + --with-catgets use catgets functions if available
10166 + --with-glib-prefix=PFX Prefix where GLIB is installed (optional)
10167 + --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)
10168 + --with-x use the X Window System
10170 +Some influential environment variables:
10171 + CC C compiler command
10172 + CFLAGS C compiler flags
10173 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
10174 + nonstandard directory <lib dir>
10175 + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
10176 + headers in a nonstandard directory <include dir>
10177 + CPP C preprocessor
10178 + CXX C++ compiler command
10179 + CXXFLAGS C++ compiler flags
10180 + CXXCPP C++ preprocessor
10181 + F77 Fortran 77 compiler command
10182 + FFLAGS Fortran 77 compiler flags
10183 + PKG_CONFIG path to pkg-config utility
10184 + X_CFLAGS C compiler flags for X, overriding pkg-config
10185 + X_LIBS linker flags for X, overriding pkg-config
10187 +Use these variables to override the choices made by `configure' or to help
10188 +it to find libraries and programs with nonstandard names/locations.
10193 +if test "$ac_init_help" = "recursive"; then
10194 + # If there are subdirs, report their specific --help.
10196 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
10197 + test -d $ac_dir || continue
10200 +if test "$ac_dir" != .; then
10201 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10202 + # A "../" for each directory in $ac_dir_suffix.
10203 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10205 + ac_dir_suffix= ac_top_builddir=
10209 + .) # No --srcdir option. We are building in place.
10211 + if test -z "$ac_top_builddir"; then
10214 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10216 + [\\/]* | ?:[\\/]* ) # Absolute path.
10217 + ac_srcdir=$srcdir$ac_dir_suffix;
10218 + ac_top_srcdir=$srcdir ;;
10219 + *) # Relative path.
10220 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10221 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
10224 +# Do not use `cd foo && pwd` to compute absolute paths, because
10225 +# the directories may not exist.
10227 +.) ac_abs_builddir="$ac_dir";;
10229 + case "$ac_dir" in
10230 + .) ac_abs_builddir=`pwd`;;
10231 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
10232 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
10235 +case $ac_abs_builddir in
10236 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
10238 + case ${ac_top_builddir}. in
10239 + .) ac_abs_top_builddir=$ac_abs_builddir;;
10240 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10241 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10244 +case $ac_abs_builddir in
10245 +.) ac_abs_srcdir=$ac_srcdir;;
10247 + case $ac_srcdir in
10248 + .) ac_abs_srcdir=$ac_abs_builddir;;
10249 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10250 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10253 +case $ac_abs_builddir in
10254 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
10256 + case $ac_top_srcdir in
10257 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
10258 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10259 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10264 + # Check for guested configure; otherwise get Cygnus style configure.
10265 + if test -f $ac_srcdir/configure.gnu; then
10267 + $SHELL $ac_srcdir/configure.gnu --help=recursive
10268 + elif test -f $ac_srcdir/configure; then
10270 + $SHELL $ac_srcdir/configure --help=recursive
10271 + elif test -f $ac_srcdir/configure.ac ||
10272 + test -f $ac_srcdir/configure.in; then
10274 + $ac_configure --help
10276 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
10282 +test -n "$ac_init_help" && exit 0
10283 +if $ac_init_version; then
10286 +Copyright (C) 2003 Free Software Foundation, Inc.
10287 +This configure script is free software; the Free Software Foundation
10288 +gives unlimited permission to copy, distribute and modify it.
10294 +This file contains any messages produced by compilers while
10295 +running configure, to aid debugging if configure makes a mistake.
10297 -# libtool versioning
10298 -LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
10299 -LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
10300 -LT_REVISION=$GTK_INTERFACE_AGE
10301 -LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
10302 +It was created by $as_me, which was
10303 +generated by GNU Autoconf 2.59. Invocation command line was
10314 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
10315 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
10316 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
10317 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
10318 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
10320 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
10321 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
10323 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
10324 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
10325 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
10326 +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
10327 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
10328 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
10329 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
10333 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10334 +for as_dir in $PATH
10337 + test -z "$as_dir" && as_dir=.
10338 + echo "PATH: $as_dir"
10342 -VERSION=$GTK_VERSION
10346 -# Save this value here, since automake will set cflags later
10347 -cflags_set=${CFLAGS+set}
10351 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
10352 - if test -f $ac_dir/install-sh; then
10353 - ac_aux_dir=$ac_dir
10354 - ac_install_sh="$ac_aux_dir/install-sh -c"
10364 +# Keep a trace of the command line.
10365 +# Strip out --no-create and --no-recursion so they do not pile up.
10366 +# Strip out --silent because we don't want to record it for future runs.
10367 +# Also quote any args containing shell meta-characters.
10368 +# Make two passes to allow for proper duplicate-argument suppression.
10369 +ac_configure_args=
10370 +ac_configure_args0=
10371 +ac_configure_args1=
10373 +ac_must_keep_next=false
10374 +for ac_pass in 1 2
10379 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
10380 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10381 + | -silent | --silent | --silen | --sile | --sil)
10383 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
10384 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10387 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
10389 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
10390 + if test $ac_must_keep_next = true; then
10391 + ac_must_keep_next=false # Got value, back to normal.
10394 + *=* | --config-cache | -C | -disable-* | --disable-* \
10395 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
10396 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
10397 + | -with-* | --with-* | -without-* | --without-* | --x)
10398 + case "$ac_configure_args0 " in
10399 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
10402 + -* ) ac_must_keep_next=true ;;
10405 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
10406 + # Get rid of the leading space.
10412 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
10413 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
10415 +# When interrupted or exit'd, cleanup temporary files, and complete
10416 +# config.log. We remove comments because anyway the quotes in there
10417 +# would cause problems or look ugly.
10418 +# WARNING: Be sure not to use single quotes in there, as some shells,
10419 +# such as our DU 5.0 friend, will then `close' the trap.
10420 +trap 'exit_status=$?
10421 + # Save into config.log some information that might help in debugging.
10426 +## ---------------- ##
10427 +## Cache variables. ##
10428 +## ---------------- ##
10431 + # The following way of writing the cache mishandles newlines in values,
10434 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
10437 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
10438 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
10442 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10449 +## ----------------- ##
10450 +## Output variables. ##
10451 +## ----------------- ##
10454 + for ac_var in $ac_subst_vars
10456 + eval ac_val=$`echo $ac_var`
10457 + echo "$ac_var='"'"'$ac_val'"'"'"
10461 + if test -n "$ac_subst_files"; then
10463 +## ------------- ##
10464 +## Output files. ##
10465 +## ------------- ##
10468 + for ac_var in $ac_subst_files
10470 + eval ac_val=$`echo $ac_var`
10471 + echo "$ac_var='"'"'$ac_val'"'"'"
10476 + if test -s confdefs.h; then
10483 + sed "/^$/d" confdefs.h | sort
10486 + test "$ac_signal" != 0 &&
10487 + echo "$as_me: caught signal $ac_signal"
10488 + echo "$as_me: exit $exit_status"
10490 + rm -f core *.core &&
10491 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
10492 + exit $exit_status
10494 +for ac_signal in 1 2 13 15; do
10495 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
10499 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
10500 +rm -rf conftest* confdefs.h
10501 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
10504 +# Predefined preprocessor variables.
10506 +cat >>confdefs.h <<_ACEOF
10507 +#define PACKAGE_NAME "$PACKAGE_NAME"
10511 +cat >>confdefs.h <<_ACEOF
10512 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
10516 +cat >>confdefs.h <<_ACEOF
10517 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
10521 +cat >>confdefs.h <<_ACEOF
10522 +#define PACKAGE_STRING "$PACKAGE_STRING"
10526 +cat >>confdefs.h <<_ACEOF
10527 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
10531 +# Let the site file select an alternate cache file if it wants to.
10532 +# Prefer explicitly selected file to automatically selected ones.
10533 +if test -z "$CONFIG_SITE"; then
10534 + if test "x$prefix" != xNONE; then
10535 + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
10537 + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
10540 +for ac_site_file in $CONFIG_SITE; do
10541 + if test -r "$ac_site_file"; then
10542 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
10543 +echo "$as_me: loading site script $ac_site_file" >&6;}
10544 + sed 's/^/| /' "$ac_site_file" >&5
10545 + . "$ac_site_file"
10549 +if test -r "$cache_file"; then
10550 + # Some versions of bash will fail to source /dev/null (special
10551 + # files actually), so we avoid doing that.
10552 + if test -f "$cache_file"; then
10553 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
10554 +echo "$as_me: loading cache $cache_file" >&6;}
10555 + case $cache_file in
10556 + [\\/]* | ?:[\\/]* ) . $cache_file;;
10557 + *) . ./$cache_file;;
10561 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
10562 +echo "$as_me: creating cache $cache_file" >&6;}
10566 +# Check that the precious variables saved in the cache have kept the same
10568 +ac_cache_corrupted=false
10569 +for ac_var in `(set) 2>&1 |
10570 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
10571 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
10572 + eval ac_new_set=\$ac_env_${ac_var}_set
10573 + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
10574 + eval ac_new_val="\$ac_env_${ac_var}_value"
10575 + case $ac_old_set,$ac_new_set in
10577 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
10578 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
10579 + ac_cache_corrupted=: ;;
10581 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
10582 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
10583 + ac_cache_corrupted=: ;;
10586 + if test "x$ac_old_val" != "x$ac_new_val"; then
10587 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
10588 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
10589 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
10590 +echo "$as_me: former value: $ac_old_val" >&2;}
10591 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
10592 +echo "$as_me: current value: $ac_new_val" >&2;}
10593 + ac_cache_corrupted=:
10596 + # Pass precious variables to config.status.
10597 + if test "$ac_new_set" = set; then
10598 + case $ac_new_val in
10599 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
10600 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
10601 + *) ac_arg=$ac_var=$ac_new_val ;;
10603 + case " $ac_configure_args " in
10604 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
10605 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
10609 +if $ac_cache_corrupted; then
10610 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
10611 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
10612 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
10613 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
10614 + { (exit 1); exit 1; }; }
10618 +ac_cpp='$CPP $CPPFLAGS'
10619 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10620 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10621 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10642 +# In the following, there are a the following variants
10643 +# of GLib cflags and libs variables
10645 +# GLIB_CFLAGS: cflags for compiling libraries and example progs
10646 +# GLIB_LIBS: libraries for linking example programs
10647 +# GLIB_DEPLIBS: libraries for linking libraries against
10648 +# glib_cflags: cflags to store in gtk-config
10649 +# glib_libs: libs to store in gtk-config
10650 +# glib_thread_cflags: cflags to store in gtk-config for gtk-config gthread
10651 +# glib_thread_libs: libs to store in gtk-config for gtk-config gthread
10653 +# Save this value here, since automake will set cflags later
10654 +cflags_set=${CFLAGS+set}
10664 +# libtool versioning
10665 +LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
10666 +LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
10667 +LT_REVISION=$GTK_INTERFACE_AGE
10668 +LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
10675 +VERSION=$GTK_VERSION
10678 +# Save this value here, since automake will set cflags later
10679 +cflags_set=${CFLAGS+set}
10681 +am__api_version="1.4"
10683 +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
10684 + if test -f $ac_dir/install-sh; then
10685 + ac_aux_dir=$ac_dir
10686 + ac_install_sh="$ac_aux_dir/install-sh -c"
10688 elif test -f $ac_dir/install.sh; then
10690 ac_install_sh="$ac_aux_dir/install.sh -c"
10692 + elif test -f $ac_dir/shtool; then
10693 + ac_aux_dir=$ac_dir
10694 + ac_install_sh="$ac_aux_dir/shtool install -c"
10698 if test -z "$ac_aux_dir"; then
10699 - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
10701 -ac_config_guess=$ac_aux_dir/config.guess
10702 -ac_config_sub=$ac_aux_dir/config.sub
10703 -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
10704 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
10705 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
10706 + { (exit 1); exit 1; }; }
10708 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
10709 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
10710 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
10712 # Find a good install program. We prefer a C program (faster),
10713 # so one script is as good as another. But avoid the broken or
10714 @@ -652,65 +1623,80 @@
10715 # SunOS /usr/etc/install
10716 # IRIX /sbin/install
10718 +# AmigaOS /C/install, which installs bootblocks on floppy discs
10719 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10720 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10721 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10722 +# OS/2's system install, which has a completely different semantic
10723 # ./install, which can be erroneously created by make from ./install.sh.
10724 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
10725 -echo "configure:661: checking for a BSD compatible install" >&5
10726 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10727 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
10728 if test -z "$INSTALL"; then
10729 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
10730 - echo $ac_n "(cached) $ac_c" 1>&6
10731 +if test "${ac_cv_path_install+set}" = set; then
10732 + echo $ECHO_N "(cached) $ECHO_C" >&6
10734 - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
10735 - for ac_dir in $PATH; do
10736 - # Account for people who put trailing slashes in PATH elements.
10737 - case "$ac_dir/" in
10738 - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
10740 - # OSF1 and SCO ODT 3.0 have their own names for install.
10741 - # Don't use installbsd from OSF since it installs stuff as root
10743 - for ac_prog in ginstall scoinst install; do
10744 - if test -f $ac_dir/$ac_prog; then
10745 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10746 +for as_dir in $PATH
10749 + test -z "$as_dir" && as_dir=.
10750 + # Account for people who put trailing slashes in PATH elements.
10752 + ./ | .// | /cC/* | \
10753 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
10754 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
10757 + # OSF1 and SCO ODT 3.0 have their own names for install.
10758 + # Don't use installbsd from OSF since it installs stuff as root
10760 + for ac_prog in ginstall scoinst install; do
10761 + for ac_exec_ext in '' $ac_executable_extensions; do
10762 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
10763 if test $ac_prog = install &&
10764 - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
10765 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10766 # AIX install. It has an incompatible calling convention.
10768 + elif test $ac_prog = install &&
10769 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10770 + # program-specific install script used by HP pwplus--don't use.
10773 - ac_cv_path_install="$ac_dir/$ac_prog -c"
10775 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
10783 - IFS="$ac_save_IFS"
10791 if test "${ac_cv_path_install+set}" = set; then
10792 - INSTALL="$ac_cv_path_install"
10793 + INSTALL=$ac_cv_path_install
10795 # As a last resort, use the slow shell script. We don't cache a
10796 # path for INSTALL within a source directory, because that will
10797 # break other packages using the cache if that directory is
10798 # removed, or if the path is relative.
10799 - INSTALL="$ac_install_sh"
10800 + INSTALL=$ac_install_sh
10803 -echo "$ac_t""$INSTALL" 1>&6
10804 +echo "$as_me:$LINENO: result: $INSTALL" >&5
10805 +echo "${ECHO_T}$INSTALL" >&6
10807 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10808 # It thinks the first close brace ends the variable substitution.
10809 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
10811 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
10812 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
10814 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
10816 -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
10817 -echo "configure:714: checking whether build environment is sane" >&5
10818 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
10819 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
10822 echo timestamp > conftestfile
10823 @@ -732,8 +1718,11 @@
10824 # if, for instance, CONFIG_SHELL is bash and it inherits a
10825 # broken ls alias from the environment. This has actually
10826 # happened. Such a system could not be considered "sane".
10827 - { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
10828 -alias in your environment" 1>&2; exit 1; }
10829 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
10830 +alias in your environment" >&5
10831 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
10832 +alias in your environment" >&2;}
10833 + { (exit 1); exit 1; }; }
10836 test "$2" = conftestfile
10837 @@ -742,54 +1731,54 @@
10841 - { echo "configure: error: newly created file is older than distributed files!
10842 -Check your system clock" 1>&2; exit 1; }
10843 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
10844 +Check your system clock" >&5
10845 +echo "$as_me: error: newly created file is older than distributed files!
10846 +Check your system clock" >&2;}
10847 + { (exit 1); exit 1; }; }
10850 -echo "$ac_t""yes" 1>&6
10851 -if test "$program_transform_name" = s,x,x,; then
10852 - program_transform_name=
10854 - # Double any \ or $. echo might interpret backslashes.
10855 - cat <<\EOF_SED > conftestsed
10856 -s,\\,\\\\,g; s,\$,$$,g
10858 - program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
10859 - rm -f conftestsed
10861 +echo "$as_me:$LINENO: result: yes" >&5
10862 +echo "${ECHO_T}yes" >&6
10863 test "$program_prefix" != NONE &&
10864 - program_transform_name="s,^,${program_prefix},; $program_transform_name"
10865 + program_transform_name="s,^,$program_prefix,;$program_transform_name"
10866 # Use a double $ so make ignores it.
10867 test "$program_suffix" != NONE &&
10868 - program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
10870 -# sed with no file args requires a program.
10871 -test "$program_transform_name" = "" && program_transform_name="s,x,x,"
10873 -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
10874 -echo "configure:771: checking whether ${MAKE-make} sets \${MAKE}" >&5
10875 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
10876 -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
10877 - echo $ac_n "(cached) $ac_c" 1>&6
10878 + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
10879 +# Double any \ or $. echo might interpret backslashes.
10880 +# By default was `s,x,x', remove it if useless.
10881 +cat <<\_ACEOF >conftest.sed
10882 +s/[\\$]/&&/g;s/;s,x,x,$//
10884 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
10887 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10888 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
10889 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
10890 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
10891 + echo $ECHO_N "(cached) $ECHO_C" >&6
10893 - cat > conftestmake <<\EOF
10894 + cat >conftest.make <<\_ACEOF
10896 - @echo 'ac_maketemp="${MAKE}"'
10898 + @echo 'ac_maketemp="$(MAKE)"'
10900 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10901 -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
10902 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
10903 if test -n "$ac_maketemp"; then
10904 eval ac_cv_prog_make_${ac_make}_set=yes
10906 eval ac_cv_prog_make_${ac_make}_set=no
10908 -rm -f conftestmake
10909 +rm -f conftest.make
10911 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
10912 - echo "$ac_t""yes" 1>&6
10913 + echo "$as_me:$LINENO: result: yes" >&5
10914 +echo "${ECHO_T}yes" >&6
10917 - echo "$ac_t""no" 1>&6
10918 + echo "$as_me:$LINENO: result: no" >&5
10919 +echo "${ECHO_T}no" >&6
10920 SET_MAKE="MAKE=${MAKE-make}"
10923 @@ -799,436 +1788,875 @@
10926 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
10927 - { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
10928 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
10929 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
10930 + { (exit 1); exit 1; }; }
10935 missing_dir=`cd $ac_aux_dir && pwd`
10936 -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
10937 -echo "configure:810: checking for working aclocal" >&5
10938 +echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
10939 +echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
10940 # Run test in a subshell; some versions of sh will print an error if
10941 # an executable is not found, even if stderr is redirected.
10942 # Redirect stdin to placate older versions of autoconf. Sigh.
10943 -if (aclocal --version) < /dev/null > /dev/null 2>&1; then
10945 - echo "$ac_t""found" 1>&6
10947 - ACLOCAL="$missing_dir/missing aclocal"
10948 - echo "$ac_t""missing" 1>&6
10949 +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
10950 + ACLOCAL=aclocal-${am__api_version}
10951 + echo "$as_me:$LINENO: result: found" >&5
10952 +echo "${ECHO_T}found" >&6
10954 + ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
10955 + echo "$as_me:$LINENO: result: missing" >&5
10956 +echo "${ECHO_T}missing" >&6
10959 -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
10960 -echo "configure:823: checking for working autoconf" >&5
10961 +echo "$as_me:$LINENO: checking for working autoconf" >&5
10962 +echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
10963 # Run test in a subshell; some versions of sh will print an error if
10964 # an executable is not found, even if stderr is redirected.
10965 # Redirect stdin to placate older versions of autoconf. Sigh.
10966 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
10968 - echo "$ac_t""found" 1>&6
10969 + echo "$as_me:$LINENO: result: found" >&5
10970 +echo "${ECHO_T}found" >&6
10972 AUTOCONF="$missing_dir/missing autoconf"
10973 - echo "$ac_t""missing" 1>&6
10974 + echo "$as_me:$LINENO: result: missing" >&5
10975 +echo "${ECHO_T}missing" >&6
10978 -echo $ac_n "checking for working automake""... $ac_c" 1>&6
10979 -echo "configure:836: checking for working automake" >&5
10980 +echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
10981 +echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
10982 # Run test in a subshell; some versions of sh will print an error if
10983 # an executable is not found, even if stderr is redirected.
10984 # Redirect stdin to placate older versions of autoconf. Sigh.
10985 -if (automake --version) < /dev/null > /dev/null 2>&1; then
10986 - AUTOMAKE=automake
10987 - echo "$ac_t""found" 1>&6
10989 - AUTOMAKE="$missing_dir/missing automake"
10990 - echo "$ac_t""missing" 1>&6
10991 +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
10992 + AUTOMAKE=automake-${am__api_version}
10993 + echo "$as_me:$LINENO: result: found" >&5
10994 +echo "${ECHO_T}found" >&6
10996 + AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
10997 + echo "$as_me:$LINENO: result: missing" >&5
10998 +echo "${ECHO_T}missing" >&6
11001 -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
11002 -echo "configure:849: checking for working autoheader" >&5
11003 +echo "$as_me:$LINENO: checking for working autoheader" >&5
11004 +echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
11005 # Run test in a subshell; some versions of sh will print an error if
11006 # an executable is not found, even if stderr is redirected.
11007 # Redirect stdin to placate older versions of autoconf. Sigh.
11008 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
11009 AUTOHEADER=autoheader
11010 - echo "$ac_t""found" 1>&6
11011 + echo "$as_me:$LINENO: result: found" >&5
11012 +echo "${ECHO_T}found" >&6
11014 AUTOHEADER="$missing_dir/missing autoheader"
11015 - echo "$ac_t""missing" 1>&6
11016 + echo "$as_me:$LINENO: result: missing" >&5
11017 +echo "${ECHO_T}missing" >&6
11020 -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
11021 -echo "configure:862: checking for working makeinfo" >&5
11022 +echo "$as_me:$LINENO: checking for working makeinfo" >&5
11023 +echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
11024 # Run test in a subshell; some versions of sh will print an error if
11025 # an executable is not found, even if stderr is redirected.
11026 # Redirect stdin to placate older versions of autoconf. Sigh.
11027 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
11029 - echo "$ac_t""found" 1>&6
11030 + echo "$as_me:$LINENO: result: found" >&5
11031 +echo "${ECHO_T}found" >&6
11033 MAKEINFO="$missing_dir/missing makeinfo"
11034 - echo "$ac_t""missing" 1>&6
11035 + echo "$as_me:$LINENO: result: missing" >&5
11036 +echo "${ECHO_T}missing" >&6
11041 # Specify a configuration file
11043 + ac_config_headers="$ac_config_headers config.h"
11045 + ac_config_commands="$ac_config_commands default-1"
11048 # Check whether --enable-shared or --disable-shared was given.
11049 if test "${enable_shared+set}" = set; then
11050 enableval="$enable_shared"
11051 p=${PACKAGE-default}
11052 -case "$enableval" in
11053 -yes) enable_shared=yes ;;
11054 -no) enable_shared=no ;;
11057 - # Look at the argument we got. We use all the common list separators.
11058 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
11059 - for pkg in $enableval; do
11060 - if test "X$pkg" = "X$p"; then
11061 - enable_shared=yes
11064 - IFS="$ac_save_ifs"
11067 + case $enableval in
11068 + yes) enable_shared=yes ;;
11069 + no) enable_shared=no ;;
11072 + # Look at the argument we got. We use all the common list separators.
11073 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11074 + for pkg in $enableval; do
11075 + IFS="$lt_save_ifs"
11076 + if test "X$pkg" = "X$p"; then
11077 + enable_shared=yes
11080 + IFS="$lt_save_ifs"
11088 # Check whether --enable-static or --disable-static was given.
11089 if test "${enable_static+set}" = set; then
11090 enableval="$enable_static"
11091 p=${PACKAGE-default}
11092 -case "$enableval" in
11093 -yes) enable_static=yes ;;
11094 -no) enable_static=no ;;
11097 - # Look at the argument we got. We use all the common list separators.
11098 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
11099 - for pkg in $enableval; do
11100 - if test "X$pkg" = "X$p"; then
11101 - enable_static=yes
11104 - IFS="$ac_save_ifs"
11107 + case $enableval in
11108 + yes) enable_static=yes ;;
11109 + no) enable_static=no ;;
11112 + # Look at the argument we got. We use all the common list separators.
11113 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11114 + for pkg in $enableval; do
11115 + IFS="$lt_save_ifs"
11116 + if test "X$pkg" = "X$p"; then
11117 + enable_static=yes
11120 + IFS="$lt_save_ifs"
11128 # Check whether --enable-fast-install or --disable-fast-install was given.
11129 if test "${enable_fast_install+set}" = set; then
11130 enableval="$enable_fast_install"
11131 p=${PACKAGE-default}
11132 -case "$enableval" in
11133 -yes) enable_fast_install=yes ;;
11134 -no) enable_fast_install=no ;;
11136 - enable_fast_install=no
11137 - # Look at the argument we got. We use all the common list separators.
11138 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
11139 - for pkg in $enableval; do
11140 - if test "X$pkg" = "X$p"; then
11141 - enable_fast_install=yes
11144 - IFS="$ac_save_ifs"
11147 + case $enableval in
11148 + yes) enable_fast_install=yes ;;
11149 + no) enable_fast_install=no ;;
11151 + enable_fast_install=no
11152 + # Look at the argument we got. We use all the common list separators.
11153 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11154 + for pkg in $enableval; do
11155 + IFS="$lt_save_ifs"
11156 + if test "X$pkg" = "X$p"; then
11157 + enable_fast_install=yes
11160 + IFS="$lt_save_ifs"
11164 enable_fast_install=yes
11169 # Make sure we can run config.sub.
11170 -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
11171 -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
11173 +$ac_config_sub sun4 >/dev/null 2>&1 ||
11174 + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
11175 +echo "$as_me: error: cannot run $ac_config_sub" >&2;}
11176 + { (exit 1); exit 1; }; }
11178 +echo "$as_me:$LINENO: checking build system type" >&5
11179 +echo $ECHO_N "checking build system type... $ECHO_C" >&6
11180 +if test "${ac_cv_build+set}" = set; then
11181 + echo $ECHO_N "(cached) $ECHO_C" >&6
11183 + ac_cv_build_alias=$build_alias
11184 +test -z "$ac_cv_build_alias" &&
11185 + ac_cv_build_alias=`$ac_config_guess`
11186 +test -z "$ac_cv_build_alias" &&
11187 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
11188 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
11189 + { (exit 1); exit 1; }; }
11190 +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
11191 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
11192 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
11193 + { (exit 1); exit 1; }; }
11196 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
11197 +echo "${ECHO_T}$ac_cv_build" >&6
11198 +build=$ac_cv_build
11199 +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11200 +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11201 +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11204 +echo "$as_me:$LINENO: checking host system type" >&5
11205 +echo $ECHO_N "checking host system type... $ECHO_C" >&6
11206 +if test "${ac_cv_host+set}" = set; then
11207 + echo $ECHO_N "(cached) $ECHO_C" >&6
11209 + ac_cv_host_alias=$host_alias
11210 +test -z "$ac_cv_host_alias" &&
11211 + ac_cv_host_alias=$ac_cv_build_alias
11212 +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
11213 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
11214 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
11215 + { (exit 1); exit 1; }; }
11218 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
11219 +echo "${ECHO_T}$ac_cv_host" >&6
11221 +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11222 +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11223 +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11225 -echo $ac_n "checking host system type""... $ac_c" 1>&6
11226 -echo "configure:957: checking host system type" >&5
11229 -case "$host_alias" in
11233 - if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
11234 - else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
11236 - *) host_alias=$nonopt ;;
11240 +ac_cpp='$CPP $CPPFLAGS'
11241 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11242 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11243 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11244 +if test -n "$ac_tool_prefix"; then
11245 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11246 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
11247 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11248 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11249 +if test "${ac_cv_prog_CC+set}" = set; then
11250 + echo $ECHO_N "(cached) $ECHO_C" >&6
11252 + if test -n "$CC"; then
11253 + ac_cv_prog_CC="$CC" # Let the user override the test.
11255 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11256 +for as_dir in $PATH
11259 + test -z "$as_dir" && as_dir=.
11260 + for ac_exec_ext in '' $ac_executable_extensions; do
11261 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11262 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
11263 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11269 -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
11270 -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11271 -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11272 -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11273 -echo "$ac_t""$host" 1>&6
11275 -echo $ac_n "checking build system type""... $ac_c" 1>&6
11276 -echo "configure:978: checking build system type" >&5
11278 -build_alias=$build
11279 -case "$build_alias" in
11282 - NONE) build_alias=$host_alias ;;
11283 - *) build_alias=$nonopt ;;
11287 -build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
11288 -build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11289 -build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11290 -build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11291 -echo "$ac_t""$build" 1>&6
11295 +if test -n "$CC"; then
11296 + echo "$as_me:$LINENO: result: $CC" >&5
11297 +echo "${ECHO_T}$CC" >&6
11299 + echo "$as_me:$LINENO: result: no" >&5
11300 +echo "${ECHO_T}no" >&6
11303 -# Extract the first word of "ranlib", so it can be a program name with args.
11304 -set dummy ranlib; ac_word=$2
11305 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11306 -echo "configure:998: checking for $ac_word" >&5
11307 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
11308 - echo $ac_n "(cached) $ac_c" 1>&6
11310 +if test -z "$ac_cv_prog_CC"; then
11312 + # Extract the first word of "gcc", so it can be a program name with args.
11313 +set dummy gcc; ac_word=$2
11314 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11315 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11316 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11317 + echo $ECHO_N "(cached) $ECHO_C" >&6
11319 - if test -n "$RANLIB"; then
11320 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11321 + if test -n "$ac_ct_CC"; then
11322 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11324 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11326 - for ac_dir in $ac_dummy; do
11327 - test -z "$ac_dir" && ac_dir=.
11328 - if test -f $ac_dir/$ac_word; then
11329 - ac_cv_prog_RANLIB="ranlib"
11333 - IFS="$ac_save_ifs"
11334 - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
11335 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11336 +for as_dir in $PATH
11339 + test -z "$as_dir" && as_dir=.
11340 + for ac_exec_ext in '' $ac_executable_extensions; do
11341 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11342 + ac_cv_prog_ac_ct_CC="gcc"
11343 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11351 -RANLIB="$ac_cv_prog_RANLIB"
11352 -if test -n "$RANLIB"; then
11353 - echo "$ac_t""$RANLIB" 1>&6
11354 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
11355 +if test -n "$ac_ct_CC"; then
11356 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11357 +echo "${ECHO_T}$ac_ct_CC" >&6
11359 - echo "$ac_t""no" 1>&6
11360 + echo "$as_me:$LINENO: result: no" >&5
11361 +echo "${ECHO_T}no" >&6
11364 -# Extract the first word of "gcc", so it can be a program name with args.
11365 -set dummy gcc; ac_word=$2
11366 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11367 -echo "configure:1028: checking for $ac_word" >&5
11368 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
11369 - echo $ac_n "(cached) $ac_c" 1>&6
11372 + CC="$ac_cv_prog_CC"
11375 +if test -z "$CC"; then
11376 + if test -n "$ac_tool_prefix"; then
11377 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11378 +set dummy ${ac_tool_prefix}cc; ac_word=$2
11379 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11380 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11381 +if test "${ac_cv_prog_CC+set}" = set; then
11382 + echo $ECHO_N "(cached) $ECHO_C" >&6
11384 if test -n "$CC"; then
11385 ac_cv_prog_CC="$CC" # Let the user override the test.
11387 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11389 - for ac_dir in $ac_dummy; do
11390 - test -z "$ac_dir" && ac_dir=.
11391 - if test -f $ac_dir/$ac_word; then
11392 - ac_cv_prog_CC="gcc"
11396 - IFS="$ac_save_ifs"
11397 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11398 +for as_dir in $PATH
11401 + test -z "$as_dir" && as_dir=.
11402 + for ac_exec_ext in '' $ac_executable_extensions; do
11403 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11404 + ac_cv_prog_CC="${ac_tool_prefix}cc"
11405 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11413 -CC="$ac_cv_prog_CC"
11415 if test -n "$CC"; then
11416 - echo "$ac_t""$CC" 1>&6
11417 + echo "$as_me:$LINENO: result: $CC" >&5
11418 +echo "${ECHO_T}$CC" >&6
11420 - echo "$ac_t""no" 1>&6
11421 + echo "$as_me:$LINENO: result: no" >&5
11422 +echo "${ECHO_T}no" >&6
11425 -if test -z "$CC"; then
11427 +if test -z "$ac_cv_prog_CC"; then
11429 # Extract the first word of "cc", so it can be a program name with args.
11430 set dummy cc; ac_word=$2
11431 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11432 -echo "configure:1058: checking for $ac_word" >&5
11433 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
11434 - echo $ac_n "(cached) $ac_c" 1>&6
11435 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11436 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11437 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11438 + echo $ECHO_N "(cached) $ECHO_C" >&6
11440 - if test -n "$CC"; then
11441 - ac_cv_prog_CC="$CC" # Let the user override the test.
11442 + if test -n "$ac_ct_CC"; then
11443 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11445 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11446 - ac_prog_rejected=no
11448 - for ac_dir in $ac_dummy; do
11449 - test -z "$ac_dir" && ac_dir=.
11450 - if test -f $ac_dir/$ac_word; then
11451 - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
11452 - ac_prog_rejected=yes
11455 - ac_cv_prog_CC="cc"
11459 - IFS="$ac_save_ifs"
11460 -if test $ac_prog_rejected = yes; then
11461 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11462 +for as_dir in $PATH
11465 + test -z "$as_dir" && as_dir=.
11466 + for ac_exec_ext in '' $ac_executable_extensions; do
11467 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11468 + ac_cv_prog_ac_ct_CC="cc"
11469 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11477 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
11478 +if test -n "$ac_ct_CC"; then
11479 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11480 +echo "${ECHO_T}$ac_ct_CC" >&6
11482 + echo "$as_me:$LINENO: result: no" >&5
11483 +echo "${ECHO_T}no" >&6
11488 + CC="$ac_cv_prog_CC"
11492 +if test -z "$CC"; then
11493 + # Extract the first word of "cc", so it can be a program name with args.
11494 +set dummy cc; ac_word=$2
11495 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11496 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11497 +if test "${ac_cv_prog_CC+set}" = set; then
11498 + echo $ECHO_N "(cached) $ECHO_C" >&6
11500 + if test -n "$CC"; then
11501 + ac_cv_prog_CC="$CC" # Let the user override the test.
11503 + ac_prog_rejected=no
11504 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11505 +for as_dir in $PATH
11508 + test -z "$as_dir" && as_dir=.
11509 + for ac_exec_ext in '' $ac_executable_extensions; do
11510 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11511 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11512 + ac_prog_rejected=yes
11515 + ac_cv_prog_CC="cc"
11516 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11522 +if test $ac_prog_rejected = yes; then
11523 # We found a bogon in the path, so make sure we never use it.
11524 set dummy $ac_cv_prog_CC
11526 - if test $# -gt 0; then
11527 + if test $# != 0; then
11528 # We chose a different compiler from the bogus one.
11529 # However, it has the same basename, so the bogon will be chosen
11530 # first if we set CC to just the basename; use the full file name.
11532 - set dummy "$ac_dir/$ac_word" "$@"
11534 - ac_cv_prog_CC="$@"
11535 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11540 -CC="$ac_cv_prog_CC"
11542 if test -n "$CC"; then
11543 - echo "$ac_t""$CC" 1>&6
11544 + echo "$as_me:$LINENO: result: $CC" >&5
11545 +echo "${ECHO_T}$CC" >&6
11547 - echo "$ac_t""no" 1>&6
11548 + echo "$as_me:$LINENO: result: no" >&5
11549 +echo "${ECHO_T}no" >&6
11552 - if test -z "$CC"; then
11553 - case "`uname -s`" in
11554 - *win32* | *WIN32*)
11555 - # Extract the first word of "cl", so it can be a program name with args.
11556 -set dummy cl; ac_word=$2
11557 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11558 -echo "configure:1109: checking for $ac_word" >&5
11559 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
11560 - echo $ac_n "(cached) $ac_c" 1>&6
11562 +if test -z "$CC"; then
11563 + if test -n "$ac_tool_prefix"; then
11564 + for ac_prog in cl
11566 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11567 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11568 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11569 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11570 +if test "${ac_cv_prog_CC+set}" = set; then
11571 + echo $ECHO_N "(cached) $ECHO_C" >&6
11573 if test -n "$CC"; then
11574 ac_cv_prog_CC="$CC" # Let the user override the test.
11576 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11578 - for ac_dir in $ac_dummy; do
11579 - test -z "$ac_dir" && ac_dir=.
11580 - if test -f $ac_dir/$ac_word; then
11581 - ac_cv_prog_CC="cl"
11585 - IFS="$ac_save_ifs"
11586 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11587 +for as_dir in $PATH
11590 + test -z "$as_dir" && as_dir=.
11591 + for ac_exec_ext in '' $ac_executable_extensions; do
11592 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11593 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11594 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11602 -CC="$ac_cv_prog_CC"
11604 if test -n "$CC"; then
11605 - echo "$ac_t""$CC" 1>&6
11606 + echo "$as_me:$LINENO: result: $CC" >&5
11607 +echo "${ECHO_T}$CC" >&6
11609 - echo "$ac_t""no" 1>&6
11610 + echo "$as_me:$LINENO: result: no" >&5
11611 +echo "${ECHO_T}no" >&6
11616 + test -n "$CC" && break
11619 +if test -z "$CC"; then
11621 + for ac_prog in cl
11623 + # Extract the first word of "$ac_prog", so it can be a program name with args.
11624 +set dummy $ac_prog; ac_word=$2
11625 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11626 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11627 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11628 + echo $ECHO_N "(cached) $ECHO_C" >&6
11630 + if test -n "$ac_ct_CC"; then
11631 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11633 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11634 +for as_dir in $PATH
11637 + test -z "$as_dir" && as_dir=.
11638 + for ac_exec_ext in '' $ac_executable_extensions; do
11639 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11640 + ac_cv_prog_ac_ct_CC="$ac_prog"
11641 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11644 - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
11650 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
11651 +if test -n "$ac_ct_CC"; then
11652 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11653 +echo "${ECHO_T}$ac_ct_CC" >&6
11655 + echo "$as_me:$LINENO: result: no" >&5
11656 +echo "${ECHO_T}no" >&6
11659 + test -n "$ac_ct_CC" && break
11662 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
11663 -echo "configure:1141: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
11668 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11669 -ac_cpp='$CPP $CPPFLAGS'
11670 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11671 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11672 -cross_compiling=$ac_cv_prog_cc_cross
11675 -cat > conftest.$ac_ext << EOF
11677 -#line 1152 "configure"
11678 -#include "confdefs.h"
11679 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11680 +See \`config.log' for more details." >&5
11681 +echo "$as_me: error: no acceptable C compiler found in \$PATH
11682 +See \`config.log' for more details." >&2;}
11683 + { (exit 1); exit 1; }; }
11685 +# Provide some information about the compiler.
11686 +echo "$as_me:$LINENO:" \
11687 + "checking for C compiler version" >&5
11688 +ac_compiler=`set X $ac_compile; echo $2`
11689 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11690 + (eval $ac_compiler --version </dev/null >&5) 2>&5
11692 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 + (exit $ac_status); }
11694 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11695 + (eval $ac_compiler -v </dev/null >&5) 2>&5
11697 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 + (exit $ac_status); }
11699 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11700 + (eval $ac_compiler -V </dev/null >&5) 2>&5
11702 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 + (exit $ac_status); }
11705 +cat >conftest.$ac_ext <<_ACEOF
11708 +cat confdefs.h >>conftest.$ac_ext
11709 +cat >>conftest.$ac_ext <<_ACEOF
11710 +/* end confdefs.h. */
11712 -main(){return(0);}
11714 -if { (eval echo configure:1157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11715 - ac_cv_prog_cc_works=yes
11716 - # If we can't run a trivial program, we are probably using a cross compiler.
11717 - if (./conftest; exit) 2>/dev/null; then
11718 - ac_cv_prog_cc_cross=no
11720 - ac_cv_prog_cc_cross=yes
11730 +ac_clean_files_save=$ac_clean_files
11731 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
11732 +# Try to create an executable without -o first, disregard a.out.
11733 +# It will help us diagnose broken compilers, and finding out an intuition
11735 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11736 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11737 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11738 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11739 + (eval $ac_link_default) 2>&5
11741 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 + (exit $ac_status); }; then
11743 + # Find the output, starting from the most likely. This scheme is
11744 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
11747 +# Be careful to initialize this variable, since it used to be cached.
11748 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11750 +# b.out is created by i960 compilers.
11751 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11753 + test -f "$ac_file" || continue
11755 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11757 + conftest.$ac_ext )
11758 + # This is the source file.
11761 + # We found the default executable, but exeext='' is most
11762 + # certainly right.
11765 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11766 + # FIXME: I believe we export ac_cv_exeext for Libtool,
11767 + # but it would be cool to find out if it's true. Does anybody
11768 + # maintain Libtool? --akim.
11769 + export ac_cv_exeext
11776 - echo "configure: failed program was:" >&5
11777 - cat conftest.$ac_ext >&5
11778 - ac_cv_prog_cc_works=no
11779 + echo "$as_me: failed program was:" >&5
11780 +sed 's/^/| /' conftest.$ac_ext >&5
11782 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
11783 +See \`config.log' for more details." >&5
11784 +echo "$as_me: error: C compiler cannot create executables
11785 +See \`config.log' for more details." >&2;}
11786 + { (exit 77); exit 77; }; }
11789 +ac_exeext=$ac_cv_exeext
11790 +echo "$as_me:$LINENO: result: $ac_file" >&5
11791 +echo "${ECHO_T}$ac_file" >&6
11793 +# Check the compiler produces executables we can run. If not, either
11794 +# the compiler is broken, or we cross compile.
11795 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11796 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11797 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11798 +# If not cross compiling, check that we can run a simple program.
11799 +if test "$cross_compiling" != yes; then
11800 + if { ac_try='./$ac_file'
11801 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11802 + (eval $ac_try) 2>&5
11804 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 + (exit $ac_status); }; }; then
11806 + cross_compiling=no
11808 + if test "$cross_compiling" = maybe; then
11809 + cross_compiling=yes
11811 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11812 +If you meant to cross compile, use \`--host'.
11813 +See \`config.log' for more details." >&5
11814 +echo "$as_me: error: cannot run C compiled programs.
11815 +If you meant to cross compile, use \`--host'.
11816 +See \`config.log' for more details." >&2;}
11817 + { (exit 1); exit 1; }; }
11823 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11824 -ac_cpp='$CPP $CPPFLAGS'
11825 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11826 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11827 -cross_compiling=$ac_cv_prog_cc_cross
11829 -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
11830 -if test $ac_cv_prog_cc_works = no; then
11831 - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
11833 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
11834 -echo "configure:1183: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
11835 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
11836 -cross_compiling=$ac_cv_prog_cc_cross
11838 -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
11839 -echo "configure:1188: checking whether we are using GNU C" >&5
11840 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
11841 - echo $ac_n "(cached) $ac_c" 1>&6
11843 - cat > conftest.c <<EOF
11848 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
11849 - ac_cv_prog_gcc=yes
11850 +echo "$as_me:$LINENO: result: yes" >&5
11851 +echo "${ECHO_T}yes" >&6
11853 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
11854 +ac_clean_files=$ac_clean_files_save
11855 +# Check the compiler produces executables we can run. If not, either
11856 +# the compiler is broken, or we cross compile.
11857 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11858 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11859 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
11860 +echo "${ECHO_T}$cross_compiling" >&6
11862 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
11863 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11864 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11865 + (eval $ac_link) 2>&5
11867 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 + (exit $ac_status); }; then
11869 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
11870 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11871 +# work properly (i.e., refer to `conftest.exe'), while it won't with
11873 +for ac_file in conftest.exe conftest conftest.*; do
11874 + test -f "$ac_file" || continue
11876 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11877 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11878 + export ac_cv_exeext
11884 - ac_cv_prog_gcc=no
11887 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11888 +See \`config.log' for more details." >&5
11889 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11890 +See \`config.log' for more details." >&2;}
11891 + { (exit 1); exit 1; }; }
11894 +rm -f conftest$ac_cv_exeext
11895 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11896 +echo "${ECHO_T}$ac_cv_exeext" >&6
11898 +rm -f conftest.$ac_ext
11899 +EXEEXT=$ac_cv_exeext
11901 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
11902 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11903 +if test "${ac_cv_objext+set}" = set; then
11904 + echo $ECHO_N "(cached) $ECHO_C" >&6
11906 + cat >conftest.$ac_ext <<_ACEOF
11909 +cat confdefs.h >>conftest.$ac_ext
11910 +cat >>conftest.$ac_ext <<_ACEOF
11911 +/* end confdefs.h. */
11913 -echo "$ac_t""$ac_cv_prog_gcc" 1>&6
11918 -if test $ac_cv_prog_gcc = yes; then
11924 +rm -f conftest.o conftest.obj
11925 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11926 + (eval $ac_compile) 2>&5
11928 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 + (exit $ac_status); }; then
11930 + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11932 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11933 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11940 + echo "$as_me: failed program was:" >&5
11941 +sed 's/^/| /' conftest.$ac_ext >&5
11943 -ac_test_CFLAGS="${CFLAGS+set}"
11944 -ac_save_CFLAGS="$CFLAGS"
11946 -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
11947 -echo "configure:1216: checking whether ${CC-cc} accepts -g" >&5
11948 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
11949 - echo $ac_n "(cached) $ac_c" 1>&6
11951 - echo 'void f(){}' > conftest.c
11952 -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
11953 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11954 +See \`config.log' for more details." >&5
11955 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
11956 +See \`config.log' for more details." >&2;}
11957 + { (exit 1); exit 1; }; }
11960 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
11962 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11963 +echo "${ECHO_T}$ac_cv_objext" >&6
11964 +OBJEXT=$ac_cv_objext
11966 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11967 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11968 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
11969 + echo $ECHO_N "(cached) $ECHO_C" >&6
11971 + cat >conftest.$ac_ext <<_ACEOF
11974 +cat confdefs.h >>conftest.$ac_ext
11975 +cat >>conftest.$ac_ext <<_ACEOF
11976 +/* end confdefs.h. */
11989 +rm -f conftest.$ac_objext
11990 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11991 + (eval $ac_compile) 2>conftest.er1
11993 + grep -v '^ *+' conftest.er1 >conftest.err
11994 + rm -f conftest.er1
11995 + cat conftest.err >&5
11996 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 + (exit $ac_status); } &&
11998 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11999 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12000 + (eval $ac_try) 2>&5
12002 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 + (exit $ac_status); }; } &&
12004 + { ac_try='test -s conftest.$ac_objext'
12005 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 + (eval $ac_try) 2>&5
12008 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 + (exit $ac_status); }; }; then
12010 + ac_compiler_gnu=yes
12012 + echo "$as_me: failed program was:" >&5
12013 +sed 's/^/| /' conftest.$ac_ext >&5
12015 +ac_compiler_gnu=no
12017 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12018 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
12021 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12022 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12023 +GCC=`test $ac_compiler_gnu = yes && echo yes`
12024 +ac_test_CFLAGS=${CFLAGS+set}
12025 +ac_save_CFLAGS=$CFLAGS
12027 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12028 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12029 +if test "${ac_cv_prog_cc_g+set}" = set; then
12030 + echo $ECHO_N "(cached) $ECHO_C" >&6
12032 + cat >conftest.$ac_ext <<_ACEOF
12035 +cat confdefs.h >>conftest.$ac_ext
12036 +cat >>conftest.$ac_ext <<_ACEOF
12037 +/* end confdefs.h. */
12047 +rm -f conftest.$ac_objext
12048 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12049 + (eval $ac_compile) 2>conftest.er1
12051 + grep -v '^ *+' conftest.er1 >conftest.err
12052 + rm -f conftest.er1
12053 + cat conftest.err >&5
12054 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 + (exit $ac_status); } &&
12056 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12057 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12058 + (eval $ac_try) 2>&5
12060 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12061 + (exit $ac_status); }; } &&
12062 + { ac_try='test -s conftest.$ac_objext'
12063 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12064 + (eval $ac_try) 2>&5
12066 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 + (exit $ac_status); }; }; then
12068 ac_cv_prog_cc_g=yes
12070 - ac_cv_prog_cc_g=no
12073 + echo "$as_me: failed program was:" >&5
12074 +sed 's/^/| /' conftest.$ac_ext >&5
12076 +ac_cv_prog_cc_g=no
12079 -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
12080 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12082 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12083 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12084 if test "$ac_test_CFLAGS" = set; then
12085 - CFLAGS="$ac_save_CFLAGS"
12086 + CFLAGS=$ac_save_CFLAGS
12087 elif test $ac_cv_prog_cc_g = yes; then
12088 if test "$GCC" = yes; then
12090 @@ -1242,6 +2670,338 @@
12094 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12095 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12096 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
12097 + echo $ECHO_N "(cached) $ECHO_C" >&6
12099 + ac_cv_prog_cc_stdc=no
12101 +cat >conftest.$ac_ext <<_ACEOF
12104 +cat confdefs.h >>conftest.$ac_ext
12105 +cat >>conftest.$ac_ext <<_ACEOF
12106 +/* end confdefs.h. */
12107 +#include <stdarg.h>
12108 +#include <stdio.h>
12109 +#include <sys/types.h>
12110 +#include <sys/stat.h>
12111 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12112 +struct buf { int x; };
12113 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
12114 +static char *e (p, i)
12120 +static char *f (char * (*g) (char **, int), char **p, ...)
12125 + s = g (p, va_arg (v,int));
12130 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12131 + function prototypes and stuff, but not '\xHH' hex character constants.
12132 + These don't provoke an error unfortunately, instead are silently treated
12133 + as 'x'. The following induces an error, until -std1 is added to get
12134 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12135 + array size at least. It's necessary to write '\x00'==0 to get something
12136 + that's true only with -std1. */
12137 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12139 +int test (int i, double x);
12140 +struct s1 {int (*f) (int a);};
12141 +struct s2 {int (*f) (double a);};
12142 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12148 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12153 +# Don't try gcc -ansi; that turns off useful extensions and
12154 +# breaks some systems' header files.
12155 +# AIX -qlanglvl=ansi
12156 +# Ultrix and OSF/1 -std1
12157 +# HP-UX 10.20 and later -Ae
12158 +# HP-UX older versions -Aa -D_HPUX_SOURCE
12159 +# SVR4 -Xc -D__EXTENSIONS__
12160 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12162 + CC="$ac_save_CC $ac_arg"
12163 + rm -f conftest.$ac_objext
12164 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12165 + (eval $ac_compile) 2>conftest.er1
12167 + grep -v '^ *+' conftest.er1 >conftest.err
12168 + rm -f conftest.er1
12169 + cat conftest.err >&5
12170 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 + (exit $ac_status); } &&
12172 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12173 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12174 + (eval $ac_try) 2>&5
12176 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 + (exit $ac_status); }; } &&
12178 + { ac_try='test -s conftest.$ac_objext'
12179 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12180 + (eval $ac_try) 2>&5
12182 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 + (exit $ac_status); }; }; then
12184 + ac_cv_prog_cc_stdc=$ac_arg
12187 + echo "$as_me: failed program was:" >&5
12188 +sed 's/^/| /' conftest.$ac_ext >&5
12191 +rm -f conftest.err conftest.$ac_objext
12193 +rm -f conftest.$ac_ext conftest.$ac_objext
12198 +case "x$ac_cv_prog_cc_stdc" in
12200 + echo "$as_me:$LINENO: result: none needed" >&5
12201 +echo "${ECHO_T}none needed" >&6 ;;
12203 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12204 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12205 + CC="$CC $ac_cv_prog_cc_stdc" ;;
12208 +# Some people use a C++ compiler to compile C. Since we use `exit',
12209 +# in C++ we need to declare it. In case someone uses the same compiler
12210 +# for both compiling C and C++ we need to have the C++ compiler decide
12211 +# the declaration of exit, since it's the most demanding environment.
12212 +cat >conftest.$ac_ext <<_ACEOF
12213 +#ifndef __cplusplus
12217 +rm -f conftest.$ac_objext
12218 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12219 + (eval $ac_compile) 2>conftest.er1
12221 + grep -v '^ *+' conftest.er1 >conftest.err
12222 + rm -f conftest.er1
12223 + cat conftest.err >&5
12224 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 + (exit $ac_status); } &&
12226 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12227 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12228 + (eval $ac_try) 2>&5
12230 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 + (exit $ac_status); }; } &&
12232 + { ac_try='test -s conftest.$ac_objext'
12233 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12234 + (eval $ac_try) 2>&5
12236 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 + (exit $ac_status); }; }; then
12238 + for ac_declaration in \
12240 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
12241 + 'extern "C" void std::exit (int); using std::exit;' \
12242 + 'extern "C" void exit (int) throw ();' \
12243 + 'extern "C" void exit (int);' \
12244 + 'void exit (int);'
12246 + cat >conftest.$ac_ext <<_ACEOF
12249 +cat confdefs.h >>conftest.$ac_ext
12250 +cat >>conftest.$ac_ext <<_ACEOF
12251 +/* end confdefs.h. */
12253 +#include <stdlib.h>
12262 +rm -f conftest.$ac_objext
12263 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12264 + (eval $ac_compile) 2>conftest.er1
12266 + grep -v '^ *+' conftest.er1 >conftest.err
12267 + rm -f conftest.er1
12268 + cat conftest.err >&5
12269 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 + (exit $ac_status); } &&
12271 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12272 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 + (eval $ac_try) 2>&5
12275 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 + (exit $ac_status); }; } &&
12277 + { ac_try='test -s conftest.$ac_objext'
12278 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12279 + (eval $ac_try) 2>&5
12281 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 + (exit $ac_status); }; }; then
12285 + echo "$as_me: failed program was:" >&5
12286 +sed 's/^/| /' conftest.$ac_ext >&5
12290 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12291 + cat >conftest.$ac_ext <<_ACEOF
12294 +cat confdefs.h >>conftest.$ac_ext
12295 +cat >>conftest.$ac_ext <<_ACEOF
12296 +/* end confdefs.h. */
12306 +rm -f conftest.$ac_objext
12307 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12308 + (eval $ac_compile) 2>conftest.er1
12310 + grep -v '^ *+' conftest.er1 >conftest.err
12311 + rm -f conftest.er1
12312 + cat conftest.err >&5
12313 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12314 + (exit $ac_status); } &&
12315 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12316 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12317 + (eval $ac_try) 2>&5
12319 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12320 + (exit $ac_status); }; } &&
12321 + { ac_try='test -s conftest.$ac_objext'
12322 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12323 + (eval $ac_try) 2>&5
12325 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 + (exit $ac_status); }; }; then
12329 + echo "$as_me: failed program was:" >&5
12330 +sed 's/^/| /' conftest.$ac_ext >&5
12333 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12336 +if test -n "$ac_declaration"; then
12337 + echo '#ifdef __cplusplus' >>confdefs.h
12338 + echo $ac_declaration >>confdefs.h
12339 + echo '#endif' >>confdefs.h
12343 + echo "$as_me: failed program was:" >&5
12344 +sed 's/^/| /' conftest.$ac_ext >&5
12347 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12349 +ac_cpp='$CPP $CPPFLAGS'
12350 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12351 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12352 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
12354 +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
12355 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
12356 +if test "${lt_cv_path_SED+set}" = set; then
12357 + echo $ECHO_N "(cached) $ECHO_C" >&6
12359 + # Loop through the user's path and test for sed and gsed.
12360 +# Then use that list of sed's as ones to test for truncation.
12361 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12362 +for as_dir in $PATH
12365 + test -z "$as_dir" && as_dir=.
12366 + for lt_ac_prog in sed gsed; do
12367 + for ac_exec_ext in '' $ac_executable_extensions; do
12368 + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
12369 + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12376 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
12377 +# along with /bin/sed that truncates output.
12378 +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12379 + test ! -f $lt_ac_sed && continue
12380 + cat /dev/null > conftest.in
12382 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12383 + # Check for GNU sed and select it if it is found.
12384 + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12385 + lt_cv_path_SED=$lt_ac_sed
12389 + cat conftest.in conftest.in >conftest.tmp
12390 + mv conftest.tmp conftest.in
12391 + cp conftest.in conftest.nl
12392 + echo >>conftest.nl
12393 + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12394 + cmp -s conftest.out conftest.nl || break
12395 + # 10000 chars as input seems more than enough
12396 + test $lt_ac_count -gt 10 && break
12397 + lt_ac_count=`expr $lt_ac_count + 1`
12398 + if test $lt_ac_count -gt $lt_ac_max; then
12399 + lt_ac_max=$lt_ac_count
12400 + lt_cv_path_SED=$lt_ac_sed
12407 +SED=$lt_cv_path_SED
12408 +echo "$as_me:$LINENO: result: $SED" >&5
12409 +echo "${ECHO_T}$SED" >&6
12411 +echo "$as_me:$LINENO: checking for egrep" >&5
12412 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12413 +if test "${ac_cv_prog_egrep+set}" = set; then
12414 + echo $ECHO_N "(cached) $ECHO_C" >&6
12416 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12417 + then ac_cv_prog_egrep='grep -E'
12418 + else ac_cv_prog_egrep='egrep'
12421 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12422 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12423 + EGREP=$ac_cv_prog_egrep
12427 # Check whether --with-gnu-ld or --without-gnu-ld was given.
12428 if test "${with_gnu_ld+set}" = set; then
12429 @@ -1249,22 +3009,27 @@
12430 test "$withval" = no || with_gnu_ld=yes
12437 -if test "$ac_cv_prog_gcc" = yes; then
12438 +if test "$GCC" = yes; then
12439 # Check if gcc -print-prog-name=ld gives a path.
12440 - echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
12441 -echo "configure:1259: checking for ld used by GCC" >&5
12442 - ac_prog=`($CC -print-prog-name=ld) 2>&5`
12443 - case "$ac_prog" in
12444 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12445 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12448 + # gcc leaves a trailing carriage return which upsets mingw
12449 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12451 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12454 # Accept absolute paths.
12455 - [\\/]* | [A-Za-z]:[\\/]*)
12456 + [\\/]* | ?:[\\/]*)
12457 re_direlt='/[^/][^/]*/\.\./'
12458 - # Canonicalize the path of ld
12459 - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12460 + # Canonicalize the pathname of ld
12461 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12462 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12463 - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12464 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12466 test -z "$LD" && LD="$ac_prog"
12468 @@ -1278,294 +3043,15189 @@
12471 elif test "$with_gnu_ld" = yes; then
12472 - echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
12473 -echo "configure:1283: checking for GNU ld" >&5
12474 + echo "$as_me:$LINENO: checking for GNU ld" >&5
12475 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12477 - echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
12478 -echo "configure:1286: checking for non-GNU ld" >&5
12479 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12480 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12482 -if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
12483 - echo $ac_n "(cached) $ac_c" 1>&6
12484 +if test "${lt_cv_path_LD+set}" = set; then
12485 + echo $ECHO_N "(cached) $ECHO_C" >&6
12487 if test -z "$LD"; then
12488 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12489 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12490 for ac_dir in $PATH; do
12491 + IFS="$lt_save_ifs"
12492 test -z "$ac_dir" && ac_dir=.
12493 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12494 - ac_cv_path_LD="$ac_dir/$ac_prog"
12495 + lt_cv_path_LD="$ac_dir/$ac_prog"
12496 # Check to see if the program is GNU ld. I'd rather use --version,
12497 - # but apparently some GNU ld's only accept -v.
12498 + # but apparently some variants of GNU ld only accept -v.
12499 # Break only if it was the GNU/non-GNU ld that we prefer.
12500 - if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
12501 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12502 + *GNU* | *'with BFD'*)
12503 test "$with_gnu_ld" != no && break
12507 test "$with_gnu_ld" != yes && break
12513 - IFS="$ac_save_ifs"
12514 + IFS="$lt_save_ifs"
12516 - ac_cv_path_LD="$LD" # Let the user override the test with a path.
12517 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
12521 -LD="$ac_cv_path_LD"
12522 +LD="$lt_cv_path_LD"
12523 if test -n "$LD"; then
12524 - echo "$ac_t""$LD" 1>&6
12526 - echo "$ac_t""no" 1>&6
12528 -test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
12529 -echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
12530 -echo "configure:1321: checking if the linker ($LD) is GNU ld" >&5
12531 -if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
12532 - echo $ac_n "(cached) $ac_c" 1>&6
12533 + echo "$as_me:$LINENO: result: $LD" >&5
12534 +echo "${ECHO_T}$LD" >&6
12536 - # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12537 -if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
12538 - ac_cv_prog_gnu_ld=yes
12540 - ac_cv_prog_gnu_ld=no
12541 + echo "$as_me:$LINENO: result: no" >&5
12542 +echo "${ECHO_T}no" >&6
12544 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12545 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12546 + { (exit 1); exit 1; }; }
12547 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12548 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12549 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
12550 + echo $ECHO_N "(cached) $ECHO_C" >&6
12552 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
12553 +case `$LD -v 2>&1 </dev/null` in
12554 +*GNU* | *'with BFD'*)
12555 + lt_cv_prog_gnu_ld=yes
12558 + lt_cv_prog_gnu_ld=no
12562 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12563 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12564 +with_gnu_ld=$lt_cv_prog_gnu_ld
12567 +echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
12568 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
12569 +if test "${lt_cv_ld_reload_flag+set}" = set; then
12570 + echo $ECHO_N "(cached) $ECHO_C" >&6
12572 + lt_cv_ld_reload_flag='-r'
12574 +echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
12575 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
12576 +reload_flag=$lt_cv_ld_reload_flag
12577 +case $reload_flag in
12579 +*) reload_flag=" $reload_flag" ;;
12581 +reload_cmds='$LD$reload_flag -o $output$reload_objs'
12584 + if test "$GCC" = yes; then
12585 + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
12587 + reload_cmds='$LD$reload_flag -o $output$reload_objs'
12592 -echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
12595 -echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
12596 -echo "configure:1337: checking for BSD-compatible nm" >&5
12597 -if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
12598 - echo $ac_n "(cached) $ac_c" 1>&6
12599 +echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
12600 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
12601 +if test "${lt_cv_path_NM+set}" = set; then
12602 + echo $ECHO_N "(cached) $ECHO_C" >&6
12604 if test -n "$NM"; then
12605 # Let the user override the test.
12606 - ac_cv_path_NM="$NM"
12607 + lt_cv_path_NM="$NM"
12609 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12610 - for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
12611 - test -z "$ac_dir" && ac_dir=.
12612 - if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
12613 - # Check to see if the nm accepts a BSD-compat flag.
12614 - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
12615 - # nm: unknown option "B" ignored
12616 - if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
12617 - ac_cv_path_NM="$ac_dir/nm -B"
12619 - elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
12620 - ac_cv_path_NM="$ac_dir/nm -p"
12623 - ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
12624 - continue # so that we can try to find one that supports BSD flags
12625 + lt_nm_to_check="${ac_tool_prefix}nm"
12626 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
12627 + lt_nm_to_check="$lt_nm_to_check nm"
12629 + for lt_tmp_nm in $lt_nm_to_check; do
12630 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12631 + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
12632 + IFS="$lt_save_ifs"
12633 + test -z "$ac_dir" && ac_dir=.
12634 + tmp_nm="$ac_dir/$lt_tmp_nm"
12635 + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
12636 + # Check to see if the nm accepts a BSD-compat flag.
12637 + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
12638 + # nm: unknown option "B" ignored
12639 + # Tru64's nm complains that /dev/null is an invalid object file
12640 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
12641 + */dev/null* | *'Invalid file or object type'*)
12642 + lt_cv_path_NM="$tmp_nm -B"
12646 + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
12648 + lt_cv_path_NM="$tmp_nm -p"
12652 + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
12653 + continue # so that we can try to find one that supports BSD flags
12661 + IFS="$lt_save_ifs"
12663 - IFS="$ac_save_ifs"
12664 - test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
12665 + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
12668 +echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
12669 +echo "${ECHO_T}$lt_cv_path_NM" >&6
12670 +NM="$lt_cv_path_NM"
12672 +echo "$as_me:$LINENO: checking whether ln -s works" >&5
12673 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12675 +if test "$LN_S" = "ln -s"; then
12676 + echo "$as_me:$LINENO: result: yes" >&5
12677 +echo "${ECHO_T}yes" >&6
12679 + echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12680 +echo "${ECHO_T}no, using $LN_S" >&6
12683 +echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
12684 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
12685 +if test "${lt_cv_deplibs_check_method+set}" = set; then
12686 + echo $ECHO_N "(cached) $ECHO_C" >&6
12688 + lt_cv_file_magic_cmd='$MAGIC_CMD'
12689 +lt_cv_file_magic_test_file=
12690 +lt_cv_deplibs_check_method='unknown'
12691 +# Need to set the preceding variable on all platforms that support
12692 +# interlibrary dependencies.
12693 +# 'none' -- dependencies not supported.
12694 +# `unknown' -- same as none, but documents that we really don't know.
12695 +# 'pass_all' -- all dependencies passed with no checks.
12696 +# 'test_compile' -- check by making test program.
12697 +# 'file_magic [[regex]]' -- check by looking for files in library path
12698 +# which responds to the $file_magic_cmd with a given extended regex.
12699 +# If you have `file' or equivalent on your system and you're not sure
12700 +# whether `pass_all' will *always* work, you probably want this one.
12704 + lt_cv_deplibs_check_method=pass_all
12707 -NM="$ac_cv_path_NM"
12708 -echo "$ac_t""$NM" 1>&6
12710 + lt_cv_deplibs_check_method=pass_all
12713 -echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
12714 -echo "configure:1373: checking whether ln -s works" >&5
12715 -if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
12716 - echo $ac_n "(cached) $ac_c" 1>&6
12718 - rm -f conftestdata
12719 -if ln -s X conftestdata 2>/dev/null
12721 - rm -f conftestdata
12722 - ac_cv_prog_LN_S="ln -s"
12724 - ac_cv_prog_LN_S=ln
12727 -LN_S="$ac_cv_prog_LN_S"
12728 -if test "$ac_cv_prog_LN_S" = "ln -s"; then
12729 - echo "$ac_t""yes" 1>&6
12731 - echo "$ac_t""no" 1>&6
12734 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12735 + lt_cv_file_magic_cmd='/usr/bin/file -L'
12736 + lt_cv_file_magic_test_file=/shlib/libc.so
12740 + # func_win32_libid is a shell function defined in ltmain.sh
12741 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12742 + lt_cv_file_magic_cmd='func_win32_libid'
12746 -NONE) lt_target="$host" ;;
12747 -*) lt_target="$target" ;;
12750 + # Base MSYS/MinGW do not provide the 'file' command needed by
12751 + # func_win32_libid shell function, so use a weaker test based on 'objdump'.
12752 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12753 + lt_cv_file_magic_cmd='$OBJDUMP -f'
12756 +darwin* | rhapsody*)
12757 + lt_cv_deplibs_check_method=pass_all
12760 +freebsd* | kfreebsd*-gnu | dragonfly*)
12761 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12762 + case $host_cpu in
12764 + # Not sure whether the presence of OpenBSD here was a mistake.
12765 + # Let's accept both of them until this is cleared up.
12766 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12767 + lt_cv_file_magic_cmd=/usr/bin/file
12768 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12772 + lt_cv_deplibs_check_method=pass_all
12777 + lt_cv_deplibs_check_method=pass_all
12780 +hpux10.20* | hpux11*)
12781 + lt_cv_file_magic_cmd=/usr/bin/file
12782 + case $host_cpu in
12784 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12785 + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12788 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
12789 + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12792 + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12793 + lt_cv_file_magic_test_file=/usr/lib/libc.sl
12799 + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12800 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12803 +irix5* | irix6* | nonstopux*)
12805 + *-32|*"-32 ") libmagic=32-bit;;
12806 + *-n32|*"-n32 ") libmagic=N32;;
12807 + *-64|*"-64 ") libmagic=64-bit;;
12808 + *) libmagic=never-match;;
12810 + lt_cv_deplibs_check_method=pass_all
12813 +# This must be Linux ELF.
12815 + lt_cv_deplibs_check_method=pass_all
12818 +netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12819 + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12820 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12822 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12827 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12828 + lt_cv_file_magic_cmd=/usr/bin/file
12829 + lt_cv_file_magic_test_file=/usr/lib/libnls.so
12833 + lt_cv_deplibs_check_method=unknown
12837 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12838 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12840 + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12844 +osf3* | osf4* | osf5*)
12845 + lt_cv_deplibs_check_method=pass_all
12849 + lt_cv_deplibs_check_method=pass_all
12853 + case $host_vendor in
12855 + 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]'
12856 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12859 + lt_cv_deplibs_check_method=pass_all
12862 + lt_cv_file_magic_cmd='/bin/file'
12863 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12866 + lt_cv_file_magic_cmd='/bin/file'
12867 + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
12868 + lt_cv_file_magic_test_file=/lib/libc.so
12871 + lt_cv_deplibs_check_method=pass_all
12874 + lt_cv_deplibs_check_method=pass_all
12879 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12880 + lt_cv_deplibs_check_method=pass_all
12885 +echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
12886 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
12887 +file_magic_cmd=$lt_cv_file_magic_cmd
12888 +deplibs_check_method=$lt_cv_deplibs_check_method
12889 +test -z "$deplibs_check_method" && deplibs_check_method=unknown
12894 +# If no C compiler was specified, use CC.
12895 +LTCC=${LTCC-"$CC"}
12897 +# If no C compiler flags were specified, use CFLAGS.
12898 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12900 +# Allow CC to be a program name with arguments.
12904 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
12905 +if test "${enable_libtool_lock+set}" = set; then
12906 + enableval="$enable_libtool_lock"
12909 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12911 +# Some flags need to be propagated to the compiler or linker for good
12912 +# libtool support.
12915 + # Find out which ABI we are using.
12916 + echo 'int i;' > conftest.$ac_ext
12917 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12918 + (eval $ac_compile) 2>&5
12920 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 + (exit $ac_status); }; then
12922 + case `/usr/bin/file conftest.$ac_objext` in
12924 + HPUX_IA64_MODE="32"
12927 + HPUX_IA64_MODE="64"
12934 + # Find out which ABI we are using.
12935 + echo '#line 3427 "configure"' > conftest.$ac_ext
12936 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12937 + (eval $ac_compile) 2>&5
12939 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 + (exit $ac_status); }; then
12941 + if test "$lt_cv_prog_gnu_ld" = yes; then
12942 + case `/usr/bin/file conftest.$ac_objext` in
12944 + LD="${LD-ld} -melf32bsmip"
12947 + LD="${LD-ld} -melf32bmipn32"
12950 + LD="${LD-ld} -melf64bmip"
12954 + case `/usr/bin/file conftest.$ac_objext` in
12956 + LD="${LD-ld} -32"
12959 + LD="${LD-ld} -n32"
12962 + LD="${LD-ld} -64"
12970 +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
12971 + # Find out which ABI we are using.
12972 + echo 'int i;' > conftest.$ac_ext
12973 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12974 + (eval $ac_compile) 2>&5
12976 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 + (exit $ac_status); }; then
12978 + case `/usr/bin/file conftest.o` in
12982 + LD="${LD-ld} -m elf_i386"
12984 + ppc64-*linux*|powerpc64-*linux*)
12985 + LD="${LD-ld} -m elf32ppclinux"
12988 + LD="${LD-ld} -m elf_s390"
12991 + LD="${LD-ld} -m elf32_sparc"
12998 + LD="${LD-ld} -m elf_x86_64"
13000 + ppc*-*linux*|powerpc*-*linux*)
13001 + LD="${LD-ld} -m elf64ppc"
13004 + LD="${LD-ld} -m elf64_s390"
13007 + LD="${LD-ld} -m elf64_sparc"
13017 + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
13018 + SAVE_CFLAGS="$CFLAGS"
13019 + CFLAGS="$CFLAGS -belf"
13020 + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
13021 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
13022 +if test "${lt_cv_cc_needs_belf+set}" = set; then
13023 + echo $ECHO_N "(cached) $ECHO_C" >&6
13026 +ac_cpp='$CPP $CPPFLAGS'
13027 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13028 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13029 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13031 + cat >conftest.$ac_ext <<_ACEOF
13034 +cat confdefs.h >>conftest.$ac_ext
13035 +cat >>conftest.$ac_ext <<_ACEOF
13036 +/* end confdefs.h. */
13046 +rm -f conftest.$ac_objext conftest$ac_exeext
13047 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13048 + (eval $ac_link) 2>conftest.er1
13050 + grep -v '^ *+' conftest.er1 >conftest.err
13051 + rm -f conftest.er1
13052 + cat conftest.err >&5
13053 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 + (exit $ac_status); } &&
13055 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13056 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057 + (eval $ac_try) 2>&5
13059 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 + (exit $ac_status); }; } &&
13061 + { ac_try='test -s conftest$ac_exeext'
13062 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 + (eval $ac_try) 2>&5
13065 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 + (exit $ac_status); }; }; then
13067 + lt_cv_cc_needs_belf=yes
13069 + echo "$as_me: failed program was:" >&5
13070 +sed 's/^/| /' conftest.$ac_ext >&5
13072 +lt_cv_cc_needs_belf=no
13074 +rm -f conftest.err conftest.$ac_objext \
13075 + conftest$ac_exeext conftest.$ac_ext
13077 +ac_cpp='$CPP $CPPFLAGS'
13078 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13083 +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
13084 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
13085 + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
13086 + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
13087 + CFLAGS="$SAVE_CFLAGS"
13091 + # Find out which ABI we are using.
13092 + echo 'int i;' > conftest.$ac_ext
13093 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13094 + (eval $ac_compile) 2>&5
13096 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 + (exit $ac_status); }; then
13098 + case `/usr/bin/file conftest.o` in
13100 + case $lt_cv_prog_gnu_ld in
13101 + yes*) LD="${LD-ld} -m elf64_sparc" ;;
13102 + *) LD="${LD-ld} -64" ;;
13113 +need_locks="$enable_libtool_lock"
13117 +ac_cpp='$CPP $CPPFLAGS'
13118 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13119 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13120 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13121 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13122 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13123 +# On Suns, sometimes $CPP names a directory.
13124 +if test -n "$CPP" && test -d "$CPP"; then
13127 +if test -z "$CPP"; then
13128 + if test "${ac_cv_prog_CPP+set}" = set; then
13129 + echo $ECHO_N "(cached) $ECHO_C" >&6
13131 + # Double quotes because CPP needs to be expanded
13132 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13134 + ac_preproc_ok=false
13135 +for ac_c_preproc_warn_flag in '' yes
13137 + # Use a header file that comes with gcc, so configuring glibc
13138 + # with a fresh cross-compiler works.
13139 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13140 + # <limits.h> exists even on freestanding compilers.
13141 + # On the NeXT, cc -E runs the code through the compiler's parser,
13142 + # not just through cpp. "Syntax error" is here to catch this case.
13143 + cat >conftest.$ac_ext <<_ACEOF
13146 +cat confdefs.h >>conftest.$ac_ext
13147 +cat >>conftest.$ac_ext <<_ACEOF
13148 +/* end confdefs.h. */
13150 +# include <limits.h>
13152 +# include <assert.h>
13156 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13157 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13159 + grep -v '^ *+' conftest.er1 >conftest.err
13160 + rm -f conftest.er1
13161 + cat conftest.err >&5
13162 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 + (exit $ac_status); } >/dev/null; then
13164 + if test -s conftest.err; then
13165 + ac_cpp_err=$ac_c_preproc_warn_flag
13166 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13173 +if test -z "$ac_cpp_err"; then
13176 + echo "$as_me: failed program was:" >&5
13177 +sed 's/^/| /' conftest.$ac_ext >&5
13179 + # Broken: fails on valid input.
13182 +rm -f conftest.err conftest.$ac_ext
13184 + # OK, works on sane cases. Now check whether non-existent headers
13185 + # can be detected and how.
13186 + cat >conftest.$ac_ext <<_ACEOF
13189 +cat confdefs.h >>conftest.$ac_ext
13190 +cat >>conftest.$ac_ext <<_ACEOF
13191 +/* end confdefs.h. */
13192 +#include <ac_nonexistent.h>
13194 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13195 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13197 + grep -v '^ *+' conftest.er1 >conftest.err
13198 + rm -f conftest.er1
13199 + cat conftest.err >&5
13200 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 + (exit $ac_status); } >/dev/null; then
13202 + if test -s conftest.err; then
13203 + ac_cpp_err=$ac_c_preproc_warn_flag
13204 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13211 +if test -z "$ac_cpp_err"; then
13212 + # Broken: success on invalid input.
13215 + echo "$as_me: failed program was:" >&5
13216 +sed 's/^/| /' conftest.$ac_ext >&5
13218 + # Passes both tests.
13222 +rm -f conftest.err conftest.$ac_ext
13225 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13226 +rm -f conftest.err conftest.$ac_ext
13227 +if $ac_preproc_ok; then
13232 + ac_cv_prog_CPP=$CPP
13235 + CPP=$ac_cv_prog_CPP
13237 + ac_cv_prog_CPP=$CPP
13239 +echo "$as_me:$LINENO: result: $CPP" >&5
13240 +echo "${ECHO_T}$CPP" >&6
13241 +ac_preproc_ok=false
13242 +for ac_c_preproc_warn_flag in '' yes
13244 + # Use a header file that comes with gcc, so configuring glibc
13245 + # with a fresh cross-compiler works.
13246 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13247 + # <limits.h> exists even on freestanding compilers.
13248 + # On the NeXT, cc -E runs the code through the compiler's parser,
13249 + # not just through cpp. "Syntax error" is here to catch this case.
13250 + cat >conftest.$ac_ext <<_ACEOF
13253 +cat confdefs.h >>conftest.$ac_ext
13254 +cat >>conftest.$ac_ext <<_ACEOF
13255 +/* end confdefs.h. */
13257 +# include <limits.h>
13259 +# include <assert.h>
13263 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13264 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13266 + grep -v '^ *+' conftest.er1 >conftest.err
13267 + rm -f conftest.er1
13268 + cat conftest.err >&5
13269 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 + (exit $ac_status); } >/dev/null; then
13271 + if test -s conftest.err; then
13272 + ac_cpp_err=$ac_c_preproc_warn_flag
13273 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13280 +if test -z "$ac_cpp_err"; then
13283 + echo "$as_me: failed program was:" >&5
13284 +sed 's/^/| /' conftest.$ac_ext >&5
13286 + # Broken: fails on valid input.
13289 +rm -f conftest.err conftest.$ac_ext
13291 + # OK, works on sane cases. Now check whether non-existent headers
13292 + # can be detected and how.
13293 + cat >conftest.$ac_ext <<_ACEOF
13296 +cat confdefs.h >>conftest.$ac_ext
13297 +cat >>conftest.$ac_ext <<_ACEOF
13298 +/* end confdefs.h. */
13299 +#include <ac_nonexistent.h>
13301 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13302 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13304 + grep -v '^ *+' conftest.er1 >conftest.err
13305 + rm -f conftest.er1
13306 + cat conftest.err >&5
13307 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 + (exit $ac_status); } >/dev/null; then
13309 + if test -s conftest.err; then
13310 + ac_cpp_err=$ac_c_preproc_warn_flag
13311 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13318 +if test -z "$ac_cpp_err"; then
13319 + # Broken: success on invalid input.
13322 + echo "$as_me: failed program was:" >&5
13323 +sed 's/^/| /' conftest.$ac_ext >&5
13325 + # Passes both tests.
13329 +rm -f conftest.err conftest.$ac_ext
13332 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13333 +rm -f conftest.err conftest.$ac_ext
13334 +if $ac_preproc_ok; then
13337 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13338 +See \`config.log' for more details." >&5
13339 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13340 +See \`config.log' for more details." >&2;}
13341 + { (exit 1); exit 1; }; }
13345 +ac_cpp='$CPP $CPPFLAGS'
13346 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13347 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13348 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
13351 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13352 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13353 +if test "${ac_cv_header_stdc+set}" = set; then
13354 + echo $ECHO_N "(cached) $ECHO_C" >&6
13356 + cat >conftest.$ac_ext <<_ACEOF
13359 +cat confdefs.h >>conftest.$ac_ext
13360 +cat >>conftest.$ac_ext <<_ACEOF
13361 +/* end confdefs.h. */
13362 +#include <stdlib.h>
13363 +#include <stdarg.h>
13364 +#include <string.h>
13365 +#include <float.h>
13375 +rm -f conftest.$ac_objext
13376 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13377 + (eval $ac_compile) 2>conftest.er1
13379 + grep -v '^ *+' conftest.er1 >conftest.err
13380 + rm -f conftest.er1
13381 + cat conftest.err >&5
13382 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 + (exit $ac_status); } &&
13384 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13385 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13386 + (eval $ac_try) 2>&5
13388 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 + (exit $ac_status); }; } &&
13390 + { ac_try='test -s conftest.$ac_objext'
13391 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13392 + (eval $ac_try) 2>&5
13394 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 + (exit $ac_status); }; }; then
13396 + ac_cv_header_stdc=yes
13398 + echo "$as_me: failed program was:" >&5
13399 +sed 's/^/| /' conftest.$ac_ext >&5
13401 +ac_cv_header_stdc=no
13403 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13405 +if test $ac_cv_header_stdc = yes; then
13406 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13407 + cat >conftest.$ac_ext <<_ACEOF
13410 +cat confdefs.h >>conftest.$ac_ext
13411 +cat >>conftest.$ac_ext <<_ACEOF
13412 +/* end confdefs.h. */
13413 +#include <string.h>
13416 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13417 + $EGREP "memchr" >/dev/null 2>&1; then
13420 + ac_cv_header_stdc=no
13426 +if test $ac_cv_header_stdc = yes; then
13427 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13428 + cat >conftest.$ac_ext <<_ACEOF
13431 +cat confdefs.h >>conftest.$ac_ext
13432 +cat >>conftest.$ac_ext <<_ACEOF
13433 +/* end confdefs.h. */
13434 +#include <stdlib.h>
13437 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13438 + $EGREP "free" >/dev/null 2>&1; then
13441 + ac_cv_header_stdc=no
13447 +if test $ac_cv_header_stdc = yes; then
13448 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13449 + if test "$cross_compiling" = yes; then
13452 + cat >conftest.$ac_ext <<_ACEOF
13455 +cat confdefs.h >>conftest.$ac_ext
13456 +cat >>conftest.$ac_ext <<_ACEOF
13457 +/* end confdefs.h. */
13458 +#include <ctype.h>
13459 +#if ((' ' & 0x0FF) == 0x020)
13460 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13461 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13463 +# define ISLOWER(c) \
13464 + (('a' <= (c) && (c) <= 'i') \
13465 + || ('j' <= (c) && (c) <= 'r') \
13466 + || ('s' <= (c) && (c) <= 'z'))
13467 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13470 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13475 + for (i = 0; i < 256; i++)
13476 + if (XOR (islower (i), ISLOWER (i))
13477 + || toupper (i) != TOUPPER (i))
13482 +rm -f conftest$ac_exeext
13483 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13484 + (eval $ac_link) 2>&5
13486 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13488 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489 + (eval $ac_try) 2>&5
13491 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 + (exit $ac_status); }; }; then
13495 + echo "$as_me: program exited with status $ac_status" >&5
13496 +echo "$as_me: failed program was:" >&5
13497 +sed 's/^/| /' conftest.$ac_ext >&5
13499 +( exit $ac_status )
13500 +ac_cv_header_stdc=no
13502 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13506 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13507 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
13508 +if test $ac_cv_header_stdc = yes; then
13510 +cat >>confdefs.h <<\_ACEOF
13511 +#define STDC_HEADERS 1
13516 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
13526 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13527 + inttypes.h stdint.h unistd.h
13529 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13530 +echo "$as_me:$LINENO: checking for $ac_header" >&5
13531 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13532 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
13533 + echo $ECHO_N "(cached) $ECHO_C" >&6
13535 + cat >conftest.$ac_ext <<_ACEOF
13538 +cat confdefs.h >>conftest.$ac_ext
13539 +cat >>conftest.$ac_ext <<_ACEOF
13540 +/* end confdefs.h. */
13541 +$ac_includes_default
13543 +#include <$ac_header>
13545 +rm -f conftest.$ac_objext
13546 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13547 + (eval $ac_compile) 2>conftest.er1
13549 + grep -v '^ *+' conftest.er1 >conftest.err
13550 + rm -f conftest.er1
13551 + cat conftest.err >&5
13552 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 + (exit $ac_status); } &&
13554 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13555 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 + (eval $ac_try) 2>&5
13558 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 + (exit $ac_status); }; } &&
13560 + { ac_try='test -s conftest.$ac_objext'
13561 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13562 + (eval $ac_try) 2>&5
13564 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 + (exit $ac_status); }; }; then
13566 + eval "$as_ac_Header=yes"
13568 + echo "$as_me: failed program was:" >&5
13569 +sed 's/^/| /' conftest.$ac_ext >&5
13571 +eval "$as_ac_Header=no"
13573 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13575 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13576 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13577 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
13578 + cat >>confdefs.h <<_ACEOF
13579 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13588 +for ac_header in dlfcn.h
13590 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13591 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
13592 + echo "$as_me:$LINENO: checking for $ac_header" >&5
13593 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13594 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
13595 + echo $ECHO_N "(cached) $ECHO_C" >&6
13597 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13598 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13600 + # Is the header compilable?
13601 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
13602 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13603 +cat >conftest.$ac_ext <<_ACEOF
13606 +cat confdefs.h >>conftest.$ac_ext
13607 +cat >>conftest.$ac_ext <<_ACEOF
13608 +/* end confdefs.h. */
13609 +$ac_includes_default
13610 +#include <$ac_header>
13612 +rm -f conftest.$ac_objext
13613 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13614 + (eval $ac_compile) 2>conftest.er1
13616 + grep -v '^ *+' conftest.er1 >conftest.err
13617 + rm -f conftest.er1
13618 + cat conftest.err >&5
13619 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 + (exit $ac_status); } &&
13621 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13622 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 + (eval $ac_try) 2>&5
13625 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 + (exit $ac_status); }; } &&
13627 + { ac_try='test -s conftest.$ac_objext'
13628 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13629 + (eval $ac_try) 2>&5
13631 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 + (exit $ac_status); }; }; then
13633 + ac_header_compiler=yes
13635 + echo "$as_me: failed program was:" >&5
13636 +sed 's/^/| /' conftest.$ac_ext >&5
13638 +ac_header_compiler=no
13640 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13641 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13642 +echo "${ECHO_T}$ac_header_compiler" >&6
13644 +# Is the header present?
13645 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
13646 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13647 +cat >conftest.$ac_ext <<_ACEOF
13650 +cat confdefs.h >>conftest.$ac_ext
13651 +cat >>conftest.$ac_ext <<_ACEOF
13652 +/* end confdefs.h. */
13653 +#include <$ac_header>
13655 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13656 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13658 + grep -v '^ *+' conftest.er1 >conftest.err
13659 + rm -f conftest.er1
13660 + cat conftest.err >&5
13661 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 + (exit $ac_status); } >/dev/null; then
13663 + if test -s conftest.err; then
13664 + ac_cpp_err=$ac_c_preproc_warn_flag
13665 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13672 +if test -z "$ac_cpp_err"; then
13673 + ac_header_preproc=yes
13675 + echo "$as_me: failed program was:" >&5
13676 +sed 's/^/| /' conftest.$ac_ext >&5
13678 + ac_header_preproc=no
13680 +rm -f conftest.err conftest.$ac_ext
13681 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13682 +echo "${ECHO_T}$ac_header_preproc" >&6
13684 +# So? What about this header?
13685 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13687 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13688 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13689 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13690 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13691 + ac_header_preproc=yes
13694 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13695 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13696 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13697 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13698 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13699 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13700 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13701 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13702 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13703 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13704 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13705 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13708 +## ------------------------------------------ ##
13709 +## Report this to the AC_PACKAGE_NAME lists. ##
13710 +## ------------------------------------------ ##
13713 + sed "s/^/$as_me: WARNING: /" >&2
13716 +echo "$as_me:$LINENO: checking for $ac_header" >&5
13717 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13718 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
13719 + echo $ECHO_N "(cached) $ECHO_C" >&6
13721 + eval "$as_ac_Header=\$ac_header_preproc"
13723 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13724 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13727 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
13728 + cat >>confdefs.h <<_ACEOF
13729 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13737 +ac_cpp='$CXXCPP $CPPFLAGS'
13738 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13739 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13740 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13741 +if test -n "$ac_tool_prefix"; then
13742 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13744 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13745 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13746 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13747 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13748 +if test "${ac_cv_prog_CXX+set}" = set; then
13749 + echo $ECHO_N "(cached) $ECHO_C" >&6
13751 + if test -n "$CXX"; then
13752 + ac_cv_prog_CXX="$CXX" # Let the user override the test.
13754 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13755 +for as_dir in $PATH
13758 + test -z "$as_dir" && as_dir=.
13759 + for ac_exec_ext in '' $ac_executable_extensions; do
13760 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13761 + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13762 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13770 +CXX=$ac_cv_prog_CXX
13771 +if test -n "$CXX"; then
13772 + echo "$as_me:$LINENO: result: $CXX" >&5
13773 +echo "${ECHO_T}$CXX" >&6
13775 + echo "$as_me:$LINENO: result: no" >&5
13776 +echo "${ECHO_T}no" >&6
13779 + test -n "$CXX" && break
13782 +if test -z "$CXX"; then
13784 + for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13786 + # Extract the first word of "$ac_prog", so it can be a program name with args.
13787 +set dummy $ac_prog; ac_word=$2
13788 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13789 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13790 +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13791 + echo $ECHO_N "(cached) $ECHO_C" >&6
13793 + if test -n "$ac_ct_CXX"; then
13794 + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13796 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13797 +for as_dir in $PATH
13800 + test -z "$as_dir" && as_dir=.
13801 + for ac_exec_ext in '' $ac_executable_extensions; do
13802 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13803 + ac_cv_prog_ac_ct_CXX="$ac_prog"
13804 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13812 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13813 +if test -n "$ac_ct_CXX"; then
13814 + echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13815 +echo "${ECHO_T}$ac_ct_CXX" >&6
13817 + echo "$as_me:$LINENO: result: no" >&5
13818 +echo "${ECHO_T}no" >&6
13821 + test -n "$ac_ct_CXX" && break
13823 +test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13829 +# Provide some information about the compiler.
13830 +echo "$as_me:$LINENO:" \
13831 + "checking for C++ compiler version" >&5
13832 +ac_compiler=`set X $ac_compile; echo $2`
13833 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13834 + (eval $ac_compiler --version </dev/null >&5) 2>&5
13836 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 + (exit $ac_status); }
13838 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13839 + (eval $ac_compiler -v </dev/null >&5) 2>&5
13841 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 + (exit $ac_status); }
13843 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13844 + (eval $ac_compiler -V </dev/null >&5) 2>&5
13846 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 + (exit $ac_status); }
13849 +echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13850 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13851 +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13852 + echo $ECHO_N "(cached) $ECHO_C" >&6
13854 + cat >conftest.$ac_ext <<_ACEOF
13857 +cat confdefs.h >>conftest.$ac_ext
13858 +cat >>conftest.$ac_ext <<_ACEOF
13859 +/* end confdefs.h. */
13872 +rm -f conftest.$ac_objext
13873 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13874 + (eval $ac_compile) 2>conftest.er1
13876 + grep -v '^ *+' conftest.er1 >conftest.err
13877 + rm -f conftest.er1
13878 + cat conftest.err >&5
13879 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 + (exit $ac_status); } &&
13881 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13882 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13883 + (eval $ac_try) 2>&5
13885 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 + (exit $ac_status); }; } &&
13887 + { ac_try='test -s conftest.$ac_objext'
13888 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13889 + (eval $ac_try) 2>&5
13891 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 + (exit $ac_status); }; }; then
13893 + ac_compiler_gnu=yes
13895 + echo "$as_me: failed program was:" >&5
13896 +sed 's/^/| /' conftest.$ac_ext >&5
13898 +ac_compiler_gnu=no
13900 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13901 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13904 +echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13905 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13906 +GXX=`test $ac_compiler_gnu = yes && echo yes`
13907 +ac_test_CXXFLAGS=${CXXFLAGS+set}
13908 +ac_save_CXXFLAGS=$CXXFLAGS
13910 +echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13911 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13912 +if test "${ac_cv_prog_cxx_g+set}" = set; then
13913 + echo $ECHO_N "(cached) $ECHO_C" >&6
13915 + cat >conftest.$ac_ext <<_ACEOF
13918 +cat confdefs.h >>conftest.$ac_ext
13919 +cat >>conftest.$ac_ext <<_ACEOF
13920 +/* end confdefs.h. */
13930 +rm -f conftest.$ac_objext
13931 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13932 + (eval $ac_compile) 2>conftest.er1
13934 + grep -v '^ *+' conftest.er1 >conftest.err
13935 + rm -f conftest.er1
13936 + cat conftest.err >&5
13937 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 + (exit $ac_status); } &&
13939 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13940 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13941 + (eval $ac_try) 2>&5
13943 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 + (exit $ac_status); }; } &&
13945 + { ac_try='test -s conftest.$ac_objext'
13946 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13947 + (eval $ac_try) 2>&5
13949 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 + (exit $ac_status); }; }; then
13951 + ac_cv_prog_cxx_g=yes
13953 + echo "$as_me: failed program was:" >&5
13954 +sed 's/^/| /' conftest.$ac_ext >&5
13956 +ac_cv_prog_cxx_g=no
13958 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13960 +echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13961 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13962 +if test "$ac_test_CXXFLAGS" = set; then
13963 + CXXFLAGS=$ac_save_CXXFLAGS
13964 +elif test $ac_cv_prog_cxx_g = yes; then
13965 + if test "$GXX" = yes; then
13966 + CXXFLAGS="-g -O2"
13971 + if test "$GXX" = yes; then
13977 +for ac_declaration in \
13979 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
13980 + 'extern "C" void std::exit (int); using std::exit;' \
13981 + 'extern "C" void exit (int) throw ();' \
13982 + 'extern "C" void exit (int);' \
13983 + 'void exit (int);'
13985 + cat >conftest.$ac_ext <<_ACEOF
13988 +cat confdefs.h >>conftest.$ac_ext
13989 +cat >>conftest.$ac_ext <<_ACEOF
13990 +/* end confdefs.h. */
13992 +#include <stdlib.h>
14001 +rm -f conftest.$ac_objext
14002 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14003 + (eval $ac_compile) 2>conftest.er1
14005 + grep -v '^ *+' conftest.er1 >conftest.err
14006 + rm -f conftest.er1
14007 + cat conftest.err >&5
14008 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 + (exit $ac_status); } &&
14010 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14011 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14012 + (eval $ac_try) 2>&5
14014 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 + (exit $ac_status); }; } &&
14016 + { ac_try='test -s conftest.$ac_objext'
14017 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14018 + (eval $ac_try) 2>&5
14020 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 + (exit $ac_status); }; }; then
14024 + echo "$as_me: failed program was:" >&5
14025 +sed 's/^/| /' conftest.$ac_ext >&5
14029 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14030 + cat >conftest.$ac_ext <<_ACEOF
14033 +cat confdefs.h >>conftest.$ac_ext
14034 +cat >>conftest.$ac_ext <<_ACEOF
14035 +/* end confdefs.h. */
14045 +rm -f conftest.$ac_objext
14046 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14047 + (eval $ac_compile) 2>conftest.er1
14049 + grep -v '^ *+' conftest.er1 >conftest.err
14050 + rm -f conftest.er1
14051 + cat conftest.err >&5
14052 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 + (exit $ac_status); } &&
14054 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14055 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14056 + (eval $ac_try) 2>&5
14058 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 + (exit $ac_status); }; } &&
14060 + { ac_try='test -s conftest.$ac_objext'
14061 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14062 + (eval $ac_try) 2>&5
14064 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 + (exit $ac_status); }; }; then
14068 + echo "$as_me: failed program was:" >&5
14069 +sed 's/^/| /' conftest.$ac_ext >&5
14072 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14075 +if test -n "$ac_declaration"; then
14076 + echo '#ifdef __cplusplus' >>confdefs.h
14077 + echo $ac_declaration >>confdefs.h
14078 + echo '#endif' >>confdefs.h
14082 +ac_cpp='$CXXCPP $CPPFLAGS'
14083 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14084 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14085 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14089 +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14090 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14091 + (test "X$CXX" != "Xg++"))) ; then
14093 +ac_cpp='$CXXCPP $CPPFLAGS'
14094 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14095 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14096 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14097 +echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
14098 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
14099 +if test -z "$CXXCPP"; then
14100 + if test "${ac_cv_prog_CXXCPP+set}" = set; then
14101 + echo $ECHO_N "(cached) $ECHO_C" >&6
14103 + # Double quotes because CXXCPP needs to be expanded
14104 + for CXXCPP in "$CXX -E" "/lib/cpp"
14106 + ac_preproc_ok=false
14107 +for ac_cxx_preproc_warn_flag in '' yes
14109 + # Use a header file that comes with gcc, so configuring glibc
14110 + # with a fresh cross-compiler works.
14111 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14112 + # <limits.h> exists even on freestanding compilers.
14113 + # On the NeXT, cc -E runs the code through the compiler's parser,
14114 + # not just through cpp. "Syntax error" is here to catch this case.
14115 + cat >conftest.$ac_ext <<_ACEOF
14118 +cat confdefs.h >>conftest.$ac_ext
14119 +cat >>conftest.$ac_ext <<_ACEOF
14120 +/* end confdefs.h. */
14122 +# include <limits.h>
14124 +# include <assert.h>
14128 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14129 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14131 + grep -v '^ *+' conftest.er1 >conftest.err
14132 + rm -f conftest.er1
14133 + cat conftest.err >&5
14134 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 + (exit $ac_status); } >/dev/null; then
14136 + if test -s conftest.err; then
14137 + ac_cpp_err=$ac_cxx_preproc_warn_flag
14138 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
14145 +if test -z "$ac_cpp_err"; then
14148 + echo "$as_me: failed program was:" >&5
14149 +sed 's/^/| /' conftest.$ac_ext >&5
14151 + # Broken: fails on valid input.
14154 +rm -f conftest.err conftest.$ac_ext
14156 + # OK, works on sane cases. Now check whether non-existent headers
14157 + # can be detected and how.
14158 + cat >conftest.$ac_ext <<_ACEOF
14161 +cat confdefs.h >>conftest.$ac_ext
14162 +cat >>conftest.$ac_ext <<_ACEOF
14163 +/* end confdefs.h. */
14164 +#include <ac_nonexistent.h>
14166 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14167 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14169 + grep -v '^ *+' conftest.er1 >conftest.err
14170 + rm -f conftest.er1
14171 + cat conftest.err >&5
14172 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 + (exit $ac_status); } >/dev/null; then
14174 + if test -s conftest.err; then
14175 + ac_cpp_err=$ac_cxx_preproc_warn_flag
14176 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
14183 +if test -z "$ac_cpp_err"; then
14184 + # Broken: success on invalid input.
14187 + echo "$as_me: failed program was:" >&5
14188 +sed 's/^/| /' conftest.$ac_ext >&5
14190 + # Passes both tests.
14194 +rm -f conftest.err conftest.$ac_ext
14197 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14198 +rm -f conftest.err conftest.$ac_ext
14199 +if $ac_preproc_ok; then
14204 + ac_cv_prog_CXXCPP=$CXXCPP
14207 + CXXCPP=$ac_cv_prog_CXXCPP
14209 + ac_cv_prog_CXXCPP=$CXXCPP
14211 +echo "$as_me:$LINENO: result: $CXXCPP" >&5
14212 +echo "${ECHO_T}$CXXCPP" >&6
14213 +ac_preproc_ok=false
14214 +for ac_cxx_preproc_warn_flag in '' yes
14216 + # Use a header file that comes with gcc, so configuring glibc
14217 + # with a fresh cross-compiler works.
14218 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14219 + # <limits.h> exists even on freestanding compilers.
14220 + # On the NeXT, cc -E runs the code through the compiler's parser,
14221 + # not just through cpp. "Syntax error" is here to catch this case.
14222 + cat >conftest.$ac_ext <<_ACEOF
14225 +cat confdefs.h >>conftest.$ac_ext
14226 +cat >>conftest.$ac_ext <<_ACEOF
14227 +/* end confdefs.h. */
14229 +# include <limits.h>
14231 +# include <assert.h>
14235 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14236 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14238 + grep -v '^ *+' conftest.er1 >conftest.err
14239 + rm -f conftest.er1
14240 + cat conftest.err >&5
14241 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 + (exit $ac_status); } >/dev/null; then
14243 + if test -s conftest.err; then
14244 + ac_cpp_err=$ac_cxx_preproc_warn_flag
14245 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
14252 +if test -z "$ac_cpp_err"; then
14255 + echo "$as_me: failed program was:" >&5
14256 +sed 's/^/| /' conftest.$ac_ext >&5
14258 + # Broken: fails on valid input.
14261 +rm -f conftest.err conftest.$ac_ext
14263 + # OK, works on sane cases. Now check whether non-existent headers
14264 + # can be detected and how.
14265 + cat >conftest.$ac_ext <<_ACEOF
14268 +cat confdefs.h >>conftest.$ac_ext
14269 +cat >>conftest.$ac_ext <<_ACEOF
14270 +/* end confdefs.h. */
14271 +#include <ac_nonexistent.h>
14273 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14274 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14276 + grep -v '^ *+' conftest.er1 >conftest.err
14277 + rm -f conftest.er1
14278 + cat conftest.err >&5
14279 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 + (exit $ac_status); } >/dev/null; then
14281 + if test -s conftest.err; then
14282 + ac_cpp_err=$ac_cxx_preproc_warn_flag
14283 + ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
14290 +if test -z "$ac_cpp_err"; then
14291 + # Broken: success on invalid input.
14294 + echo "$as_me: failed program was:" >&5
14295 +sed 's/^/| /' conftest.$ac_ext >&5
14297 + # Passes both tests.
14301 +rm -f conftest.err conftest.$ac_ext
14304 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14305 +rm -f conftest.err conftest.$ac_ext
14306 +if $ac_preproc_ok; then
14309 + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
14310 +See \`config.log' for more details." >&5
14311 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
14312 +See \`config.log' for more details." >&2;}
14313 + { (exit 1); exit 1; }; }
14317 +ac_cpp='$CXXCPP $CPPFLAGS'
14318 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14319 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14320 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14326 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14327 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14328 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14329 +if test -n "$ac_tool_prefix"; then
14330 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
14332 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14333 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14334 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14335 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14336 +if test "${ac_cv_prog_F77+set}" = set; then
14337 + echo $ECHO_N "(cached) $ECHO_C" >&6
14339 + if test -n "$F77"; then
14340 + ac_cv_prog_F77="$F77" # Let the user override the test.
14342 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14343 +for as_dir in $PATH
14346 + test -z "$as_dir" && as_dir=.
14347 + for ac_exec_ext in '' $ac_executable_extensions; do
14348 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14349 + ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
14350 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14358 +F77=$ac_cv_prog_F77
14359 +if test -n "$F77"; then
14360 + echo "$as_me:$LINENO: result: $F77" >&5
14361 +echo "${ECHO_T}$F77" >&6
14363 + echo "$as_me:$LINENO: result: no" >&5
14364 +echo "${ECHO_T}no" >&6
14367 + test -n "$F77" && break
14370 +if test -z "$F77"; then
14372 + for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
14374 + # Extract the first word of "$ac_prog", so it can be a program name with args.
14375 +set dummy $ac_prog; ac_word=$2
14376 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14377 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14378 +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
14379 + echo $ECHO_N "(cached) $ECHO_C" >&6
14381 + if test -n "$ac_ct_F77"; then
14382 + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
14384 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14385 +for as_dir in $PATH
14388 + test -z "$as_dir" && as_dir=.
14389 + for ac_exec_ext in '' $ac_executable_extensions; do
14390 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14391 + ac_cv_prog_ac_ct_F77="$ac_prog"
14392 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14400 +ac_ct_F77=$ac_cv_prog_ac_ct_F77
14401 +if test -n "$ac_ct_F77"; then
14402 + echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
14403 +echo "${ECHO_T}$ac_ct_F77" >&6
14405 + echo "$as_me:$LINENO: result: no" >&5
14406 +echo "${ECHO_T}no" >&6
14409 + test -n "$ac_ct_F77" && break
14416 +# Provide some information about the compiler.
14417 +echo "$as_me:4909:" \
14418 + "checking for Fortran 77 compiler version" >&5
14419 +ac_compiler=`set X $ac_compile; echo $2`
14420 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14421 + (eval $ac_compiler --version </dev/null >&5) 2>&5
14423 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 + (exit $ac_status); }
14425 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14426 + (eval $ac_compiler -v </dev/null >&5) 2>&5
14428 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 + (exit $ac_status); }
14430 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14431 + (eval $ac_compiler -V </dev/null >&5) 2>&5
14433 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 + (exit $ac_status); }
14437 +# If we don't use `.F' as extension, the preprocessor is not run on the
14438 +# input file. (Note that this only needs to work for GNU compilers.)
14439 +ac_save_ext=$ac_ext
14441 +echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
14442 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
14443 +if test "${ac_cv_f77_compiler_gnu+set}" = set; then
14444 + echo $ECHO_N "(cached) $ECHO_C" >&6
14446 + cat >conftest.$ac_ext <<_ACEOF
14454 +rm -f conftest.$ac_objext
14455 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14456 + (eval $ac_compile) 2>conftest.er1
14458 + grep -v '^ *+' conftest.er1 >conftest.err
14459 + rm -f conftest.er1
14460 + cat conftest.err >&5
14461 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 + (exit $ac_status); } &&
14463 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14464 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14465 + (eval $ac_try) 2>&5
14467 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 + (exit $ac_status); }; } &&
14469 + { ac_try='test -s conftest.$ac_objext'
14470 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14471 + (eval $ac_try) 2>&5
14473 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 + (exit $ac_status); }; }; then
14475 + ac_compiler_gnu=yes
14477 + echo "$as_me: failed program was:" >&5
14478 +sed 's/^/| /' conftest.$ac_ext >&5
14480 +ac_compiler_gnu=no
14482 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14483 +ac_cv_f77_compiler_gnu=$ac_compiler_gnu
14486 +echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
14487 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
14488 +ac_ext=$ac_save_ext
14489 +ac_test_FFLAGS=${FFLAGS+set}
14490 +ac_save_FFLAGS=$FFLAGS
14492 +echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
14493 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
14494 +if test "${ac_cv_prog_f77_g+set}" = set; then
14495 + echo $ECHO_N "(cached) $ECHO_C" >&6
14498 +cat >conftest.$ac_ext <<_ACEOF
14503 +rm -f conftest.$ac_objext
14504 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14505 + (eval $ac_compile) 2>conftest.er1
14507 + grep -v '^ *+' conftest.er1 >conftest.err
14508 + rm -f conftest.er1
14509 + cat conftest.err >&5
14510 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 + (exit $ac_status); } &&
14512 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14513 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 + (eval $ac_try) 2>&5
14516 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 + (exit $ac_status); }; } &&
14518 + { ac_try='test -s conftest.$ac_objext'
14519 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 + (eval $ac_try) 2>&5
14522 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 + (exit $ac_status); }; }; then
14524 + ac_cv_prog_f77_g=yes
14526 + echo "$as_me: failed program was:" >&5
14527 +sed 's/^/| /' conftest.$ac_ext >&5
14529 +ac_cv_prog_f77_g=no
14531 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14534 +echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
14535 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
14536 +if test "$ac_test_FFLAGS" = set; then
14537 + FFLAGS=$ac_save_FFLAGS
14538 +elif test $ac_cv_prog_f77_g = yes; then
14539 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
14545 + if test "x$ac_cv_f77_compiler_gnu" = xyes; then
14552 +G77=`test $ac_compiler_gnu = yes && echo yes`
14554 +ac_cpp='$CPP $CPPFLAGS'
14555 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14556 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14557 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
14561 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
14563 +# find the maximum length of command line arguments
14564 +echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
14565 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
14566 +if test "${lt_cv_sys_max_cmd_len+set}" = set; then
14567 + echo $ECHO_N "(cached) $ECHO_C" >&6
14570 + teststring="ABCD"
14572 + case $build_os in
14574 + # On DJGPP, this test can blow up pretty badly due to problems in libc
14575 + # (any single argument exceeding 2000 bytes causes a buffer overrun
14576 + # during glob expansion). Even if it were fixed, the result of this
14577 + # check would be larger than it should be.
14578 + lt_cv_sys_max_cmd_len=12288; # 12K is about right
14582 + # Under GNU Hurd, this test is not required because there is
14583 + # no limit to the length of command line arguments.
14584 + # Libtool will interpret -1 as no limit whatsoever
14585 + lt_cv_sys_max_cmd_len=-1;
14588 + cygwin* | mingw*)
14589 + # On Win9x/ME, this test blows up -- it succeeds, but takes
14590 + # about 5 minutes as the teststring grows exponentially.
14591 + # Worse, since 9x/ME are not pre-emptively multitasking,
14592 + # you end up with a "frozen" computer, even though with patience
14593 + # the test eventually succeeds (with a max line length of 256k).
14594 + # Instead, let's just punt: use the minimum linelength reported by
14595 + # all of the supported platforms: 8192 (on NT/2K/XP).
14596 + lt_cv_sys_max_cmd_len=8192;
14600 + # On AmigaOS with pdksh, this test takes hours, literally.
14601 + # So we just punt and use a minimum line length of 8192.
14602 + lt_cv_sys_max_cmd_len=8192;
14605 + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
14606 + # This has been around since 386BSD, at least. Likely further.
14607 + if test -x /sbin/sysctl; then
14608 + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
14609 + elif test -x /usr/sbin/sysctl; then
14610 + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
14612 + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
14614 + # And add a safety zone
14615 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
14616 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
14620 + # We know the value 262144 and hardcode it with a safety zone (like BSD)
14621 + lt_cv_sys_max_cmd_len=196608
14625 + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
14626 + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
14627 + # nice to cause kernel panics so lets avoid the loop below.
14628 + # First set a reasonable default.
14629 + lt_cv_sys_max_cmd_len=16384
14631 + if test -x /sbin/sysconfig; then
14632 + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
14633 + *1*) lt_cv_sys_max_cmd_len=-1 ;;
14638 + lt_cv_sys_max_cmd_len=102400
14640 + sysv5* | sco5v6* | sysv4.2uw2*)
14641 + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
14642 + if test -n "$kargmax"; then
14643 + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
14645 + lt_cv_sys_max_cmd_len=32768
14649 + # If test is not a shell built-in, we'll probably end up computing a
14650 + # maximum length that is only half of the actual maximum length, but
14652 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
14653 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
14654 + = "XX$teststring") >/dev/null 2>&1 &&
14655 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
14656 + lt_cv_sys_max_cmd_len=$new_result &&
14657 + test $i != 17 # 1/2 MB should be enough
14660 + teststring=$teststring$teststring
14663 + # Add a significant safety factor because C++ compilers can tack on massive
14664 + # amounts of additional arguments before passing them to the linker.
14665 + # It appears as though 1/2 is a usable value.
14666 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
14672 +if test -n $lt_cv_sys_max_cmd_len ; then
14673 + echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
14674 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
14676 + echo "$as_me:$LINENO: result: none" >&5
14677 +echo "${ECHO_T}none" >&6
14683 +# Check for command to grab the raw symbol name followed by C symbol from nm.
14684 +echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
14685 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
14686 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
14687 + echo $ECHO_N "(cached) $ECHO_C" >&6
14690 +# These are sane defaults that work on at least a few old systems.
14691 +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
14693 +# Character class describing NM global symbol codes.
14694 +symcode='[BCDEGRST]'
14696 +# Regexp to match symbols that can be accessed directly from C.
14697 +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
14699 +# Transform an extracted symbol line into a proper C declaration
14700 +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
14702 +# Transform an extracted symbol line into symbol name and symbol address
14703 +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'"
14705 +# Define system-specific variables.
14710 +cygwin* | mingw* | pw32*)
14711 + symcode='[ABCDGISTW]'
14713 +hpux*) # Its linker distinguishes data from code symbols
14714 + if test "$host_cpu" = ia64; then
14715 + symcode='[ABCDEGRST]'
14717 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
14718 + 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'"
14721 + if test "$host_cpu" = ia64; then
14722 + symcode='[ABCDGIRSTW]'
14723 + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
14724 + 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'"
14727 +irix* | nonstopux*)
14728 + symcode='[BCDEGRST]'
14731 + symcode='[BCDEGQRST]'
14742 +sysv5* | sco5v6* | unixware* | OpenUNIX*)
14746 + symcode='[DFNSTU]'
14750 +# Handle CRLF in mingw tool chain
14754 + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
14758 +# If we're using GNU nm, then use its standard symbol codes.
14759 +case `$NM -V 2>&1` in
14760 +*GNU* | *'with BFD'*)
14761 + symcode='[ABCDGIRSTW]' ;;
14764 +# Try without a prefix undercore, then with it.
14765 +for ac_symprfx in "" "_"; do
14767 + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
14768 + symxfrm="\\1 $ac_symprfx\\2 \\2"
14770 + # Write the raw and C identifiers.
14771 + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
14773 + # Check to see that the pipe works correctly.
14777 + cat > conftest.$ac_ext <<EOF
14778 +#ifdef __cplusplus
14782 +void nm_test_func(){}
14783 +#ifdef __cplusplus
14786 +int main(){nm_test_var='a';nm_test_func();return(0);}
14789 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14790 + (eval $ac_compile) 2>&5
14792 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 + (exit $ac_status); }; then
14794 + # Now try to grab the symbols.
14795 + nlist=conftest.nm
14796 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
14797 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
14799 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 + (exit $ac_status); } && test -s "$nlist"; then
14801 + # Try sorting and uniquifying the output.
14802 + if sort "$nlist" | uniq > "$nlist"T; then
14803 + mv -f "$nlist"T "$nlist"
14808 + # Make sure that we snagged all the symbols we need.
14809 + if grep ' nm_test_var$' "$nlist" >/dev/null; then
14810 + if grep ' nm_test_func$' "$nlist" >/dev/null; then
14811 + cat <<EOF > conftest.$ac_ext
14812 +#ifdef __cplusplus
14817 + # Now generate the symbol file.
14818 + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
14820 + cat <<EOF >> conftest.$ac_ext
14821 +#if defined (__STDC__) && __STDC__
14822 +# define lt_ptr_t void *
14824 +# define lt_ptr_t char *
14828 +/* The mapping between symbol names and symbols. */
14830 + const char *name;
14831 + lt_ptr_t address;
14833 +lt_preloaded_symbols[] =
14836 + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
14837 + cat <<\EOF >> conftest.$ac_ext
14838 + {0, (lt_ptr_t) 0}
14841 +#ifdef __cplusplus
14845 + # Now try linking the two files.
14846 + mv conftest.$ac_objext conftstm.$ac_objext
14847 + lt_save_LIBS="$LIBS"
14848 + lt_save_CFLAGS="$CFLAGS"
14849 + LIBS="conftstm.$ac_objext"
14850 + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
14851 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14852 + (eval $ac_link) 2>&5
14854 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 + (exit $ac_status); } && test -s conftest${ac_exeext}; then
14858 + LIBS="$lt_save_LIBS"
14859 + CFLAGS="$lt_save_CFLAGS"
14861 + echo "cannot find nm_test_func in $nlist" >&5
14864 + echo "cannot find nm_test_var in $nlist" >&5
14867 + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
14870 + echo "$progname: failed program was:" >&5
14871 + cat conftest.$ac_ext >&5
14873 + rm -f conftest* conftst*
14875 + # Do not use the global_symbol_pipe unless it works.
14876 + if test "$pipe_works" = yes; then
14879 + lt_cv_sys_global_symbol_pipe=
14885 +if test -z "$lt_cv_sys_global_symbol_pipe"; then
14886 + lt_cv_sys_global_symbol_to_cdecl=
14888 +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
14889 + echo "$as_me:$LINENO: result: failed" >&5
14890 +echo "${ECHO_T}failed" >&6
14892 + echo "$as_me:$LINENO: result: ok" >&5
14893 +echo "${ECHO_T}ok" >&6
14896 +echo "$as_me:$LINENO: checking for objdir" >&5
14897 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6
14898 +if test "${lt_cv_objdir+set}" = set; then
14899 + echo $ECHO_N "(cached) $ECHO_C" >&6
14901 + rm -f .libs 2>/dev/null
14902 +mkdir .libs 2>/dev/null
14903 +if test -d .libs; then
14904 + lt_cv_objdir=.libs
14906 + # MS-DOS does not allow filenames that begin with a dot.
14907 + lt_cv_objdir=_libs
14909 +rmdir .libs 2>/dev/null
14911 +echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
14912 +echo "${ECHO_T}$lt_cv_objdir" >&6
14913 +objdir=$lt_cv_objdir
14921 + # AIX sometimes has problems with the GCC collect2 program. For some
14922 + # reason, if we set the COLLECT_NAMES environment variable, the problems
14923 + # vanish in a puff of smoke.
14924 + if test "X${COLLECT_NAMES+set}" != Xset; then
14926 + export COLLECT_NAMES
14931 +# Sed substitution that helps us do robust quoting. It backslashifies
14932 +# metacharacters that are still active within double-quoted strings.
14933 +Xsed='sed -e 1s/^X//'
14934 +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
14936 +# Same as above, but do not quote variable references.
14937 +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
14939 +# Sed substitution to delay expansion of an escaped shell variable in a
14940 +# double_quote_subst'ed string.
14941 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14943 +# Sed substitution to avoid accidental globbing in evaled expressions
14944 +no_glob_subst='s/\*/\\\*/g'
14949 +# Global variables:
14950 +default_ofile=libtool
14951 +can_build_shared=yes
14953 +# All known linkers require a `.a' archive for static linking (except MSVC,
14954 +# which needs '.lib').
14956 +ltmain="$ac_aux_dir/ltmain.sh"
14957 +ofile="$default_ofile"
14958 +with_gnu_ld="$lt_cv_prog_gnu_ld"
14960 +if test -n "$ac_tool_prefix"; then
14961 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14962 +set dummy ${ac_tool_prefix}ar; ac_word=$2
14963 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14964 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14965 +if test "${ac_cv_prog_AR+set}" = set; then
14966 + echo $ECHO_N "(cached) $ECHO_C" >&6
14968 + if test -n "$AR"; then
14969 + ac_cv_prog_AR="$AR" # Let the user override the test.
14971 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14972 +for as_dir in $PATH
14975 + test -z "$as_dir" && as_dir=.
14976 + for ac_exec_ext in '' $ac_executable_extensions; do
14977 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14978 + ac_cv_prog_AR="${ac_tool_prefix}ar"
14979 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14988 +if test -n "$AR"; then
14989 + echo "$as_me:$LINENO: result: $AR" >&5
14990 +echo "${ECHO_T}$AR" >&6
14992 + echo "$as_me:$LINENO: result: no" >&5
14993 +echo "${ECHO_T}no" >&6
14997 +if test -z "$ac_cv_prog_AR"; then
14999 + # Extract the first word of "ar", so it can be a program name with args.
15000 +set dummy ar; ac_word=$2
15001 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15002 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15003 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15004 + echo $ECHO_N "(cached) $ECHO_C" >&6
15006 + if test -n "$ac_ct_AR"; then
15007 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15009 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15010 +for as_dir in $PATH
15013 + test -z "$as_dir" && as_dir=.
15014 + for ac_exec_ext in '' $ac_executable_extensions; do
15015 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15016 + ac_cv_prog_ac_ct_AR="ar"
15017 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15023 + test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
15026 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
15027 +if test -n "$ac_ct_AR"; then
15028 + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15029 +echo "${ECHO_T}$ac_ct_AR" >&6
15031 + echo "$as_me:$LINENO: result: no" >&5
15032 +echo "${ECHO_T}no" >&6
15037 + AR="$ac_cv_prog_AR"
15040 +if test -n "$ac_tool_prefix"; then
15041 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15042 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15043 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15044 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15045 +if test "${ac_cv_prog_RANLIB+set}" = set; then
15046 + echo $ECHO_N "(cached) $ECHO_C" >&6
15048 + if test -n "$RANLIB"; then
15049 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15051 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15052 +for as_dir in $PATH
15055 + test -z "$as_dir" && as_dir=.
15056 + for ac_exec_ext in '' $ac_executable_extensions; do
15057 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15058 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15059 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15067 +RANLIB=$ac_cv_prog_RANLIB
15068 +if test -n "$RANLIB"; then
15069 + echo "$as_me:$LINENO: result: $RANLIB" >&5
15070 +echo "${ECHO_T}$RANLIB" >&6
15072 + echo "$as_me:$LINENO: result: no" >&5
15073 +echo "${ECHO_T}no" >&6
15077 +if test -z "$ac_cv_prog_RANLIB"; then
15078 + ac_ct_RANLIB=$RANLIB
15079 + # Extract the first word of "ranlib", so it can be a program name with args.
15080 +set dummy ranlib; ac_word=$2
15081 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15082 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15083 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15084 + echo $ECHO_N "(cached) $ECHO_C" >&6
15086 + if test -n "$ac_ct_RANLIB"; then
15087 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15089 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15090 +for as_dir in $PATH
15093 + test -z "$as_dir" && as_dir=.
15094 + for ac_exec_ext in '' $ac_executable_extensions; do
15095 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15096 + ac_cv_prog_ac_ct_RANLIB="ranlib"
15097 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15103 + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15106 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15107 +if test -n "$ac_ct_RANLIB"; then
15108 + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15109 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
15111 + echo "$as_me:$LINENO: result: no" >&5
15112 +echo "${ECHO_T}no" >&6
15115 + RANLIB=$ac_ct_RANLIB
15117 + RANLIB="$ac_cv_prog_RANLIB"
15120 +if test -n "$ac_tool_prefix"; then
15121 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15122 +set dummy ${ac_tool_prefix}strip; ac_word=$2
15123 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15124 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15125 +if test "${ac_cv_prog_STRIP+set}" = set; then
15126 + echo $ECHO_N "(cached) $ECHO_C" >&6
15128 + if test -n "$STRIP"; then
15129 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15131 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15132 +for as_dir in $PATH
15135 + test -z "$as_dir" && as_dir=.
15136 + for ac_exec_ext in '' $ac_executable_extensions; do
15137 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15138 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15139 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15147 +STRIP=$ac_cv_prog_STRIP
15148 +if test -n "$STRIP"; then
15149 + echo "$as_me:$LINENO: result: $STRIP" >&5
15150 +echo "${ECHO_T}$STRIP" >&6
15152 + echo "$as_me:$LINENO: result: no" >&5
15153 +echo "${ECHO_T}no" >&6
15157 +if test -z "$ac_cv_prog_STRIP"; then
15158 + ac_ct_STRIP=$STRIP
15159 + # Extract the first word of "strip", so it can be a program name with args.
15160 +set dummy strip; ac_word=$2
15161 +echo "$as_me:$LINENO: checking for $ac_word" >&5
15162 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15163 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15164 + echo $ECHO_N "(cached) $ECHO_C" >&6
15166 + if test -n "$ac_ct_STRIP"; then
15167 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15169 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15170 +for as_dir in $PATH
15173 + test -z "$as_dir" && as_dir=.
15174 + for ac_exec_ext in '' $ac_executable_extensions; do
15175 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15176 + ac_cv_prog_ac_ct_STRIP="strip"
15177 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15183 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
15186 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15187 +if test -n "$ac_ct_STRIP"; then
15188 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15189 +echo "${ECHO_T}$ac_ct_STRIP" >&6
15191 + echo "$as_me:$LINENO: result: no" >&5
15192 +echo "${ECHO_T}no" >&6
15195 + STRIP=$ac_ct_STRIP
15197 + STRIP="$ac_cv_prog_STRIP"
15202 +old_CFLAGS="$CFLAGS"
15204 +# Set sane defaults for various variables
15205 +test -z "$AR" && AR=ar
15206 +test -z "$AR_FLAGS" && AR_FLAGS=cru
15207 +test -z "$AS" && AS=as
15208 +test -z "$CC" && CC=cc
15209 +test -z "$LTCC" && LTCC=$CC
15210 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
15211 +test -z "$DLLTOOL" && DLLTOOL=dlltool
15212 +test -z "$LD" && LD=ld
15213 +test -z "$LN_S" && LN_S="ln -s"
15214 +test -z "$MAGIC_CMD" && MAGIC_CMD=file
15215 +test -z "$NM" && NM=nm
15216 +test -z "$SED" && SED=sed
15217 +test -z "$OBJDUMP" && OBJDUMP=objdump
15218 +test -z "$RANLIB" && RANLIB=:
15219 +test -z "$STRIP" && STRIP=:
15220 +test -z "$ac_objext" && ac_objext=o
15222 +# Determine commands to create old-style static archives.
15223 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
15224 +old_postinstall_cmds='chmod 644 $oldlib'
15225 +old_postuninstall_cmds=
15227 +if test -n "$RANLIB"; then
15230 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
15233 + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
15236 + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
15239 +for cc_temp in $compiler""; do
15241 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15242 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15247 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15250 +# Only perform the check for file, if the check method requires it
15251 +case $deplibs_check_method in
15253 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
15254 + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
15255 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
15256 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
15257 + echo $ECHO_N "(cached) $ECHO_C" >&6
15259 + case $MAGIC_CMD in
15260 +[\\/*] | ?:[\\/]*)
15261 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
15264 + lt_save_MAGIC_CMD="$MAGIC_CMD"
15265 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15266 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
15267 + for ac_dir in $ac_dummy; do
15268 + IFS="$lt_save_ifs"
15269 + test -z "$ac_dir" && ac_dir=.
15270 + if test -f $ac_dir/${ac_tool_prefix}file; then
15271 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
15272 + if test -n "$file_magic_test_file"; then
15273 + case $deplibs_check_method in
15275 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
15276 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15277 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
15278 + $EGREP "$file_magic_regex" > /dev/null; then
15283 +*** Warning: the command libtool uses to detect shared libraries,
15284 +*** $file_magic_cmd, produces output that libtool cannot recognize.
15285 +*** The result is that libtool may fail to recognize shared libraries
15286 +*** as such. This will affect the creation of libtool libraries that
15287 +*** depend on shared libraries, but programs linked with such libtool
15288 +*** libraries will work regardless of this problem. Nevertheless, you
15289 +*** may want to report the problem to your system manager and/or to
15290 +*** bug-libtool@gnu.org
15299 + IFS="$lt_save_ifs"
15300 + MAGIC_CMD="$lt_save_MAGIC_CMD"
15305 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15306 +if test -n "$MAGIC_CMD"; then
15307 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
15308 +echo "${ECHO_T}$MAGIC_CMD" >&6
15310 + echo "$as_me:$LINENO: result: no" >&5
15311 +echo "${ECHO_T}no" >&6
15314 +if test -z "$lt_cv_path_MAGIC_CMD"; then
15315 + if test -n "$ac_tool_prefix"; then
15316 + echo "$as_me:$LINENO: checking for file" >&5
15317 +echo $ECHO_N "checking for file... $ECHO_C" >&6
15318 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
15319 + echo $ECHO_N "(cached) $ECHO_C" >&6
15321 + case $MAGIC_CMD in
15322 +[\\/*] | ?:[\\/]*)
15323 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
15326 + lt_save_MAGIC_CMD="$MAGIC_CMD"
15327 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15328 + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
15329 + for ac_dir in $ac_dummy; do
15330 + IFS="$lt_save_ifs"
15331 + test -z "$ac_dir" && ac_dir=.
15332 + if test -f $ac_dir/file; then
15333 + lt_cv_path_MAGIC_CMD="$ac_dir/file"
15334 + if test -n "$file_magic_test_file"; then
15335 + case $deplibs_check_method in
15337 + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
15338 + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15339 + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
15340 + $EGREP "$file_magic_regex" > /dev/null; then
15345 +*** Warning: the command libtool uses to detect shared libraries,
15346 +*** $file_magic_cmd, produces output that libtool cannot recognize.
15347 +*** The result is that libtool may fail to recognize shared libraries
15348 +*** as such. This will affect the creation of libtool libraries that
15349 +*** depend on shared libraries, but programs linked with such libtool
15350 +*** libraries will work regardless of this problem. Nevertheless, you
15351 +*** may want to report the problem to your system manager and/or to
15352 +*** bug-libtool@gnu.org
15361 + IFS="$lt_save_ifs"
15362 + MAGIC_CMD="$lt_save_MAGIC_CMD"
15367 +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
15368 +if test -n "$MAGIC_CMD"; then
15369 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
15370 +echo "${ECHO_T}$MAGIC_CMD" >&6
15372 + echo "$as_me:$LINENO: result: no" >&5
15373 +echo "${ECHO_T}no" >&6
15386 +enable_win32_dll=no
15388 +# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
15389 +if test "${enable_libtool_lock+set}" = set; then
15390 + enableval="$enable_libtool_lock"
15393 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
15396 +# Check whether --with-pic or --without-pic was given.
15397 +if test "${with_pic+set}" = set; then
15398 + withval="$with_pic"
15399 + pic_mode="$withval"
15403 +test -z "$pic_mode" && pic_mode=default
15405 +# Use C for the default configuration in the libtool script
15409 +ac_cpp='$CPP $CPPFLAGS'
15410 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15411 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15412 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
15415 +# Source file extension for C test sources.
15418 +# Object file extension for compiled C test sources.
15422 +# Code to be used in simple compile tests
15423 +lt_simple_compile_test_code="int some_variable = 0;\n"
15425 +# Code to be used in simple link tests
15426 +lt_simple_link_test_code='int main(){return(0);}\n'
15429 +# If no C compiler was specified, use CC.
15430 +LTCC=${LTCC-"$CC"}
15432 +# If no C compiler flags were specified, use CFLAGS.
15433 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15435 +# Allow CC to be a program name with arguments.
15439 +# save warnings/boilerplate of simple test code
15440 +ac_outfile=conftest.$ac_objext
15441 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15442 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15443 +_lt_compiler_boilerplate=`cat conftest.err`
15446 +ac_outfile=conftest.$ac_objext
15447 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
15448 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15449 +_lt_linker_boilerplate=`cat conftest.err`
15454 +lt_prog_compiler_no_builtin_flag=
15456 +if test "$GCC" = yes; then
15457 + lt_prog_compiler_no_builtin_flag=' -fno-builtin'
15460 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15461 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15462 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15463 + echo $ECHO_N "(cached) $ECHO_C" >&6
15465 + lt_cv_prog_compiler_rtti_exceptions=no
15466 + ac_outfile=conftest.$ac_objext
15467 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15468 + lt_compiler_flag="-fno-rtti -fno-exceptions"
15469 + # Insert the option either (1) after the last *FLAGS variable, or
15470 + # (2) before a word containing "conftest.", or (3) at the end.
15471 + # Note that $ac_compile itself does not contain backslashes and begins
15472 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15473 + # The option is referenced via a variable to avoid confusing sed.
15474 + lt_compile=`echo "$ac_compile" | $SED \
15475 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15476 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15477 + -e 's:$: $lt_compiler_flag:'`
15478 + (eval echo "\"\$as_me:5970: $lt_compile\"" >&5)
15479 + (eval "$lt_compile" 2>conftest.err)
15481 + cat conftest.err >&5
15482 + echo "$as_me:5974: \$? = $ac_status" >&5
15483 + if (exit $ac_status) && test -s "$ac_outfile"; then
15484 + # The compiler can only warn and ignore the option if not recognized
15485 + # So say no if there are warnings other than the usual output.
15486 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15487 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15488 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15489 + lt_cv_prog_compiler_rtti_exceptions=yes
15495 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15496 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15498 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15499 + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
15506 +lt_prog_compiler_wl=
15507 +lt_prog_compiler_pic=
15508 +lt_prog_compiler_static=
15510 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15511 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15513 + if test "$GCC" = yes; then
15514 + lt_prog_compiler_wl='-Wl,'
15515 + lt_prog_compiler_static='-static'
15519 + # All AIX code is PIC.
15520 + if test "$host_cpu" = ia64; then
15521 + # AIX 5 now supports IA64 processor
15522 + lt_prog_compiler_static='-Bstatic'
15527 + # FIXME: we need at least 68020 code to build shared libraries, but
15528 + # adding the `-m68020' flag to GCC prevents building anything better,
15529 + # like `-m68040'.
15530 + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
15533 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15534 + # PIC is the default for these OSes.
15537 + mingw* | pw32* | os2*)
15538 + # This hack is so that the source file can tell whether it is being
15539 + # built for inclusion in a dll (and should export symbols for example).
15540 + lt_prog_compiler_pic='-DDLL_EXPORT'
15543 + darwin* | rhapsody*)
15544 + # PIC is the default on this platform
15545 + # Common symbols not allowed in MH_DYLIB files
15546 + lt_prog_compiler_pic='-fno-common'
15550 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15551 + # Instead, we relocate shared libraries at runtime.
15555 + # Just because we use GCC doesn't mean we suddenly get shared libraries
15556 + # on systems that don't support them.
15557 + lt_prog_compiler_can_build_shared=no
15562 + if test -d /usr/nec; then
15563 + lt_prog_compiler_pic=-Kconform_pic
15568 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15569 + # not for PA HP-UX.
15570 + case $host_cpu in
15575 + lt_prog_compiler_pic='-fPIC'
15581 + lt_prog_compiler_pic='-fPIC'
15585 + # PORTME Check for flag to pass linker flags through the system compiler.
15588 + lt_prog_compiler_wl='-Wl,'
15589 + if test "$host_cpu" = ia64; then
15590 + # AIX 5 now supports IA64 processor
15591 + lt_prog_compiler_static='-Bstatic'
15593 + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
15597 + # PIC is the default on this platform
15598 + # Common symbols not allowed in MH_DYLIB files
15599 + case $cc_basename in
15601 + lt_prog_compiler_pic='-qnocommon'
15602 + lt_prog_compiler_wl='-Wl,'
15607 + mingw* | pw32* | os2*)
15608 + # This hack is so that the source file can tell whether it is being
15609 + # built for inclusion in a dll (and should export symbols for example).
15610 + lt_prog_compiler_pic='-DDLL_EXPORT'
15613 + hpux9* | hpux10* | hpux11*)
15614 + lt_prog_compiler_wl='-Wl,'
15615 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15616 + # not for PA HP-UX.
15617 + case $host_cpu in
15622 + lt_prog_compiler_pic='+Z'
15625 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
15626 + lt_prog_compiler_static='${wl}-a ${wl}archive'
15629 + irix5* | irix6* | nonstopux*)
15630 + lt_prog_compiler_wl='-Wl,'
15631 + # PIC (with -KPIC) is the default.
15632 + lt_prog_compiler_static='-non_shared'
15636 + lt_prog_compiler_pic='-KPIC'
15637 + lt_prog_compiler_static='-Bstatic'
15641 + case $cc_basename in
15643 + lt_prog_compiler_wl='-Wl,'
15644 + lt_prog_compiler_pic='-KPIC'
15645 + lt_prog_compiler_static='-static'
15647 + pgcc* | pgf77* | pgf90* | pgf95*)
15648 + # Portland Group compilers (*not* the Pentium gcc compiler,
15649 + # which looks to be a dead project)
15650 + lt_prog_compiler_wl='-Wl,'
15651 + lt_prog_compiler_pic='-fpic'
15652 + lt_prog_compiler_static='-Bstatic'
15655 + lt_prog_compiler_wl='-Wl,'
15656 + # All Alpha code is PIC.
15657 + lt_prog_compiler_static='-non_shared'
15662 + osf3* | osf4* | osf5*)
15663 + lt_prog_compiler_wl='-Wl,'
15664 + # All OSF/1 code is PIC.
15665 + lt_prog_compiler_static='-non_shared'
15669 + lt_prog_compiler_pic='-KPIC'
15670 + lt_prog_compiler_static='-Bstatic'
15671 + case $cc_basename in
15672 + f77* | f90* | f95*)
15673 + lt_prog_compiler_wl='-Qoption ld ';;
15675 + lt_prog_compiler_wl='-Wl,';;
15680 + lt_prog_compiler_wl='-Qoption ld '
15681 + lt_prog_compiler_pic='-PIC'
15682 + lt_prog_compiler_static='-Bstatic'
15685 + sysv4 | sysv4.2uw2* | sysv4.3*)
15686 + lt_prog_compiler_wl='-Wl,'
15687 + lt_prog_compiler_pic='-KPIC'
15688 + lt_prog_compiler_static='-Bstatic'
15692 + if test -d /usr/nec ;then
15693 + lt_prog_compiler_pic='-Kconform_pic'
15694 + lt_prog_compiler_static='-Bstatic'
15698 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15699 + lt_prog_compiler_wl='-Wl,'
15700 + lt_prog_compiler_pic='-KPIC'
15701 + lt_prog_compiler_static='-Bstatic'
15705 + lt_prog_compiler_wl='-Wl,'
15706 + lt_prog_compiler_can_build_shared=no
15710 + lt_prog_compiler_pic='-pic'
15711 + lt_prog_compiler_static='-Bstatic'
15715 + lt_prog_compiler_can_build_shared=no
15720 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
15721 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6
15724 +# Check to make sure the PIC flag actually works.
15726 +if test -n "$lt_prog_compiler_pic"; then
15728 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
15729 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
15730 +if test "${lt_prog_compiler_pic_works+set}" = set; then
15731 + echo $ECHO_N "(cached) $ECHO_C" >&6
15733 + lt_prog_compiler_pic_works=no
15734 + ac_outfile=conftest.$ac_objext
15735 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15736 + lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
15737 + # Insert the option either (1) after the last *FLAGS variable, or
15738 + # (2) before a word containing "conftest.", or (3) at the end.
15739 + # Note that $ac_compile itself does not contain backslashes and begins
15740 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15741 + # The option is referenced via a variable to avoid confusing sed.
15742 + lt_compile=`echo "$ac_compile" | $SED \
15743 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15744 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15745 + -e 's:$: $lt_compiler_flag:'`
15746 + (eval echo "\"\$as_me:6238: $lt_compile\"" >&5)
15747 + (eval "$lt_compile" 2>conftest.err)
15749 + cat conftest.err >&5
15750 + echo "$as_me:6242: \$? = $ac_status" >&5
15751 + if (exit $ac_status) && test -s "$ac_outfile"; then
15752 + # The compiler can only warn and ignore the option if not recognized
15753 + # So say no if there are warnings other than the usual output.
15754 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15755 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15756 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15757 + lt_prog_compiler_pic_works=yes
15763 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
15764 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
15766 +if test x"$lt_prog_compiler_pic_works" = xyes; then
15767 + case $lt_prog_compiler_pic in
15769 + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15772 + lt_prog_compiler_pic=
15773 + lt_prog_compiler_can_build_shared=no
15778 + # For platforms which do not support PIC, -DPIC is meaningless:
15780 + lt_prog_compiler_pic=
15783 + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15788 +# Check to make sure the static flag actually works.
15790 +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
15791 +echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15792 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15793 +if test "${lt_prog_compiler_static_works+set}" = set; then
15794 + echo $ECHO_N "(cached) $ECHO_C" >&6
15796 + lt_prog_compiler_static_works=no
15797 + save_LDFLAGS="$LDFLAGS"
15798 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15799 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
15800 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15801 + # The linker can only warn and ignore the option if not recognized
15802 + # So say no if there are warnings
15803 + if test -s conftest.err; then
15804 + # Append any errors to the config.log.
15805 + cat conftest.err 1>&5
15806 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15807 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15808 + if diff conftest.exp conftest.er2 >/dev/null; then
15809 + lt_prog_compiler_static_works=yes
15812 + lt_prog_compiler_static_works=yes
15816 + LDFLAGS="$save_LDFLAGS"
15819 +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
15820 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
15822 +if test x"$lt_prog_compiler_static_works" = xyes; then
15825 + lt_prog_compiler_static=
15829 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15830 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15831 +if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15832 + echo $ECHO_N "(cached) $ECHO_C" >&6
15834 + lt_cv_prog_compiler_c_o=no
15835 + $rm -r conftest 2>/dev/null
15839 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15841 + lt_compiler_flag="-o out/conftest2.$ac_objext"
15842 + # Insert the option either (1) after the last *FLAGS variable, or
15843 + # (2) before a word containing "conftest.", or (3) at the end.
15844 + # Note that $ac_compile itself does not contain backslashes and begins
15845 + # with a dollar sign (not a hyphen), so the echo should work correctly.
15846 + lt_compile=`echo "$ac_compile" | $SED \
15847 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15848 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15849 + -e 's:$: $lt_compiler_flag:'`
15850 + (eval echo "\"\$as_me:6342: $lt_compile\"" >&5)
15851 + (eval "$lt_compile" 2>out/conftest.err)
15853 + cat out/conftest.err >&5
15854 + echo "$as_me:6346: \$? = $ac_status" >&5
15855 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
15857 + # The compiler can only warn and ignore the option if not recognized
15858 + # So say no if there are warnings
15859 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15860 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15861 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15862 + lt_cv_prog_compiler_c_o=yes
15867 + # SGI C++ compiler will create directory out/ii_files/ for
15868 + # template instantiation
15869 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15870 + $rm out/* && rmdir out
15876 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
15877 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
15880 +hard_links="nottested"
15881 +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
15882 + # do not overwrite the value of need_locks provided by the user
15883 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15884 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15887 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15889 + ln conftest.a conftest.b 2>&5 || hard_links=no
15890 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
15891 + echo "$as_me:$LINENO: result: $hard_links" >&5
15892 +echo "${ECHO_T}$hard_links" >&6
15893 + if test "$hard_links" = no; then
15894 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15895 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15902 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15903 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15906 + allow_undefined_flag=
15907 + enable_shared_with_static_runtimes=no
15909 + archive_expsym_cmds=
15910 + old_archive_From_new_cmds=
15911 + old_archive_from_expsyms_cmds=
15912 + export_dynamic_flag_spec=
15913 + whole_archive_flag_spec=
15914 + thread_safe_flag_spec=
15915 + hardcode_libdir_flag_spec=
15916 + hardcode_libdir_flag_spec_ld=
15917 + hardcode_libdir_separator=
15918 + hardcode_direct=no
15919 + hardcode_minus_L=no
15920 + hardcode_shlibpath_var=unsupported
15921 + link_all_deplibs=unknown
15922 + hardcode_automatic=no
15924 + module_expsym_cmds=
15925 + always_export_symbols=no
15926 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15927 + # include_expsyms should be a list of space-separated symbols to be *always*
15928 + # included in the symbol list
15930 + # exclude_expsyms can be an extended regexp of symbols to exclude
15931 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
15932 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15933 + # as well as any symbol that contains `d'.
15934 + exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
15935 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15936 + # platforms (ab)use it in PIC code, but their linkers get confused if
15937 + # the symbol is explicitly referenced. Since portable code cannot
15938 + # rely on this symbol name, it's probably fine to never include it in
15939 + # preloaded symbol tables.
15940 + extract_expsyms_cmds=
15941 + # Just being paranoid about ensuring that cc_basename is set.
15942 + for cc_temp in $compiler""; do
15944 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15945 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15950 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15953 + cygwin* | mingw* | pw32*)
15954 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
15955 + # When not using gcc, we currently assume that we are using
15956 + # Microsoft Visual C++.
15957 + if test "$GCC" != yes; then
15962 + # we just hope/assume this is gcc and not c89 (= MSVC++)
15971 + if test "$with_gnu_ld" = yes; then
15972 + # If archive_cmds runs LD, not CC, wlarc should be empty
15975 + # Set some defaults for GNU ld with shared library support. These
15976 + # are reset later if shared libraries are not supported. Putting them
15977 + # here allows them to be overridden if necessary.
15978 + runpath_var=LD_RUN_PATH
15979 + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15980 + export_dynamic_flag_spec='${wl}--export-dynamic'
15981 + # ancient GNU ld didn't support --whole-archive et. al.
15982 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15983 + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15985 + whole_archive_flag_spec=
15987 + supports_anon_versioning=no
15988 + case `$LD -v 2>/dev/null` in
15989 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15990 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15991 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15992 + *\ 2.11.*) ;; # other 2.11 versions
15993 + *) supports_anon_versioning=yes ;;
15996 + # See if GNU ld supports shared libraries.
15998 + aix3* | aix4* | aix5*)
15999 + # On AIX/PPC, the GNU linker is very broken
16000 + if test "$host_cpu" != ia64; then
16004 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16005 +*** to be unable to reliably create shared libraries on AIX.
16006 +*** Therefore, libtool is disabling shared libraries support. If you
16007 +*** really care for shared libraries, you may want to modify your PATH
16008 +*** so that a non-GNU linker is found, and then restart.
16015 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16016 + hardcode_libdir_flag_spec='-L$libdir'
16017 + hardcode_minus_L=yes
16019 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16020 + # that the semantics of dynamic libraries on AmigaOS, at least up
16021 + # to version 4, is to share data among multiple programs linked
16022 + # with the same dynamic library. Since this doesn't match the
16023 + # behavior of shared libraries on other platforms, we can't use
16029 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16030 + allow_undefined_flag=unsupported
16031 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16032 + # support --undefined. This deserves some investigation. FIXME
16033 + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16039 + cygwin* | mingw* | pw32*)
16040 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
16041 + # as there is no search path for DLLs.
16042 + hardcode_libdir_flag_spec='-L$libdir'
16043 + allow_undefined_flag=unsupported
16044 + always_export_symbols=no
16045 + enable_shared_with_static_runtimes=yes
16046 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16048 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16049 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16050 + # If the export-symbols file already is a .def file (1st line
16051 + # is EXPORTS), use it as is; otherwise, prepend...
16052 + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16053 + cp $export_symbols $output_objdir/$soname.def;
16055 + echo EXPORTS > $output_objdir/$soname.def;
16056 + cat $export_symbols >> $output_objdir/$soname.def;
16058 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16065 + hardcode_direct=no
16066 + hardcode_shlibpath_var=no
16067 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16068 + export_dynamic_flag_spec='${wl}-E'
16069 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16070 + # Instead, shared libraries are loaded at an image base (0x10000000 by
16071 + # default) and relocated if they conflict, which is a slow very memory
16072 + # consuming and fragmenting process. To avoid this, we pick a random,
16073 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16074 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16075 + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16076 + 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'
16080 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16082 + case $cc_basename,$host_cpu in
16083 + pgcc*) # Portland Group C compiler
16084 + 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'
16085 + tmp_addflag=' $pic_flag'
16087 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
16088 + 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'
16089 + tmp_addflag=' $pic_flag -Mnomain' ;;
16090 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
16091 + tmp_addflag=' -i_dynamic' ;;
16092 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
16093 + tmp_addflag=' -i_dynamic -nofor_main' ;;
16094 + ifc* | ifort*) # Intel Fortran compiler
16095 + tmp_addflag=' -nofor_main' ;;
16097 + archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16099 + if test $supports_anon_versioning = yes; then
16100 + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
16101 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16102 + $echo "local: *; };" >> $output_objdir/$libname.ver~
16103 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16105 + link_all_deplibs=no
16111 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
16112 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16113 + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16116 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16117 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16122 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16126 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16127 +*** create shared libraries on Solaris systems. Therefore, libtool
16128 +*** is disabling shared libraries support. We urge you to upgrade GNU
16129 +*** binutils to release 2.9.1 or newer. Another option is to modify
16130 +*** your PATH or compiler configuration so that the native linker is
16131 +*** used, and then restart.
16134 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16135 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16136 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16142 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16143 + case `$LD -v 2>&1` in
16144 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16146 + cat <<_LT_EOF 1>&2
16148 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16149 +*** reliably create shared libraries on SCO systems. Therefore, libtool
16150 +*** is disabling shared libraries support. We urge you to upgrade GNU
16151 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16152 +*** your PATH or compiler configuration so that the native linker is
16153 +*** used, and then restart.
16158 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16159 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16160 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16161 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16170 + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16172 + hardcode_direct=yes
16173 + hardcode_shlibpath_var=no
16177 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16178 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16179 + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16186 + if test "$ld_shlibs" = no; then
16188 + hardcode_libdir_flag_spec=
16189 + export_dynamic_flag_spec=
16190 + whole_archive_flag_spec=
16193 + # PORTME fill in a description of your system's linker (not GNU ld)
16196 + allow_undefined_flag=unsupported
16197 + always_export_symbols=yes
16198 + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16199 + # Note: this linker hardcodes the directories in LIBPATH if there
16200 + # are no directories specified by -L.
16201 + hardcode_minus_L=yes
16202 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16203 + # Neither direct hardcoding nor static linking is supported with a
16204 + # broken collect2.
16205 + hardcode_direct=unsupported
16210 + if test "$host_cpu" = ia64; then
16211 + # On IA64, the linker does run time linking by default, so we don't
16212 + # have to do anything special.
16213 + aix_use_runtimelinking=no
16214 + exp_sym_flag='-Bexport'
16217 + # If we're using GNU nm, then we don't want the "-C" option.
16218 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
16219 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16220 + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16222 + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16224 + aix_use_runtimelinking=no
16226 + # Test if we are trying to use run time linking or normal
16227 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16228 + # need to do runtime linking.
16229 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
16230 + for ld_flag in $LDFLAGS; do
16231 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16232 + aix_use_runtimelinking=yes
16239 + exp_sym_flag='-bexport'
16240 + no_entry_flag='-bnoentry'
16243 + # When large executables or shared objects are built, AIX ld can
16244 + # have problems creating the table of contents. If linking a library
16245 + # or program results in "error TOC overflow" add -mminimal-toc to
16246 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16247 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16250 + hardcode_direct=yes
16251 + hardcode_libdir_separator=':'
16252 + link_all_deplibs=yes
16254 + if test "$GCC" = yes; then
16255 + case $host_os in aix4.[012]|aix4.[012].*)
16256 + # We only want to do this on AIX 4.2 and lower, the check
16257 + # below for broken collect2 doesn't work under 4.3+
16258 + collect2name=`${CC} -print-prog-name=collect2`
16259 + if test -f "$collect2name" && \
16260 + strings "$collect2name" | grep resolve_lib_name >/dev/null
16262 + # We have reworked collect2
16263 + hardcode_direct=yes
16265 + # We have old collect2
16266 + hardcode_direct=unsupported
16267 + # It fails to find uninstalled libraries when the uninstalled
16268 + # path is not listed in the libpath. Setting hardcode_minus_L
16269 + # to unsupported forces relinking
16270 + hardcode_minus_L=yes
16271 + hardcode_libdir_flag_spec='-L$libdir'
16272 + hardcode_libdir_separator=
16276 + shared_flag='-shared'
16277 + if test "$aix_use_runtimelinking" = yes; then
16278 + shared_flag="$shared_flag "'${wl}-G'
16282 + if test "$host_cpu" = ia64; then
16283 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16284 + # chokes on -Wl,-G. The following line is correct:
16287 + if test "$aix_use_runtimelinking" = yes; then
16288 + shared_flag='${wl}-G'
16290 + shared_flag='${wl}-bM:SRE'
16295 + # It seems that -bexpall does not export symbols beginning with
16296 + # underscore (_), so it is better to generate a list of symbols to export.
16297 + always_export_symbols=yes
16298 + if test "$aix_use_runtimelinking" = yes; then
16299 + # Warning - without using the other runtime loading flags (-brtl),
16300 + # -berok will link without error, but may produce a broken library.
16301 + allow_undefined_flag='-berok'
16302 + # Determine the default libpath from the value encoded in an empty executable.
16303 + cat >conftest.$ac_ext <<_ACEOF
16306 +cat confdefs.h >>conftest.$ac_ext
16307 +cat >>conftest.$ac_ext <<_ACEOF
16308 +/* end confdefs.h. */
16318 +rm -f conftest.$ac_objext conftest$ac_exeext
16319 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16320 + (eval $ac_link) 2>conftest.er1
16322 + grep -v '^ *+' conftest.er1 >conftest.err
16323 + rm -f conftest.er1
16324 + cat conftest.err >&5
16325 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 + (exit $ac_status); } &&
16327 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16328 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 + (eval $ac_try) 2>&5
16331 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 + (exit $ac_status); }; } &&
16333 + { ac_try='test -s conftest$ac_exeext'
16334 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 + (eval $ac_try) 2>&5
16337 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 + (exit $ac_status); }; }; then
16340 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16342 +# Check for a 64-bit object if we didn't find anything.
16343 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16346 + echo "$as_me: failed program was:" >&5
16347 +sed 's/^/| /' conftest.$ac_ext >&5
16350 +rm -f conftest.err conftest.$ac_objext \
16351 + conftest$ac_exeext conftest.$ac_ext
16352 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16354 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
16355 + 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"
16357 + if test "$host_cpu" = ia64; then
16358 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
16359 + allow_undefined_flag="-z nodefs"
16360 + 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"
16362 + # Determine the default libpath from the value encoded in an empty executable.
16363 + cat >conftest.$ac_ext <<_ACEOF
16366 +cat confdefs.h >>conftest.$ac_ext
16367 +cat >>conftest.$ac_ext <<_ACEOF
16368 +/* end confdefs.h. */
16378 +rm -f conftest.$ac_objext conftest$ac_exeext
16379 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16380 + (eval $ac_link) 2>conftest.er1
16382 + grep -v '^ *+' conftest.er1 >conftest.err
16383 + rm -f conftest.er1
16384 + cat conftest.err >&5
16385 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 + (exit $ac_status); } &&
16387 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16388 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 + (eval $ac_try) 2>&5
16391 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 + (exit $ac_status); }; } &&
16393 + { ac_try='test -s conftest$ac_exeext'
16394 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 + (eval $ac_try) 2>&5
16397 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 + (exit $ac_status); }; }; then
16400 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16402 +# Check for a 64-bit object if we didn't find anything.
16403 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16406 + echo "$as_me: failed program was:" >&5
16407 +sed 's/^/| /' conftest.$ac_ext >&5
16410 +rm -f conftest.err conftest.$ac_objext \
16411 + conftest$ac_exeext conftest.$ac_ext
16412 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16414 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
16415 + # Warning - without using the other run time loading flags,
16416 + # -berok will link without error, but may produce a broken library.
16417 + no_undefined_flag=' ${wl}-bernotok'
16418 + allow_undefined_flag=' ${wl}-berok'
16419 + # Exported symbols can be pulled into shared objects from archives
16420 + whole_archive_flag_spec='$convenience'
16421 + archive_cmds_need_lc=yes
16422 + # This is similar to how AIX traditionally builds its shared libraries.
16423 + 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'
16429 + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16430 + hardcode_libdir_flag_spec='-L$libdir'
16431 + hardcode_minus_L=yes
16432 + # see comment about different semantics on the GNU ld section
16437 + export_dynamic_flag_spec=-rdynamic
16440 + cygwin* | mingw* | pw32*)
16441 + # When not using gcc, we currently assume that we are using
16442 + # Microsoft Visual C++.
16443 + # hardcode_libdir_flag_spec is actually meaningless, as there is
16444 + # no search path for DLLs.
16445 + hardcode_libdir_flag_spec=' '
16446 + allow_undefined_flag=unsupported
16447 + # Tell ltmain to make .lib files, not .a files.
16449 + # Tell ltmain to make .dll files, not .so files.
16450 + shrext_cmds=".dll"
16451 + # FIXME: Setting linknames here is a bad hack.
16452 + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16453 + # The linker will automatically build a .lib file if we build a DLL.
16454 + old_archive_From_new_cmds='true'
16455 + # FIXME: Should let the user specify the lib program.
16456 + old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
16457 + fix_srcfile_path='`cygpath -w "$srcfile"`'
16458 + enable_shared_with_static_runtimes=yes
16461 + darwin* | rhapsody*)
16463 + rhapsody* | darwin1.[012])
16464 + allow_undefined_flag='${wl}-undefined ${wl}suppress'
16466 + *) # Darwin 1.3 on
16467 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16468 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16470 + case ${MACOSX_DEPLOYMENT_TARGET} in
16472 + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16475 + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
16481 + archive_cmds_need_lc=no
16482 + hardcode_direct=no
16483 + hardcode_automatic=yes
16484 + hardcode_shlibpath_var=unsupported
16485 + whole_archive_flag_spec=''
16486 + link_all_deplibs=yes
16487 + if test "$GCC" = yes ; then
16488 + output_verbose_link_cmd='echo'
16489 + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16490 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16491 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16492 + 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}'
16493 + 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}'
16495 + case $cc_basename in
16497 + output_verbose_link_cmd='echo'
16498 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16499 + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16500 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16501 + 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}'
16502 + 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}'
16512 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16513 + hardcode_libdir_flag_spec='-L$libdir'
16514 + hardcode_shlibpath_var=no
16521 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16522 + # support. Future versions do this automatically, but an explicit c++rt0.o
16523 + # does not break anything, and helps significantly (at the cost of a little
16526 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16527 + hardcode_libdir_flag_spec='-R$libdir'
16528 + hardcode_direct=yes
16529 + hardcode_shlibpath_var=no
16532 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16534 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16535 + hardcode_direct=yes
16536 + hardcode_minus_L=yes
16537 + hardcode_shlibpath_var=no
16540 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16541 + freebsd* | dragonfly*)
16542 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16543 + hardcode_libdir_flag_spec='-R$libdir'
16544 + hardcode_direct=yes
16545 + hardcode_shlibpath_var=no
16548 + # GNU/kFreeBSD uses gcc -shared to do shared libraries.
16550 + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16551 + hardcode_libdir_flag_spec='-R$libdir'
16552 + hardcode_direct=yes
16553 + hardcode_shlibpath_var=no
16554 + link_all_deplibs=no
16558 + if test "$GCC" = yes; then
16559 + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16561 + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16563 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
16564 + hardcode_libdir_separator=:
16565 + hardcode_direct=yes
16567 + # hardcode_minus_L: Not really in the search PATH,
16568 + # but as the default location of the library.
16569 + hardcode_minus_L=yes
16570 + export_dynamic_flag_spec='${wl}-E'
16574 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16575 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16577 + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16579 + if test "$with_gnu_ld" = no; then
16580 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
16581 + hardcode_libdir_separator=:
16583 + hardcode_direct=yes
16584 + export_dynamic_flag_spec='${wl}-E'
16586 + # hardcode_minus_L: Not really in the search PATH,
16587 + # but as the default location of the library.
16588 + hardcode_minus_L=yes
16593 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16594 + case $host_cpu in
16596 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16599 + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16602 + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16606 + case $host_cpu in
16608 + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16611 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16614 + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16618 + if test "$with_gnu_ld" = no; then
16619 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
16620 + hardcode_libdir_separator=:
16622 + case $host_cpu in
16624 + hardcode_libdir_flag_spec_ld='+b $libdir'
16625 + hardcode_direct=no
16626 + hardcode_shlibpath_var=no
16629 + hardcode_direct=yes
16630 + export_dynamic_flag_spec='${wl}-E'
16632 + # hardcode_minus_L: Not really in the search PATH,
16633 + # but as the default location of the library.
16634 + hardcode_minus_L=yes
16640 + irix5* | irix6* | nonstopux*)
16641 + if test "$GCC" = yes; then
16642 + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16644 + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16645 + hardcode_libdir_flag_spec_ld='-rpath $libdir'
16647 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16648 + hardcode_libdir_separator=:
16649 + link_all_deplibs=yes
16652 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
16653 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16654 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16656 + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16658 + hardcode_libdir_flag_spec='-R$libdir'
16659 + hardcode_direct=yes
16660 + hardcode_shlibpath_var=no
16664 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16665 + hardcode_direct=yes
16666 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16667 + hardcode_libdir_separator=:
16668 + hardcode_shlibpath_var=no
16672 + hardcode_direct=yes
16673 + hardcode_shlibpath_var=no
16674 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16675 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16676 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16677 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16678 + export_dynamic_flag_spec='${wl}-E'
16681 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16682 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16683 + hardcode_libdir_flag_spec='-R$libdir'
16686 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16687 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16694 + hardcode_libdir_flag_spec='-L$libdir'
16695 + hardcode_minus_L=yes
16696 + allow_undefined_flag=unsupported
16697 + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
16698 + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16702 + if test "$GCC" = yes; then
16703 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16704 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16706 + allow_undefined_flag=' -expect_unresolved \*'
16707 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16709 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16710 + hardcode_libdir_separator=:
16713 + osf4* | osf5*) # as osf3* with the addition of -msym flag
16714 + if test "$GCC" = yes; then
16715 + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16716 + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16717 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16719 + allow_undefined_flag=' -expect_unresolved \*'
16720 + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16721 + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16722 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16724 + # Both c and cxx compiler support -rpath directly
16725 + hardcode_libdir_flag_spec='-rpath $libdir'
16727 + hardcode_libdir_separator=:
16731 + no_undefined_flag=' -z text'
16732 + if test "$GCC" = yes; then
16734 + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16735 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16736 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16739 + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16740 + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16741 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16743 + hardcode_libdir_flag_spec='-R$libdir'
16744 + hardcode_shlibpath_var=no
16746 + solaris2.[0-5] | solaris2.[0-5].*) ;;
16748 + # The compiler driver will combine linker options so we
16749 + # cannot just pass the convience library names through
16750 + # without $wl, iff we do not link with $LD.
16751 + # Luckily, gcc supports the same syntax we need for Sun Studio.
16752 + # Supported since Solaris 2.6 (maybe 2.5.1?)
16755 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
16757 + whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16760 + link_all_deplibs=yes
16764 + if test "x$host_vendor" = xsequent; then
16765 + # Use $CC to link under sequent, because it throws in some extra .o
16766 + # files that make .init and .fini sections work.
16767 + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16769 + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16771 + hardcode_libdir_flag_spec='-L$libdir'
16772 + hardcode_direct=yes
16773 + hardcode_minus_L=yes
16774 + hardcode_shlibpath_var=no
16778 + case $host_vendor in
16780 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16781 + hardcode_direct=yes # is this really true???
16784 + ## LD is ld it makes a PLAMLIB
16785 + ## CC just makes a GrossModule.
16786 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16787 + reload_cmds='$CC -r -o $output$reload_objs'
16788 + hardcode_direct=no
16791 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16792 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
16795 + runpath_var='LD_RUN_PATH'
16796 + hardcode_shlibpath_var=no
16800 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16801 + hardcode_shlibpath_var=no
16802 + export_dynamic_flag_spec='-Bexport'
16806 + if test -d /usr/nec; then
16807 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16808 + hardcode_shlibpath_var=no
16809 + runpath_var=LD_RUN_PATH
16810 + hardcode_runpath_var=yes
16815 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
16816 + no_undefined_flag='${wl}-z,text'
16817 + archive_cmds_need_lc=no
16818 + hardcode_shlibpath_var=no
16819 + runpath_var='LD_RUN_PATH'
16821 + if test "$GCC" = yes; then
16822 + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16823 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16825 + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16826 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16830 + sysv5* | sco3.2v5* | sco5v6*)
16831 + # Note: We can NOT use -z defs as we might desire, because we do not
16832 + # link with -lc, and that would cause any symbols used from libc to
16833 + # always be unresolved, which means just about no library would
16834 + # ever link correctly. If we're not using GNU ld we use -z text
16835 + # though, which does catch some bad symbols but isn't as heavy-handed
16837 + no_undefined_flag='${wl}-z,text'
16838 + allow_undefined_flag='${wl}-z,nodefs'
16839 + archive_cmds_need_lc=no
16840 + hardcode_shlibpath_var=no
16841 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16842 + hardcode_libdir_separator=':'
16843 + link_all_deplibs=yes
16844 + export_dynamic_flag_spec='${wl}-Bexport'
16845 + runpath_var='LD_RUN_PATH'
16847 + if test "$GCC" = yes; then
16848 + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16849 + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16851 + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16852 + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16857 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16858 + hardcode_libdir_flag_spec='-L$libdir'
16859 + hardcode_shlibpath_var=no
16868 +echo "$as_me:$LINENO: result: $ld_shlibs" >&5
16869 +echo "${ECHO_T}$ld_shlibs" >&6
16870 +test "$ld_shlibs" = no && can_build_shared=no
16873 +# Do we need to explicitly link libc?
16875 +case "x$archive_cmds_need_lc" in
16877 + # Assume -lc should be added
16878 + archive_cmds_need_lc=yes
16880 + if test "$enable_shared" = yes && test "$GCC" = yes; then
16881 + case $archive_cmds in
16883 + # FIXME: we may have to deal with multi-command sequences.
16886 + # Test whether the compiler implicitly links with -lc since on some
16887 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
16888 + # to ld, don't add -lc before -lgcc.
16889 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16890 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16892 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16894 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16895 + (eval $ac_compile) 2>&5
16897 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 + (exit $ac_status); } 2>conftest.err; then
16901 + libobjs=conftest.$ac_objext
16903 + wl=$lt_prog_compiler_wl
16904 + pic_flag=$lt_prog_compiler_pic
16905 + compiler_flags=-v
16910 + lt_save_allow_undefined_flag=$allow_undefined_flag
16911 + allow_undefined_flag=
16912 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16913 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16915 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 + (exit $ac_status); }
16918 + archive_cmds_need_lc=no
16920 + archive_cmds_need_lc=yes
16922 + allow_undefined_flag=$lt_save_allow_undefined_flag
16924 + cat conftest.err 1>&5
16927 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
16928 +echo "${ECHO_T}$archive_cmds_need_lc" >&6
16935 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16936 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16937 +library_names_spec=
16938 +libname_spec='lib$name'
16942 +postuninstall_cmds=
16946 +shlibpath_overrides_runpath=unknown
16948 +dynamic_linker="$host_os ld.so"
16949 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
16950 +if test "$GCC" = yes; then
16951 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16952 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16953 + # if the path contains ";" then we assume it to be the separator
16954 + # otherwise default to the standard path separator (i.e. ":") - it is
16955 + # assumed that no part of a normal pathname contains ";" but that should
16956 + # okay in the real world where ";" in dirpaths is itself problematic.
16957 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16959 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16962 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16964 +need_lib_prefix=unknown
16965 +hardcode_into_libs=no
16967 +# when you set need_version to no, make sure it does not cause -set_version
16968 +# flags to be left without arguments
16969 +need_version=unknown
16973 + version_type=linux
16974 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16975 + shlibpath_var=LIBPATH
16977 + # AIX 3 has no versioning support, so we append a major version to the name.
16978 + soname_spec='${libname}${release}${shared_ext}$major'
16982 + version_type=linux
16983 + need_lib_prefix=no
16985 + hardcode_into_libs=yes
16986 + if test "$host_cpu" = ia64; then
16987 + # AIX 5 supports IA64
16988 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16989 + shlibpath_var=LD_LIBRARY_PATH
16991 + # With GCC up to 2.95.x, collect2 would create an import file
16992 + # for dependence libraries. The import file would start with
16993 + # the line `#! .'. This would cause the generated library to
16994 + # depend on `.', always an invalid library. This was fixed in
16995 + # development snapshots of GCC prior to 3.0.
16997 + aix4 | aix4.[01] | aix4.[01].*)
16998 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17000 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17003 + can_build_shared=no
17007 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17008 + # soname into executable. Probably we can add versioning support to
17009 + # collect2, so additional links can be useful in future.
17010 + if test "$aix_use_runtimelinking" = yes; then
17011 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17012 + # instead of lib<name>.a to let people know that these are not
17013 + # typical AIX shared libraries.
17014 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17016 + # We preserve .a as extension for shared libraries through AIX4.2
17017 + # and later when we are not doing run time linking.
17018 + library_names_spec='${libname}${release}.a $libname.a'
17019 + soname_spec='${libname}${release}${shared_ext}$major'
17021 + shlibpath_var=LIBPATH
17026 + library_names_spec='$libname.ixlibrary $libname.a'
17027 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
17028 + 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'
17032 + library_names_spec='${libname}${shared_ext}'
17033 + dynamic_linker="$host_os ld.so"
17034 + shlibpath_var=LIBRARY_PATH
17038 + version_type=linux
17040 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17041 + soname_spec='${libname}${release}${shared_ext}$major'
17042 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17043 + shlibpath_var=LD_LIBRARY_PATH
17044 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17045 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17046 + # the default ld.so.conf also contains /usr/contrib/lib and
17047 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17048 + # libtool to hard-code these into programs
17051 +cygwin* | mingw* | pw32*)
17052 + version_type=windows
17053 + shrext_cmds=".dll"
17055 + need_lib_prefix=no
17057 + case $GCC,$host_os in
17058 + yes,cygwin* | yes,mingw* | yes,pw32*)
17059 + library_names_spec='$libname.dll.a'
17060 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
17061 + postinstall_cmds='base_file=`basename \${file}`~
17062 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17063 + dldir=$destdir/`dirname \$dlpath`~
17064 + test -d \$dldir || mkdir -p \$dldir~
17065 + $install_prog $dir/$dlname \$dldir/$dlname~
17066 + chmod a+x \$dldir/$dlname'
17067 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17068 + dlpath=$dir/\$dldll~
17070 + shlibpath_overrides_runpath=yes
17074 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17075 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17076 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17079 + # MinGW DLLs use traditional 'lib' prefix
17080 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17081 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17082 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17083 + # It is most probably a Windows format PATH printed by
17084 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
17085 + # path with ; separators, and with drive letters. We can handle the
17086 + # drive letters (cygwin fileutils understands them), so leave them,
17087 + # especially as we might pass files found there to a mingw objdump,
17088 + # which wouldn't understand a cygwinified path. Ahh.
17089 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17091 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17095 + # pw32 DLLs use 'pw' prefix rather than 'lib'
17096 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17102 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17105 + dynamic_linker='Win32 ld.exe'
17106 + # FIXME: first we should search . and the directory the executable is in
17107 + shlibpath_var=PATH
17110 +darwin* | rhapsody*)
17111 + dynamic_linker="$host_os dyld"
17112 + version_type=darwin
17113 + need_lib_prefix=no
17115 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17116 + soname_spec='${libname}${release}${major}$shared_ext'
17117 + shlibpath_overrides_runpath=yes
17118 + shlibpath_var=DYLD_LIBRARY_PATH
17119 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17120 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17121 + if test "$GCC" = yes; then
17122 + 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"`
17124 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17126 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17130 + version_type=linux
17131 + need_lib_prefix=no
17133 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17134 + soname_spec='${libname}${release}${shared_ext}$major'
17135 + shlibpath_var=LD_LIBRARY_PATH
17139 + dynamic_linker=no
17143 + version_type=linux
17144 + need_lib_prefix=no
17146 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17147 + soname_spec='${libname}${release}${shared_ext}$major'
17148 + shlibpath_var=LD_LIBRARY_PATH
17149 + shlibpath_overrides_runpath=no
17150 + hardcode_into_libs=yes
17151 + dynamic_linker='GNU ld.so'
17154 +freebsd* | dragonfly*)
17155 + # DragonFly does not have aout. When/if they implement a new
17156 + # versioning mechanism, adjust this.
17157 + if test -x /usr/bin/objformat; then
17158 + objformat=`/usr/bin/objformat`
17161 + freebsd[123]*) objformat=aout ;;
17162 + *) objformat=elf ;;
17165 + version_type=freebsd-$objformat
17166 + case $version_type in
17168 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17170 + need_lib_prefix=no
17173 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17177 + shlibpath_var=LD_LIBRARY_PATH
17180 + shlibpath_overrides_runpath=yes
17182 + freebsd3.[01]* | freebsdelf3.[01]*)
17183 + shlibpath_overrides_runpath=yes
17184 + hardcode_into_libs=yes
17186 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17187 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17188 + shlibpath_overrides_runpath=no
17189 + hardcode_into_libs=yes
17191 + freebsd*) # from 4.6 on
17192 + shlibpath_overrides_runpath=yes
17193 + hardcode_into_libs=yes
17199 + version_type=linux
17200 + need_lib_prefix=no
17202 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17203 + soname_spec='${libname}${release}${shared_ext}$major'
17204 + shlibpath_var=LD_LIBRARY_PATH
17205 + hardcode_into_libs=yes
17208 +hpux9* | hpux10* | hpux11*)
17209 + # Give a soname corresponding to the major version so that dld.sl refuses to
17210 + # link against other versions.
17211 + version_type=sunos
17212 + need_lib_prefix=no
17214 + case $host_cpu in
17216 + shrext_cmds='.so'
17217 + hardcode_into_libs=yes
17218 + dynamic_linker="$host_os dld.so"
17219 + shlibpath_var=LD_LIBRARY_PATH
17220 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17221 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17222 + soname_spec='${libname}${release}${shared_ext}$major'
17223 + if test "X$HPUX_IA64_MODE" = X32; then
17224 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17226 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17228 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17231 + shrext_cmds='.sl'
17232 + hardcode_into_libs=yes
17233 + dynamic_linker="$host_os dld.sl"
17234 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17235 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17236 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17237 + soname_spec='${libname}${release}${shared_ext}$major'
17238 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17239 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17242 + shrext_cmds='.sl'
17243 + dynamic_linker="$host_os dld.sl"
17244 + shlibpath_var=SHLIB_PATH
17245 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17246 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17247 + soname_spec='${libname}${release}${shared_ext}$major'
17250 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
17251 + postinstall_cmds='chmod 555 $lib'
17255 + version_type=linux
17256 + need_lib_prefix=no
17258 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17259 + soname_spec='${libname}${release}${shared_ext}$major'
17260 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17261 + shlibpath_var=LD_LIBRARY_PATH
17262 + shlibpath_overrides_runpath=no
17263 + hardcode_into_libs=yes
17266 +irix5* | irix6* | nonstopux*)
17268 + nonstopux*) version_type=nonstopux ;;
17270 + if test "$lt_cv_prog_gnu_ld" = yes; then
17271 + version_type=linux
17273 + version_type=irix
17276 + need_lib_prefix=no
17278 + soname_spec='${libname}${release}${shared_ext}$major'
17279 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17281 + irix5* | nonstopux*)
17282 + libsuff= shlibsuff=
17285 + case $LD in # libtool.m4 will add one of these switches to LD
17286 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17287 + libsuff= shlibsuff= libmagic=32-bit;;
17288 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17289 + libsuff=32 shlibsuff=N32 libmagic=N32;;
17290 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17291 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
17292 + *) libsuff= shlibsuff= libmagic=never-match;;
17296 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17297 + shlibpath_overrides_runpath=no
17298 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17299 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17300 + hardcode_into_libs=yes
17303 +# No shared lib support for Linux oldld, aout, or coff.
17304 +linux*oldld* | linux*aout* | linux*coff*)
17305 + dynamic_linker=no
17308 +# This must be Linux ELF.
17310 + version_type=linux
17311 + need_lib_prefix=no
17313 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17314 + soname_spec='${libname}${release}${shared_ext}$major'
17315 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17316 + shlibpath_var=LD_LIBRARY_PATH
17317 + shlibpath_overrides_runpath=no
17318 + # This implies no fast_install, which is unacceptable.
17319 + # Some rework will be needed to allow for fast_install
17320 + # before this can be enabled.
17321 + hardcode_into_libs=yes
17323 + # Append ld.so.conf contents to the search path
17324 + if test -f /etc/ld.so.conf; then
17325 + 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' ' '`
17326 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17329 + # We used to test for /lib/ld.so.1 and disable shared libraries on
17330 + # powerpc, because MkLinux only supported shared libraries with the
17331 + # GNU dynamic linker. Since this was broken with cross compilers,
17332 + # most powerpc-linux boxes support dynamic linking these days and
17333 + # people can always --disable-shared, the test was removed, and we
17334 + # assume the GNU/Linux dynamic linker is in use.
17335 + dynamic_linker='GNU/Linux ld.so'
17339 + version_type=linux
17340 + need_lib_prefix=no
17342 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17343 + soname_spec='${libname}${release}${shared_ext}$major'
17344 + shlibpath_var=LD_LIBRARY_PATH
17345 + shlibpath_overrides_runpath=no
17346 + hardcode_into_libs=yes
17347 + dynamic_linker='NetBSD ld.elf_so'
17351 + version_type=linux
17352 + need_lib_prefix=no
17354 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17355 + soname_spec='${libname}${release}${shared_ext}$major'
17356 + shlibpath_var=LD_LIBRARY_PATH
17357 + shlibpath_overrides_runpath=no
17358 + hardcode_into_libs=yes
17359 + dynamic_linker='GNU ld.so'
17363 + version_type=sunos
17364 + need_lib_prefix=no
17366 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17367 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17368 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17369 + dynamic_linker='NetBSD (a.out) ld.so'
17371 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17372 + soname_spec='${libname}${release}${shared_ext}$major'
17373 + dynamic_linker='NetBSD ld.elf_so'
17375 + shlibpath_var=LD_LIBRARY_PATH
17376 + shlibpath_overrides_runpath=yes
17377 + hardcode_into_libs=yes
17381 + version_type=linux
17382 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17383 + shlibpath_var=LD_LIBRARY_PATH
17384 + shlibpath_overrides_runpath=yes
17388 + version_type=linux
17389 + need_lib_prefix=no
17391 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17392 + soname_spec='${libname}${release}${shared_ext}$major'
17393 + shlibpath_var=LD_LIBRARY_PATH
17394 + shlibpath_overrides_runpath=yes
17398 + version_type=sunos
17399 + sys_lib_dlsearch_path_spec="/usr/lib"
17400 + need_lib_prefix=no
17401 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17403 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17404 + *) need_version=no ;;
17406 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17407 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17408 + shlibpath_var=LD_LIBRARY_PATH
17409 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17411 + openbsd2.[89] | openbsd2.[89].*)
17412 + shlibpath_overrides_runpath=no
17415 + shlibpath_overrides_runpath=yes
17419 + shlibpath_overrides_runpath=yes
17424 + libname_spec='$name'
17425 + shrext_cmds=".dll"
17426 + need_lib_prefix=no
17427 + library_names_spec='$libname${shared_ext} $libname.a'
17428 + dynamic_linker='OS/2 ld.exe'
17429 + shlibpath_var=LIBPATH
17432 +osf3* | osf4* | osf5*)
17434 + need_lib_prefix=no
17436 + soname_spec='${libname}${release}${shared_ext}$major'
17437 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17438 + shlibpath_var=LD_LIBRARY_PATH
17439 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17440 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17444 + version_type=linux
17445 + need_lib_prefix=no
17447 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17448 + soname_spec='${libname}${release}${shared_ext}$major'
17449 + shlibpath_var=LD_LIBRARY_PATH
17450 + shlibpath_overrides_runpath=yes
17451 + hardcode_into_libs=yes
17452 + # ldd complains unless libraries are executable
17453 + postinstall_cmds='chmod +x $lib'
17457 + version_type=sunos
17458 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17459 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17460 + shlibpath_var=LD_LIBRARY_PATH
17461 + shlibpath_overrides_runpath=yes
17462 + if test "$with_gnu_ld" = yes; then
17463 + need_lib_prefix=no
17469 + version_type=linux
17470 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17471 + soname_spec='${libname}${release}${shared_ext}$major'
17472 + shlibpath_var=LD_LIBRARY_PATH
17473 + case $host_vendor in
17475 + shlibpath_overrides_runpath=no
17476 + need_lib_prefix=no
17477 + export_dynamic_flag_spec='${wl}-Blargedynsym'
17478 + runpath_var=LD_RUN_PATH
17481 + need_lib_prefix=no
17484 + need_lib_prefix=no
17486 + shlibpath_overrides_runpath=no
17487 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17493 + if test -d /usr/nec ;then
17494 + version_type=linux
17495 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17496 + soname_spec='$libname${shared_ext}.$major'
17497 + shlibpath_var=LD_LIBRARY_PATH
17501 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17502 + version_type=freebsd-elf
17503 + need_lib_prefix=no
17505 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17506 + soname_spec='${libname}${release}${shared_ext}$major'
17507 + shlibpath_var=LD_LIBRARY_PATH
17508 + hardcode_into_libs=yes
17509 + if test "$with_gnu_ld" = yes; then
17510 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17511 + shlibpath_overrides_runpath=no
17513 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17514 + shlibpath_overrides_runpath=yes
17517 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17521 + sys_lib_dlsearch_path_spec='/usr/lib'
17525 + version_type=linux
17526 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17527 + soname_spec='${libname}${release}${shared_ext}$major'
17528 + shlibpath_var=LD_LIBRARY_PATH
17532 + dynamic_linker=no
17535 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17536 +echo "${ECHO_T}$dynamic_linker" >&6
17537 +test "$dynamic_linker" = no && can_build_shared=no
17539 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17540 +if test "$GCC" = yes; then
17541 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17544 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17545 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17547 +if test -n "$hardcode_libdir_flag_spec" || \
17548 + test -n "$runpath_var" || \
17549 + test "X$hardcode_automatic" = "Xyes" ; then
17551 + # We can hardcode non-existant directories.
17552 + if test "$hardcode_direct" != no &&
17553 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
17554 + # have to relink, otherwise we might link with an installed library
17555 + # when we should be linking with a yet-to-be-installed one
17556 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
17557 + test "$hardcode_minus_L" != no; then
17558 + # Linking always hardcodes the temporary library directory.
17559 + hardcode_action=relink
17561 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
17562 + hardcode_action=immediate
17565 + # We cannot hardcode anything, or else we can only hardcode existing
17567 + hardcode_action=unsupported
17569 +echo "$as_me:$LINENO: result: $hardcode_action" >&5
17570 +echo "${ECHO_T}$hardcode_action" >&6
17572 +if test "$hardcode_action" = relink; then
17573 + # Fast installation is not supported
17574 + enable_fast_install=no
17575 +elif test "$shlibpath_overrides_runpath" = yes ||
17576 + test "$enable_shared" = no; then
17577 + # Fast installation is not necessary
17578 + enable_fast_install=needless
17583 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17584 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17585 +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17586 + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17587 + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17588 + echo "$as_me:$LINENO: result: yes" >&5
17589 +echo "${ECHO_T}yes" >&6
17591 +# FIXME - insert some real tests, host_os isn't really good enough
17594 + if test -n "$STRIP" ; then
17595 + striplib="$STRIP -x"
17596 + echo "$as_me:$LINENO: result: yes" >&5
17597 +echo "${ECHO_T}yes" >&6
17599 + echo "$as_me:$LINENO: result: no" >&5
17600 +echo "${ECHO_T}no" >&6
17604 + echo "$as_me:$LINENO: result: no" >&5
17605 +echo "${ECHO_T}no" >&6
17610 +if test "x$enable_dlopen" != xyes; then
17611 + enable_dlopen=unknown
17612 + enable_dlopen_self=unknown
17613 + enable_dlopen_self_static=unknown
17616 + lt_cv_dlopen_libs=
17620 + lt_cv_dlopen="load_add_on"
17621 + lt_cv_dlopen_libs=
17622 + lt_cv_dlopen_self=yes
17626 + lt_cv_dlopen="LoadLibrary"
17627 + lt_cv_dlopen_libs=
17631 + lt_cv_dlopen="dlopen"
17632 + lt_cv_dlopen_libs=
17636 + # if libdl is installed we need to link against it
17637 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17638 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17639 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17640 + echo $ECHO_N "(cached) $ECHO_C" >&6
17642 + ac_check_lib_save_LIBS=$LIBS
17644 +cat >conftest.$ac_ext <<_ACEOF
17647 +cat confdefs.h >>conftest.$ac_ext
17648 +cat >>conftest.$ac_ext <<_ACEOF
17649 +/* end confdefs.h. */
17651 +/* Override any gcc2 internal prototype to avoid an error. */
17652 +#ifdef __cplusplus
17655 +/* We use char because int might match the return type of a gcc2
17656 + builtin and then its argument prototype would still apply. */
17666 +rm -f conftest.$ac_objext conftest$ac_exeext
17667 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17668 + (eval $ac_link) 2>conftest.er1
17670 + grep -v '^ *+' conftest.er1 >conftest.err
17671 + rm -f conftest.er1
17672 + cat conftest.err >&5
17673 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 + (exit $ac_status); } &&
17675 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17676 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 + (eval $ac_try) 2>&5
17679 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 + (exit $ac_status); }; } &&
17681 + { ac_try='test -s conftest$ac_exeext'
17682 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 + (eval $ac_try) 2>&5
17685 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 + (exit $ac_status); }; }; then
17687 + ac_cv_lib_dl_dlopen=yes
17689 + echo "$as_me: failed program was:" >&5
17690 +sed 's/^/| /' conftest.$ac_ext >&5
17692 +ac_cv_lib_dl_dlopen=no
17694 +rm -f conftest.err conftest.$ac_objext \
17695 + conftest$ac_exeext conftest.$ac_ext
17696 +LIBS=$ac_check_lib_save_LIBS
17698 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17699 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17700 +if test $ac_cv_lib_dl_dlopen = yes; then
17701 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17704 + lt_cv_dlopen="dyld"
17705 + lt_cv_dlopen_libs=
17706 + lt_cv_dlopen_self=yes
17713 + echo "$as_me:$LINENO: checking for shl_load" >&5
17714 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17715 +if test "${ac_cv_func_shl_load+set}" = set; then
17716 + echo $ECHO_N "(cached) $ECHO_C" >&6
17718 + cat >conftest.$ac_ext <<_ACEOF
17721 +cat confdefs.h >>conftest.$ac_ext
17722 +cat >>conftest.$ac_ext <<_ACEOF
17723 +/* end confdefs.h. */
17724 +/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17725 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
17726 +#define shl_load innocuous_shl_load
17728 +/* System header to define __stub macros and hopefully few prototypes,
17729 + which can conflict with char shl_load (); below.
17730 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17731 + <limits.h> exists even on freestanding compilers. */
17734 +# include <limits.h>
17736 +# include <assert.h>
17741 +/* Override any gcc2 internal prototype to avoid an error. */
17742 +#ifdef __cplusplus
17746 +/* We use char because int might match the return type of a gcc2
17747 + builtin and then its argument prototype would still apply. */
17749 +/* The GNU C library defines this for functions which it implements
17750 + to always fail with ENOSYS. Some functions are actually named
17751 + something starting with __ and the normal name is an alias. */
17752 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
17755 +char (*f) () = shl_load;
17757 +#ifdef __cplusplus
17764 +return f != shl_load;
17769 +rm -f conftest.$ac_objext conftest$ac_exeext
17770 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17771 + (eval $ac_link) 2>conftest.er1
17773 + grep -v '^ *+' conftest.er1 >conftest.err
17774 + rm -f conftest.er1
17775 + cat conftest.err >&5
17776 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 + (exit $ac_status); } &&
17778 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17779 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780 + (eval $ac_try) 2>&5
17782 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 + (exit $ac_status); }; } &&
17784 + { ac_try='test -s conftest$ac_exeext'
17785 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17786 + (eval $ac_try) 2>&5
17788 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 + (exit $ac_status); }; }; then
17790 + ac_cv_func_shl_load=yes
17792 + echo "$as_me: failed program was:" >&5
17793 +sed 's/^/| /' conftest.$ac_ext >&5
17795 +ac_cv_func_shl_load=no
17797 +rm -f conftest.err conftest.$ac_objext \
17798 + conftest$ac_exeext conftest.$ac_ext
17800 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17801 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17802 +if test $ac_cv_func_shl_load = yes; then
17803 + lt_cv_dlopen="shl_load"
17805 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17806 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17807 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17808 + echo $ECHO_N "(cached) $ECHO_C" >&6
17810 + ac_check_lib_save_LIBS=$LIBS
17811 +LIBS="-ldld $LIBS"
17812 +cat >conftest.$ac_ext <<_ACEOF
17815 +cat confdefs.h >>conftest.$ac_ext
17816 +cat >>conftest.$ac_ext <<_ACEOF
17817 +/* end confdefs.h. */
17819 +/* Override any gcc2 internal prototype to avoid an error. */
17820 +#ifdef __cplusplus
17823 +/* We use char because int might match the return type of a gcc2
17824 + builtin and then its argument prototype would still apply. */
17834 +rm -f conftest.$ac_objext conftest$ac_exeext
17835 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17836 + (eval $ac_link) 2>conftest.er1
17838 + grep -v '^ *+' conftest.er1 >conftest.err
17839 + rm -f conftest.er1
17840 + cat conftest.err >&5
17841 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 + (exit $ac_status); } &&
17843 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17844 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17845 + (eval $ac_try) 2>&5
17847 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 + (exit $ac_status); }; } &&
17849 + { ac_try='test -s conftest$ac_exeext'
17850 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 + (eval $ac_try) 2>&5
17853 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 + (exit $ac_status); }; }; then
17855 + ac_cv_lib_dld_shl_load=yes
17857 + echo "$as_me: failed program was:" >&5
17858 +sed 's/^/| /' conftest.$ac_ext >&5
17860 +ac_cv_lib_dld_shl_load=no
17862 +rm -f conftest.err conftest.$ac_objext \
17863 + conftest$ac_exeext conftest.$ac_ext
17864 +LIBS=$ac_check_lib_save_LIBS
17866 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17867 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17868 +if test $ac_cv_lib_dld_shl_load = yes; then
17869 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17871 + echo "$as_me:$LINENO: checking for dlopen" >&5
17872 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17873 +if test "${ac_cv_func_dlopen+set}" = set; then
17874 + echo $ECHO_N "(cached) $ECHO_C" >&6
17876 + cat >conftest.$ac_ext <<_ACEOF
17879 +cat confdefs.h >>conftest.$ac_ext
17880 +cat >>conftest.$ac_ext <<_ACEOF
17881 +/* end confdefs.h. */
17882 +/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17883 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
17884 +#define dlopen innocuous_dlopen
17886 +/* System header to define __stub macros and hopefully few prototypes,
17887 + which can conflict with char dlopen (); below.
17888 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17889 + <limits.h> exists even on freestanding compilers. */
17892 +# include <limits.h>
17894 +# include <assert.h>
17899 +/* Override any gcc2 internal prototype to avoid an error. */
17900 +#ifdef __cplusplus
17904 +/* We use char because int might match the return type of a gcc2
17905 + builtin and then its argument prototype would still apply. */
17907 +/* The GNU C library defines this for functions which it implements
17908 + to always fail with ENOSYS. Some functions are actually named
17909 + something starting with __ and the normal name is an alias. */
17910 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
17913 +char (*f) () = dlopen;
17915 +#ifdef __cplusplus
17922 +return f != dlopen;
17927 +rm -f conftest.$ac_objext conftest$ac_exeext
17928 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17929 + (eval $ac_link) 2>conftest.er1
17931 + grep -v '^ *+' conftest.er1 >conftest.err
17932 + rm -f conftest.er1
17933 + cat conftest.err >&5
17934 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 + (exit $ac_status); } &&
17936 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17937 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 + (eval $ac_try) 2>&5
17940 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 + (exit $ac_status); }; } &&
17942 + { ac_try='test -s conftest$ac_exeext'
17943 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 + (eval $ac_try) 2>&5
17946 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 + (exit $ac_status); }; }; then
17948 + ac_cv_func_dlopen=yes
17950 + echo "$as_me: failed program was:" >&5
17951 +sed 's/^/| /' conftest.$ac_ext >&5
17953 +ac_cv_func_dlopen=no
17955 +rm -f conftest.err conftest.$ac_objext \
17956 + conftest$ac_exeext conftest.$ac_ext
17958 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17959 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17960 +if test $ac_cv_func_dlopen = yes; then
17961 + lt_cv_dlopen="dlopen"
17963 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17964 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17965 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17966 + echo $ECHO_N "(cached) $ECHO_C" >&6
17968 + ac_check_lib_save_LIBS=$LIBS
17970 +cat >conftest.$ac_ext <<_ACEOF
17973 +cat confdefs.h >>conftest.$ac_ext
17974 +cat >>conftest.$ac_ext <<_ACEOF
17975 +/* end confdefs.h. */
17977 +/* Override any gcc2 internal prototype to avoid an error. */
17978 +#ifdef __cplusplus
17981 +/* We use char because int might match the return type of a gcc2
17982 + builtin and then its argument prototype would still apply. */
17992 +rm -f conftest.$ac_objext conftest$ac_exeext
17993 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17994 + (eval $ac_link) 2>conftest.er1
17996 + grep -v '^ *+' conftest.er1 >conftest.err
17997 + rm -f conftest.er1
17998 + cat conftest.err >&5
17999 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 + (exit $ac_status); } &&
18001 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18002 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 + (eval $ac_try) 2>&5
18005 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 + (exit $ac_status); }; } &&
18007 + { ac_try='test -s conftest$ac_exeext'
18008 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 + (eval $ac_try) 2>&5
18011 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 + (exit $ac_status); }; }; then
18013 + ac_cv_lib_dl_dlopen=yes
18015 + echo "$as_me: failed program was:" >&5
18016 +sed 's/^/| /' conftest.$ac_ext >&5
18018 +ac_cv_lib_dl_dlopen=no
18020 +rm -f conftest.err conftest.$ac_objext \
18021 + conftest$ac_exeext conftest.$ac_ext
18022 +LIBS=$ac_check_lib_save_LIBS
18024 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18025 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18026 +if test $ac_cv_lib_dl_dlopen = yes; then
18027 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18029 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18030 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18031 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18032 + echo $ECHO_N "(cached) $ECHO_C" >&6
18034 + ac_check_lib_save_LIBS=$LIBS
18035 +LIBS="-lsvld $LIBS"
18036 +cat >conftest.$ac_ext <<_ACEOF
18039 +cat confdefs.h >>conftest.$ac_ext
18040 +cat >>conftest.$ac_ext <<_ACEOF
18041 +/* end confdefs.h. */
18043 +/* Override any gcc2 internal prototype to avoid an error. */
18044 +#ifdef __cplusplus
18047 +/* We use char because int might match the return type of a gcc2
18048 + builtin and then its argument prototype would still apply. */
18058 +rm -f conftest.$ac_objext conftest$ac_exeext
18059 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18060 + (eval $ac_link) 2>conftest.er1
18062 + grep -v '^ *+' conftest.er1 >conftest.err
18063 + rm -f conftest.er1
18064 + cat conftest.err >&5
18065 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 + (exit $ac_status); } &&
18067 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18068 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 + (eval $ac_try) 2>&5
18071 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 + (exit $ac_status); }; } &&
18073 + { ac_try='test -s conftest$ac_exeext'
18074 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 + (eval $ac_try) 2>&5
18077 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 + (exit $ac_status); }; }; then
18079 + ac_cv_lib_svld_dlopen=yes
18081 + echo "$as_me: failed program was:" >&5
18082 +sed 's/^/| /' conftest.$ac_ext >&5
18084 +ac_cv_lib_svld_dlopen=no
18086 +rm -f conftest.err conftest.$ac_objext \
18087 + conftest$ac_exeext conftest.$ac_ext
18088 +LIBS=$ac_check_lib_save_LIBS
18090 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18091 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18092 +if test $ac_cv_lib_svld_dlopen = yes; then
18093 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18095 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18096 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18097 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18098 + echo $ECHO_N "(cached) $ECHO_C" >&6
18100 + ac_check_lib_save_LIBS=$LIBS
18101 +LIBS="-ldld $LIBS"
18102 +cat >conftest.$ac_ext <<_ACEOF
18105 +cat confdefs.h >>conftest.$ac_ext
18106 +cat >>conftest.$ac_ext <<_ACEOF
18107 +/* end confdefs.h. */
18109 +/* Override any gcc2 internal prototype to avoid an error. */
18110 +#ifdef __cplusplus
18113 +/* We use char because int might match the return type of a gcc2
18114 + builtin and then its argument prototype would still apply. */
18124 +rm -f conftest.$ac_objext conftest$ac_exeext
18125 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18126 + (eval $ac_link) 2>conftest.er1
18128 + grep -v '^ *+' conftest.er1 >conftest.err
18129 + rm -f conftest.er1
18130 + cat conftest.err >&5
18131 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 + (exit $ac_status); } &&
18133 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18134 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 + (eval $ac_try) 2>&5
18137 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 + (exit $ac_status); }; } &&
18139 + { ac_try='test -s conftest$ac_exeext'
18140 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 + (eval $ac_try) 2>&5
18143 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 + (exit $ac_status); }; }; then
18145 + ac_cv_lib_dld_dld_link=yes
18147 + echo "$as_me: failed program was:" >&5
18148 +sed 's/^/| /' conftest.$ac_ext >&5
18150 +ac_cv_lib_dld_dld_link=no
18152 +rm -f conftest.err conftest.$ac_objext \
18153 + conftest$ac_exeext conftest.$ac_ext
18154 +LIBS=$ac_check_lib_save_LIBS
18156 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18157 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18158 +if test $ac_cv_lib_dld_dld_link = yes; then
18159 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18180 + if test "x$lt_cv_dlopen" != xno; then
18181 + enable_dlopen=yes
18186 + case $lt_cv_dlopen in
18188 + save_CPPFLAGS="$CPPFLAGS"
18189 + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18191 + save_LDFLAGS="$LDFLAGS"
18192 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18194 + save_LIBS="$LIBS"
18195 + LIBS="$lt_cv_dlopen_libs $LIBS"
18197 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18198 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18199 +if test "${lt_cv_dlopen_self+set}" = set; then
18200 + echo $ECHO_N "(cached) $ECHO_C" >&6
18202 + if test "$cross_compiling" = yes; then :
18203 + lt_cv_dlopen_self=cross
18205 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18206 + lt_status=$lt_dlunknown
18207 + cat > conftest.$ac_ext <<EOF
18208 +#line 8700 "configure"
18209 +#include "confdefs.h"
18212 +#include <dlfcn.h>
18215 +#include <stdio.h>
18217 +#ifdef RTLD_GLOBAL
18218 +# define LT_DLGLOBAL RTLD_GLOBAL
18221 +# define LT_DLGLOBAL DL_GLOBAL
18223 +# define LT_DLGLOBAL 0
18227 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18228 + find out it does not work in some platform. */
18229 +#ifndef LT_DLLAZY_OR_NOW
18231 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
18234 +# define LT_DLLAZY_OR_NOW DL_LAZY
18237 +# define LT_DLLAZY_OR_NOW RTLD_NOW
18240 +# define LT_DLLAZY_OR_NOW DL_NOW
18242 +# define LT_DLLAZY_OR_NOW 0
18249 +#ifdef __cplusplus
18250 +extern "C" void exit (int);
18253 +void fnord() { int i=42;}
18256 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18257 + int status = $lt_dlunknown;
18261 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18262 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18263 + /* dlclose (self); */
18266 + puts (dlerror ());
18271 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18272 + (eval $ac_link) 2>&5
18274 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18276 + (./conftest; exit; ) >&5 2>/dev/null
18278 + case x$lt_status in
18279 + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18280 + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18281 + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
18284 + # compilation failed
18285 + lt_cv_dlopen_self=no
18292 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18293 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18295 + if test "x$lt_cv_dlopen_self" = xyes; then
18296 + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
18297 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18298 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18299 +if test "${lt_cv_dlopen_self_static+set}" = set; then
18300 + echo $ECHO_N "(cached) $ECHO_C" >&6
18302 + if test "$cross_compiling" = yes; then :
18303 + lt_cv_dlopen_self_static=cross
18305 + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18306 + lt_status=$lt_dlunknown
18307 + cat > conftest.$ac_ext <<EOF
18308 +#line 8800 "configure"
18309 +#include "confdefs.h"
18312 +#include <dlfcn.h>
18315 +#include <stdio.h>
18317 +#ifdef RTLD_GLOBAL
18318 +# define LT_DLGLOBAL RTLD_GLOBAL
18321 +# define LT_DLGLOBAL DL_GLOBAL
18323 +# define LT_DLGLOBAL 0
18327 +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18328 + find out it does not work in some platform. */
18329 +#ifndef LT_DLLAZY_OR_NOW
18331 +# define LT_DLLAZY_OR_NOW RTLD_LAZY
18334 +# define LT_DLLAZY_OR_NOW DL_LAZY
18337 +# define LT_DLLAZY_OR_NOW RTLD_NOW
18340 +# define LT_DLLAZY_OR_NOW DL_NOW
18342 +# define LT_DLLAZY_OR_NOW 0
18349 +#ifdef __cplusplus
18350 +extern "C" void exit (int);
18353 +void fnord() { int i=42;}
18356 + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18357 + int status = $lt_dlunknown;
18361 + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18362 + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18363 + /* dlclose (self); */
18366 + puts (dlerror ());
18371 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18372 + (eval $ac_link) 2>&5
18374 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18376 + (./conftest; exit; ) >&5 2>/dev/null
18378 + case x$lt_status in
18379 + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18380 + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18381 + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
18384 + # compilation failed
18385 + lt_cv_dlopen_self_static=no
18392 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18393 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18396 + CPPFLAGS="$save_CPPFLAGS"
18397 + LDFLAGS="$save_LDFLAGS"
18398 + LIBS="$save_LIBS"
18402 + case $lt_cv_dlopen_self in
18403 + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18404 + *) enable_dlopen_self=unknown ;;
18407 + case $lt_cv_dlopen_self_static in
18408 + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18409 + *) enable_dlopen_self_static=unknown ;;
18414 +# Report which library types will actually be built
18415 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
18416 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
18417 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
18418 +echo "${ECHO_T}$can_build_shared" >&6
18420 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
18421 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
18422 +test "$can_build_shared" = "no" && enable_shared=no
18424 +# On AIX, shared libraries and static libraries use the same namespace, and
18425 +# are all built from PIC.
18428 + test "$enable_shared" = yes && enable_static=no
18429 + if test -n "$RANLIB"; then
18430 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
18431 + postinstall_cmds='$RANLIB $lib'
18436 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
18437 + test "$enable_shared" = yes && enable_static=no
18441 +echo "$as_me:$LINENO: result: $enable_shared" >&5
18442 +echo "${ECHO_T}$enable_shared" >&6
18444 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
18445 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
18446 +# Make sure either enable_shared or enable_static is yes.
18447 +test "$enable_shared" = yes || enable_static=yes
18448 +echo "$as_me:$LINENO: result: $enable_static" >&5
18449 +echo "${ECHO_T}$enable_static" >&6
18451 +# The else clause should only fire when bootstrapping the
18452 +# libtool distribution, otherwise you forgot to ship ltmain.sh
18453 +# with your package, and you will get complaints that there are
18454 +# no rules to generate ltmain.sh.
18455 +if test -f "$ltmain"; then
18456 + # See if we are running on zsh, and set the options which allow our commands through
18457 + # without removal of \ escapes.
18458 + if test -n "${ZSH_VERSION+set}" ; then
18459 + setopt NO_GLOB_SUBST
18461 + # Now quote all the things that may contain metacharacters while being
18462 + # careful not to overquote the AC_SUBSTed values. We take copies of the
18463 + # variables and quote the copies for generation of the libtool script.
18464 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18465 + SED SHELL STRIP \
18466 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18467 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18468 + deplibs_check_method reload_flag reload_cmds need_locks \
18469 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18470 + lt_cv_sys_global_symbol_to_c_name_address \
18471 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18472 + old_postinstall_cmds old_postuninstall_cmds \
18476 + lt_prog_compiler_wl \
18477 + lt_prog_compiler_pic \
18478 + lt_prog_compiler_static \
18479 + lt_prog_compiler_no_builtin_flag \
18480 + export_dynamic_flag_spec \
18481 + thread_safe_flag_spec \
18482 + whole_archive_flag_spec \
18483 + enable_shared_with_static_runtimes \
18484 + old_archive_cmds \
18485 + old_archive_from_new_cmds \
18487 + postdep_objects \
18490 + compiler_lib_search_path \
18492 + archive_expsym_cmds \
18493 + postinstall_cmds \
18494 + postuninstall_cmds \
18495 + old_archive_from_expsyms_cmds \
18496 + allow_undefined_flag \
18497 + no_undefined_flag \
18498 + export_symbols_cmds \
18499 + hardcode_libdir_flag_spec \
18500 + hardcode_libdir_flag_spec_ld \
18501 + hardcode_libdir_separator \
18502 + hardcode_automatic \
18504 + module_expsym_cmds \
18505 + lt_cv_prog_compiler_c_o \
18506 + exclude_expsyms \
18507 + include_expsyms; do
18510 + old_archive_cmds | \
18511 + old_archive_from_new_cmds | \
18513 + archive_expsym_cmds | \
18515 + module_expsym_cmds | \
18516 + old_archive_from_expsyms_cmds | \
18517 + export_symbols_cmds | \
18518 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
18519 + postinstall_cmds | postuninstall_cmds | \
18520 + old_postinstall_cmds | old_postuninstall_cmds | \
18521 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18522 + # Double-quote double-evaled strings.
18523 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18526 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18532 + *'\$0 --fallback-echo"')
18533 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18537 +cfgfile="${ofile}T"
18538 + trap "$rm \"$cfgfile\"; exit 1" 1 2 15
18539 + $rm -f "$cfgfile"
18540 + { echo "$as_me:$LINENO: creating $ofile" >&5
18541 +echo "$as_me: creating $ofile" >&6;}
18543 + cat <<__EOF__ >> "$cfgfile"
18546 +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18547 +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
18548 +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18550 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
18551 +# Free Software Foundation, Inc.
18553 +# This file is part of GNU Libtool:
18554 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
18556 +# This program is free software; you can redistribute it and/or modify
18557 +# it under the terms of the GNU General Public License as published by
18558 +# the Free Software Foundation; either version 2 of the License, or
18559 +# (at your option) any later version.
18561 +# This program is distributed in the hope that it will be useful, but
18562 +# WITHOUT ANY WARRANTY; without even the implied warranty of
18563 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18564 +# General Public License for more details.
18566 +# You should have received a copy of the GNU General Public License
18567 +# along with this program; if not, write to the Free Software
18568 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18570 +# As a special exception to the GNU General Public License, if you
18571 +# distribute this file as part of a program that contains a
18572 +# configuration script generated by Autoconf, you may include it under
18573 +# the same distribution terms that you use for the rest of that program.
18575 +# A sed program that does not truncate output.
18578 +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18579 +Xsed="$SED -e 1s/^X//"
18581 +# The HP-UX ksh and POSIX shell print the target directory to stdout
18582 +# if CDPATH is set.
18583 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18585 +# The names of the tagged configurations supported by this script.
18588 +# ### BEGIN LIBTOOL CONFIG
18590 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18592 +# Shell to use when invoking shell scripts.
18595 +# Whether or not to build shared libraries.
18596 +build_libtool_libs=$enable_shared
18598 +# Whether or not to build static libraries.
18599 +build_old_libs=$enable_static
18601 +# Whether or not to add -lc for building shared libraries.
18602 +build_libtool_need_lc=$archive_cmds_need_lc
18604 +# Whether or not to disallow shared libs when runtime libs are static
18605 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18607 +# Whether or not to optimize for fast installation.
18608 +fast_install=$enable_fast_install
18610 +# The host system.
18611 +host_alias=$host_alias
18615 +# The build system.
18616 +build_alias=$build_alias
18618 +build_os=$build_os
18620 +# An echo program that does not interpret backslashes.
18625 +AR_FLAGS=$lt_AR_FLAGS
18630 +# LTCC compiler flags.
18631 +LTCFLAGS=$lt_LTCFLAGS
18633 +# A language-specific compiler.
18636 +# Is the compiler the GNU C compiler?
18642 +# The linker used to build libraries.
18645 +# Whether we need hard or soft links.
18648 +# A BSD-compatible nm program.
18651 +# A symbol stripping program
18654 +# Used to examine libraries when file_magic_cmd begins "file"
18655 +MAGIC_CMD=$MAGIC_CMD
18657 +# Used on cygwin: DLL creation program.
18658 +DLLTOOL="$DLLTOOL"
18660 +# Used on cygwin: object dumper.
18661 +OBJDUMP="$OBJDUMP"
18663 +# Used on cygwin: assembler.
18666 +# The name of the directory that contains temporary libtool files.
18669 +# How to create reloadable object files.
18670 +reload_flag=$lt_reload_flag
18671 +reload_cmds=$lt_reload_cmds
18673 +# How to pass a linker flag through the compiler.
18674 +wl=$lt_lt_prog_compiler_wl
18676 +# Object file suffix (normally "o").
18677 +objext="$ac_objext"
18679 +# Old archive suffix (normally "a").
18682 +# Shared library suffix (normally ".so").
18683 +shrext_cmds='$shrext_cmds'
18685 +# Executable file suffix (normally "").
18688 +# Additional compiler flags for building library objects.
18689 +pic_flag=$lt_lt_prog_compiler_pic
18690 +pic_mode=$pic_mode
18692 +# What is the maximum length of a command?
18693 +max_cmd_len=$lt_cv_sys_max_cmd_len
18695 +# Does compiler simultaneously support -c and -o options?
18696 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18698 +# Must we lock files when doing compilation?
18699 +need_locks=$lt_need_locks
18701 +# Do we need the lib prefix for modules?
18702 +need_lib_prefix=$need_lib_prefix
18704 +# Do we need a version for libraries?
18705 +need_version=$need_version
18707 +# Whether dlopen is supported.
18708 +dlopen_support=$enable_dlopen
18710 +# Whether dlopen of programs is supported.
18711 +dlopen_self=$enable_dlopen_self
18713 +# Whether dlopen of statically linked programs is supported.
18714 +dlopen_self_static=$enable_dlopen_self_static
18716 +# Compiler flag to prevent dynamic linking.
18717 +link_static_flag=$lt_lt_prog_compiler_static
18719 +# Compiler flag to turn off builtin functions.
18720 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18722 +# Compiler flag to allow reflexive dlopens.
18723 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18725 +# Compiler flag to generate shared objects directly from archives.
18726 +whole_archive_flag_spec=$lt_whole_archive_flag_spec
18728 +# Compiler flag to generate thread-safe objects.
18729 +thread_safe_flag_spec=$lt_thread_safe_flag_spec
18731 +# Library versioning type.
18732 +version_type=$version_type
18734 +# Format of library name prefix.
18735 +libname_spec=$lt_libname_spec
18737 +# List of archive names. First name is the real one, the rest are links.
18738 +# The last name is the one that the linker finds with -lNAME.
18739 +library_names_spec=$lt_library_names_spec
18741 +# The coded name of the library, if different from the real name.
18742 +soname_spec=$lt_soname_spec
18744 +# Commands used to build and install an old-style archive.
18746 +old_archive_cmds=$lt_old_archive_cmds
18747 +old_postinstall_cmds=$lt_old_postinstall_cmds
18748 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
18750 +# Create an old-style archive from a shared archive.
18751 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18753 +# Create a temporary old-style archive to link instead of a shared archive.
18754 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18756 +# Commands used to build and install a shared archive.
18757 +archive_cmds=$lt_archive_cmds
18758 +archive_expsym_cmds=$lt_archive_expsym_cmds
18759 +postinstall_cmds=$lt_postinstall_cmds
18760 +postuninstall_cmds=$lt_postuninstall_cmds
18762 +# Commands used to build a loadable module (assumed same as above if empty)
18763 +module_cmds=$lt_module_cmds
18764 +module_expsym_cmds=$lt_module_expsym_cmds
18766 +# Commands to strip libraries.
18767 +old_striplib=$lt_old_striplib
18768 +striplib=$lt_striplib
18770 +# Dependencies to place before the objects being linked to create a
18772 +predep_objects=$lt_predep_objects
18774 +# Dependencies to place after the objects being linked to create a
18776 +postdep_objects=$lt_postdep_objects
18778 +# Dependencies to place before the objects being linked to create a
18780 +predeps=$lt_predeps
18782 +# Dependencies to place after the objects being linked to create a
18784 +postdeps=$lt_postdeps
18786 +# The library search path used internally by the compiler when linking
18787 +# a shared library.
18788 +compiler_lib_search_path=$lt_compiler_lib_search_path
18790 +# Method to check whether dependent libraries are shared objects.
18791 +deplibs_check_method=$lt_deplibs_check_method
18793 +# Command to use when deplibs_check_method == file_magic.
18794 +file_magic_cmd=$lt_file_magic_cmd
18796 +# Flag that allows shared libraries with undefined symbols to be built.
18797 +allow_undefined_flag=$lt_allow_undefined_flag
18799 +# Flag that forces no undefined symbols.
18800 +no_undefined_flag=$lt_no_undefined_flag
18802 +# Commands used to finish a libtool library installation in a directory.
18803 +finish_cmds=$lt_finish_cmds
18805 +# Same as above, but a single script fragment to be evaled but not shown.
18806 +finish_eval=$lt_finish_eval
18808 +# Take the output of nm and produce a listing of raw symbols and C names.
18809 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18811 +# Transform the output of nm in a proper C declaration
18812 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18814 +# Transform the output of nm in a C name address pair
18815 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18817 +# This is the shared library runtime path variable.
18818 +runpath_var=$runpath_var
18820 +# This is the shared library path variable.
18821 +shlibpath_var=$shlibpath_var
18823 +# Is shlibpath searched before the hard-coded library search path?
18824 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18826 +# How to hardcode a shared library path into an executable.
18827 +hardcode_action=$hardcode_action
18829 +# Whether we should hardcode library paths into libraries.
18830 +hardcode_into_libs=$hardcode_into_libs
18832 +# Flag to hardcode \$libdir into a binary during linking.
18833 +# This must work even if \$libdir does not exist.
18834 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18836 +# If ld is used when linking, flag to hardcode \$libdir into
18837 +# a binary during linking. This must work even if \$libdir does
18839 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18841 +# Whether we need a single -rpath flag with a separated argument.
18842 +hardcode_libdir_separator=$lt_hardcode_libdir_separator
18844 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18845 +# resulting binary.
18846 +hardcode_direct=$hardcode_direct
18848 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18849 +# resulting binary.
18850 +hardcode_minus_L=$hardcode_minus_L
18852 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18853 +# the resulting binary.
18854 +hardcode_shlibpath_var=$hardcode_shlibpath_var
18856 +# Set to yes if building a shared library automatically hardcodes DIR into the library
18857 +# and all subsequent libraries and executables linked against it.
18858 +hardcode_automatic=$hardcode_automatic
18860 +# Variables whose values should be saved in libtool wrapper scripts and
18861 +# restored at relink time.
18862 +variables_saved_for_relink="$variables_saved_for_relink"
18864 +# Whether libtool must link a program against all its dependency libraries.
18865 +link_all_deplibs=$link_all_deplibs
18867 +# Compile-time system search path for libraries
18868 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18870 +# Run-time system search path for libraries
18871 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18873 +# Fix the shell variable \$srcfile for the compiler.
18874 +fix_srcfile_path="$fix_srcfile_path"
18876 +# Set to yes if exported symbols are required.
18877 +always_export_symbols=$always_export_symbols
18879 +# The commands to list exported symbols.
18880 +export_symbols_cmds=$lt_export_symbols_cmds
18882 +# The commands to extract the exported symbol list from a shared archive.
18883 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
18885 +# Symbols that should not be listed in the preloaded symbols.
18886 +exclude_expsyms=$lt_exclude_expsyms
18888 +# Symbols that must always be exported.
18889 +include_expsyms=$lt_include_expsyms
18891 +# ### END LIBTOOL CONFIG
18898 + cat <<\EOF >> "$cfgfile"
18900 +# AIX sometimes has problems with the GCC collect2 program. For some
18901 +# reason, if we set the COLLECT_NAMES environment variable, the problems
18902 +# vanish in a puff of smoke.
18903 +if test "X${COLLECT_NAMES+set}" != Xset; then
18905 + export COLLECT_NAMES
18911 + # We use sed instead of cat because bash on DJGPP gets confused if
18912 + # if finds mixed CR/LF and LF-only lines. Since sed operates in
18913 + # text mode, it properly converts lines to CR/LF. This bash problem
18914 + # is reportedly fixed, but why not run on old versions too?
18915 + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
18917 + mv -f "$cfgfile" "$ofile" || \
18918 + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18919 + chmod +x "$ofile"
18922 + # If there is no Makefile yet, we rely on a make rule to execute
18923 + # `config.status --recheck' to rerun these tests and create the
18924 + # libtool script then.
18925 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18926 + if test -f "$ltmain_in"; then
18927 + test -f Makefile && make "$ltmain"
18933 +ac_cpp='$CPP $CPPFLAGS'
18934 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
18941 +# Check whether --with-tags or --without-tags was given.
18942 +if test "${with_tags+set}" = set; then
18943 + withval="$with_tags"
18944 + tagnames="$withval"
18947 +if test -f "$ltmain" && test -n "$tagnames"; then
18948 + if test ! -f "${ofile}"; then
18949 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
18950 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
18953 + if test -z "$LTCC"; then
18954 + eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
18955 + if test -z "$LTCC"; then
18956 + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18957 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
18959 + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
18960 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
18963 + if test -z "$LTCFLAGS"; then
18964 + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
18967 + # Extract list of available tagged configurations in $ofile.
18968 + # Note that this assumes the entire list is on one line.
18969 + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18971 + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18972 + for tagname in $tagnames; do
18973 + IFS="$lt_save_ifs"
18974 + # Check whether tagname contains only valid characters
18975 + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18977 + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18978 +echo "$as_me: error: invalid tag name: $tagname" >&2;}
18979 + { (exit 1); exit 1; }; }
18983 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18985 + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18986 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18987 + { (exit 1); exit 1; }; }
18990 + # Update the list of available tags.
18991 + if test -n "$tagname"; then
18992 + echo appending configuration tag \"$tagname\" to $ofile
18996 + if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18997 + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18998 + (test "X$CXX" != "Xg++"))) ; then
19000 +ac_cpp='$CXXCPP $CPPFLAGS'
19001 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19002 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19003 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19008 +archive_cmds_need_lc_CXX=no
19009 +allow_undefined_flag_CXX=
19010 +always_export_symbols_CXX=no
19011 +archive_expsym_cmds_CXX=
19012 +export_dynamic_flag_spec_CXX=
19013 +hardcode_direct_CXX=no
19014 +hardcode_libdir_flag_spec_CXX=
19015 +hardcode_libdir_flag_spec_ld_CXX=
19016 +hardcode_libdir_separator_CXX=
19017 +hardcode_minus_L_CXX=no
19018 +hardcode_shlibpath_var_CXX=unsupported
19019 +hardcode_automatic_CXX=no
19021 +module_expsym_cmds_CXX=
19022 +link_all_deplibs_CXX=unknown
19023 +old_archive_cmds_CXX=$old_archive_cmds
19024 +no_undefined_flag_CXX=
19025 +whole_archive_flag_spec_CXX=
19026 +enable_shared_with_static_runtimes_CXX=no
19028 +# Dependencies to place before and after the object being linked:
19029 +predep_objects_CXX=
19030 +postdep_objects_CXX=
19033 +compiler_lib_search_path_CXX=
19035 +# Source file extension for C++ test sources.
19038 +# Object file extension for compiled C++ test sources.
19040 +objext_CXX=$objext
19042 +# Code to be used in simple compile tests
19043 +lt_simple_compile_test_code="int some_variable = 0;\n"
19045 +# Code to be used in simple link tests
19046 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
19048 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19050 +# If no C compiler was specified, use CC.
19051 +LTCC=${LTCC-"$CC"}
19053 +# If no C compiler flags were specified, use CFLAGS.
19054 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19056 +# Allow CC to be a program name with arguments.
19060 +# save warnings/boilerplate of simple test code
19061 +ac_outfile=conftest.$ac_objext
19062 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19063 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19064 +_lt_compiler_boilerplate=`cat conftest.err`
19067 +ac_outfile=conftest.$ac_objext
19068 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
19069 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19070 +_lt_linker_boilerplate=`cat conftest.err`
19074 +# Allow CC to be a program name with arguments.
19079 +lt_save_with_gnu_ld=$with_gnu_ld
19080 +lt_save_path_LD=$lt_cv_path_LD
19081 +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
19082 + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
19084 + $as_unset lt_cv_prog_gnu_ld
19086 +if test -n "${lt_cv_path_LDCXX+set}"; then
19087 + lt_cv_path_LD=$lt_cv_path_LDCXX
19089 + $as_unset lt_cv_path_LD
19091 +test -z "${LDCXX+set}" || LD=$LDCXX
19095 +for cc_temp in $compiler""; do
19097 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19098 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19103 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19106 +# We don't want -fno-exception wen compiling C++ code, so set the
19107 +# no_builtin_flag separately
19108 +if test "$GXX" = yes; then
19109 + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
19111 + lt_prog_compiler_no_builtin_flag_CXX=
19114 +if test "$GXX" = yes; then
19115 + # Set up default GNU C++ configuration
19118 +# Check whether --with-gnu-ld or --without-gnu-ld was given.
19119 +if test "${with_gnu_ld+set}" = set; then
19120 + withval="$with_gnu_ld"
19121 + test "$withval" = no || with_gnu_ld=yes
19126 +if test "$GCC" = yes; then
19127 + # Check if gcc -print-prog-name=ld gives a path.
19128 + echo "$as_me:$LINENO: checking for ld used by $CC" >&5
19129 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
19132 + # gcc leaves a trailing carriage return which upsets mingw
19133 + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19135 + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19138 + # Accept absolute paths.
19139 + [\\/]* | ?:[\\/]*)
19140 + re_direlt='/[^/][^/]*/\.\./'
19141 + # Canonicalize the pathname of ld
19142 + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
19143 + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
19144 + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
19146 + test -z "$LD" && LD="$ac_prog"
19149 + # If it fails, then pretend we aren't using GCC.
19153 + # If it is relative, then search for the first ld in PATH.
19154 + with_gnu_ld=unknown
19157 +elif test "$with_gnu_ld" = yes; then
19158 + echo "$as_me:$LINENO: checking for GNU ld" >&5
19159 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
19161 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
19162 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
19164 +if test "${lt_cv_path_LD+set}" = set; then
19165 + echo $ECHO_N "(cached) $ECHO_C" >&6
19167 + if test -z "$LD"; then
19168 + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19169 + for ac_dir in $PATH; do
19170 + IFS="$lt_save_ifs"
19171 + test -z "$ac_dir" && ac_dir=.
19172 + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19173 + lt_cv_path_LD="$ac_dir/$ac_prog"
19174 + # Check to see if the program is GNU ld. I'd rather use --version,
19175 + # but apparently some variants of GNU ld only accept -v.
19176 + # Break only if it was the GNU/non-GNU ld that we prefer.
19177 + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19178 + *GNU* | *'with BFD'*)
19179 + test "$with_gnu_ld" != no && break
19182 + test "$with_gnu_ld" != yes && break
19187 + IFS="$lt_save_ifs"
19189 + lt_cv_path_LD="$LD" # Let the user override the test with a path.
19193 +LD="$lt_cv_path_LD"
19194 +if test -n "$LD"; then
19195 + echo "$as_me:$LINENO: result: $LD" >&5
19196 +echo "${ECHO_T}$LD" >&6
19198 + echo "$as_me:$LINENO: result: no" >&5
19199 +echo "${ECHO_T}no" >&6
19201 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
19202 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
19203 + { (exit 1); exit 1; }; }
19204 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
19205 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
19206 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
19207 + echo $ECHO_N "(cached) $ECHO_C" >&6
19209 + # I'd rather use --version here, but apparently some GNU lds only accept -v.
19210 +case `$LD -v 2>&1 </dev/null` in
19211 +*GNU* | *'with BFD'*)
19212 + lt_cv_prog_gnu_ld=yes
19215 + lt_cv_prog_gnu_ld=no
19219 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
19220 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
19221 +with_gnu_ld=$lt_cv_prog_gnu_ld
19225 + # Check if GNU C++ uses GNU ld as the underlying linker, since the
19226 + # archiving commands below assume that GNU ld is being used.
19227 + if test "$with_gnu_ld" = yes; then
19228 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19229 + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19231 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
19232 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19234 + # If archive_cmds runs LD, not CC, wlarc should be empty
19235 + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
19236 + # investigate it a little bit more. (MM)
19239 + # ancient GNU ld didn't support --whole-archive et. al.
19240 + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
19241 + grep 'no-whole-archive' > /dev/null; then
19242 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19244 + whole_archive_flag_spec_CXX=
19250 + # A generic and very simple default shared library creation
19251 + # command for GNU C++ for the case where it uses the native
19252 + # linker, instead of GNU ld. If possible, this setting should
19253 + # overridden to take advantage of the native linker features on
19254 + # the platform it is being used on.
19255 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19258 + # Commands to make compiler produce verbose output that lists
19259 + # what "hidden" libraries, object files and flags are used when
19260 + # linking a shared library.
19261 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19269 +# PORTME: fill in a description of your system's C++ link characteristics
19270 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19271 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
19275 + # FIXME: insert proper C++ library support
19279 + if test "$host_cpu" = ia64; then
19280 + # On IA64, the linker does run time linking by default, so we don't
19281 + # have to do anything special.
19282 + aix_use_runtimelinking=no
19283 + exp_sym_flag='-Bexport'
19286 + aix_use_runtimelinking=no
19288 + # Test if we are trying to use run time linking or normal
19289 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19290 + # need to do runtime linking.
19291 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
19292 + for ld_flag in $LDFLAGS; do
19295 + aix_use_runtimelinking=yes
19303 + exp_sym_flag='-bexport'
19304 + no_entry_flag='-bnoentry'
19307 + # When large executables or shared objects are built, AIX ld can
19308 + # have problems creating the table of contents. If linking a library
19309 + # or program results in "error TOC overflow" add -mminimal-toc to
19310 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19311 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19313 + archive_cmds_CXX=''
19314 + hardcode_direct_CXX=yes
19315 + hardcode_libdir_separator_CXX=':'
19316 + link_all_deplibs_CXX=yes
19318 + if test "$GXX" = yes; then
19319 + case $host_os in aix4.[012]|aix4.[012].*)
19320 + # We only want to do this on AIX 4.2 and lower, the check
19321 + # below for broken collect2 doesn't work under 4.3+
19322 + collect2name=`${CC} -print-prog-name=collect2`
19323 + if test -f "$collect2name" && \
19324 + strings "$collect2name" | grep resolve_lib_name >/dev/null
19326 + # We have reworked collect2
19327 + hardcode_direct_CXX=yes
19329 + # We have old collect2
19330 + hardcode_direct_CXX=unsupported
19331 + # It fails to find uninstalled libraries when the uninstalled
19332 + # path is not listed in the libpath. Setting hardcode_minus_L
19333 + # to unsupported forces relinking
19334 + hardcode_minus_L_CXX=yes
19335 + hardcode_libdir_flag_spec_CXX='-L$libdir'
19336 + hardcode_libdir_separator_CXX=
19340 + shared_flag='-shared'
19341 + if test "$aix_use_runtimelinking" = yes; then
19342 + shared_flag="$shared_flag "'${wl}-G'
19346 + if test "$host_cpu" = ia64; then
19347 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19348 + # chokes on -Wl,-G. The following line is correct:
19351 + if test "$aix_use_runtimelinking" = yes; then
19352 + shared_flag='${wl}-G'
19354 + shared_flag='${wl}-bM:SRE'
19359 + # It seems that -bexpall does not export symbols beginning with
19360 + # underscore (_), so it is better to generate a list of symbols to export.
19361 + always_export_symbols_CXX=yes
19362 + if test "$aix_use_runtimelinking" = yes; then
19363 + # Warning - without using the other runtime loading flags (-brtl),
19364 + # -berok will link without error, but may produce a broken library.
19365 + allow_undefined_flag_CXX='-berok'
19366 + # Determine the default libpath from the value encoded in an empty executable.
19367 + cat >conftest.$ac_ext <<_ACEOF
19370 +cat confdefs.h >>conftest.$ac_ext
19371 +cat >>conftest.$ac_ext <<_ACEOF
19372 +/* end confdefs.h. */
19382 +rm -f conftest.$ac_objext conftest$ac_exeext
19383 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19384 + (eval $ac_link) 2>conftest.er1
19386 + grep -v '^ *+' conftest.er1 >conftest.err
19387 + rm -f conftest.er1
19388 + cat conftest.err >&5
19389 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 + (exit $ac_status); } &&
19391 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19392 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19393 + (eval $ac_try) 2>&5
19395 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 + (exit $ac_status); }; } &&
19397 + { ac_try='test -s conftest$ac_exeext'
19398 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 + (eval $ac_try) 2>&5
19401 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 + (exit $ac_status); }; }; then
19404 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19406 +# Check for a 64-bit object if we didn't find anything.
19407 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19410 + echo "$as_me: failed program was:" >&5
19411 +sed 's/^/| /' conftest.$ac_ext >&5
19414 +rm -f conftest.err conftest.$ac_objext \
19415 + conftest$ac_exeext conftest.$ac_ext
19416 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19418 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
19420 + 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"
19422 + if test "$host_cpu" = ia64; then
19423 + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
19424 + allow_undefined_flag_CXX="-z nodefs"
19425 + 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"
19427 + # Determine the default libpath from the value encoded in an empty executable.
19428 + cat >conftest.$ac_ext <<_ACEOF
19431 +cat confdefs.h >>conftest.$ac_ext
19432 +cat >>conftest.$ac_ext <<_ACEOF
19433 +/* end confdefs.h. */
19443 +rm -f conftest.$ac_objext conftest$ac_exeext
19444 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19445 + (eval $ac_link) 2>conftest.er1
19447 + grep -v '^ *+' conftest.er1 >conftest.err
19448 + rm -f conftest.er1
19449 + cat conftest.err >&5
19450 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 + (exit $ac_status); } &&
19452 + { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19453 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 + (eval $ac_try) 2>&5
19456 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 + (exit $ac_status); }; } &&
19458 + { ac_try='test -s conftest$ac_exeext'
19459 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 + (eval $ac_try) 2>&5
19462 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 + (exit $ac_status); }; }; then
19465 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19467 +# Check for a 64-bit object if we didn't find anything.
19468 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19471 + echo "$as_me: failed program was:" >&5
19472 +sed 's/^/| /' conftest.$ac_ext >&5
19475 +rm -f conftest.err conftest.$ac_objext \
19476 + conftest$ac_exeext conftest.$ac_ext
19477 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19479 + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
19480 + # Warning - without using the other run time loading flags,
19481 + # -berok will link without error, but may produce a broken library.
19482 + no_undefined_flag_CXX=' ${wl}-bernotok'
19483 + allow_undefined_flag_CXX=' ${wl}-berok'
19484 + # Exported symbols can be pulled into shared objects from archives
19485 + whole_archive_flag_spec_CXX='$convenience'
19486 + archive_cmds_need_lc_CXX=yes
19487 + # This is similar to how AIX traditionally builds its shared libraries.
19488 + 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'
19494 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19495 + allow_undefined_flag_CXX=unsupported
19496 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19497 + # support --undefined. This deserves some investigation. FIXME
19498 + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19505 + case $cc_basename in
19507 + # FIXME: insert proper C++ library support
19513 + cygwin* | mingw* | pw32*)
19514 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
19515 + # as there is no search path for DLLs.
19516 + hardcode_libdir_flag_spec_CXX='-L$libdir'
19517 + allow_undefined_flag_CXX=unsupported
19518 + always_export_symbols_CXX=no
19519 + enable_shared_with_static_runtimes_CXX=yes
19521 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19522 + 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'
19523 + # If the export-symbols file already is a .def file (1st line
19524 + # is EXPORTS), use it as is; otherwise, prepend...
19525 + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19526 + cp $export_symbols $output_objdir/$soname.def;
19528 + echo EXPORTS > $output_objdir/$soname.def;
19529 + cat $export_symbols >> $output_objdir/$soname.def;
19531 + $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'
19536 + darwin* | rhapsody*)
19538 + rhapsody* | darwin1.[012])
19539 + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
19541 + *) # Darwin 1.3 on
19542 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19543 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19545 + case ${MACOSX_DEPLOYMENT_TARGET} in
19547 + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19550 + allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
19556 + archive_cmds_need_lc_CXX=no
19557 + hardcode_direct_CXX=no
19558 + hardcode_automatic_CXX=yes
19559 + hardcode_shlibpath_var_CXX=unsupported
19560 + whole_archive_flag_spec_CXX=''
19561 + link_all_deplibs_CXX=yes
19563 + if test "$GXX" = yes ; then
19564 + lt_int_apple_cc_single_mod=no
19565 + output_verbose_link_cmd='echo'
19566 + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
19567 + lt_int_apple_cc_single_mod=yes
19569 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19570 + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
19572 + 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'
19574 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19575 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19576 + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19577 + 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}'
19579 + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19581 + 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}'
19583 + case $cc_basename in
19585 + output_verbose_link_cmd='echo'
19586 + 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'
19587 + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19588 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19589 + 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}'
19590 + 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}'
19600 + case $cc_basename in
19602 + # FIXME: insert proper C++ library support
19606 + # Green Hills C++ Compiler
19607 + # FIXME: insert proper C++ library support
19611 + # FIXME: insert proper C++ library support
19617 + # C++ shared libraries reported to be fairly broken before switch to ELF
19621 + archive_cmds_need_lc_CXX=no
19623 + freebsd* | kfreebsd*-gnu | dragonfly*)
19624 + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
19626 + ld_shlibs_CXX=yes
19631 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19632 + hardcode_libdir_separator_CXX=:
19633 + export_dynamic_flag_spec_CXX='${wl}-E'
19634 + hardcode_direct_CXX=yes
19635 + hardcode_minus_L_CXX=yes # Not in the search PATH,
19636 + # but as the default
19637 + # location of the library.
19639 + case $cc_basename in
19641 + # FIXME: insert proper C++ library support
19645 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19646 + # Commands to make compiler produce verbose output that lists
19647 + # what "hidden" libraries, object files and flags are used when
19648 + # linking a shared library.
19650 + # There doesn't appear to be a way to prevent this compiler from
19651 + # explicitly linking system object files so we need to strip them
19652 + # from the output so that they don't get included in the library
19654 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19657 + if test "$GXX" = yes; then
19658 + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19660 + # FIXME: insert proper C++ library support
19667 + if test $with_gnu_ld = no; then
19668 + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19669 + hardcode_libdir_separator_CXX=:
19671 + case $host_cpu in
19673 + hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
19676 + export_dynamic_flag_spec_CXX='${wl}-E'
19680 + case $host_cpu in
19682 + hardcode_direct_CXX=no
19683 + hardcode_shlibpath_var_CXX=no
19686 + hardcode_direct_CXX=yes
19687 + hardcode_minus_L_CXX=yes # Not in the search PATH,
19688 + # but as the default
19689 + # location of the library.
19693 + case $cc_basename in
19695 + # FIXME: insert proper C++ library support
19699 + case $host_cpu in
19701 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19704 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19707 + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19710 + # Commands to make compiler produce verbose output that lists
19711 + # what "hidden" libraries, object files and flags are used when
19712 + # linking a shared library.
19714 + # There doesn't appear to be a way to prevent this compiler from
19715 + # explicitly linking system object files so we need to strip them
19716 + # from the output so that they don't get included in the library
19718 + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19721 + if test "$GXX" = yes; then
19722 + if test $with_gnu_ld = no; then
19723 + case $host_cpu in
19725 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19728 + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19731 + 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'
19736 + # FIXME: insert proper C++ library support
19743 + hardcode_direct_CXX=no
19744 + hardcode_shlibpath_var_CXX=no
19745 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19746 + export_dynamic_flag_spec_CXX='${wl}-E'
19747 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19748 + # Instead, shared libraries are loaded at an image base (0x10000000 by
19749 + # default) and relocated if they conflict, which is a slow very memory
19750 + # consuming and fragmenting process. To avoid this, we pick a random,
19751 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19752 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19753 + 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'
19754 + 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'
19757 + case $cc_basename in
19760 + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19762 + # Archives containing C++ object files must be created using
19763 + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
19764 + # necessary to make sure instantiated templates are included
19765 + # in the archive.
19766 + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19769 + if test "$GXX" = yes; then
19770 + if test "$with_gnu_ld" = no; then
19771 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19773 + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
19776 + link_all_deplibs_CXX=yes
19779 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19780 + hardcode_libdir_separator_CXX=:
19783 + case $cc_basename in
19785 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19787 + # KCC will only create a shared library if the output file
19788 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19789 + # to its proper name (with version) after linking.
19790 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19791 + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
19792 + # Commands to make compiler produce verbose output that lists
19793 + # what "hidden" libraries, object files and flags are used when
19794 + # linking a shared library.
19796 + # There doesn't appear to be a way to prevent this compiler from
19797 + # explicitly linking system object files so we need to strip them
19798 + # from the output so that they don't get included in the library
19800 + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19802 + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
19803 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19805 + # Archives containing C++ object files must be created using
19806 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19807 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19812 + # version 8.0 and above of icpc choke on multiply defined symbols
19813 + # if we add $predep_objects and $postdep_objects, however 7.1 and
19814 + # earlier do not add the objects themselves.
19815 + case `$CC -V 2>&1` in
19817 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19818 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19820 + *) # Version 8.0 or newer
19822 + case $host_cpu in
19823 + ia64*) tmp_idyn=' -i_dynamic';;
19825 + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19826 + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19829 + archive_cmds_need_lc_CXX=no
19830 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19831 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19832 + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19835 + # Portland Group C++ compiler
19836 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19837 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
19839 + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
19840 + export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19841 + 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'
19845 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19846 + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
19848 + runpath_var=LD_RUN_PATH
19849 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19850 + hardcode_libdir_separator_CXX=:
19852 + # Commands to make compiler produce verbose output that lists
19853 + # what "hidden" libraries, object files and flags are used when
19854 + # linking a shared library.
19856 + # There doesn't appear to be a way to prevent this compiler from
19857 + # explicitly linking system object files so we need to strip them
19858 + # from the output so that they don't get included in the library
19860 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19865 + # FIXME: insert proper C++ library support
19869 + # FIXME: insert proper C++ library support
19873 + case $cc_basename in
19875 + # FIXME: insert proper C++ library support
19879 + # FIXME: insert proper C++ library support
19884 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
19885 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19886 + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19888 + hardcode_libdir_flag_spec_CXX='-R$libdir'
19889 + hardcode_direct_CXX=yes
19890 + hardcode_shlibpath_var_CXX=no
19892 + # Workaround some broken pre-1.5 toolchains
19893 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19896 + # C++ shared libraries are fairly broken
19900 + hardcode_direct_CXX=yes
19901 + hardcode_shlibpath_var_CXX=no
19902 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19903 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19904 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19905 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19906 + export_dynamic_flag_spec_CXX='${wl}-E'
19907 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19909 + output_verbose_link_cmd='echo'
19912 + case $cc_basename in
19914 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19916 + # KCC will only create a shared library if the output file
19917 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19918 + # to its proper name (with version) after linking.
19919 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19921 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19922 + hardcode_libdir_separator_CXX=:
19924 + # Archives containing C++ object files must be created using
19925 + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19926 + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19930 + # Rational C++ 2.4.1
19931 + # FIXME: insert proper C++ library support
19935 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19936 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19938 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19939 + hardcode_libdir_separator_CXX=:
19941 + # Commands to make compiler produce verbose output that lists
19942 + # what "hidden" libraries, object files and flags are used when
19943 + # linking a shared library.
19945 + # There doesn't appear to be a way to prevent this compiler from
19946 + # explicitly linking system object files so we need to strip them
19947 + # from the output so that they don't get included in the library
19949 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
19952 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19953 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19954 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19956 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19957 + hardcode_libdir_separator_CXX=:
19959 + # Commands to make compiler produce verbose output that lists
19960 + # what "hidden" libraries, object files and flags are used when
19961 + # linking a shared library.
19962 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19965 + # FIXME: insert proper C++ library support
19972 + case $cc_basename in
19974 + # Kuck and Associates, Inc. (KAI) C++ Compiler
19976 + # KCC will only create a shared library if the output file
19977 + # ends with ".so" (or ".sl" for HP-UX), so rename the library
19978 + # to its proper name (with version) after linking.
19979 + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19981 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19982 + hardcode_libdir_separator_CXX=:
19984 + # Archives containing C++ object files must be created using
19985 + # the KAI C++ compiler.
19986 + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
19989 + # Rational C++ 2.4.1
19990 + # FIXME: insert proper C++ library support
19994 + allow_undefined_flag_CXX=' -expect_unresolved \*'
19995 + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19996 + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19997 + echo "-hidden">> $lib.exp~
19998 + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
20001 + hardcode_libdir_flag_spec_CXX='-rpath $libdir'
20002 + hardcode_libdir_separator_CXX=:
20004 + # Commands to make compiler produce verbose output that lists
20005 + # what "hidden" libraries, object files and flags are used when
20006 + # linking a shared library.
20008 + # There doesn't appear to be a way to prevent this compiler from
20009 + # explicitly linking system object files so we need to strip them
20010 + # from the output so that they don't get included in the library
20012 + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
20015 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
20016 + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
20017 + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20019 + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
20020 + hardcode_libdir_separator_CXX=:
20022 + # Commands to make compiler produce verbose output that lists
20023 + # what "hidden" libraries, object files and flags are used when
20024 + # linking a shared library.
20025 + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
20028 + # FIXME: insert proper C++ library support
20035 + # FIXME: insert proper C++ library support
20039 + case $cc_basename in
20042 + # FIXME: insert proper C++ library support
20047 + # FIXME: insert proper C++ library support
20051 + # FIXME: insert proper C++ library support
20057 + case $cc_basename in
20059 + # Sun C++ 4.2, 5.x and Centerline C++
20060 + archive_cmds_need_lc_CXX=yes
20061 + no_undefined_flag_CXX=' -zdefs'
20062 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
20063 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20064 + $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'
20066 + hardcode_libdir_flag_spec_CXX='-R$libdir'
20067 + hardcode_shlibpath_var_CXX=no
20069 + solaris2.[0-5] | solaris2.[0-5].*) ;;
20071 + # The C++ compiler is used as linker so we must use $wl
20072 + # flag to pass the commands to the underlying system
20073 + # linker. We must also pass each convience library through
20074 + # to the system linker between allextract/defaultextract.
20075 + # The C++ compiler will combine linker options so we
20076 + # cannot just pass the convience library names through
20078 + # Supported since Solaris 2.6 (maybe 2.5.1?)
20079 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
20082 + link_all_deplibs_CXX=yes
20084 + output_verbose_link_cmd='echo'
20086 + # Archives containing C++ object files must be created using
20087 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
20088 + # necessary to make sure instantiated templates are included
20089 + # in the archive.
20090 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
20093 + # Green Hills C++ Compiler
20094 + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
20096 + # The C++ compiler must be used to create the archive.
20097 + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
20100 + # GNU C++ compiler with Solaris linker
20101 + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
20102 + no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
20103 + if $CC --version | grep -v '^2\.7' > /dev/null; then
20104 + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
20105 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20106 + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
20108 + # Commands to make compiler produce verbose output that lists
20109 + # what "hidden" libraries, object files and flags are used when
20110 + # linking a shared library.
20111 + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
20113 + # g++ 2.7 appears to require `-G' NOT `-shared' on this
20115 + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
20116 + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20117 + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
20119 + # Commands to make compiler produce verbose output that lists
20120 + # what "hidden" libraries, object files and flags are used when
20121 + # linking a shared library.
20122 + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
20125 + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
20130 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
20131 + no_undefined_flag_CXX='${wl}-z,text'
20132 + archive_cmds_need_lc_CXX=no
20133 + hardcode_shlibpath_var_CXX=no
20134 + runpath_var='LD_RUN_PATH'
20136 + case $cc_basename in
20138 + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20139 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20142 + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20143 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20147 + sysv5* | sco3.2v5* | sco5v6*)
20148 + # Note: We can NOT use -z defs as we might desire, because we do not
20149 + # link with -lc, and that would cause any symbols used from libc to
20150 + # always be unresolved, which means just about no library would
20151 + # ever link correctly. If we're not using GNU ld we use -z text
20152 + # though, which does catch some bad symbols but isn't as heavy-handed
20154 + # For security reasons, it is highly recommended that you always
20155 + # use absolute paths for naming shared libraries, and exclude the
20156 + # DT_RUNPATH tag from executables and libraries. But doing so
20157 + # requires that you compile everything twice, which is a pain.
20158 + # So that behaviour is only enabled if SCOABSPATH is set to a
20159 + # non-empty value in the environment. Most likely only useful for
20160 + # creating official distributions of packages.
20161 + # This is a hack until libtool officially supports absolute path
20162 + # names for shared libraries.
20163 + no_undefined_flag_CXX='${wl}-z,text'
20164 + allow_undefined_flag_CXX='${wl}-z,nodefs'
20165 + archive_cmds_need_lc_CXX=no
20166 + hardcode_shlibpath_var_CXX=no
20167 + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
20168 + hardcode_libdir_separator_CXX=':'
20169 + link_all_deplibs_CXX=yes
20170 + export_dynamic_flag_spec_CXX='${wl}-Bexport'
20171 + runpath_var='LD_RUN_PATH'
20173 + case $cc_basename in
20175 + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20176 + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20179 + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20180 + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20185 + case $cc_basename in
20187 + # NonStop-UX NCC 3.20
20188 + # FIXME: insert proper C++ library support
20192 + # FIXME: insert proper C++ library support
20198 + # FIXME: insert proper C++ library support
20202 + # FIXME: insert proper C++ library support
20206 +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20207 +echo "${ECHO_T}$ld_shlibs_CXX" >&6
20208 +test "$ld_shlibs_CXX" = no && can_build_shared=no
20214 +cat > conftest.$ac_ext <<EOF
20218 + Foo (void) { a = 0; }
20224 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20225 + (eval $ac_compile) 2>&5
20227 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 + (exit $ac_status); }; then
20229 + # Parse the compiler output and extract the necessary
20230 + # objects, libraries and library flags.
20232 + # Sentinel used to keep track of whether or not we are before
20233 + # the conftest object file.
20234 + pre_test_object_deps_done=no
20236 + # The `*' in the case matches for architectures that use `case' in
20237 + # $output_verbose_cmd can trigger glob expansion during the loop
20238 + # eval without this substitution.
20239 + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
20241 + for p in `eval $output_verbose_link_cmd`; do
20245 + # Some compilers place space between "-{L,R}" and the path.
20246 + # Remove the space.
20247 + if test $p = "-L" \
20248 + || test $p = "-R"; then
20255 + if test "$pre_test_object_deps_done" = no; then
20258 + # Internal compiler library paths should come after those
20259 + # provided the user. The postdeps already come after the
20260 + # user supplied libs so there is no need to process them.
20261 + if test -z "$compiler_lib_search_path_CXX"; then
20262 + compiler_lib_search_path_CXX="${prev}${p}"
20264 + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
20267 + # The "-l" case would never come before the object being
20268 + # linked, so don't bother handling this case.
20271 + if test -z "$postdeps_CXX"; then
20272 + postdeps_CXX="${prev}${p}"
20274 + postdeps_CXX="${postdeps_CXX} ${prev}${p}"
20280 + # This assumes that the test object file only shows up
20281 + # once in the compiler output.
20282 + if test "$p" = "conftest.$objext"; then
20283 + pre_test_object_deps_done=yes
20287 + if test "$pre_test_object_deps_done" = no; then
20288 + if test -z "$predep_objects_CXX"; then
20289 + predep_objects_CXX="$p"
20291 + predep_objects_CXX="$predep_objects_CXX $p"
20294 + if test -z "$postdep_objects_CXX"; then
20295 + postdep_objects_CXX="$p"
20297 + postdep_objects_CXX="$postdep_objects_CXX $p"
20302 + *) ;; # Ignore the rest.
20308 + rm -f a.out a.exe
20310 + echo "libtool.m4: error: problem compiling CXX test program"
20313 +$rm -f confest.$objext
20315 +# PORTME: override above test on systems where it is broken
20318 + # Interix 3.5 installs completely hosed .la files for C++, so rather than
20319 + # hack all around it, let's just trust "g++" to DTRT.
20320 + predep_objects_CXX=
20321 + postdep_objects_CXX=
20326 + case $cc_basename in
20328 + # Adding this requires a known-good setup of shared libraries for
20329 + # Sun compiler versions before 5.6, else PIC objects from an old
20330 + # archive will be linked into the output, leading to subtle bugs.
20331 + postdeps_CXX='-lCstd -lCrun'
20338 +case " $postdeps_CXX " in
20339 +*" -lc "*) archive_cmds_need_lc_CXX=no ;;
20342 +lt_prog_compiler_wl_CXX=
20343 +lt_prog_compiler_pic_CXX=
20344 +lt_prog_compiler_static_CXX=
20346 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20347 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
20349 + # C++ specific cases for pic, static, wl, etc.
20350 + if test "$GXX" = yes; then
20351 + lt_prog_compiler_wl_CXX='-Wl,'
20352 + lt_prog_compiler_static_CXX='-static'
20356 + # All AIX code is PIC.
20357 + if test "$host_cpu" = ia64; then
20358 + # AIX 5 now supports IA64 processor
20359 + lt_prog_compiler_static_CXX='-Bstatic'
20363 + # FIXME: we need at least 68020 code to build shared libraries, but
20364 + # adding the `-m68020' flag to GCC prevents building anything better,
20365 + # like `-m68040'.
20366 + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
20368 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20369 + # PIC is the default for these OSes.
20371 + mingw* | os2* | pw32*)
20372 + # This hack is so that the source file can tell whether it is being
20373 + # built for inclusion in a dll (and should export symbols for example).
20374 + lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
20376 + darwin* | rhapsody*)
20377 + # PIC is the default on this platform
20378 + # Common symbols not allowed in MH_DYLIB files
20379 + lt_prog_compiler_pic_CXX='-fno-common'
20382 + # DJGPP does not support shared libraries at all
20383 + lt_prog_compiler_pic_CXX=
20386 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20387 + # Instead, we relocate shared libraries at runtime.
20390 + if test -d /usr/nec; then
20391 + lt_prog_compiler_pic_CXX=-Kconform_pic
20395 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20396 + # not for PA HP-UX.
20397 + case $host_cpu in
20401 + lt_prog_compiler_pic_CXX='-fPIC'
20406 + lt_prog_compiler_pic_CXX='-fPIC'
20412 + # All AIX code is PIC.
20413 + if test "$host_cpu" = ia64; then
20414 + # AIX 5 now supports IA64 processor
20415 + lt_prog_compiler_static_CXX='-Bstatic'
20417 + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
20421 + case $cc_basename in
20423 + # Green Hills C++ Compiler
20424 + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
20429 + # PIC is the default on this platform
20430 + # Common symbols not allowed in MH_DYLIB files
20431 + case $cc_basename in
20433 + lt_prog_compiler_pic_CXX='-qnocommon'
20434 + lt_prog_compiler_wl_CXX='-Wl,'
20439 + case $cc_basename in
20441 + lt_prog_compiler_pic_CXX='-KPIC'
20444 + # Green Hills C++ Compiler
20445 + lt_prog_compiler_pic_CXX='-pic'
20451 + freebsd* | kfreebsd*-gnu | dragonfly*)
20452 + # FreeBSD uses GNU C++
20454 + hpux9* | hpux10* | hpux11*)
20455 + case $cc_basename in
20457 + lt_prog_compiler_wl_CXX='-Wl,'
20458 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
20459 + if test "$host_cpu" != ia64; then
20460 + lt_prog_compiler_pic_CXX='+Z'
20464 + lt_prog_compiler_wl_CXX='-Wl,'
20465 + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
20466 + case $host_cpu in
20471 + lt_prog_compiler_pic_CXX='+Z'
20480 + # This is c89, which is MS Visual C++ (no shared libs)
20481 + # Anyone wants to do a port?
20483 + irix5* | irix6* | nonstopux*)
20484 + case $cc_basename in
20486 + lt_prog_compiler_wl_CXX='-Wl,'
20487 + lt_prog_compiler_static_CXX='-non_shared'
20488 + # CC pic flag -KPIC is the default.
20495 + case $cc_basename in
20497 + # KAI C++ Compiler
20498 + lt_prog_compiler_wl_CXX='--backend -Wl,'
20499 + lt_prog_compiler_pic_CXX='-fPIC'
20503 + lt_prog_compiler_wl_CXX='-Wl,'
20504 + lt_prog_compiler_pic_CXX='-KPIC'
20505 + lt_prog_compiler_static_CXX='-static'
20508 + # Portland Group C++ compiler.
20509 + lt_prog_compiler_wl_CXX='-Wl,'
20510 + lt_prog_compiler_pic_CXX='-fpic'
20511 + lt_prog_compiler_static_CXX='-Bstatic'
20515 + # Make sure the PIC flag is empty. It appears that all Alpha
20516 + # Linux and Compaq Tru64 Unix objects are PIC.
20517 + lt_prog_compiler_pic_CXX=
20518 + lt_prog_compiler_static_CXX='-non_shared'
20529 + case $cc_basename in
20531 + lt_prog_compiler_pic_CXX='-W c,exportall'
20537 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
20539 + osf3* | osf4* | osf5*)
20540 + case $cc_basename in
20542 + lt_prog_compiler_wl_CXX='--backend -Wl,'
20545 + # Rational C++ 2.4.1
20546 + lt_prog_compiler_pic_CXX='-pic'
20549 + # Digital/Compaq C++
20550 + lt_prog_compiler_wl_CXX='-Wl,'
20551 + # Make sure the PIC flag is empty. It appears that all Alpha
20552 + # Linux and Compaq Tru64 Unix objects are PIC.
20553 + lt_prog_compiler_pic_CXX=
20554 + lt_prog_compiler_static_CXX='-non_shared'
20563 + case $cc_basename in
20565 + # Sun C++ 4.2, 5.x and Centerline C++
20566 + lt_prog_compiler_pic_CXX='-KPIC'
20567 + lt_prog_compiler_static_CXX='-Bstatic'
20568 + lt_prog_compiler_wl_CXX='-Qoption ld '
20571 + # Green Hills C++ Compiler
20572 + lt_prog_compiler_pic_CXX='-PIC'
20579 + case $cc_basename in
20582 + lt_prog_compiler_pic_CXX='-pic'
20583 + lt_prog_compiler_static_CXX='-Bstatic'
20587 + lt_prog_compiler_pic_CXX='-pic'
20594 + case $cc_basename in
20596 + # NonStop-UX NCC 3.20
20597 + lt_prog_compiler_pic_CXX='-KPIC'
20603 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
20604 + case $cc_basename in
20606 + lt_prog_compiler_wl_CXX='-Wl,'
20607 + lt_prog_compiler_pic_CXX='-KPIC'
20608 + lt_prog_compiler_static_CXX='-Bstatic'
20615 + lt_prog_compiler_can_build_shared_CXX=no
20620 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
20621 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
20624 +# Check to make sure the PIC flag actually works.
20626 +if test -n "$lt_prog_compiler_pic_CXX"; then
20628 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
20629 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
20630 +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
20631 + echo $ECHO_N "(cached) $ECHO_C" >&6
20633 + lt_prog_compiler_pic_works_CXX=no
20634 + ac_outfile=conftest.$ac_objext
20635 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20636 + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
20637 + # Insert the option either (1) after the last *FLAGS variable, or
20638 + # (2) before a word containing "conftest.", or (3) at the end.
20639 + # Note that $ac_compile itself does not contain backslashes and begins
20640 + # with a dollar sign (not a hyphen), so the echo should work correctly.
20641 + # The option is referenced via a variable to avoid confusing sed.
20642 + lt_compile=`echo "$ac_compile" | $SED \
20643 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20644 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20645 + -e 's:$: $lt_compiler_flag:'`
20646 + (eval echo "\"\$as_me:11138: $lt_compile\"" >&5)
20647 + (eval "$lt_compile" 2>conftest.err)
20649 + cat conftest.err >&5
20650 + echo "$as_me:11142: \$? = $ac_status" >&5
20651 + if (exit $ac_status) && test -s "$ac_outfile"; then
20652 + # The compiler can only warn and ignore the option if not recognized
20653 + # So say no if there are warnings other than the usual output.
20654 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
20655 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20656 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20657 + lt_prog_compiler_pic_works_CXX=yes
20663 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
20664 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
20666 +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
20667 + case $lt_prog_compiler_pic_CXX in
20669 + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
20672 + lt_prog_compiler_pic_CXX=
20673 + lt_prog_compiler_can_build_shared_CXX=no
20678 + # For platforms which do not support PIC, -DPIC is meaningless:
20680 + lt_prog_compiler_pic_CXX=
20683 + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
20688 +# Check to make sure the static flag actually works.
20690 +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
20691 +echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20692 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
20693 +if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
20694 + echo $ECHO_N "(cached) $ECHO_C" >&6
20696 + lt_prog_compiler_static_works_CXX=no
20697 + save_LDFLAGS="$LDFLAGS"
20698 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20699 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
20700 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20701 + # The linker can only warn and ignore the option if not recognized
20702 + # So say no if there are warnings
20703 + if test -s conftest.err; then
20704 + # Append any errors to the config.log.
20705 + cat conftest.err 1>&5
20706 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
20707 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20708 + if diff conftest.exp conftest.er2 >/dev/null; then
20709 + lt_prog_compiler_static_works_CXX=yes
20712 + lt_prog_compiler_static_works_CXX=yes
20716 + LDFLAGS="$save_LDFLAGS"
20719 +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
20720 +echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
20722 +if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
20725 + lt_prog_compiler_static_CXX=
20729 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20730 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
20731 +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20732 + echo $ECHO_N "(cached) $ECHO_C" >&6
20734 + lt_cv_prog_compiler_c_o_CXX=no
20735 + $rm -r conftest 2>/dev/null
20739 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20741 + lt_compiler_flag="-o out/conftest2.$ac_objext"
20742 + # Insert the option either (1) after the last *FLAGS variable, or
20743 + # (2) before a word containing "conftest.", or (3) at the end.
20744 + # Note that $ac_compile itself does not contain backslashes and begins
20745 + # with a dollar sign (not a hyphen), so the echo should work correctly.
20746 + lt_compile=`echo "$ac_compile" | $SED \
20747 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20748 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20749 + -e 's:$: $lt_compiler_flag:'`
20750 + (eval echo "\"\$as_me:11242: $lt_compile\"" >&5)
20751 + (eval "$lt_compile" 2>out/conftest.err)
20753 + cat out/conftest.err >&5
20754 + echo "$as_me:11246: \$? = $ac_status" >&5
20755 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
20757 + # The compiler can only warn and ignore the option if not recognized
20758 + # So say no if there are warnings
20759 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20760 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20761 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20762 + lt_cv_prog_compiler_c_o_CXX=yes
20767 + # SGI C++ compiler will create directory out/ii_files/ for
20768 + # template instantiation
20769 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20770 + $rm out/* && rmdir out
20776 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20777 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
20780 +hard_links="nottested"
20781 +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
20782 + # do not overwrite the value of need_locks provided by the user
20783 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20784 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
20787 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
20789 + ln conftest.a conftest.b 2>&5 || hard_links=no
20790 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
20791 + echo "$as_me:$LINENO: result: $hard_links" >&5
20792 +echo "${ECHO_T}$hard_links" >&6
20793 + if test "$hard_links" = no; then
20794 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20795 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20802 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20803 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
20805 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20808 + # If we're using GNU nm, then we don't want the "-C" option.
20809 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
20810 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20811 + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20813 + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
20817 + export_symbols_cmds_CXX="$ltdll_cmds"
20819 + cygwin* | mingw*)
20820 + 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'
20823 + link_all_deplibs_CXX=no
20826 + link_all_deplibs_CXX=no
20829 + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20833 +echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20834 +echo "${ECHO_T}$ld_shlibs_CXX" >&6
20835 +test "$ld_shlibs_CXX" = no && can_build_shared=no
20838 +# Do we need to explicitly link libc?
20840 +case "x$archive_cmds_need_lc_CXX" in
20842 + # Assume -lc should be added
20843 + archive_cmds_need_lc_CXX=yes
20845 + if test "$enable_shared" = yes && test "$GCC" = yes; then
20846 + case $archive_cmds_CXX in
20848 + # FIXME: we may have to deal with multi-command sequences.
20851 + # Test whether the compiler implicitly links with -lc since on some
20852 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
20853 + # to ld, don't add -lc before -lgcc.
20854 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20855 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
20857 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20859 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20860 + (eval $ac_compile) 2>&5
20862 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 + (exit $ac_status); } 2>conftest.err; then
20866 + libobjs=conftest.$ac_objext
20868 + wl=$lt_prog_compiler_wl_CXX
20869 + pic_flag=$lt_prog_compiler_pic_CXX
20870 + compiler_flags=-v
20875 + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20876 + allow_undefined_flag_CXX=
20877 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20878 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20880 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 + (exit $ac_status); }
20883 + archive_cmds_need_lc_CXX=no
20885 + archive_cmds_need_lc_CXX=yes
20887 + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20889 + cat conftest.err 1>&5
20892 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20893 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
20900 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20901 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
20902 +library_names_spec=
20903 +libname_spec='lib$name'
20907 +postuninstall_cmds=
20911 +shlibpath_overrides_runpath=unknown
20913 +dynamic_linker="$host_os ld.so"
20914 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
20915 +if test "$GCC" = yes; then
20916 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20917 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
20918 + # if the path contains ";" then we assume it to be the separator
20919 + # otherwise default to the standard path separator (i.e. ":") - it is
20920 + # assumed that no part of a normal pathname contains ";" but that should
20921 + # okay in the real world where ";" in dirpaths is itself problematic.
20922 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20924 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20927 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20929 +need_lib_prefix=unknown
20930 +hardcode_into_libs=no
20932 +# when you set need_version to no, make sure it does not cause -set_version
20933 +# flags to be left without arguments
20934 +need_version=unknown
20938 + version_type=linux
20939 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20940 + shlibpath_var=LIBPATH
20942 + # AIX 3 has no versioning support, so we append a major version to the name.
20943 + soname_spec='${libname}${release}${shared_ext}$major'
20947 + version_type=linux
20948 + need_lib_prefix=no
20950 + hardcode_into_libs=yes
20951 + if test "$host_cpu" = ia64; then
20952 + # AIX 5 supports IA64
20953 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20954 + shlibpath_var=LD_LIBRARY_PATH
20956 + # With GCC up to 2.95.x, collect2 would create an import file
20957 + # for dependence libraries. The import file would start with
20958 + # the line `#! .'. This would cause the generated library to
20959 + # depend on `.', always an invalid library. This was fixed in
20960 + # development snapshots of GCC prior to 3.0.
20962 + aix4 | aix4.[01] | aix4.[01].*)
20963 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20965 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20968 + can_build_shared=no
20972 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20973 + # soname into executable. Probably we can add versioning support to
20974 + # collect2, so additional links can be useful in future.
20975 + if test "$aix_use_runtimelinking" = yes; then
20976 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20977 + # instead of lib<name>.a to let people know that these are not
20978 + # typical AIX shared libraries.
20979 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20981 + # We preserve .a as extension for shared libraries through AIX4.2
20982 + # and later when we are not doing run time linking.
20983 + library_names_spec='${libname}${release}.a $libname.a'
20984 + soname_spec='${libname}${release}${shared_ext}$major'
20986 + shlibpath_var=LIBPATH
20991 + library_names_spec='$libname.ixlibrary $libname.a'
20992 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
20993 + 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'
20997 + library_names_spec='${libname}${shared_ext}'
20998 + dynamic_linker="$host_os ld.so"
20999 + shlibpath_var=LIBRARY_PATH
21003 + version_type=linux
21005 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21006 + soname_spec='${libname}${release}${shared_ext}$major'
21007 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
21008 + shlibpath_var=LD_LIBRARY_PATH
21009 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
21010 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
21011 + # the default ld.so.conf also contains /usr/contrib/lib and
21012 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21013 + # libtool to hard-code these into programs
21016 +cygwin* | mingw* | pw32*)
21017 + version_type=windows
21018 + shrext_cmds=".dll"
21020 + need_lib_prefix=no
21022 + case $GCC,$host_os in
21023 + yes,cygwin* | yes,mingw* | yes,pw32*)
21024 + library_names_spec='$libname.dll.a'
21025 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
21026 + postinstall_cmds='base_file=`basename \${file}`~
21027 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
21028 + dldir=$destdir/`dirname \$dlpath`~
21029 + test -d \$dldir || mkdir -p \$dldir~
21030 + $install_prog $dir/$dlname \$dldir/$dlname~
21031 + chmod a+x \$dldir/$dlname'
21032 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21033 + dlpath=$dir/\$dldll~
21035 + shlibpath_overrides_runpath=yes
21039 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21040 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21041 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
21044 + # MinGW DLLs use traditional 'lib' prefix
21045 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21046 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
21047 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
21048 + # It is most probably a Windows format PATH printed by
21049 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
21050 + # path with ; separators, and with drive letters. We can handle the
21051 + # drive letters (cygwin fileutils understands them), so leave them,
21052 + # especially as we might pass files found there to a mingw objdump,
21053 + # which wouldn't understand a cygwinified path. Ahh.
21054 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21056 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21060 + # pw32 DLLs use 'pw' prefix rather than 'lib'
21061 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21067 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21070 + dynamic_linker='Win32 ld.exe'
21071 + # FIXME: first we should search . and the directory the executable is in
21072 + shlibpath_var=PATH
21075 +darwin* | rhapsody*)
21076 + dynamic_linker="$host_os dyld"
21077 + version_type=darwin
21078 + need_lib_prefix=no
21080 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21081 + soname_spec='${libname}${release}${major}$shared_ext'
21082 + shlibpath_overrides_runpath=yes
21083 + shlibpath_var=DYLD_LIBRARY_PATH
21084 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
21085 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
21086 + if test "$GCC" = yes; then
21087 + 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"`
21089 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
21091 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21095 + version_type=linux
21096 + need_lib_prefix=no
21098 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21099 + soname_spec='${libname}${release}${shared_ext}$major'
21100 + shlibpath_var=LD_LIBRARY_PATH
21104 + dynamic_linker=no
21108 + version_type=linux
21109 + need_lib_prefix=no
21111 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21112 + soname_spec='${libname}${release}${shared_ext}$major'
21113 + shlibpath_var=LD_LIBRARY_PATH
21114 + shlibpath_overrides_runpath=no
21115 + hardcode_into_libs=yes
21116 + dynamic_linker='GNU ld.so'
21119 +freebsd* | dragonfly*)
21120 + # DragonFly does not have aout. When/if they implement a new
21121 + # versioning mechanism, adjust this.
21122 + if test -x /usr/bin/objformat; then
21123 + objformat=`/usr/bin/objformat`
21126 + freebsd[123]*) objformat=aout ;;
21127 + *) objformat=elf ;;
21130 + version_type=freebsd-$objformat
21131 + case $version_type in
21133 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21135 + need_lib_prefix=no
21138 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21142 + shlibpath_var=LD_LIBRARY_PATH
21145 + shlibpath_overrides_runpath=yes
21147 + freebsd3.[01]* | freebsdelf3.[01]*)
21148 + shlibpath_overrides_runpath=yes
21149 + hardcode_into_libs=yes
21151 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
21152 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
21153 + shlibpath_overrides_runpath=no
21154 + hardcode_into_libs=yes
21156 + freebsd*) # from 4.6 on
21157 + shlibpath_overrides_runpath=yes
21158 + hardcode_into_libs=yes
21164 + version_type=linux
21165 + need_lib_prefix=no
21167 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21168 + soname_spec='${libname}${release}${shared_ext}$major'
21169 + shlibpath_var=LD_LIBRARY_PATH
21170 + hardcode_into_libs=yes
21173 +hpux9* | hpux10* | hpux11*)
21174 + # Give a soname corresponding to the major version so that dld.sl refuses to
21175 + # link against other versions.
21176 + version_type=sunos
21177 + need_lib_prefix=no
21179 + case $host_cpu in
21181 + shrext_cmds='.so'
21182 + hardcode_into_libs=yes
21183 + dynamic_linker="$host_os dld.so"
21184 + shlibpath_var=LD_LIBRARY_PATH
21185 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21186 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21187 + soname_spec='${libname}${release}${shared_ext}$major'
21188 + if test "X$HPUX_IA64_MODE" = X32; then
21189 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21191 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21193 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21196 + shrext_cmds='.sl'
21197 + hardcode_into_libs=yes
21198 + dynamic_linker="$host_os dld.sl"
21199 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21200 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21204 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21207 + shrext_cmds='.sl'
21208 + dynamic_linker="$host_os dld.sl"
21209 + shlibpath_var=SHLIB_PATH
21210 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21211 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21212 + soname_spec='${libname}${release}${shared_ext}$major'
21215 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
21216 + postinstall_cmds='chmod 555 $lib'
21220 + version_type=linux
21221 + need_lib_prefix=no
21223 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21224 + soname_spec='${libname}${release}${shared_ext}$major'
21225 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
21226 + shlibpath_var=LD_LIBRARY_PATH
21227 + shlibpath_overrides_runpath=no
21228 + hardcode_into_libs=yes
21231 +irix5* | irix6* | nonstopux*)
21233 + nonstopux*) version_type=nonstopux ;;
21235 + if test "$lt_cv_prog_gnu_ld" = yes; then
21236 + version_type=linux
21238 + version_type=irix
21241 + need_lib_prefix=no
21243 + soname_spec='${libname}${release}${shared_ext}$major'
21244 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21246 + irix5* | nonstopux*)
21247 + libsuff= shlibsuff=
21250 + case $LD in # libtool.m4 will add one of these switches to LD
21251 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21252 + libsuff= shlibsuff= libmagic=32-bit;;
21253 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21254 + libsuff=32 shlibsuff=N32 libmagic=N32;;
21255 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21256 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
21257 + *) libsuff= shlibsuff= libmagic=never-match;;
21261 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21262 + shlibpath_overrides_runpath=no
21263 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21264 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21265 + hardcode_into_libs=yes
21268 +# No shared lib support for Linux oldld, aout, or coff.
21269 +linux*oldld* | linux*aout* | linux*coff*)
21270 + dynamic_linker=no
21273 +# This must be Linux ELF.
21275 + version_type=linux
21276 + need_lib_prefix=no
21278 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21279 + soname_spec='${libname}${release}${shared_ext}$major'
21280 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21281 + shlibpath_var=LD_LIBRARY_PATH
21282 + shlibpath_overrides_runpath=no
21283 + # This implies no fast_install, which is unacceptable.
21284 + # Some rework will be needed to allow for fast_install
21285 + # before this can be enabled.
21286 + hardcode_into_libs=yes
21288 + # Append ld.so.conf contents to the search path
21289 + if test -f /etc/ld.so.conf; then
21290 + 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' ' '`
21291 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
21294 + # We used to test for /lib/ld.so.1 and disable shared libraries on
21295 + # powerpc, because MkLinux only supported shared libraries with the
21296 + # GNU dynamic linker. Since this was broken with cross compilers,
21297 + # most powerpc-linux boxes support dynamic linking these days and
21298 + # people can always --disable-shared, the test was removed, and we
21299 + # assume the GNU/Linux dynamic linker is in use.
21300 + dynamic_linker='GNU/Linux ld.so'
21304 + version_type=linux
21305 + need_lib_prefix=no
21307 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21308 + soname_spec='${libname}${release}${shared_ext}$major'
21309 + shlibpath_var=LD_LIBRARY_PATH
21310 + shlibpath_overrides_runpath=no
21311 + hardcode_into_libs=yes
21312 + dynamic_linker='NetBSD ld.elf_so'
21316 + version_type=linux
21317 + need_lib_prefix=no
21319 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21320 + soname_spec='${libname}${release}${shared_ext}$major'
21321 + shlibpath_var=LD_LIBRARY_PATH
21322 + shlibpath_overrides_runpath=no
21323 + hardcode_into_libs=yes
21324 + dynamic_linker='GNU ld.so'
21328 + version_type=sunos
21329 + need_lib_prefix=no
21331 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21332 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21333 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21334 + dynamic_linker='NetBSD (a.out) ld.so'
21336 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21337 + soname_spec='${libname}${release}${shared_ext}$major'
21338 + dynamic_linker='NetBSD ld.elf_so'
21340 + shlibpath_var=LD_LIBRARY_PATH
21341 + shlibpath_overrides_runpath=yes
21342 + hardcode_into_libs=yes
21346 + version_type=linux
21347 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21348 + shlibpath_var=LD_LIBRARY_PATH
21349 + shlibpath_overrides_runpath=yes
21353 + version_type=linux
21354 + need_lib_prefix=no
21356 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21357 + soname_spec='${libname}${release}${shared_ext}$major'
21358 + shlibpath_var=LD_LIBRARY_PATH
21359 + shlibpath_overrides_runpath=yes
21363 + version_type=sunos
21364 + sys_lib_dlsearch_path_spec="/usr/lib"
21365 + need_lib_prefix=no
21366 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
21368 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
21369 + *) need_version=no ;;
21371 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21372 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21373 + shlibpath_var=LD_LIBRARY_PATH
21374 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21376 + openbsd2.[89] | openbsd2.[89].*)
21377 + shlibpath_overrides_runpath=no
21380 + shlibpath_overrides_runpath=yes
21384 + shlibpath_overrides_runpath=yes
21389 + libname_spec='$name'
21390 + shrext_cmds=".dll"
21391 + need_lib_prefix=no
21392 + library_names_spec='$libname${shared_ext} $libname.a'
21393 + dynamic_linker='OS/2 ld.exe'
21394 + shlibpath_var=LIBPATH
21397 +osf3* | osf4* | osf5*)
21399 + need_lib_prefix=no
21401 + soname_spec='${libname}${release}${shared_ext}$major'
21402 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21403 + shlibpath_var=LD_LIBRARY_PATH
21404 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21405 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21409 + version_type=linux
21410 + need_lib_prefix=no
21412 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21413 + soname_spec='${libname}${release}${shared_ext}$major'
21414 + shlibpath_var=LD_LIBRARY_PATH
21415 + shlibpath_overrides_runpath=yes
21416 + hardcode_into_libs=yes
21417 + # ldd complains unless libraries are executable
21418 + postinstall_cmds='chmod +x $lib'
21422 + version_type=sunos
21423 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21424 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21425 + shlibpath_var=LD_LIBRARY_PATH
21426 + shlibpath_overrides_runpath=yes
21427 + if test "$with_gnu_ld" = yes; then
21428 + need_lib_prefix=no
21434 + version_type=linux
21435 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21436 + soname_spec='${libname}${release}${shared_ext}$major'
21437 + shlibpath_var=LD_LIBRARY_PATH
21438 + case $host_vendor in
21440 + shlibpath_overrides_runpath=no
21441 + need_lib_prefix=no
21442 + export_dynamic_flag_spec='${wl}-Blargedynsym'
21443 + runpath_var=LD_RUN_PATH
21446 + need_lib_prefix=no
21449 + need_lib_prefix=no
21451 + shlibpath_overrides_runpath=no
21452 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21458 + if test -d /usr/nec ;then
21459 + version_type=linux
21460 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21461 + soname_spec='$libname${shared_ext}.$major'
21462 + shlibpath_var=LD_LIBRARY_PATH
21466 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
21467 + version_type=freebsd-elf
21468 + need_lib_prefix=no
21470 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21471 + soname_spec='${libname}${release}${shared_ext}$major'
21472 + shlibpath_var=LD_LIBRARY_PATH
21473 + hardcode_into_libs=yes
21474 + if test "$with_gnu_ld" = yes; then
21475 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21476 + shlibpath_overrides_runpath=no
21478 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
21479 + shlibpath_overrides_runpath=yes
21482 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
21486 + sys_lib_dlsearch_path_spec='/usr/lib'
21490 + version_type=linux
21491 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21492 + soname_spec='${libname}${release}${shared_ext}$major'
21493 + shlibpath_var=LD_LIBRARY_PATH
21497 + dynamic_linker=no
21500 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21501 +echo "${ECHO_T}$dynamic_linker" >&6
21502 +test "$dynamic_linker" = no && can_build_shared=no
21504 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21505 +if test "$GCC" = yes; then
21506 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21509 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21510 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
21511 +hardcode_action_CXX=
21512 +if test -n "$hardcode_libdir_flag_spec_CXX" || \
21513 + test -n "$runpath_var_CXX" || \
21514 + test "X$hardcode_automatic_CXX" = "Xyes" ; then
21516 + # We can hardcode non-existant directories.
21517 + if test "$hardcode_direct_CXX" != no &&
21518 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
21519 + # have to relink, otherwise we might link with an installed library
21520 + # when we should be linking with a yet-to-be-installed one
21521 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
21522 + test "$hardcode_minus_L_CXX" != no; then
21523 + # Linking always hardcodes the temporary library directory.
21524 + hardcode_action_CXX=relink
21526 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
21527 + hardcode_action_CXX=immediate
21530 + # We cannot hardcode anything, or else we can only hardcode existing
21532 + hardcode_action_CXX=unsupported
21534 +echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
21535 +echo "${ECHO_T}$hardcode_action_CXX" >&6
21537 +if test "$hardcode_action_CXX" = relink; then
21538 + # Fast installation is not supported
21539 + enable_fast_install=no
21540 +elif test "$shlibpath_overrides_runpath" = yes ||
21541 + test "$enable_shared" = no; then
21542 + # Fast installation is not necessary
21543 + enable_fast_install=needless
21547 +# The else clause should only fire when bootstrapping the
21548 +# libtool distribution, otherwise you forgot to ship ltmain.sh
21549 +# with your package, and you will get complaints that there are
21550 +# no rules to generate ltmain.sh.
21551 +if test -f "$ltmain"; then
21552 + # See if we are running on zsh, and set the options which allow our commands through
21553 + # without removal of \ escapes.
21554 + if test -n "${ZSH_VERSION+set}" ; then
21555 + setopt NO_GLOB_SUBST
21557 + # Now quote all the things that may contain metacharacters while being
21558 + # careful not to overquote the AC_SUBSTed values. We take copies of the
21559 + # variables and quote the copies for generation of the libtool script.
21560 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21561 + SED SHELL STRIP \
21562 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21563 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21564 + deplibs_check_method reload_flag reload_cmds need_locks \
21565 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21566 + lt_cv_sys_global_symbol_to_c_name_address \
21567 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21568 + old_postinstall_cmds old_postuninstall_cmds \
21572 + lt_prog_compiler_wl_CXX \
21573 + lt_prog_compiler_pic_CXX \
21574 + lt_prog_compiler_static_CXX \
21575 + lt_prog_compiler_no_builtin_flag_CXX \
21576 + export_dynamic_flag_spec_CXX \
21577 + thread_safe_flag_spec_CXX \
21578 + whole_archive_flag_spec_CXX \
21579 + enable_shared_with_static_runtimes_CXX \
21580 + old_archive_cmds_CXX \
21581 + old_archive_from_new_cmds_CXX \
21582 + predep_objects_CXX \
21583 + postdep_objects_CXX \
21586 + compiler_lib_search_path_CXX \
21587 + archive_cmds_CXX \
21588 + archive_expsym_cmds_CXX \
21589 + postinstall_cmds_CXX \
21590 + postuninstall_cmds_CXX \
21591 + old_archive_from_expsyms_cmds_CXX \
21592 + allow_undefined_flag_CXX \
21593 + no_undefined_flag_CXX \
21594 + export_symbols_cmds_CXX \
21595 + hardcode_libdir_flag_spec_CXX \
21596 + hardcode_libdir_flag_spec_ld_CXX \
21597 + hardcode_libdir_separator_CXX \
21598 + hardcode_automatic_CXX \
21599 + module_cmds_CXX \
21600 + module_expsym_cmds_CXX \
21601 + lt_cv_prog_compiler_c_o_CXX \
21602 + exclude_expsyms_CXX \
21603 + include_expsyms_CXX; do
21606 + old_archive_cmds_CXX | \
21607 + old_archive_from_new_cmds_CXX | \
21608 + archive_cmds_CXX | \
21609 + archive_expsym_cmds_CXX | \
21610 + module_cmds_CXX | \
21611 + module_expsym_cmds_CXX | \
21612 + old_archive_from_expsyms_cmds_CXX | \
21613 + export_symbols_cmds_CXX | \
21614 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
21615 + postinstall_cmds | postuninstall_cmds | \
21616 + old_postinstall_cmds | old_postuninstall_cmds | \
21617 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21618 + # Double-quote double-evaled strings.
21619 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21622 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21628 + *'\$0 --fallback-echo"')
21629 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21635 + cat <<__EOF__ >> "$cfgfile"
21636 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21638 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21640 +# Shell to use when invoking shell scripts.
21643 +# Whether or not to build shared libraries.
21644 +build_libtool_libs=$enable_shared
21646 +# Whether or not to build static libraries.
21647 +build_old_libs=$enable_static
21649 +# Whether or not to add -lc for building shared libraries.
21650 +build_libtool_need_lc=$archive_cmds_need_lc_CXX
21652 +# Whether or not to disallow shared libs when runtime libs are static
21653 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21655 +# Whether or not to optimize for fast installation.
21656 +fast_install=$enable_fast_install
21658 +# The host system.
21659 +host_alias=$host_alias
21663 +# The build system.
21664 +build_alias=$build_alias
21666 +build_os=$build_os
21668 +# An echo program that does not interpret backslashes.
21673 +AR_FLAGS=$lt_AR_FLAGS
21678 +# LTCC compiler flags.
21679 +LTCFLAGS=$lt_LTCFLAGS
21681 +# A language-specific compiler.
21682 +CC=$lt_compiler_CXX
21684 +# Is the compiler the GNU C compiler?
21690 +# The linker used to build libraries.
21693 +# Whether we need hard or soft links.
21696 +# A BSD-compatible nm program.
21699 +# A symbol stripping program
21702 +# Used to examine libraries when file_magic_cmd begins "file"
21703 +MAGIC_CMD=$MAGIC_CMD
21705 +# Used on cygwin: DLL creation program.
21706 +DLLTOOL="$DLLTOOL"
21708 +# Used on cygwin: object dumper.
21709 +OBJDUMP="$OBJDUMP"
21711 +# Used on cygwin: assembler.
21714 +# The name of the directory that contains temporary libtool files.
21717 +# How to create reloadable object files.
21718 +reload_flag=$lt_reload_flag
21719 +reload_cmds=$lt_reload_cmds
21721 +# How to pass a linker flag through the compiler.
21722 +wl=$lt_lt_prog_compiler_wl_CXX
21724 +# Object file suffix (normally "o").
21725 +objext="$ac_objext"
21727 +# Old archive suffix (normally "a").
21730 +# Shared library suffix (normally ".so").
21731 +shrext_cmds='$shrext_cmds'
21733 +# Executable file suffix (normally "").
21736 +# Additional compiler flags for building library objects.
21737 +pic_flag=$lt_lt_prog_compiler_pic_CXX
21738 +pic_mode=$pic_mode
21740 +# What is the maximum length of a command?
21741 +max_cmd_len=$lt_cv_sys_max_cmd_len
21743 +# Does compiler simultaneously support -c and -o options?
21744 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21746 +# Must we lock files when doing compilation?
21747 +need_locks=$lt_need_locks
21749 +# Do we need the lib prefix for modules?
21750 +need_lib_prefix=$need_lib_prefix
21752 +# Do we need a version for libraries?
21753 +need_version=$need_version
21755 +# Whether dlopen is supported.
21756 +dlopen_support=$enable_dlopen
21758 +# Whether dlopen of programs is supported.
21759 +dlopen_self=$enable_dlopen_self
21761 +# Whether dlopen of statically linked programs is supported.
21762 +dlopen_self_static=$enable_dlopen_self_static
21764 +# Compiler flag to prevent dynamic linking.
21765 +link_static_flag=$lt_lt_prog_compiler_static_CXX
21767 +# Compiler flag to turn off builtin functions.
21768 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21770 +# Compiler flag to allow reflexive dlopens.
21771 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21773 +# Compiler flag to generate shared objects directly from archives.
21774 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21776 +# Compiler flag to generate thread-safe objects.
21777 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
21779 +# Library versioning type.
21780 +version_type=$version_type
21782 +# Format of library name prefix.
21783 +libname_spec=$lt_libname_spec
21785 +# List of archive names. First name is the real one, the rest are links.
21786 +# The last name is the one that the linker finds with -lNAME.
21787 +library_names_spec=$lt_library_names_spec
21789 +# The coded name of the library, if different from the real name.
21790 +soname_spec=$lt_soname_spec
21792 +# Commands used to build and install an old-style archive.
21794 +old_archive_cmds=$lt_old_archive_cmds_CXX
21795 +old_postinstall_cmds=$lt_old_postinstall_cmds
21796 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
21798 +# Create an old-style archive from a shared archive.
21799 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21801 +# Create a temporary old-style archive to link instead of a shared archive.
21802 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21804 +# Commands used to build and install a shared archive.
21805 +archive_cmds=$lt_archive_cmds_CXX
21806 +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21807 +postinstall_cmds=$lt_postinstall_cmds
21808 +postuninstall_cmds=$lt_postuninstall_cmds
21810 +# Commands used to build a loadable module (assumed same as above if empty)
21811 +module_cmds=$lt_module_cmds_CXX
21812 +module_expsym_cmds=$lt_module_expsym_cmds_CXX
21814 +# Commands to strip libraries.
21815 +old_striplib=$lt_old_striplib
21816 +striplib=$lt_striplib
21818 +# Dependencies to place before the objects being linked to create a
21820 +predep_objects=$lt_predep_objects_CXX
21822 +# Dependencies to place after the objects being linked to create a
21824 +postdep_objects=$lt_postdep_objects_CXX
21826 +# Dependencies to place before the objects being linked to create a
21828 +predeps=$lt_predeps_CXX
21830 +# Dependencies to place after the objects being linked to create a
21832 +postdeps=$lt_postdeps_CXX
21834 +# The library search path used internally by the compiler when linking
21835 +# a shared library.
21836 +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21838 +# Method to check whether dependent libraries are shared objects.
21839 +deplibs_check_method=$lt_deplibs_check_method
21841 +# Command to use when deplibs_check_method == file_magic.
21842 +file_magic_cmd=$lt_file_magic_cmd
21844 +# Flag that allows shared libraries with undefined symbols to be built.
21845 +allow_undefined_flag=$lt_allow_undefined_flag_CXX
21847 +# Flag that forces no undefined symbols.
21848 +no_undefined_flag=$lt_no_undefined_flag_CXX
21850 +# Commands used to finish a libtool library installation in a directory.
21851 +finish_cmds=$lt_finish_cmds
21853 +# Same as above, but a single script fragment to be evaled but not shown.
21854 +finish_eval=$lt_finish_eval
21856 +# Take the output of nm and produce a listing of raw symbols and C names.
21857 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21859 +# Transform the output of nm in a proper C declaration
21860 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21862 +# Transform the output of nm in a C name address pair
21863 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21865 +# This is the shared library runtime path variable.
21866 +runpath_var=$runpath_var
21868 +# This is the shared library path variable.
21869 +shlibpath_var=$shlibpath_var
21871 +# Is shlibpath searched before the hard-coded library search path?
21872 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21874 +# How to hardcode a shared library path into an executable.
21875 +hardcode_action=$hardcode_action_CXX
21877 +# Whether we should hardcode library paths into libraries.
21878 +hardcode_into_libs=$hardcode_into_libs
21880 +# Flag to hardcode \$libdir into a binary during linking.
21881 +# This must work even if \$libdir does not exist.
21882 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21884 +# If ld is used when linking, flag to hardcode \$libdir into
21885 +# a binary during linking. This must work even if \$libdir does
21887 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21889 +# Whether we need a single -rpath flag with a separated argument.
21890 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21892 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21893 +# resulting binary.
21894 +hardcode_direct=$hardcode_direct_CXX
21896 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21897 +# resulting binary.
21898 +hardcode_minus_L=$hardcode_minus_L_CXX
21900 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21901 +# the resulting binary.
21902 +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21904 +# Set to yes if building a shared library automatically hardcodes DIR into the library
21905 +# and all subsequent libraries and executables linked against it.
21906 +hardcode_automatic=$hardcode_automatic_CXX
21908 +# Variables whose values should be saved in libtool wrapper scripts and
21909 +# restored at relink time.
21910 +variables_saved_for_relink="$variables_saved_for_relink"
21912 +# Whether libtool must link a program against all its dependency libraries.
21913 +link_all_deplibs=$link_all_deplibs_CXX
21915 +# Compile-time system search path for libraries
21916 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21918 +# Run-time system search path for libraries
21919 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21921 +# Fix the shell variable \$srcfile for the compiler.
21922 +fix_srcfile_path="$fix_srcfile_path_CXX"
21924 +# Set to yes if exported symbols are required.
21925 +always_export_symbols=$always_export_symbols_CXX
21927 +# The commands to list exported symbols.
21928 +export_symbols_cmds=$lt_export_symbols_cmds_CXX
21930 +# The commands to extract the exported symbol list from a shared archive.
21931 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
21933 +# Symbols that should not be listed in the preloaded symbols.
21934 +exclude_expsyms=$lt_exclude_expsyms_CXX
21936 +# Symbols that must always be exported.
21937 +include_expsyms=$lt_include_expsyms_CXX
21939 +# ### END LIBTOOL TAG CONFIG: $tagname
21945 + # If there is no Makefile yet, we rely on a make rule to execute
21946 + # `config.status --recheck' to rerun these tests and create the
21947 + # libtool script then.
21948 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21949 + if test -f "$ltmain_in"; then
21950 + test -f Makefile && make "$ltmain"
21956 +ac_cpp='$CPP $CPPFLAGS'
21957 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21958 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21959 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
21965 +with_gnu_ldcxx=$with_gnu_ld
21966 +with_gnu_ld=$lt_save_with_gnu_ld
21967 +lt_cv_path_LDCXX=$lt_cv_path_LD
21968 +lt_cv_path_LD=$lt_save_path_LD
21969 +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21970 +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21978 + if test -n "$F77" && test "X$F77" != "Xno"; then
21981 +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21982 +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21983 +ac_compiler_gnu=$ac_cv_f77_compiler_gnu
21986 +archive_cmds_need_lc_F77=no
21987 +allow_undefined_flag_F77=
21988 +always_export_symbols_F77=no
21989 +archive_expsym_cmds_F77=
21990 +export_dynamic_flag_spec_F77=
21991 +hardcode_direct_F77=no
21992 +hardcode_libdir_flag_spec_F77=
21993 +hardcode_libdir_flag_spec_ld_F77=
21994 +hardcode_libdir_separator_F77=
21995 +hardcode_minus_L_F77=no
21996 +hardcode_automatic_F77=no
21998 +module_expsym_cmds_F77=
21999 +link_all_deplibs_F77=unknown
22000 +old_archive_cmds_F77=$old_archive_cmds
22001 +no_undefined_flag_F77=
22002 +whole_archive_flag_spec_F77=
22003 +enable_shared_with_static_runtimes_F77=no
22005 +# Source file extension for f77 test sources.
22008 +# Object file extension for compiled f77 test sources.
22010 +objext_F77=$objext
22012 +# Code to be used in simple compile tests
22013 +lt_simple_compile_test_code=" subroutine t\n return\n end\n"
22015 +# Code to be used in simple link tests
22016 +lt_simple_link_test_code=" program t\n end\n"
22018 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
22020 +# If no C compiler was specified, use CC.
22021 +LTCC=${LTCC-"$CC"}
22023 +# If no C compiler flags were specified, use CFLAGS.
22024 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
22026 +# Allow CC to be a program name with arguments.
22030 +# save warnings/boilerplate of simple test code
22031 +ac_outfile=conftest.$ac_objext
22032 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
22033 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
22034 +_lt_compiler_boilerplate=`cat conftest.err`
22037 +ac_outfile=conftest.$ac_objext
22038 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
22039 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
22040 +_lt_linker_boilerplate=`cat conftest.err`
22044 +# Allow CC to be a program name with arguments.
22049 +for cc_temp in $compiler""; do
22051 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22052 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22057 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22060 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
22061 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
22062 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
22063 +echo "${ECHO_T}$can_build_shared" >&6
22065 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
22066 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
22067 +test "$can_build_shared" = "no" && enable_shared=no
22069 +# On AIX, shared libraries and static libraries use the same namespace, and
22070 +# are all built from PIC.
22073 + test "$enable_shared" = yes && enable_static=no
22074 + if test -n "$RANLIB"; then
22075 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
22076 + postinstall_cmds='$RANLIB $lib'
22080 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
22081 + test "$enable_shared" = yes && enable_static=no
22085 +echo "$as_me:$LINENO: result: $enable_shared" >&5
22086 +echo "${ECHO_T}$enable_shared" >&6
22088 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
22089 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
22090 +# Make sure either enable_shared or enable_static is yes.
22091 +test "$enable_shared" = yes || enable_static=yes
22092 +echo "$as_me:$LINENO: result: $enable_static" >&5
22093 +echo "${ECHO_T}$enable_static" >&6
22098 +lt_prog_compiler_wl_F77=
22099 +lt_prog_compiler_pic_F77=
22100 +lt_prog_compiler_static_F77=
22102 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
22103 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
22105 + if test "$GCC" = yes; then
22106 + lt_prog_compiler_wl_F77='-Wl,'
22107 + lt_prog_compiler_static_F77='-static'
22111 + # All AIX code is PIC.
22112 + if test "$host_cpu" = ia64; then
22113 + # AIX 5 now supports IA64 processor
22114 + lt_prog_compiler_static_F77='-Bstatic'
22119 + # FIXME: we need at least 68020 code to build shared libraries, but
22120 + # adding the `-m68020' flag to GCC prevents building anything better,
22121 + # like `-m68040'.
22122 + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
22125 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
22126 + # PIC is the default for these OSes.
22129 + mingw* | pw32* | os2*)
22130 + # This hack is so that the source file can tell whether it is being
22131 + # built for inclusion in a dll (and should export symbols for example).
22132 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
22135 + darwin* | rhapsody*)
22136 + # PIC is the default on this platform
22137 + # Common symbols not allowed in MH_DYLIB files
22138 + lt_prog_compiler_pic_F77='-fno-common'
22142 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
22143 + # Instead, we relocate shared libraries at runtime.
22147 + # Just because we use GCC doesn't mean we suddenly get shared libraries
22148 + # on systems that don't support them.
22149 + lt_prog_compiler_can_build_shared_F77=no
22154 + if test -d /usr/nec; then
22155 + lt_prog_compiler_pic_F77=-Kconform_pic
22160 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22161 + # not for PA HP-UX.
22162 + case $host_cpu in
22167 + lt_prog_compiler_pic_F77='-fPIC'
22173 + lt_prog_compiler_pic_F77='-fPIC'
22177 + # PORTME Check for flag to pass linker flags through the system compiler.
22180 + lt_prog_compiler_wl_F77='-Wl,'
22181 + if test "$host_cpu" = ia64; then
22182 + # AIX 5 now supports IA64 processor
22183 + lt_prog_compiler_static_F77='-Bstatic'
22185 + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
22189 + # PIC is the default on this platform
22190 + # Common symbols not allowed in MH_DYLIB files
22191 + case $cc_basename in
22193 + lt_prog_compiler_pic_F77='-qnocommon'
22194 + lt_prog_compiler_wl_F77='-Wl,'
22199 + mingw* | pw32* | os2*)
22200 + # This hack is so that the source file can tell whether it is being
22201 + # built for inclusion in a dll (and should export symbols for example).
22202 + lt_prog_compiler_pic_F77='-DDLL_EXPORT'
22205 + hpux9* | hpux10* | hpux11*)
22206 + lt_prog_compiler_wl_F77='-Wl,'
22207 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
22208 + # not for PA HP-UX.
22209 + case $host_cpu in
22214 + lt_prog_compiler_pic_F77='+Z'
22217 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
22218 + lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
22221 + irix5* | irix6* | nonstopux*)
22222 + lt_prog_compiler_wl_F77='-Wl,'
22223 + # PIC (with -KPIC) is the default.
22224 + lt_prog_compiler_static_F77='-non_shared'
22228 + lt_prog_compiler_pic_F77='-KPIC'
22229 + lt_prog_compiler_static_F77='-Bstatic'
22233 + case $cc_basename in
22235 + lt_prog_compiler_wl_F77='-Wl,'
22236 + lt_prog_compiler_pic_F77='-KPIC'
22237 + lt_prog_compiler_static_F77='-static'
22239 + pgcc* | pgf77* | pgf90* | pgf95*)
22240 + # Portland Group compilers (*not* the Pentium gcc compiler,
22241 + # which looks to be a dead project)
22242 + lt_prog_compiler_wl_F77='-Wl,'
22243 + lt_prog_compiler_pic_F77='-fpic'
22244 + lt_prog_compiler_static_F77='-Bstatic'
22247 + lt_prog_compiler_wl_F77='-Wl,'
22248 + # All Alpha code is PIC.
22249 + lt_prog_compiler_static_F77='-non_shared'
22254 + osf3* | osf4* | osf5*)
22255 + lt_prog_compiler_wl_F77='-Wl,'
22256 + # All OSF/1 code is PIC.
22257 + lt_prog_compiler_static_F77='-non_shared'
22261 + lt_prog_compiler_pic_F77='-KPIC'
22262 + lt_prog_compiler_static_F77='-Bstatic'
22263 + case $cc_basename in
22264 + f77* | f90* | f95*)
22265 + lt_prog_compiler_wl_F77='-Qoption ld ';;
22267 + lt_prog_compiler_wl_F77='-Wl,';;
22272 + lt_prog_compiler_wl_F77='-Qoption ld '
22273 + lt_prog_compiler_pic_F77='-PIC'
22274 + lt_prog_compiler_static_F77='-Bstatic'
22277 + sysv4 | sysv4.2uw2* | sysv4.3*)
22278 + lt_prog_compiler_wl_F77='-Wl,'
22279 + lt_prog_compiler_pic_F77='-KPIC'
22280 + lt_prog_compiler_static_F77='-Bstatic'
22284 + if test -d /usr/nec ;then
22285 + lt_prog_compiler_pic_F77='-Kconform_pic'
22286 + lt_prog_compiler_static_F77='-Bstatic'
22290 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
22291 + lt_prog_compiler_wl_F77='-Wl,'
22292 + lt_prog_compiler_pic_F77='-KPIC'
22293 + lt_prog_compiler_static_F77='-Bstatic'
22297 + lt_prog_compiler_wl_F77='-Wl,'
22298 + lt_prog_compiler_can_build_shared_F77=no
22302 + lt_prog_compiler_pic_F77='-pic'
22303 + lt_prog_compiler_static_F77='-Bstatic'
22307 + lt_prog_compiler_can_build_shared_F77=no
22312 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
22313 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
22316 +# Check to make sure the PIC flag actually works.
22318 +if test -n "$lt_prog_compiler_pic_F77"; then
22320 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
22321 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
22322 +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
22323 + echo $ECHO_N "(cached) $ECHO_C" >&6
22325 + lt_prog_compiler_pic_works_F77=no
22326 + ac_outfile=conftest.$ac_objext
22327 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22328 + lt_compiler_flag="$lt_prog_compiler_pic_F77"
22329 + # Insert the option either (1) after the last *FLAGS variable, or
22330 + # (2) before a word containing "conftest.", or (3) at the end.
22331 + # Note that $ac_compile itself does not contain backslashes and begins
22332 + # with a dollar sign (not a hyphen), so the echo should work correctly.
22333 + # The option is referenced via a variable to avoid confusing sed.
22334 + lt_compile=`echo "$ac_compile" | $SED \
22335 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22336 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22337 + -e 's:$: $lt_compiler_flag:'`
22338 + (eval echo "\"\$as_me:12830: $lt_compile\"" >&5)
22339 + (eval "$lt_compile" 2>conftest.err)
22341 + cat conftest.err >&5
22342 + echo "$as_me:12834: \$? = $ac_status" >&5
22343 + if (exit $ac_status) && test -s "$ac_outfile"; then
22344 + # The compiler can only warn and ignore the option if not recognized
22345 + # So say no if there are warnings other than the usual output.
22346 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
22347 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22348 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
22349 + lt_prog_compiler_pic_works_F77=yes
22355 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
22356 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
22358 +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
22359 + case $lt_prog_compiler_pic_F77 in
22361 + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
22364 + lt_prog_compiler_pic_F77=
22365 + lt_prog_compiler_can_build_shared_F77=no
22370 + # For platforms which do not support PIC, -DPIC is meaningless:
22372 + lt_prog_compiler_pic_F77=
22375 + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
22380 +# Check to make sure the static flag actually works.
22382 +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
22383 +echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
22384 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
22385 +if test "${lt_prog_compiler_static_works_F77+set}" = set; then
22386 + echo $ECHO_N "(cached) $ECHO_C" >&6
22388 + lt_prog_compiler_static_works_F77=no
22389 + save_LDFLAGS="$LDFLAGS"
22390 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
22391 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
22392 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
22393 + # The linker can only warn and ignore the option if not recognized
22394 + # So say no if there are warnings
22395 + if test -s conftest.err; then
22396 + # Append any errors to the config.log.
22397 + cat conftest.err 1>&5
22398 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
22399 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
22400 + if diff conftest.exp conftest.er2 >/dev/null; then
22401 + lt_prog_compiler_static_works_F77=yes
22404 + lt_prog_compiler_static_works_F77=yes
22408 + LDFLAGS="$save_LDFLAGS"
22411 +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
22412 +echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
22414 +if test x"$lt_prog_compiler_static_works_F77" = xyes; then
22417 + lt_prog_compiler_static_F77=
22421 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22422 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
22423 +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
22424 + echo $ECHO_N "(cached) $ECHO_C" >&6
22426 + lt_cv_prog_compiler_c_o_F77=no
22427 + $rm -r conftest 2>/dev/null
22431 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
22433 + lt_compiler_flag="-o out/conftest2.$ac_objext"
22434 + # Insert the option either (1) after the last *FLAGS variable, or
22435 + # (2) before a word containing "conftest.", or (3) at the end.
22436 + # Note that $ac_compile itself does not contain backslashes and begins
22437 + # with a dollar sign (not a hyphen), so the echo should work correctly.
22438 + lt_compile=`echo "$ac_compile" | $SED \
22439 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22440 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22441 + -e 's:$: $lt_compiler_flag:'`
22442 + (eval echo "\"\$as_me:12934: $lt_compile\"" >&5)
22443 + (eval "$lt_compile" 2>out/conftest.err)
22445 + cat out/conftest.err >&5
22446 + echo "$as_me:12938: \$? = $ac_status" >&5
22447 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
22449 + # The compiler can only warn and ignore the option if not recognized
22450 + # So say no if there are warnings
22451 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
22452 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
22453 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22454 + lt_cv_prog_compiler_c_o_F77=yes
22459 + # SGI C++ compiler will create directory out/ii_files/ for
22460 + # template instantiation
22461 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
22462 + $rm out/* && rmdir out
22468 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
22469 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
22472 +hard_links="nottested"
22473 +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
22474 + # do not overwrite the value of need_locks provided by the user
22475 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22476 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
22479 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
22481 + ln conftest.a conftest.b 2>&5 || hard_links=no
22482 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
22483 + echo "$as_me:$LINENO: result: $hard_links" >&5
22484 +echo "${ECHO_T}$hard_links" >&6
22485 + if test "$hard_links" = no; then
22486 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22487 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22494 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22495 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
22498 + allow_undefined_flag_F77=
22499 + enable_shared_with_static_runtimes_F77=no
22500 + archive_cmds_F77=
22501 + archive_expsym_cmds_F77=
22502 + old_archive_From_new_cmds_F77=
22503 + old_archive_from_expsyms_cmds_F77=
22504 + export_dynamic_flag_spec_F77=
22505 + whole_archive_flag_spec_F77=
22506 + thread_safe_flag_spec_F77=
22507 + hardcode_libdir_flag_spec_F77=
22508 + hardcode_libdir_flag_spec_ld_F77=
22509 + hardcode_libdir_separator_F77=
22510 + hardcode_direct_F77=no
22511 + hardcode_minus_L_F77=no
22512 + hardcode_shlibpath_var_F77=unsupported
22513 + link_all_deplibs_F77=unknown
22514 + hardcode_automatic_F77=no
22516 + module_expsym_cmds_F77=
22517 + always_export_symbols_F77=no
22518 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22519 + # include_expsyms should be a list of space-separated symbols to be *always*
22520 + # included in the symbol list
22521 + include_expsyms_F77=
22522 + # exclude_expsyms can be an extended regexp of symbols to exclude
22523 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
22524 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
22525 + # as well as any symbol that contains `d'.
22526 + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
22527 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22528 + # platforms (ab)use it in PIC code, but their linkers get confused if
22529 + # the symbol is explicitly referenced. Since portable code cannot
22530 + # rely on this symbol name, it's probably fine to never include it in
22531 + # preloaded symbol tables.
22532 + extract_expsyms_cmds=
22533 + # Just being paranoid about ensuring that cc_basename is set.
22534 + for cc_temp in $compiler""; do
22536 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22537 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22542 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
22545 + cygwin* | mingw* | pw32*)
22546 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
22547 + # When not using gcc, we currently assume that we are using
22548 + # Microsoft Visual C++.
22549 + if test "$GCC" != yes; then
22554 + # we just hope/assume this is gcc and not c89 (= MSVC++)
22562 + ld_shlibs_F77=yes
22563 + if test "$with_gnu_ld" = yes; then
22564 + # If archive_cmds runs LD, not CC, wlarc should be empty
22567 + # Set some defaults for GNU ld with shared library support. These
22568 + # are reset later if shared libraries are not supported. Putting them
22569 + # here allows them to be overridden if necessary.
22570 + runpath_var=LD_RUN_PATH
22571 + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
22572 + export_dynamic_flag_spec_F77='${wl}--export-dynamic'
22573 + # ancient GNU ld didn't support --whole-archive et. al.
22574 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
22575 + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
22577 + whole_archive_flag_spec_F77=
22579 + supports_anon_versioning=no
22580 + case `$LD -v 2>/dev/null` in
22581 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
22582 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
22583 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
22584 + *\ 2.11.*) ;; # other 2.11 versions
22585 + *) supports_anon_versioning=yes ;;
22588 + # See if GNU ld supports shared libraries.
22590 + aix3* | aix4* | aix5*)
22591 + # On AIX/PPC, the GNU linker is very broken
22592 + if test "$host_cpu" != ia64; then
22596 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
22597 +*** to be unable to reliably create shared libraries on AIX.
22598 +*** Therefore, libtool is disabling shared libraries support. If you
22599 +*** really care for shared libraries, you may want to modify your PATH
22600 +*** so that a non-GNU linker is found, and then restart.
22607 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
22608 + hardcode_libdir_flag_spec_F77='-L$libdir'
22609 + hardcode_minus_L_F77=yes
22611 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22612 + # that the semantics of dynamic libraries on AmigaOS, at least up
22613 + # to version 4, is to share data among multiple programs linked
22614 + # with the same dynamic library. Since this doesn't match the
22615 + # behavior of shared libraries on other platforms, we can't use
22621 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22622 + allow_undefined_flag_F77=unsupported
22623 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22624 + # support --undefined. This deserves some investigation. FIXME
22625 + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22631 + cygwin* | mingw* | pw32*)
22632 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
22633 + # as there is no search path for DLLs.
22634 + hardcode_libdir_flag_spec_F77='-L$libdir'
22635 + allow_undefined_flag_F77=unsupported
22636 + always_export_symbols_F77=no
22637 + enable_shared_with_static_runtimes_F77=yes
22638 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
22640 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22641 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22642 + # If the export-symbols file already is a .def file (1st line
22643 + # is EXPORTS), use it as is; otherwise, prepend...
22644 + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22645 + cp $export_symbols $output_objdir/$soname.def;
22647 + echo EXPORTS > $output_objdir/$soname.def;
22648 + cat $export_symbols >> $output_objdir/$soname.def;
22650 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22657 + hardcode_direct_F77=no
22658 + hardcode_shlibpath_var_F77=no
22659 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22660 + export_dynamic_flag_spec_F77='${wl}-E'
22661 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
22662 + # Instead, shared libraries are loaded at an image base (0x10000000 by
22663 + # default) and relocated if they conflict, which is a slow very memory
22664 + # consuming and fragmenting process. To avoid this, we pick a random,
22665 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
22666 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
22667 + 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'
22668 + 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'
22672 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22674 + case $cc_basename,$host_cpu in
22675 + pgcc*) # Portland Group C compiler
22676 + 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'
22677 + tmp_addflag=' $pic_flag'
22679 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
22680 + 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'
22681 + tmp_addflag=' $pic_flag -Mnomain' ;;
22682 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
22683 + tmp_addflag=' -i_dynamic' ;;
22684 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
22685 + tmp_addflag=' -i_dynamic -nofor_main' ;;
22686 + ifc* | ifort*) # Intel Fortran compiler
22687 + tmp_addflag=' -nofor_main' ;;
22689 + archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22691 + if test $supports_anon_versioning = yes; then
22692 + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
22693 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22694 + $echo "local: *; };" >> $output_objdir/$libname.ver~
22695 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22697 + link_all_deplibs_F77=no
22703 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
22704 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22705 + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22708 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22709 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22714 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22718 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
22719 +*** create shared libraries on Solaris systems. Therefore, libtool
22720 +*** is disabling shared libraries support. We urge you to upgrade GNU
22721 +*** binutils to release 2.9.1 or newer. Another option is to modify
22722 +*** your PATH or compiler configuration so that the native linker is
22723 +*** used, and then restart.
22726 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22727 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22728 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22734 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
22735 + case `$LD -v 2>&1` in
22736 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
22738 + cat <<_LT_EOF 1>&2
22740 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
22741 +*** reliably create shared libraries on SCO systems. Therefore, libtool
22742 +*** is disabling shared libraries support. We urge you to upgrade GNU
22743 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
22744 +*** your PATH or compiler configuration so that the native linker is
22745 +*** used, and then restart.
22750 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22751 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
22752 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
22753 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
22762 + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22764 + hardcode_direct_F77=yes
22765 + hardcode_shlibpath_var_F77=no
22769 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22770 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22771 + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22778 + if test "$ld_shlibs_F77" = no; then
22780 + hardcode_libdir_flag_spec_F77=
22781 + export_dynamic_flag_spec_F77=
22782 + whole_archive_flag_spec_F77=
22785 + # PORTME fill in a description of your system's linker (not GNU ld)
22788 + allow_undefined_flag_F77=unsupported
22789 + always_export_symbols_F77=yes
22790 + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
22791 + # Note: this linker hardcodes the directories in LIBPATH if there
22792 + # are no directories specified by -L.
22793 + hardcode_minus_L_F77=yes
22794 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
22795 + # Neither direct hardcoding nor static linking is supported with a
22796 + # broken collect2.
22797 + hardcode_direct_F77=unsupported
22802 + if test "$host_cpu" = ia64; then
22803 + # On IA64, the linker does run time linking by default, so we don't
22804 + # have to do anything special.
22805 + aix_use_runtimelinking=no
22806 + exp_sym_flag='-Bexport'
22809 + # If we're using GNU nm, then we don't want the "-C" option.
22810 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
22811 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22812 + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22814 + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
22816 + aix_use_runtimelinking=no
22818 + # Test if we are trying to use run time linking or normal
22819 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22820 + # need to do runtime linking.
22821 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
22822 + for ld_flag in $LDFLAGS; do
22823 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
22824 + aix_use_runtimelinking=yes
22831 + exp_sym_flag='-bexport'
22832 + no_entry_flag='-bnoentry'
22835 + # When large executables or shared objects are built, AIX ld can
22836 + # have problems creating the table of contents. If linking a library
22837 + # or program results in "error TOC overflow" add -mminimal-toc to
22838 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22839 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22841 + archive_cmds_F77=''
22842 + hardcode_direct_F77=yes
22843 + hardcode_libdir_separator_F77=':'
22844 + link_all_deplibs_F77=yes
22846 + if test "$GCC" = yes; then
22847 + case $host_os in aix4.[012]|aix4.[012].*)
22848 + # We only want to do this on AIX 4.2 and lower, the check
22849 + # below for broken collect2 doesn't work under 4.3+
22850 + collect2name=`${CC} -print-prog-name=collect2`
22851 + if test -f "$collect2name" && \
22852 + strings "$collect2name" | grep resolve_lib_name >/dev/null
22854 + # We have reworked collect2
22855 + hardcode_direct_F77=yes
22857 + # We have old collect2
22858 + hardcode_direct_F77=unsupported
22859 + # It fails to find uninstalled libraries when the uninstalled
22860 + # path is not listed in the libpath. Setting hardcode_minus_L
22861 + # to unsupported forces relinking
22862 + hardcode_minus_L_F77=yes
22863 + hardcode_libdir_flag_spec_F77='-L$libdir'
22864 + hardcode_libdir_separator_F77=
22868 + shared_flag='-shared'
22869 + if test "$aix_use_runtimelinking" = yes; then
22870 + shared_flag="$shared_flag "'${wl}-G'
22874 + if test "$host_cpu" = ia64; then
22875 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22876 + # chokes on -Wl,-G. The following line is correct:
22879 + if test "$aix_use_runtimelinking" = yes; then
22880 + shared_flag='${wl}-G'
22882 + shared_flag='${wl}-bM:SRE'
22887 + # It seems that -bexpall does not export symbols beginning with
22888 + # underscore (_), so it is better to generate a list of symbols to export.
22889 + always_export_symbols_F77=yes
22890 + if test "$aix_use_runtimelinking" = yes; then
22891 + # Warning - without using the other runtime loading flags (-brtl),
22892 + # -berok will link without error, but may produce a broken library.
22893 + allow_undefined_flag_F77='-berok'
22894 + # Determine the default libpath from the value encoded in an empty executable.
22895 + cat >conftest.$ac_ext <<_ACEOF
22900 +rm -f conftest.$ac_objext conftest$ac_exeext
22901 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22902 + (eval $ac_link) 2>conftest.er1
22904 + grep -v '^ *+' conftest.er1 >conftest.err
22905 + rm -f conftest.er1
22906 + cat conftest.err >&5
22907 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 + (exit $ac_status); } &&
22909 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22910 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22911 + (eval $ac_try) 2>&5
22913 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22914 + (exit $ac_status); }; } &&
22915 + { ac_try='test -s conftest$ac_exeext'
22916 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22917 + (eval $ac_try) 2>&5
22919 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 + (exit $ac_status); }; }; then
22922 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22924 +# Check for a 64-bit object if we didn't find anything.
22925 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22928 + echo "$as_me: failed program was:" >&5
22929 +sed 's/^/| /' conftest.$ac_ext >&5
22932 +rm -f conftest.err conftest.$ac_objext \
22933 + conftest$ac_exeext conftest.$ac_ext
22934 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22936 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22937 + 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"
22939 + if test "$host_cpu" = ia64; then
22940 + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22941 + allow_undefined_flag_F77="-z nodefs"
22942 + 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"
22944 + # Determine the default libpath from the value encoded in an empty executable.
22945 + cat >conftest.$ac_ext <<_ACEOF
22950 +rm -f conftest.$ac_objext conftest$ac_exeext
22951 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22952 + (eval $ac_link) 2>conftest.er1
22954 + grep -v '^ *+' conftest.er1 >conftest.err
22955 + rm -f conftest.er1
22956 + cat conftest.err >&5
22957 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 + (exit $ac_status); } &&
22959 + { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
22960 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22961 + (eval $ac_try) 2>&5
22963 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 + (exit $ac_status); }; } &&
22965 + { ac_try='test -s conftest$ac_exeext'
22966 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 + (eval $ac_try) 2>&5
22969 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 + (exit $ac_status); }; }; then
22972 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22974 +# Check for a 64-bit object if we didn't find anything.
22975 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
22978 + echo "$as_me: failed program was:" >&5
22979 +sed 's/^/| /' conftest.$ac_ext >&5
22982 +rm -f conftest.err conftest.$ac_objext \
22983 + conftest$ac_exeext conftest.$ac_ext
22984 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22986 + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22987 + # Warning - without using the other run time loading flags,
22988 + # -berok will link without error, but may produce a broken library.
22989 + no_undefined_flag_F77=' ${wl}-bernotok'
22990 + allow_undefined_flag_F77=' ${wl}-berok'
22991 + # Exported symbols can be pulled into shared objects from archives
22992 + whole_archive_flag_spec_F77='$convenience'
22993 + archive_cmds_need_lc_F77=yes
22994 + # This is similar to how AIX traditionally builds its shared libraries.
22995 + 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'
23001 + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
23002 + hardcode_libdir_flag_spec_F77='-L$libdir'
23003 + hardcode_minus_L_F77=yes
23004 + # see comment about different semantics on the GNU ld section
23009 + export_dynamic_flag_spec_F77=-rdynamic
23012 + cygwin* | mingw* | pw32*)
23013 + # When not using gcc, we currently assume that we are using
23014 + # Microsoft Visual C++.
23015 + # hardcode_libdir_flag_spec is actually meaningless, as there is
23016 + # no search path for DLLs.
23017 + hardcode_libdir_flag_spec_F77=' '
23018 + allow_undefined_flag_F77=unsupported
23019 + # Tell ltmain to make .lib files, not .a files.
23021 + # Tell ltmain to make .dll files, not .so files.
23022 + shrext_cmds=".dll"
23023 + # FIXME: Setting linknames here is a bad hack.
23024 + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
23025 + # The linker will automatically build a .lib file if we build a DLL.
23026 + old_archive_From_new_cmds_F77='true'
23027 + # FIXME: Should let the user specify the lib program.
23028 + old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
23029 + fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
23030 + enable_shared_with_static_runtimes_F77=yes
23033 + darwin* | rhapsody*)
23035 + rhapsody* | darwin1.[012])
23036 + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
23038 + *) # Darwin 1.3 on
23039 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
23040 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23042 + case ${MACOSX_DEPLOYMENT_TARGET} in
23044 + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
23047 + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
23053 + archive_cmds_need_lc_F77=no
23054 + hardcode_direct_F77=no
23055 + hardcode_automatic_F77=yes
23056 + hardcode_shlibpath_var_F77=unsupported
23057 + whole_archive_flag_spec_F77=''
23058 + link_all_deplibs_F77=yes
23059 + if test "$GCC" = yes ; then
23060 + output_verbose_link_cmd='echo'
23061 + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
23062 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23063 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
23064 + 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}'
23065 + 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}'
23067 + case $cc_basename in
23069 + output_verbose_link_cmd='echo'
23070 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
23071 + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
23072 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
23073 + 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}'
23074 + 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}'
23084 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23085 + hardcode_libdir_flag_spec_F77='-L$libdir'
23086 + hardcode_shlibpath_var_F77=no
23093 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
23094 + # support. Future versions do this automatically, but an explicit c++rt0.o
23095 + # does not break anything, and helps significantly (at the cost of a little
23098 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
23099 + hardcode_libdir_flag_spec_F77='-R$libdir'
23100 + hardcode_direct_F77=yes
23101 + hardcode_shlibpath_var_F77=no
23104 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
23106 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23107 + hardcode_direct_F77=yes
23108 + hardcode_minus_L_F77=yes
23109 + hardcode_shlibpath_var_F77=no
23112 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
23113 + freebsd* | dragonfly*)
23114 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
23115 + hardcode_libdir_flag_spec_F77='-R$libdir'
23116 + hardcode_direct_F77=yes
23117 + hardcode_shlibpath_var_F77=no
23120 + # GNU/kFreeBSD uses gcc -shared to do shared libraries.
23122 + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
23123 + hardcode_libdir_flag_spec_F77='-R$libdir'
23124 + hardcode_direct_F77=yes
23125 + hardcode_shlibpath_var_F77=no
23126 + link_all_deplibs_F77=no
23130 + if test "$GCC" = yes; then
23131 + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
23133 + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
23135 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
23136 + hardcode_libdir_separator_F77=:
23137 + hardcode_direct_F77=yes
23139 + # hardcode_minus_L: Not really in the search PATH,
23140 + # but as the default location of the library.
23141 + hardcode_minus_L_F77=yes
23142 + export_dynamic_flag_spec_F77='${wl}-E'
23146 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
23147 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23149 + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
23151 + if test "$with_gnu_ld" = no; then
23152 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
23153 + hardcode_libdir_separator_F77=:
23155 + hardcode_direct_F77=yes
23156 + export_dynamic_flag_spec_F77='${wl}-E'
23158 + # hardcode_minus_L: Not really in the search PATH,
23159 + # but as the default location of the library.
23160 + hardcode_minus_L_F77=yes
23165 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
23166 + case $host_cpu in
23168 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23171 + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
23174 + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23178 + case $host_cpu in
23180 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23183 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
23186 + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23190 + if test "$with_gnu_ld" = no; then
23191 + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
23192 + hardcode_libdir_separator_F77=:
23194 + case $host_cpu in
23196 + hardcode_libdir_flag_spec_ld_F77='+b $libdir'
23197 + hardcode_direct_F77=no
23198 + hardcode_shlibpath_var_F77=no
23201 + hardcode_direct_F77=yes
23202 + export_dynamic_flag_spec_F77='${wl}-E'
23204 + # hardcode_minus_L: Not really in the search PATH,
23205 + # but as the default location of the library.
23206 + hardcode_minus_L_F77=yes
23212 + irix5* | irix6* | nonstopux*)
23213 + if test "$GCC" = yes; then
23214 + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
23216 + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
23217 + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
23219 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
23220 + hardcode_libdir_separator_F77=:
23221 + link_all_deplibs_F77=yes
23224 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
23225 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23226 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
23228 + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
23230 + hardcode_libdir_flag_spec_F77='-R$libdir'
23231 + hardcode_direct_F77=yes
23232 + hardcode_shlibpath_var_F77=no
23236 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23237 + hardcode_direct_F77=yes
23238 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
23239 + hardcode_libdir_separator_F77=:
23240 + hardcode_shlibpath_var_F77=no
23244 + hardcode_direct_F77=yes
23245 + hardcode_shlibpath_var_F77=no
23246 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23247 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23248 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
23249 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
23250 + export_dynamic_flag_spec_F77='${wl}-E'
23253 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
23254 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
23255 + hardcode_libdir_flag_spec_F77='-R$libdir'
23258 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23259 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
23266 + hardcode_libdir_flag_spec_F77='-L$libdir'
23267 + hardcode_minus_L_F77=yes
23268 + allow_undefined_flag_F77=unsupported
23269 + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
23270 + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
23274 + if test "$GCC" = yes; then
23275 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
23276 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
23278 + allow_undefined_flag_F77=' -expect_unresolved \*'
23279 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
23281 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
23282 + hardcode_libdir_separator_F77=:
23285 + osf4* | osf5*) # as osf3* with the addition of -msym flag
23286 + if test "$GCC" = yes; then
23287 + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
23288 + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
23289 + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
23291 + allow_undefined_flag_F77=' -expect_unresolved \*'
23292 + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
23293 + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
23294 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
23296 + # Both c and cxx compiler support -rpath directly
23297 + hardcode_libdir_flag_spec_F77='-rpath $libdir'
23299 + hardcode_libdir_separator_F77=:
23303 + no_undefined_flag_F77=' -z text'
23304 + if test "$GCC" = yes; then
23306 + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
23307 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23308 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
23311 + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
23312 + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
23313 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
23315 + hardcode_libdir_flag_spec_F77='-R$libdir'
23316 + hardcode_shlibpath_var_F77=no
23318 + solaris2.[0-5] | solaris2.[0-5].*) ;;
23320 + # The compiler driver will combine linker options so we
23321 + # cannot just pass the convience library names through
23322 + # without $wl, iff we do not link with $LD.
23323 + # Luckily, gcc supports the same syntax we need for Sun Studio.
23324 + # Supported since Solaris 2.6 (maybe 2.5.1?)
23327 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
23329 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
23332 + link_all_deplibs_F77=yes
23336 + if test "x$host_vendor" = xsequent; then
23337 + # Use $CC to link under sequent, because it throws in some extra .o
23338 + # files that make .init and .fini sections work.
23339 + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
23341 + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
23343 + hardcode_libdir_flag_spec_F77='-L$libdir'
23344 + hardcode_direct_F77=yes
23345 + hardcode_minus_L_F77=yes
23346 + hardcode_shlibpath_var_F77=no
23350 + case $host_vendor in
23352 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23353 + hardcode_direct_F77=yes # is this really true???
23356 + ## LD is ld it makes a PLAMLIB
23357 + ## CC just makes a GrossModule.
23358 + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23359 + reload_cmds_F77='$CC -r -o $output$reload_objs'
23360 + hardcode_direct_F77=no
23363 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23364 + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
23367 + runpath_var='LD_RUN_PATH'
23368 + hardcode_shlibpath_var_F77=no
23372 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23373 + hardcode_shlibpath_var_F77=no
23374 + export_dynamic_flag_spec_F77='-Bexport'
23378 + if test -d /usr/nec; then
23379 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23380 + hardcode_shlibpath_var_F77=no
23381 + runpath_var=LD_RUN_PATH
23382 + hardcode_runpath_var=yes
23383 + ld_shlibs_F77=yes
23387 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
23388 + no_undefined_flag_F77='${wl}-z,text'
23389 + archive_cmds_need_lc_F77=no
23390 + hardcode_shlibpath_var_F77=no
23391 + runpath_var='LD_RUN_PATH'
23393 + if test "$GCC" = yes; then
23394 + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23395 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23397 + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23398 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23402 + sysv5* | sco3.2v5* | sco5v6*)
23403 + # Note: We can NOT use -z defs as we might desire, because we do not
23404 + # link with -lc, and that would cause any symbols used from libc to
23405 + # always be unresolved, which means just about no library would
23406 + # ever link correctly. If we're not using GNU ld we use -z text
23407 + # though, which does catch some bad symbols but isn't as heavy-handed
23409 + no_undefined_flag_F77='${wl}-z,text'
23410 + allow_undefined_flag_F77='${wl}-z,nodefs'
23411 + archive_cmds_need_lc_F77=no
23412 + hardcode_shlibpath_var_F77=no
23413 + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
23414 + hardcode_libdir_separator_F77=':'
23415 + link_all_deplibs_F77=yes
23416 + export_dynamic_flag_spec_F77='${wl}-Bexport'
23417 + runpath_var='LD_RUN_PATH'
23419 + if test "$GCC" = yes; then
23420 + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23421 + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23423 + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23424 + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
23429 + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23430 + hardcode_libdir_flag_spec_F77='-L$libdir'
23431 + hardcode_shlibpath_var_F77=no
23440 +echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
23441 +echo "${ECHO_T}$ld_shlibs_F77" >&6
23442 +test "$ld_shlibs_F77" = no && can_build_shared=no
23445 +# Do we need to explicitly link libc?
23447 +case "x$archive_cmds_need_lc_F77" in
23449 + # Assume -lc should be added
23450 + archive_cmds_need_lc_F77=yes
23452 + if test "$enable_shared" = yes && test "$GCC" = yes; then
23453 + case $archive_cmds_F77 in
23455 + # FIXME: we may have to deal with multi-command sequences.
23458 + # Test whether the compiler implicitly links with -lc since on some
23459 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
23460 + # to ld, don't add -lc before -lgcc.
23461 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
23462 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
23464 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
23466 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23467 + (eval $ac_compile) 2>&5
23469 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 + (exit $ac_status); } 2>conftest.err; then
23473 + libobjs=conftest.$ac_objext
23475 + wl=$lt_prog_compiler_wl_F77
23476 + pic_flag=$lt_prog_compiler_pic_F77
23477 + compiler_flags=-v
23482 + lt_save_allow_undefined_flag=$allow_undefined_flag_F77
23483 + allow_undefined_flag_F77=
23484 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
23485 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
23487 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488 + (exit $ac_status); }
23490 + archive_cmds_need_lc_F77=no
23492 + archive_cmds_need_lc_F77=yes
23494 + allow_undefined_flag_F77=$lt_save_allow_undefined_flag
23496 + cat conftest.err 1>&5
23499 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
23500 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
23507 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
23508 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
23509 +library_names_spec=
23510 +libname_spec='lib$name'
23514 +postuninstall_cmds=
23518 +shlibpath_overrides_runpath=unknown
23520 +dynamic_linker="$host_os ld.so"
23521 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
23522 +if test "$GCC" = yes; then
23523 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23524 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
23525 + # if the path contains ";" then we assume it to be the separator
23526 + # otherwise default to the standard path separator (i.e. ":") - it is
23527 + # assumed that no part of a normal pathname contains ";" but that should
23528 + # okay in the real world where ";" in dirpaths is itself problematic.
23529 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23531 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23534 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
23536 +need_lib_prefix=unknown
23537 +hardcode_into_libs=no
23539 +# when you set need_version to no, make sure it does not cause -set_version
23540 +# flags to be left without arguments
23541 +need_version=unknown
23545 + version_type=linux
23546 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
23547 + shlibpath_var=LIBPATH
23549 + # AIX 3 has no versioning support, so we append a major version to the name.
23550 + soname_spec='${libname}${release}${shared_ext}$major'
23554 + version_type=linux
23555 + need_lib_prefix=no
23557 + hardcode_into_libs=yes
23558 + if test "$host_cpu" = ia64; then
23559 + # AIX 5 supports IA64
23560 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
23561 + shlibpath_var=LD_LIBRARY_PATH
23563 + # With GCC up to 2.95.x, collect2 would create an import file
23564 + # for dependence libraries. The import file would start with
23565 + # the line `#! .'. This would cause the generated library to
23566 + # depend on `.', always an invalid library. This was fixed in
23567 + # development snapshots of GCC prior to 3.0.
23569 + aix4 | aix4.[01] | aix4.[01].*)
23570 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23572 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
23575 + can_build_shared=no
23579 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
23580 + # soname into executable. Probably we can add versioning support to
23581 + # collect2, so additional links can be useful in future.
23582 + if test "$aix_use_runtimelinking" = yes; then
23583 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23584 + # instead of lib<name>.a to let people know that these are not
23585 + # typical AIX shared libraries.
23586 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23588 + # We preserve .a as extension for shared libraries through AIX4.2
23589 + # and later when we are not doing run time linking.
23590 + library_names_spec='${libname}${release}.a $libname.a'
23591 + soname_spec='${libname}${release}${shared_ext}$major'
23593 + shlibpath_var=LIBPATH
23598 + library_names_spec='$libname.ixlibrary $libname.a'
23599 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
23600 + 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'
23604 + library_names_spec='${libname}${shared_ext}'
23605 + dynamic_linker="$host_os ld.so"
23606 + shlibpath_var=LIBRARY_PATH
23610 + version_type=linux
23612 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23613 + soname_spec='${libname}${release}${shared_ext}$major'
23614 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23615 + shlibpath_var=LD_LIBRARY_PATH
23616 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23617 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23618 + # the default ld.so.conf also contains /usr/contrib/lib and
23619 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23620 + # libtool to hard-code these into programs
23623 +cygwin* | mingw* | pw32*)
23624 + version_type=windows
23625 + shrext_cmds=".dll"
23627 + need_lib_prefix=no
23629 + case $GCC,$host_os in
23630 + yes,cygwin* | yes,mingw* | yes,pw32*)
23631 + library_names_spec='$libname.dll.a'
23632 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
23633 + postinstall_cmds='base_file=`basename \${file}`~
23634 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23635 + dldir=$destdir/`dirname \$dlpath`~
23636 + test -d \$dldir || mkdir -p \$dldir~
23637 + $install_prog $dir/$dlname \$dldir/$dlname~
23638 + chmod a+x \$dldir/$dlname'
23639 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23640 + dlpath=$dir/\$dldll~
23642 + shlibpath_overrides_runpath=yes
23646 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23647 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23648 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
23651 + # MinGW DLLs use traditional 'lib' prefix
23652 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23653 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23654 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
23655 + # It is most probably a Windows format PATH printed by
23656 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
23657 + # path with ; separators, and with drive letters. We can handle the
23658 + # drive letters (cygwin fileutils understands them), so leave them,
23659 + # especially as we might pass files found there to a mingw objdump,
23660 + # which wouldn't understand a cygwinified path. Ahh.
23661 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23663 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23667 + # pw32 DLLs use 'pw' prefix rather than 'lib'
23668 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23674 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23677 + dynamic_linker='Win32 ld.exe'
23678 + # FIXME: first we should search . and the directory the executable is in
23679 + shlibpath_var=PATH
23682 +darwin* | rhapsody*)
23683 + dynamic_linker="$host_os dyld"
23684 + version_type=darwin
23685 + need_lib_prefix=no
23687 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23688 + soname_spec='${libname}${release}${major}$shared_ext'
23689 + shlibpath_overrides_runpath=yes
23690 + shlibpath_var=DYLD_LIBRARY_PATH
23691 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
23692 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
23693 + if test "$GCC" = yes; then
23694 + 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"`
23696 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
23698 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23702 + version_type=linux
23703 + need_lib_prefix=no
23705 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23706 + soname_spec='${libname}${release}${shared_ext}$major'
23707 + shlibpath_var=LD_LIBRARY_PATH
23711 + dynamic_linker=no
23715 + version_type=linux
23716 + need_lib_prefix=no
23718 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23719 + soname_spec='${libname}${release}${shared_ext}$major'
23720 + shlibpath_var=LD_LIBRARY_PATH
23721 + shlibpath_overrides_runpath=no
23722 + hardcode_into_libs=yes
23723 + dynamic_linker='GNU ld.so'
23726 +freebsd* | dragonfly*)
23727 + # DragonFly does not have aout. When/if they implement a new
23728 + # versioning mechanism, adjust this.
23729 + if test -x /usr/bin/objformat; then
23730 + objformat=`/usr/bin/objformat`
23733 + freebsd[123]*) objformat=aout ;;
23734 + *) objformat=elf ;;
23737 + version_type=freebsd-$objformat
23738 + case $version_type in
23740 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23742 + need_lib_prefix=no
23745 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23749 + shlibpath_var=LD_LIBRARY_PATH
23752 + shlibpath_overrides_runpath=yes
23754 + freebsd3.[01]* | freebsdelf3.[01]*)
23755 + shlibpath_overrides_runpath=yes
23756 + hardcode_into_libs=yes
23758 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
23759 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
23760 + shlibpath_overrides_runpath=no
23761 + hardcode_into_libs=yes
23763 + freebsd*) # from 4.6 on
23764 + shlibpath_overrides_runpath=yes
23765 + hardcode_into_libs=yes
23771 + version_type=linux
23772 + need_lib_prefix=no
23774 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23775 + soname_spec='${libname}${release}${shared_ext}$major'
23776 + shlibpath_var=LD_LIBRARY_PATH
23777 + hardcode_into_libs=yes
23780 +hpux9* | hpux10* | hpux11*)
23781 + # Give a soname corresponding to the major version so that dld.sl refuses to
23782 + # link against other versions.
23783 + version_type=sunos
23784 + need_lib_prefix=no
23786 + case $host_cpu in
23788 + shrext_cmds='.so'
23789 + hardcode_into_libs=yes
23790 + dynamic_linker="$host_os dld.so"
23791 + shlibpath_var=LD_LIBRARY_PATH
23792 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23793 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23794 + soname_spec='${libname}${release}${shared_ext}$major'
23795 + if test "X$HPUX_IA64_MODE" = X32; then
23796 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23798 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23800 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23803 + shrext_cmds='.sl'
23804 + hardcode_into_libs=yes
23805 + dynamic_linker="$host_os dld.sl"
23806 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23807 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23808 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23809 + soname_spec='${libname}${release}${shared_ext}$major'
23810 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23811 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23814 + shrext_cmds='.sl'
23815 + dynamic_linker="$host_os dld.sl"
23816 + shlibpath_var=SHLIB_PATH
23817 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23818 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23819 + soname_spec='${libname}${release}${shared_ext}$major'
23822 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
23823 + postinstall_cmds='chmod 555 $lib'
23827 + version_type=linux
23828 + need_lib_prefix=no
23830 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23831 + soname_spec='${libname}${release}${shared_ext}$major'
23832 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
23833 + shlibpath_var=LD_LIBRARY_PATH
23834 + shlibpath_overrides_runpath=no
23835 + hardcode_into_libs=yes
23838 +irix5* | irix6* | nonstopux*)
23840 + nonstopux*) version_type=nonstopux ;;
23842 + if test "$lt_cv_prog_gnu_ld" = yes; then
23843 + version_type=linux
23845 + version_type=irix
23848 + need_lib_prefix=no
23850 + soname_spec='${libname}${release}${shared_ext}$major'
23851 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23853 + irix5* | nonstopux*)
23854 + libsuff= shlibsuff=
23857 + case $LD in # libtool.m4 will add one of these switches to LD
23858 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23859 + libsuff= shlibsuff= libmagic=32-bit;;
23860 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23861 + libsuff=32 shlibsuff=N32 libmagic=N32;;
23862 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23863 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
23864 + *) libsuff= shlibsuff= libmagic=never-match;;
23868 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23869 + shlibpath_overrides_runpath=no
23870 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23871 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
23872 + hardcode_into_libs=yes
23875 +# No shared lib support for Linux oldld, aout, or coff.
23876 +linux*oldld* | linux*aout* | linux*coff*)
23877 + dynamic_linker=no
23880 +# This must be Linux ELF.
23882 + version_type=linux
23883 + need_lib_prefix=no
23885 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23886 + soname_spec='${libname}${release}${shared_ext}$major'
23887 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23888 + shlibpath_var=LD_LIBRARY_PATH
23889 + shlibpath_overrides_runpath=no
23890 + # This implies no fast_install, which is unacceptable.
23891 + # Some rework will be needed to allow for fast_install
23892 + # before this can be enabled.
23893 + hardcode_into_libs=yes
23895 + # Append ld.so.conf contents to the search path
23896 + if test -f /etc/ld.so.conf; then
23897 + 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' ' '`
23898 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
23901 + # We used to test for /lib/ld.so.1 and disable shared libraries on
23902 + # powerpc, because MkLinux only supported shared libraries with the
23903 + # GNU dynamic linker. Since this was broken with cross compilers,
23904 + # most powerpc-linux boxes support dynamic linking these days and
23905 + # people can always --disable-shared, the test was removed, and we
23906 + # assume the GNU/Linux dynamic linker is in use.
23907 + dynamic_linker='GNU/Linux ld.so'
23911 + version_type=linux
23912 + need_lib_prefix=no
23914 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23915 + soname_spec='${libname}${release}${shared_ext}$major'
23916 + shlibpath_var=LD_LIBRARY_PATH
23917 + shlibpath_overrides_runpath=no
23918 + hardcode_into_libs=yes
23919 + dynamic_linker='NetBSD ld.elf_so'
23923 + version_type=linux
23924 + need_lib_prefix=no
23926 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23927 + soname_spec='${libname}${release}${shared_ext}$major'
23928 + shlibpath_var=LD_LIBRARY_PATH
23929 + shlibpath_overrides_runpath=no
23930 + hardcode_into_libs=yes
23931 + dynamic_linker='GNU ld.so'
23935 + version_type=sunos
23936 + need_lib_prefix=no
23938 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23939 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23940 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23941 + dynamic_linker='NetBSD (a.out) ld.so'
23943 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23944 + soname_spec='${libname}${release}${shared_ext}$major'
23945 + dynamic_linker='NetBSD ld.elf_so'
23947 + shlibpath_var=LD_LIBRARY_PATH
23948 + shlibpath_overrides_runpath=yes
23949 + hardcode_into_libs=yes
23953 + version_type=linux
23954 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23955 + shlibpath_var=LD_LIBRARY_PATH
23956 + shlibpath_overrides_runpath=yes
23960 + version_type=linux
23961 + need_lib_prefix=no
23963 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23964 + soname_spec='${libname}${release}${shared_ext}$major'
23965 + shlibpath_var=LD_LIBRARY_PATH
23966 + shlibpath_overrides_runpath=yes
23970 + version_type=sunos
23971 + sys_lib_dlsearch_path_spec="/usr/lib"
23972 + need_lib_prefix=no
23973 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23975 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
23976 + *) need_version=no ;;
23978 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23979 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23980 + shlibpath_var=LD_LIBRARY_PATH
23981 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23983 + openbsd2.[89] | openbsd2.[89].*)
23984 + shlibpath_overrides_runpath=no
23987 + shlibpath_overrides_runpath=yes
23991 + shlibpath_overrides_runpath=yes
23996 + libname_spec='$name'
23997 + shrext_cmds=".dll"
23998 + need_lib_prefix=no
23999 + library_names_spec='$libname${shared_ext} $libname.a'
24000 + dynamic_linker='OS/2 ld.exe'
24001 + shlibpath_var=LIBPATH
24004 +osf3* | osf4* | osf5*)
24006 + need_lib_prefix=no
24008 + soname_spec='${libname}${release}${shared_ext}$major'
24009 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24010 + shlibpath_var=LD_LIBRARY_PATH
24011 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
24012 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
24016 + version_type=linux
24017 + need_lib_prefix=no
24019 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24020 + soname_spec='${libname}${release}${shared_ext}$major'
24021 + shlibpath_var=LD_LIBRARY_PATH
24022 + shlibpath_overrides_runpath=yes
24023 + hardcode_into_libs=yes
24024 + # ldd complains unless libraries are executable
24025 + postinstall_cmds='chmod +x $lib'
24029 + version_type=sunos
24030 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
24031 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
24032 + shlibpath_var=LD_LIBRARY_PATH
24033 + shlibpath_overrides_runpath=yes
24034 + if test "$with_gnu_ld" = yes; then
24035 + need_lib_prefix=no
24041 + version_type=linux
24042 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24043 + soname_spec='${libname}${release}${shared_ext}$major'
24044 + shlibpath_var=LD_LIBRARY_PATH
24045 + case $host_vendor in
24047 + shlibpath_overrides_runpath=no
24048 + need_lib_prefix=no
24049 + export_dynamic_flag_spec='${wl}-Blargedynsym'
24050 + runpath_var=LD_RUN_PATH
24053 + need_lib_prefix=no
24056 + need_lib_prefix=no
24058 + shlibpath_overrides_runpath=no
24059 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
24065 + if test -d /usr/nec ;then
24066 + version_type=linux
24067 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
24068 + soname_spec='$libname${shared_ext}.$major'
24069 + shlibpath_var=LD_LIBRARY_PATH
24073 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
24074 + version_type=freebsd-elf
24075 + need_lib_prefix=no
24077 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
24078 + soname_spec='${libname}${release}${shared_ext}$major'
24079 + shlibpath_var=LD_LIBRARY_PATH
24080 + hardcode_into_libs=yes
24081 + if test "$with_gnu_ld" = yes; then
24082 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
24083 + shlibpath_overrides_runpath=no
24085 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
24086 + shlibpath_overrides_runpath=yes
24089 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
24093 + sys_lib_dlsearch_path_spec='/usr/lib'
24097 + version_type=linux
24098 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
24099 + soname_spec='${libname}${release}${shared_ext}$major'
24100 + shlibpath_var=LD_LIBRARY_PATH
24104 + dynamic_linker=no
24107 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
24108 +echo "${ECHO_T}$dynamic_linker" >&6
24109 +test "$dynamic_linker" = no && can_build_shared=no
24111 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24112 +if test "$GCC" = yes; then
24113 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24116 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
24117 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
24118 +hardcode_action_F77=
24119 +if test -n "$hardcode_libdir_flag_spec_F77" || \
24120 + test -n "$runpath_var_F77" || \
24121 + test "X$hardcode_automatic_F77" = "Xyes" ; then
24123 + # We can hardcode non-existant directories.
24124 + if test "$hardcode_direct_F77" != no &&
24125 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
24126 + # have to relink, otherwise we might link with an installed library
24127 + # when we should be linking with a yet-to-be-installed one
24128 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
24129 + test "$hardcode_minus_L_F77" != no; then
24130 + # Linking always hardcodes the temporary library directory.
24131 + hardcode_action_F77=relink
24133 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
24134 + hardcode_action_F77=immediate
24137 + # We cannot hardcode anything, or else we can only hardcode existing
24139 + hardcode_action_F77=unsupported
24141 +echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
24142 +echo "${ECHO_T}$hardcode_action_F77" >&6
24144 +if test "$hardcode_action_F77" = relink; then
24145 + # Fast installation is not supported
24146 + enable_fast_install=no
24147 +elif test "$shlibpath_overrides_runpath" = yes ||
24148 + test "$enable_shared" = no; then
24149 + # Fast installation is not necessary
24150 + enable_fast_install=needless
24154 +# The else clause should only fire when bootstrapping the
24155 +# libtool distribution, otherwise you forgot to ship ltmain.sh
24156 +# with your package, and you will get complaints that there are
24157 +# no rules to generate ltmain.sh.
24158 +if test -f "$ltmain"; then
24159 + # See if we are running on zsh, and set the options which allow our commands through
24160 + # without removal of \ escapes.
24161 + if test -n "${ZSH_VERSION+set}" ; then
24162 + setopt NO_GLOB_SUBST
24164 + # Now quote all the things that may contain metacharacters while being
24165 + # careful not to overquote the AC_SUBSTed values. We take copies of the
24166 + # variables and quote the copies for generation of the libtool script.
24167 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
24168 + SED SHELL STRIP \
24169 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
24170 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
24171 + deplibs_check_method reload_flag reload_cmds need_locks \
24172 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
24173 + lt_cv_sys_global_symbol_to_c_name_address \
24174 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
24175 + old_postinstall_cmds old_postuninstall_cmds \
24179 + lt_prog_compiler_wl_F77 \
24180 + lt_prog_compiler_pic_F77 \
24181 + lt_prog_compiler_static_F77 \
24182 + lt_prog_compiler_no_builtin_flag_F77 \
24183 + export_dynamic_flag_spec_F77 \
24184 + thread_safe_flag_spec_F77 \
24185 + whole_archive_flag_spec_F77 \
24186 + enable_shared_with_static_runtimes_F77 \
24187 + old_archive_cmds_F77 \
24188 + old_archive_from_new_cmds_F77 \
24189 + predep_objects_F77 \
24190 + postdep_objects_F77 \
24193 + compiler_lib_search_path_F77 \
24194 + archive_cmds_F77 \
24195 + archive_expsym_cmds_F77 \
24196 + postinstall_cmds_F77 \
24197 + postuninstall_cmds_F77 \
24198 + old_archive_from_expsyms_cmds_F77 \
24199 + allow_undefined_flag_F77 \
24200 + no_undefined_flag_F77 \
24201 + export_symbols_cmds_F77 \
24202 + hardcode_libdir_flag_spec_F77 \
24203 + hardcode_libdir_flag_spec_ld_F77 \
24204 + hardcode_libdir_separator_F77 \
24205 + hardcode_automatic_F77 \
24206 + module_cmds_F77 \
24207 + module_expsym_cmds_F77 \
24208 + lt_cv_prog_compiler_c_o_F77 \
24209 + exclude_expsyms_F77 \
24210 + include_expsyms_F77; do
24213 + old_archive_cmds_F77 | \
24214 + old_archive_from_new_cmds_F77 | \
24215 + archive_cmds_F77 | \
24216 + archive_expsym_cmds_F77 | \
24217 + module_cmds_F77 | \
24218 + module_expsym_cmds_F77 | \
24219 + old_archive_from_expsyms_cmds_F77 | \
24220 + export_symbols_cmds_F77 | \
24221 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
24222 + postinstall_cmds | postuninstall_cmds | \
24223 + old_postinstall_cmds | old_postuninstall_cmds | \
24224 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
24225 + # Double-quote double-evaled strings.
24226 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
24229 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
24235 + *'\$0 --fallback-echo"')
24236 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
24242 + cat <<__EOF__ >> "$cfgfile"
24243 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
24245 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24247 +# Shell to use when invoking shell scripts.
24250 +# Whether or not to build shared libraries.
24251 +build_libtool_libs=$enable_shared
24253 +# Whether or not to build static libraries.
24254 +build_old_libs=$enable_static
24256 +# Whether or not to add -lc for building shared libraries.
24257 +build_libtool_need_lc=$archive_cmds_need_lc_F77
24259 +# Whether or not to disallow shared libs when runtime libs are static
24260 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
24262 +# Whether or not to optimize for fast installation.
24263 +fast_install=$enable_fast_install
24265 +# The host system.
24266 +host_alias=$host_alias
24270 +# The build system.
24271 +build_alias=$build_alias
24273 +build_os=$build_os
24275 +# An echo program that does not interpret backslashes.
24280 +AR_FLAGS=$lt_AR_FLAGS
24285 +# LTCC compiler flags.
24286 +LTCFLAGS=$lt_LTCFLAGS
24288 +# A language-specific compiler.
24289 +CC=$lt_compiler_F77
24291 +# Is the compiler the GNU C compiler?
24297 +# The linker used to build libraries.
24300 +# Whether we need hard or soft links.
24303 +# A BSD-compatible nm program.
24306 +# A symbol stripping program
24309 +# Used to examine libraries when file_magic_cmd begins "file"
24310 +MAGIC_CMD=$MAGIC_CMD
24312 +# Used on cygwin: DLL creation program.
24313 +DLLTOOL="$DLLTOOL"
24315 +# Used on cygwin: object dumper.
24316 +OBJDUMP="$OBJDUMP"
24318 +# Used on cygwin: assembler.
24321 +# The name of the directory that contains temporary libtool files.
24324 +# How to create reloadable object files.
24325 +reload_flag=$lt_reload_flag
24326 +reload_cmds=$lt_reload_cmds
24328 +# How to pass a linker flag through the compiler.
24329 +wl=$lt_lt_prog_compiler_wl_F77
24331 +# Object file suffix (normally "o").
24332 +objext="$ac_objext"
24334 +# Old archive suffix (normally "a").
24337 +# Shared library suffix (normally ".so").
24338 +shrext_cmds='$shrext_cmds'
24340 +# Executable file suffix (normally "").
24343 +# Additional compiler flags for building library objects.
24344 +pic_flag=$lt_lt_prog_compiler_pic_F77
24345 +pic_mode=$pic_mode
24347 +# What is the maximum length of a command?
24348 +max_cmd_len=$lt_cv_sys_max_cmd_len
24350 +# Does compiler simultaneously support -c and -o options?
24351 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
24353 +# Must we lock files when doing compilation?
24354 +need_locks=$lt_need_locks
24356 +# Do we need the lib prefix for modules?
24357 +need_lib_prefix=$need_lib_prefix
24359 +# Do we need a version for libraries?
24360 +need_version=$need_version
24362 +# Whether dlopen is supported.
24363 +dlopen_support=$enable_dlopen
24365 +# Whether dlopen of programs is supported.
24366 +dlopen_self=$enable_dlopen_self
24368 +# Whether dlopen of statically linked programs is supported.
24369 +dlopen_self_static=$enable_dlopen_self_static
24371 +# Compiler flag to prevent dynamic linking.
24372 +link_static_flag=$lt_lt_prog_compiler_static_F77
24374 +# Compiler flag to turn off builtin functions.
24375 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
24377 +# Compiler flag to allow reflexive dlopens.
24378 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
24380 +# Compiler flag to generate shared objects directly from archives.
24381 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
24383 +# Compiler flag to generate thread-safe objects.
24384 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
24386 +# Library versioning type.
24387 +version_type=$version_type
24389 +# Format of library name prefix.
24390 +libname_spec=$lt_libname_spec
24392 +# List of archive names. First name is the real one, the rest are links.
24393 +# The last name is the one that the linker finds with -lNAME.
24394 +library_names_spec=$lt_library_names_spec
24396 +# The coded name of the library, if different from the real name.
24397 +soname_spec=$lt_soname_spec
24399 +# Commands used to build and install an old-style archive.
24401 +old_archive_cmds=$lt_old_archive_cmds_F77
24402 +old_postinstall_cmds=$lt_old_postinstall_cmds
24403 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
24405 +# Create an old-style archive from a shared archive.
24406 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
24408 +# Create a temporary old-style archive to link instead of a shared archive.
24409 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
24411 +# Commands used to build and install a shared archive.
24412 +archive_cmds=$lt_archive_cmds_F77
24413 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77
24414 +postinstall_cmds=$lt_postinstall_cmds
24415 +postuninstall_cmds=$lt_postuninstall_cmds
24417 +# Commands used to build a loadable module (assumed same as above if empty)
24418 +module_cmds=$lt_module_cmds_F77
24419 +module_expsym_cmds=$lt_module_expsym_cmds_F77
24421 +# Commands to strip libraries.
24422 +old_striplib=$lt_old_striplib
24423 +striplib=$lt_striplib
24425 +# Dependencies to place before the objects being linked to create a
24427 +predep_objects=$lt_predep_objects_F77
24429 +# Dependencies to place after the objects being linked to create a
24431 +postdep_objects=$lt_postdep_objects_F77
24433 +# Dependencies to place before the objects being linked to create a
24435 +predeps=$lt_predeps_F77
24437 +# Dependencies to place after the objects being linked to create a
24439 +postdeps=$lt_postdeps_F77
24441 +# The library search path used internally by the compiler when linking
24442 +# a shared library.
24443 +compiler_lib_search_path=$lt_compiler_lib_search_path_F77
24445 +# Method to check whether dependent libraries are shared objects.
24446 +deplibs_check_method=$lt_deplibs_check_method
24448 +# Command to use when deplibs_check_method == file_magic.
24449 +file_magic_cmd=$lt_file_magic_cmd
24451 +# Flag that allows shared libraries with undefined symbols to be built.
24452 +allow_undefined_flag=$lt_allow_undefined_flag_F77
24454 +# Flag that forces no undefined symbols.
24455 +no_undefined_flag=$lt_no_undefined_flag_F77
24457 +# Commands used to finish a libtool library installation in a directory.
24458 +finish_cmds=$lt_finish_cmds
24460 +# Same as above, but a single script fragment to be evaled but not shown.
24461 +finish_eval=$lt_finish_eval
24463 +# Take the output of nm and produce a listing of raw symbols and C names.
24464 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24466 +# Transform the output of nm in a proper C declaration
24467 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24469 +# Transform the output of nm in a C name address pair
24470 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24472 +# This is the shared library runtime path variable.
24473 +runpath_var=$runpath_var
24475 +# This is the shared library path variable.
24476 +shlibpath_var=$shlibpath_var
24478 +# Is shlibpath searched before the hard-coded library search path?
24479 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24481 +# How to hardcode a shared library path into an executable.
24482 +hardcode_action=$hardcode_action_F77
24484 +# Whether we should hardcode library paths into libraries.
24485 +hardcode_into_libs=$hardcode_into_libs
24487 +# Flag to hardcode \$libdir into a binary during linking.
24488 +# This must work even if \$libdir does not exist.
24489 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
24491 +# If ld is used when linking, flag to hardcode \$libdir into
24492 +# a binary during linking. This must work even if \$libdir does
24494 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
24496 +# Whether we need a single -rpath flag with a separated argument.
24497 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
24499 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
24500 +# resulting binary.
24501 +hardcode_direct=$hardcode_direct_F77
24503 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
24504 +# resulting binary.
24505 +hardcode_minus_L=$hardcode_minus_L_F77
24507 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
24508 +# the resulting binary.
24509 +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
24511 +# Set to yes if building a shared library automatically hardcodes DIR into the library
24512 +# and all subsequent libraries and executables linked against it.
24513 +hardcode_automatic=$hardcode_automatic_F77
24515 +# Variables whose values should be saved in libtool wrapper scripts and
24516 +# restored at relink time.
24517 +variables_saved_for_relink="$variables_saved_for_relink"
24519 +# Whether libtool must link a program against all its dependency libraries.
24520 +link_all_deplibs=$link_all_deplibs_F77
24522 +# Compile-time system search path for libraries
24523 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24525 +# Run-time system search path for libraries
24526 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24528 +# Fix the shell variable \$srcfile for the compiler.
24529 +fix_srcfile_path="$fix_srcfile_path_F77"
24531 +# Set to yes if exported symbols are required.
24532 +always_export_symbols=$always_export_symbols_F77
24534 +# The commands to list exported symbols.
24535 +export_symbols_cmds=$lt_export_symbols_cmds_F77
24537 +# The commands to extract the exported symbol list from a shared archive.
24538 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
24540 +# Symbols that should not be listed in the preloaded symbols.
24541 +exclude_expsyms=$lt_exclude_expsyms_F77
24543 +# Symbols that must always be exported.
24544 +include_expsyms=$lt_include_expsyms_F77
24546 +# ### END LIBTOOL TAG CONFIG: $tagname
24552 + # If there is no Makefile yet, we rely on a make rule to execute
24553 + # `config.status --recheck' to rerun these tests and create the
24554 + # libtool script then.
24555 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
24556 + if test -f "$ltmain_in"; then
24557 + test -f Makefile && make "$ltmain"
24563 +ac_cpp='$CPP $CPPFLAGS'
24564 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24565 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24566 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
24576 + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
24580 +# Source file extension for Java test sources.
24583 +# Object file extension for compiled Java test sources.
24585 +objext_GCJ=$objext
24587 +# Code to be used in simple compile tests
24588 +lt_simple_compile_test_code="class foo {}\n"
24590 +# Code to be used in simple link tests
24591 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
24593 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
24595 +# If no C compiler was specified, use CC.
24596 +LTCC=${LTCC-"$CC"}
24598 +# If no C compiler flags were specified, use CFLAGS.
24599 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
24601 +# Allow CC to be a program name with arguments.
24605 +# save warnings/boilerplate of simple test code
24606 +ac_outfile=conftest.$ac_objext
24607 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
24608 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24609 +_lt_compiler_boilerplate=`cat conftest.err`
24612 +ac_outfile=conftest.$ac_objext
24613 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
24614 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24615 +_lt_linker_boilerplate=`cat conftest.err`
24619 +# Allow CC to be a program name with arguments.
24624 +for cc_temp in $compiler""; do
24626 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24627 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24632 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24635 +# GCJ did not exist at the time GCC didn't implicitly link libc in.
24636 +archive_cmds_need_lc_GCJ=no
24638 +old_archive_cmds_GCJ=$old_archive_cmds
24641 +lt_prog_compiler_no_builtin_flag_GCJ=
24643 +if test "$GCC" = yes; then
24644 + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
24647 +echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
24648 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
24649 +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
24650 + echo $ECHO_N "(cached) $ECHO_C" >&6
24652 + lt_cv_prog_compiler_rtti_exceptions=no
24653 + ac_outfile=conftest.$ac_objext
24654 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24655 + lt_compiler_flag="-fno-rtti -fno-exceptions"
24656 + # Insert the option either (1) after the last *FLAGS variable, or
24657 + # (2) before a word containing "conftest.", or (3) at the end.
24658 + # Note that $ac_compile itself does not contain backslashes and begins
24659 + # with a dollar sign (not a hyphen), so the echo should work correctly.
24660 + # The option is referenced via a variable to avoid confusing sed.
24661 + lt_compile=`echo "$ac_compile" | $SED \
24662 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24663 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24664 + -e 's:$: $lt_compiler_flag:'`
24665 + (eval echo "\"\$as_me:15157: $lt_compile\"" >&5)
24666 + (eval "$lt_compile" 2>conftest.err)
24668 + cat conftest.err >&5
24669 + echo "$as_me:15161: \$? = $ac_status" >&5
24670 + if (exit $ac_status) && test -s "$ac_outfile"; then
24671 + # The compiler can only warn and ignore the option if not recognized
24672 + # So say no if there are warnings other than the usual output.
24673 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24674 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24675 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24676 + lt_cv_prog_compiler_rtti_exceptions=yes
24682 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
24683 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
24685 +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
24686 + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
24693 +lt_prog_compiler_wl_GCJ=
24694 +lt_prog_compiler_pic_GCJ=
24695 +lt_prog_compiler_static_GCJ=
24697 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
24698 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
24700 + if test "$GCC" = yes; then
24701 + lt_prog_compiler_wl_GCJ='-Wl,'
24702 + lt_prog_compiler_static_GCJ='-static'
24706 + # All AIX code is PIC.
24707 + if test "$host_cpu" = ia64; then
24708 + # AIX 5 now supports IA64 processor
24709 + lt_prog_compiler_static_GCJ='-Bstatic'
24714 + # FIXME: we need at least 68020 code to build shared libraries, but
24715 + # adding the `-m68020' flag to GCC prevents building anything better,
24716 + # like `-m68040'.
24717 + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
24720 + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
24721 + # PIC is the default for these OSes.
24724 + mingw* | pw32* | os2*)
24725 + # This hack is so that the source file can tell whether it is being
24726 + # built for inclusion in a dll (and should export symbols for example).
24727 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
24730 + darwin* | rhapsody*)
24731 + # PIC is the default on this platform
24732 + # Common symbols not allowed in MH_DYLIB files
24733 + lt_prog_compiler_pic_GCJ='-fno-common'
24737 + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24738 + # Instead, we relocate shared libraries at runtime.
24742 + # Just because we use GCC doesn't mean we suddenly get shared libraries
24743 + # on systems that don't support them.
24744 + lt_prog_compiler_can_build_shared_GCJ=no
24749 + if test -d /usr/nec; then
24750 + lt_prog_compiler_pic_GCJ=-Kconform_pic
24755 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24756 + # not for PA HP-UX.
24757 + case $host_cpu in
24762 + lt_prog_compiler_pic_GCJ='-fPIC'
24768 + lt_prog_compiler_pic_GCJ='-fPIC'
24772 + # PORTME Check for flag to pass linker flags through the system compiler.
24775 + lt_prog_compiler_wl_GCJ='-Wl,'
24776 + if test "$host_cpu" = ia64; then
24777 + # AIX 5 now supports IA64 processor
24778 + lt_prog_compiler_static_GCJ='-Bstatic'
24780 + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
24784 + # PIC is the default on this platform
24785 + # Common symbols not allowed in MH_DYLIB files
24786 + case $cc_basename in
24788 + lt_prog_compiler_pic_GCJ='-qnocommon'
24789 + lt_prog_compiler_wl_GCJ='-Wl,'
24794 + mingw* | pw32* | os2*)
24795 + # This hack is so that the source file can tell whether it is being
24796 + # built for inclusion in a dll (and should export symbols for example).
24797 + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
24800 + hpux9* | hpux10* | hpux11*)
24801 + lt_prog_compiler_wl_GCJ='-Wl,'
24802 + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24803 + # not for PA HP-UX.
24804 + case $host_cpu in
24809 + lt_prog_compiler_pic_GCJ='+Z'
24812 + # Is there a better lt_prog_compiler_static that works with the bundled CC?
24813 + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
24816 + irix5* | irix6* | nonstopux*)
24817 + lt_prog_compiler_wl_GCJ='-Wl,'
24818 + # PIC (with -KPIC) is the default.
24819 + lt_prog_compiler_static_GCJ='-non_shared'
24823 + lt_prog_compiler_pic_GCJ='-KPIC'
24824 + lt_prog_compiler_static_GCJ='-Bstatic'
24828 + case $cc_basename in
24830 + lt_prog_compiler_wl_GCJ='-Wl,'
24831 + lt_prog_compiler_pic_GCJ='-KPIC'
24832 + lt_prog_compiler_static_GCJ='-static'
24834 + pgcc* | pgf77* | pgf90* | pgf95*)
24835 + # Portland Group compilers (*not* the Pentium gcc compiler,
24836 + # which looks to be a dead project)
24837 + lt_prog_compiler_wl_GCJ='-Wl,'
24838 + lt_prog_compiler_pic_GCJ='-fpic'
24839 + lt_prog_compiler_static_GCJ='-Bstatic'
24842 + lt_prog_compiler_wl_GCJ='-Wl,'
24843 + # All Alpha code is PIC.
24844 + lt_prog_compiler_static_GCJ='-non_shared'
24849 + osf3* | osf4* | osf5*)
24850 + lt_prog_compiler_wl_GCJ='-Wl,'
24851 + # All OSF/1 code is PIC.
24852 + lt_prog_compiler_static_GCJ='-non_shared'
24856 + lt_prog_compiler_pic_GCJ='-KPIC'
24857 + lt_prog_compiler_static_GCJ='-Bstatic'
24858 + case $cc_basename in
24859 + f77* | f90* | f95*)
24860 + lt_prog_compiler_wl_GCJ='-Qoption ld ';;
24862 + lt_prog_compiler_wl_GCJ='-Wl,';;
24867 + lt_prog_compiler_wl_GCJ='-Qoption ld '
24868 + lt_prog_compiler_pic_GCJ='-PIC'
24869 + lt_prog_compiler_static_GCJ='-Bstatic'
24872 + sysv4 | sysv4.2uw2* | sysv4.3*)
24873 + lt_prog_compiler_wl_GCJ='-Wl,'
24874 + lt_prog_compiler_pic_GCJ='-KPIC'
24875 + lt_prog_compiler_static_GCJ='-Bstatic'
24879 + if test -d /usr/nec ;then
24880 + lt_prog_compiler_pic_GCJ='-Kconform_pic'
24881 + lt_prog_compiler_static_GCJ='-Bstatic'
24885 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
24886 + lt_prog_compiler_wl_GCJ='-Wl,'
24887 + lt_prog_compiler_pic_GCJ='-KPIC'
24888 + lt_prog_compiler_static_GCJ='-Bstatic'
24892 + lt_prog_compiler_wl_GCJ='-Wl,'
24893 + lt_prog_compiler_can_build_shared_GCJ=no
24897 + lt_prog_compiler_pic_GCJ='-pic'
24898 + lt_prog_compiler_static_GCJ='-Bstatic'
24902 + lt_prog_compiler_can_build_shared_GCJ=no
24907 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
24908 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
24911 +# Check to make sure the PIC flag actually works.
24913 +if test -n "$lt_prog_compiler_pic_GCJ"; then
24915 +echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
24916 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
24917 +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
24918 + echo $ECHO_N "(cached) $ECHO_C" >&6
24920 + lt_prog_compiler_pic_works_GCJ=no
24921 + ac_outfile=conftest.$ac_objext
24922 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
24923 + lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
24924 + # Insert the option either (1) after the last *FLAGS variable, or
24925 + # (2) before a word containing "conftest.", or (3) at the end.
24926 + # Note that $ac_compile itself does not contain backslashes and begins
24927 + # with a dollar sign (not a hyphen), so the echo should work correctly.
24928 + # The option is referenced via a variable to avoid confusing sed.
24929 + lt_compile=`echo "$ac_compile" | $SED \
24930 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24931 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24932 + -e 's:$: $lt_compiler_flag:'`
24933 + (eval echo "\"\$as_me:15425: $lt_compile\"" >&5)
24934 + (eval "$lt_compile" 2>conftest.err)
24936 + cat conftest.err >&5
24937 + echo "$as_me:15429: \$? = $ac_status" >&5
24938 + if (exit $ac_status) && test -s "$ac_outfile"; then
24939 + # The compiler can only warn and ignore the option if not recognized
24940 + # So say no if there are warnings other than the usual output.
24941 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24942 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24943 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24944 + lt_prog_compiler_pic_works_GCJ=yes
24950 +echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
24951 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
24953 +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
24954 + case $lt_prog_compiler_pic_GCJ in
24956 + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
24959 + lt_prog_compiler_pic_GCJ=
24960 + lt_prog_compiler_can_build_shared_GCJ=no
24965 + # For platforms which do not support PIC, -DPIC is meaningless:
24967 + lt_prog_compiler_pic_GCJ=
24970 + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
24975 +# Check to make sure the static flag actually works.
24977 +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
24978 +echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24979 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
24980 +if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
24981 + echo $ECHO_N "(cached) $ECHO_C" >&6
24983 + lt_prog_compiler_static_works_GCJ=no
24984 + save_LDFLAGS="$LDFLAGS"
24985 + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24986 + printf "$lt_simple_link_test_code" > conftest.$ac_ext
24987 + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
24988 + # The linker can only warn and ignore the option if not recognized
24989 + # So say no if there are warnings
24990 + if test -s conftest.err; then
24991 + # Append any errors to the config.log.
24992 + cat conftest.err 1>&5
24993 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
24994 + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24995 + if diff conftest.exp conftest.er2 >/dev/null; then
24996 + lt_prog_compiler_static_works_GCJ=yes
24999 + lt_prog_compiler_static_works_GCJ=yes
25003 + LDFLAGS="$save_LDFLAGS"
25006 +echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
25007 +echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
25009 +if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
25012 + lt_prog_compiler_static_GCJ=
25016 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
25017 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
25018 +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
25019 + echo $ECHO_N "(cached) $ECHO_C" >&6
25021 + lt_cv_prog_compiler_c_o_GCJ=no
25022 + $rm -r conftest 2>/dev/null
25026 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
25028 + lt_compiler_flag="-o out/conftest2.$ac_objext"
25029 + # Insert the option either (1) after the last *FLAGS variable, or
25030 + # (2) before a word containing "conftest.", or (3) at the end.
25031 + # Note that $ac_compile itself does not contain backslashes and begins
25032 + # with a dollar sign (not a hyphen), so the echo should work correctly.
25033 + lt_compile=`echo "$ac_compile" | $SED \
25034 + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25035 + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25036 + -e 's:$: $lt_compiler_flag:'`
25037 + (eval echo "\"\$as_me:15529: $lt_compile\"" >&5)
25038 + (eval "$lt_compile" 2>out/conftest.err)
25040 + cat out/conftest.err >&5
25041 + echo "$as_me:15533: \$? = $ac_status" >&5
25042 + if (exit $ac_status) && test -s out/conftest2.$ac_objext
25044 + # The compiler can only warn and ignore the option if not recognized
25045 + # So say no if there are warnings
25046 + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
25047 + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25048 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25049 + lt_cv_prog_compiler_c_o_GCJ=yes
25054 + # SGI C++ compiler will create directory out/ii_files/ for
25055 + # template instantiation
25056 + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
25057 + $rm out/* && rmdir out
25063 +echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
25064 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
25067 +hard_links="nottested"
25068 +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
25069 + # do not overwrite the value of need_locks provided by the user
25070 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
25071 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
25074 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
25076 + ln conftest.a conftest.b 2>&5 || hard_links=no
25077 + ln conftest.a conftest.b 2>/dev/null && hard_links=no
25078 + echo "$as_me:$LINENO: result: $hard_links" >&5
25079 +echo "${ECHO_T}$hard_links" >&6
25080 + if test "$hard_links" = no; then
25081 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
25082 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
25089 +echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25090 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
25093 + allow_undefined_flag_GCJ=
25094 + enable_shared_with_static_runtimes_GCJ=no
25095 + archive_cmds_GCJ=
25096 + archive_expsym_cmds_GCJ=
25097 + old_archive_From_new_cmds_GCJ=
25098 + old_archive_from_expsyms_cmds_GCJ=
25099 + export_dynamic_flag_spec_GCJ=
25100 + whole_archive_flag_spec_GCJ=
25101 + thread_safe_flag_spec_GCJ=
25102 + hardcode_libdir_flag_spec_GCJ=
25103 + hardcode_libdir_flag_spec_ld_GCJ=
25104 + hardcode_libdir_separator_GCJ=
25105 + hardcode_direct_GCJ=no
25106 + hardcode_minus_L_GCJ=no
25107 + hardcode_shlibpath_var_GCJ=unsupported
25108 + link_all_deplibs_GCJ=unknown
25109 + hardcode_automatic_GCJ=no
25111 + module_expsym_cmds_GCJ=
25112 + always_export_symbols_GCJ=no
25113 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
25114 + # include_expsyms should be a list of space-separated symbols to be *always*
25115 + # included in the symbol list
25116 + include_expsyms_GCJ=
25117 + # exclude_expsyms can be an extended regexp of symbols to exclude
25118 + # it will be wrapped by ` (' and `)$', so one must not match beginning or
25119 + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
25120 + # as well as any symbol that contains `d'.
25121 + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
25122 + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
25123 + # platforms (ab)use it in PIC code, but their linkers get confused if
25124 + # the symbol is explicitly referenced. Since portable code cannot
25125 + # rely on this symbol name, it's probably fine to never include it in
25126 + # preloaded symbol tables.
25127 + extract_expsyms_cmds=
25128 + # Just being paranoid about ensuring that cc_basename is set.
25129 + for cc_temp in $compiler""; do
25131 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25132 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25137 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
25140 + cygwin* | mingw* | pw32*)
25141 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
25142 + # When not using gcc, we currently assume that we are using
25143 + # Microsoft Visual C++.
25144 + if test "$GCC" != yes; then
25149 + # we just hope/assume this is gcc and not c89 (= MSVC++)
25157 + ld_shlibs_GCJ=yes
25158 + if test "$with_gnu_ld" = yes; then
25159 + # If archive_cmds runs LD, not CC, wlarc should be empty
25162 + # Set some defaults for GNU ld with shared library support. These
25163 + # are reset later if shared libraries are not supported. Putting them
25164 + # here allows them to be overridden if necessary.
25165 + runpath_var=LD_RUN_PATH
25166 + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
25167 + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
25168 + # ancient GNU ld didn't support --whole-archive et. al.
25169 + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
25170 + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
25172 + whole_archive_flag_spec_GCJ=
25174 + supports_anon_versioning=no
25175 + case `$LD -v 2>/dev/null` in
25176 + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
25177 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
25178 + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
25179 + *\ 2.11.*) ;; # other 2.11 versions
25180 + *) supports_anon_versioning=yes ;;
25183 + # See if GNU ld supports shared libraries.
25185 + aix3* | aix4* | aix5*)
25186 + # On AIX/PPC, the GNU linker is very broken
25187 + if test "$host_cpu" != ia64; then
25191 +*** Warning: the GNU linker, at least up to release 2.9.1, is reported
25192 +*** to be unable to reliably create shared libraries on AIX.
25193 +*** Therefore, libtool is disabling shared libraries support. If you
25194 +*** really care for shared libraries, you may want to modify your PATH
25195 +*** so that a non-GNU linker is found, and then restart.
25202 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
25203 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25204 + hardcode_minus_L_GCJ=yes
25206 + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
25207 + # that the semantics of dynamic libraries on AmigaOS, at least up
25208 + # to version 4, is to share data among multiple programs linked
25209 + # with the same dynamic library. Since this doesn't match the
25210 + # behavior of shared libraries on other platforms, we can't use
25216 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25217 + allow_undefined_flag_GCJ=unsupported
25218 + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
25219 + # support --undefined. This deserves some investigation. FIXME
25220 + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25226 + cygwin* | mingw* | pw32*)
25227 + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
25228 + # as there is no search path for DLLs.
25229 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25230 + allow_undefined_flag_GCJ=unsupported
25231 + always_export_symbols_GCJ=no
25232 + enable_shared_with_static_runtimes_GCJ=yes
25233 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
25235 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
25236 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25237 + # If the export-symbols file already is a .def file (1st line
25238 + # is EXPORTS), use it as is; otherwise, prepend...
25239 + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
25240 + cp $export_symbols $output_objdir/$soname.def;
25242 + echo EXPORTS > $output_objdir/$soname.def;
25243 + cat $export_symbols >> $output_objdir/$soname.def;
25245 + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25252 + hardcode_direct_GCJ=no
25253 + hardcode_shlibpath_var_GCJ=no
25254 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25255 + export_dynamic_flag_spec_GCJ='${wl}-E'
25256 + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
25257 + # Instead, shared libraries are loaded at an image base (0x10000000 by
25258 + # default) and relocated if they conflict, which is a slow very memory
25259 + # consuming and fragmenting process. To avoid this, we pick a random,
25260 + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
25261 + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
25262 + 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'
25263 + 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'
25267 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25269 + case $cc_basename,$host_cpu in
25270 + pgcc*) # Portland Group C compiler
25271 + 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'
25272 + tmp_addflag=' $pic_flag'
25274 + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
25275 + 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'
25276 + tmp_addflag=' $pic_flag -Mnomain' ;;
25277 + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
25278 + tmp_addflag=' -i_dynamic' ;;
25279 + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
25280 + tmp_addflag=' -i_dynamic -nofor_main' ;;
25281 + ifc* | ifort*) # Intel Fortran compiler
25282 + tmp_addflag=' -nofor_main' ;;
25284 + archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25286 + if test $supports_anon_versioning = yes; then
25287 + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
25288 + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25289 + $echo "local: *; };" >> $output_objdir/$libname.ver~
25290 + $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
25292 + link_all_deplibs_GCJ=no
25298 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
25299 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25300 + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
25303 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25304 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
25309 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
25313 +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
25314 +*** create shared libraries on Solaris systems. Therefore, libtool
25315 +*** is disabling shared libraries support. We urge you to upgrade GNU
25316 +*** binutils to release 2.9.1 or newer. Another option is to modify
25317 +*** your PATH or compiler configuration so that the native linker is
25318 +*** used, and then restart.
25321 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25322 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25323 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
25329 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
25330 + case `$LD -v 2>&1` in
25331 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
25333 + cat <<_LT_EOF 1>&2
25335 +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
25336 +*** reliably create shared libraries on SCO systems. Therefore, libtool
25337 +*** is disabling shared libraries support. We urge you to upgrade GNU
25338 +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
25339 +*** your PATH or compiler configuration so that the native linker is
25340 +*** used, and then restart.
25345 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25346 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
25347 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
25348 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
25357 + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25359 + hardcode_direct_GCJ=yes
25360 + hardcode_shlibpath_var_GCJ=no
25364 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
25365 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
25366 + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
25373 + if test "$ld_shlibs_GCJ" = no; then
25375 + hardcode_libdir_flag_spec_GCJ=
25376 + export_dynamic_flag_spec_GCJ=
25377 + whole_archive_flag_spec_GCJ=
25380 + # PORTME fill in a description of your system's linker (not GNU ld)
25383 + allow_undefined_flag_GCJ=unsupported
25384 + always_export_symbols_GCJ=yes
25385 + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
25386 + # Note: this linker hardcodes the directories in LIBPATH if there
25387 + # are no directories specified by -L.
25388 + hardcode_minus_L_GCJ=yes
25389 + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
25390 + # Neither direct hardcoding nor static linking is supported with a
25391 + # broken collect2.
25392 + hardcode_direct_GCJ=unsupported
25397 + if test "$host_cpu" = ia64; then
25398 + # On IA64, the linker does run time linking by default, so we don't
25399 + # have to do anything special.
25400 + aix_use_runtimelinking=no
25401 + exp_sym_flag='-Bexport'
25404 + # If we're using GNU nm, then we don't want the "-C" option.
25405 + # -C means demangle to AIX nm, but means don't demangle with GNU nm
25406 + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
25407 + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
25409 + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
25411 + aix_use_runtimelinking=no
25413 + # Test if we are trying to use run time linking or normal
25414 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
25415 + # need to do runtime linking.
25416 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
25417 + for ld_flag in $LDFLAGS; do
25418 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
25419 + aix_use_runtimelinking=yes
25426 + exp_sym_flag='-bexport'
25427 + no_entry_flag='-bnoentry'
25430 + # When large executables or shared objects are built, AIX ld can
25431 + # have problems creating the table of contents. If linking a library
25432 + # or program results in "error TOC overflow" add -mminimal-toc to
25433 + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
25434 + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
25436 + archive_cmds_GCJ=''
25437 + hardcode_direct_GCJ=yes
25438 + hardcode_libdir_separator_GCJ=':'
25439 + link_all_deplibs_GCJ=yes
25441 + if test "$GCC" = yes; then
25442 + case $host_os in aix4.[012]|aix4.[012].*)
25443 + # We only want to do this on AIX 4.2 and lower, the check
25444 + # below for broken collect2 doesn't work under 4.3+
25445 + collect2name=`${CC} -print-prog-name=collect2`
25446 + if test -f "$collect2name" && \
25447 + strings "$collect2name" | grep resolve_lib_name >/dev/null
25449 + # We have reworked collect2
25450 + hardcode_direct_GCJ=yes
25452 + # We have old collect2
25453 + hardcode_direct_GCJ=unsupported
25454 + # It fails to find uninstalled libraries when the uninstalled
25455 + # path is not listed in the libpath. Setting hardcode_minus_L
25456 + # to unsupported forces relinking
25457 + hardcode_minus_L_GCJ=yes
25458 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25459 + hardcode_libdir_separator_GCJ=
25463 + shared_flag='-shared'
25464 + if test "$aix_use_runtimelinking" = yes; then
25465 + shared_flag="$shared_flag "'${wl}-G'
25469 + if test "$host_cpu" = ia64; then
25470 + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
25471 + # chokes on -Wl,-G. The following line is correct:
25474 + if test "$aix_use_runtimelinking" = yes; then
25475 + shared_flag='${wl}-G'
25477 + shared_flag='${wl}-bM:SRE'
25482 + # It seems that -bexpall does not export symbols beginning with
25483 + # underscore (_), so it is better to generate a list of symbols to export.
25484 + always_export_symbols_GCJ=yes
25485 + if test "$aix_use_runtimelinking" = yes; then
25486 + # Warning - without using the other runtime loading flags (-brtl),
25487 + # -berok will link without error, but may produce a broken library.
25488 + allow_undefined_flag_GCJ='-berok'
25489 + # Determine the default libpath from the value encoded in an empty executable.
25490 + cat >conftest.$ac_ext <<_ACEOF
25493 +cat confdefs.h >>conftest.$ac_ext
25494 +cat >>conftest.$ac_ext <<_ACEOF
25495 +/* end confdefs.h. */
25505 +rm -f conftest.$ac_objext conftest$ac_exeext
25506 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25507 + (eval $ac_link) 2>conftest.er1
25509 + grep -v '^ *+' conftest.er1 >conftest.err
25510 + rm -f conftest.er1
25511 + cat conftest.err >&5
25512 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513 + (exit $ac_status); } &&
25514 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25515 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25516 + (eval $ac_try) 2>&5
25518 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519 + (exit $ac_status); }; } &&
25520 + { ac_try='test -s conftest$ac_exeext'
25521 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25522 + (eval $ac_try) 2>&5
25524 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 + (exit $ac_status); }; }; then
25527 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25529 +# Check for a 64-bit object if we didn't find anything.
25530 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25533 + echo "$as_me: failed program was:" >&5
25534 +sed 's/^/| /' conftest.$ac_ext >&5
25537 +rm -f conftest.err conftest.$ac_objext \
25538 + conftest$ac_exeext conftest.$ac_ext
25539 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
25541 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
25542 + 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"
25544 + if test "$host_cpu" = ia64; then
25545 + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
25546 + allow_undefined_flag_GCJ="-z nodefs"
25547 + 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"
25549 + # Determine the default libpath from the value encoded in an empty executable.
25550 + cat >conftest.$ac_ext <<_ACEOF
25553 +cat confdefs.h >>conftest.$ac_ext
25554 +cat >>conftest.$ac_ext <<_ACEOF
25555 +/* end confdefs.h. */
25565 +rm -f conftest.$ac_objext conftest$ac_exeext
25566 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25567 + (eval $ac_link) 2>conftest.er1
25569 + grep -v '^ *+' conftest.er1 >conftest.err
25570 + rm -f conftest.er1
25571 + cat conftest.err >&5
25572 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25573 + (exit $ac_status); } &&
25574 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25575 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25576 + (eval $ac_try) 2>&5
25578 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 + (exit $ac_status); }; } &&
25580 + { ac_try='test -s conftest$ac_exeext'
25581 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 + (eval $ac_try) 2>&5
25584 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 + (exit $ac_status); }; }; then
25587 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25589 +# Check for a 64-bit object if we didn't find anything.
25590 +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
25593 + echo "$as_me: failed program was:" >&5
25594 +sed 's/^/| /' conftest.$ac_ext >&5
25597 +rm -f conftest.err conftest.$ac_objext \
25598 + conftest$ac_exeext conftest.$ac_ext
25599 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
25601 + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
25602 + # Warning - without using the other run time loading flags,
25603 + # -berok will link without error, but may produce a broken library.
25604 + no_undefined_flag_GCJ=' ${wl}-bernotok'
25605 + allow_undefined_flag_GCJ=' ${wl}-berok'
25606 + # Exported symbols can be pulled into shared objects from archives
25607 + whole_archive_flag_spec_GCJ='$convenience'
25608 + archive_cmds_need_lc_GCJ=yes
25609 + # This is similar to how AIX traditionally builds its shared libraries.
25610 + 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'
25616 + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
25617 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25618 + hardcode_minus_L_GCJ=yes
25619 + # see comment about different semantics on the GNU ld section
25624 + export_dynamic_flag_spec_GCJ=-rdynamic
25627 + cygwin* | mingw* | pw32*)
25628 + # When not using gcc, we currently assume that we are using
25629 + # Microsoft Visual C++.
25630 + # hardcode_libdir_flag_spec is actually meaningless, as there is
25631 + # no search path for DLLs.
25632 + hardcode_libdir_flag_spec_GCJ=' '
25633 + allow_undefined_flag_GCJ=unsupported
25634 + # Tell ltmain to make .lib files, not .a files.
25636 + # Tell ltmain to make .dll files, not .so files.
25637 + shrext_cmds=".dll"
25638 + # FIXME: Setting linknames here is a bad hack.
25639 + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
25640 + # The linker will automatically build a .lib file if we build a DLL.
25641 + old_archive_From_new_cmds_GCJ='true'
25642 + # FIXME: Should let the user specify the lib program.
25643 + old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
25644 + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
25645 + enable_shared_with_static_runtimes_GCJ=yes
25648 + darwin* | rhapsody*)
25650 + rhapsody* | darwin1.[012])
25651 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
25653 + *) # Darwin 1.3 on
25654 + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
25655 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25657 + case ${MACOSX_DEPLOYMENT_TARGET} in
25659 + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25662 + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
25668 + archive_cmds_need_lc_GCJ=no
25669 + hardcode_direct_GCJ=no
25670 + hardcode_automatic_GCJ=yes
25671 + hardcode_shlibpath_var_GCJ=unsupported
25672 + whole_archive_flag_spec_GCJ=''
25673 + link_all_deplibs_GCJ=yes
25674 + if test "$GCC" = yes ; then
25675 + output_verbose_link_cmd='echo'
25676 + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
25677 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25678 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25679 + 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}'
25680 + 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}'
25682 + case $cc_basename in
25684 + output_verbose_link_cmd='echo'
25685 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
25686 + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25687 + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25688 + 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}'
25689 + 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}'
25699 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25700 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25701 + hardcode_shlibpath_var_GCJ=no
25708 + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
25709 + # support. Future versions do this automatically, but an explicit c++rt0.o
25710 + # does not break anything, and helps significantly (at the cost of a little
25713 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
25714 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25715 + hardcode_direct_GCJ=yes
25716 + hardcode_shlibpath_var_GCJ=no
25719 + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
25721 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25722 + hardcode_direct_GCJ=yes
25723 + hardcode_minus_L_GCJ=yes
25724 + hardcode_shlibpath_var_GCJ=no
25727 + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25728 + freebsd* | dragonfly*)
25729 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
25730 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25731 + hardcode_direct_GCJ=yes
25732 + hardcode_shlibpath_var_GCJ=no
25735 + # GNU/kFreeBSD uses gcc -shared to do shared libraries.
25737 + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
25738 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25739 + hardcode_direct_GCJ=yes
25740 + hardcode_shlibpath_var_GCJ=no
25741 + link_all_deplibs_GCJ=no
25745 + if test "$GCC" = yes; then
25746 + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
25748 + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
25750 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25751 + hardcode_libdir_separator_GCJ=:
25752 + hardcode_direct_GCJ=yes
25754 + # hardcode_minus_L: Not really in the search PATH,
25755 + # but as the default location of the library.
25756 + hardcode_minus_L_GCJ=yes
25757 + export_dynamic_flag_spec_GCJ='${wl}-E'
25761 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25762 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25764 + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
25766 + if test "$with_gnu_ld" = no; then
25767 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25768 + hardcode_libdir_separator_GCJ=:
25770 + hardcode_direct_GCJ=yes
25771 + export_dynamic_flag_spec_GCJ='${wl}-E'
25773 + # hardcode_minus_L: Not really in the search PATH,
25774 + # but as the default location of the library.
25775 + hardcode_minus_L_GCJ=yes
25780 + if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25781 + case $host_cpu in
25783 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25786 + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25789 + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25793 + case $host_cpu in
25795 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25798 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25801 + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25805 + if test "$with_gnu_ld" = no; then
25806 + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25807 + hardcode_libdir_separator_GCJ=:
25809 + case $host_cpu in
25811 + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
25812 + hardcode_direct_GCJ=no
25813 + hardcode_shlibpath_var_GCJ=no
25816 + hardcode_direct_GCJ=yes
25817 + export_dynamic_flag_spec_GCJ='${wl}-E'
25819 + # hardcode_minus_L: Not really in the search PATH,
25820 + # but as the default location of the library.
25821 + hardcode_minus_L_GCJ=yes
25827 + irix5* | irix6* | nonstopux*)
25828 + if test "$GCC" = yes; then
25829 + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25831 + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25832 + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
25834 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25835 + hardcode_libdir_separator_GCJ=:
25836 + link_all_deplibs_GCJ=yes
25839 + netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
25840 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25841 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
25843 + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
25845 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25846 + hardcode_direct_GCJ=yes
25847 + hardcode_shlibpath_var_GCJ=no
25851 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25852 + hardcode_direct_GCJ=yes
25853 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25854 + hardcode_libdir_separator_GCJ=:
25855 + hardcode_shlibpath_var_GCJ=no
25859 + hardcode_direct_GCJ=yes
25860 + hardcode_shlibpath_var_GCJ=no
25861 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25862 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25863 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
25864 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25865 + export_dynamic_flag_spec_GCJ='${wl}-E'
25868 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
25869 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25870 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25873 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25874 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25881 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25882 + hardcode_minus_L_GCJ=yes
25883 + allow_undefined_flag_GCJ=unsupported
25884 + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
25885 + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
25889 + if test "$GCC" = yes; then
25890 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25891 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25893 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
25894 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25896 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25897 + hardcode_libdir_separator_GCJ=:
25900 + osf4* | osf5*) # as osf3* with the addition of -msym flag
25901 + if test "$GCC" = yes; then
25902 + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25903 + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
25904 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25906 + allow_undefined_flag_GCJ=' -expect_unresolved \*'
25907 + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
25908 + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
25909 + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
25911 + # Both c and cxx compiler support -rpath directly
25912 + hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
25914 + hardcode_libdir_separator_GCJ=:
25918 + no_undefined_flag_GCJ=' -z text'
25919 + if test "$GCC" = yes; then
25921 + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25922 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25923 + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25926 + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25927 + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25928 + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25930 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
25931 + hardcode_shlibpath_var_GCJ=no
25933 + solaris2.[0-5] | solaris2.[0-5].*) ;;
25935 + # The compiler driver will combine linker options so we
25936 + # cannot just pass the convience library names through
25937 + # without $wl, iff we do not link with $LD.
25938 + # Luckily, gcc supports the same syntax we need for Sun Studio.
25939 + # Supported since Solaris 2.6 (maybe 2.5.1?)
25942 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
25944 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
25947 + link_all_deplibs_GCJ=yes
25951 + if test "x$host_vendor" = xsequent; then
25952 + # Use $CC to link under sequent, because it throws in some extra .o
25953 + # files that make .init and .fini sections work.
25954 + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25956 + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25958 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
25959 + hardcode_direct_GCJ=yes
25960 + hardcode_minus_L_GCJ=yes
25961 + hardcode_shlibpath_var_GCJ=no
25965 + case $host_vendor in
25967 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25968 + hardcode_direct_GCJ=yes # is this really true???
25971 + ## LD is ld it makes a PLAMLIB
25972 + ## CC just makes a GrossModule.
25973 + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25974 + reload_cmds_GCJ='$CC -r -o $output$reload_objs'
25975 + hardcode_direct_GCJ=no
25978 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25979 + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
25982 + runpath_var='LD_RUN_PATH'
25983 + hardcode_shlibpath_var_GCJ=no
25987 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25988 + hardcode_shlibpath_var_GCJ=no
25989 + export_dynamic_flag_spec_GCJ='-Bexport'
25993 + if test -d /usr/nec; then
25994 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25995 + hardcode_shlibpath_var_GCJ=no
25996 + runpath_var=LD_RUN_PATH
25997 + hardcode_runpath_var=yes
25998 + ld_shlibs_GCJ=yes
26002 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
26003 + no_undefined_flag_GCJ='${wl}-z,text'
26004 + archive_cmds_need_lc_GCJ=no
26005 + hardcode_shlibpath_var_GCJ=no
26006 + runpath_var='LD_RUN_PATH'
26008 + if test "$GCC" = yes; then
26009 + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26010 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26012 + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26013 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26017 + sysv5* | sco3.2v5* | sco5v6*)
26018 + # Note: We can NOT use -z defs as we might desire, because we do not
26019 + # link with -lc, and that would cause any symbols used from libc to
26020 + # always be unresolved, which means just about no library would
26021 + # ever link correctly. If we're not using GNU ld we use -z text
26022 + # though, which does catch some bad symbols but isn't as heavy-handed
26024 + no_undefined_flag_GCJ='${wl}-z,text'
26025 + allow_undefined_flag_GCJ='${wl}-z,nodefs'
26026 + archive_cmds_need_lc_GCJ=no
26027 + hardcode_shlibpath_var_GCJ=no
26028 + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
26029 + hardcode_libdir_separator_GCJ=':'
26030 + link_all_deplibs_GCJ=yes
26031 + export_dynamic_flag_spec_GCJ='${wl}-Bexport'
26032 + runpath_var='LD_RUN_PATH'
26034 + if test "$GCC" = yes; then
26035 + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26036 + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26038 + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26039 + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
26044 + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26045 + hardcode_libdir_flag_spec_GCJ='-L$libdir'
26046 + hardcode_shlibpath_var_GCJ=no
26055 +echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
26056 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6
26057 +test "$ld_shlibs_GCJ" = no && can_build_shared=no
26060 +# Do we need to explicitly link libc?
26062 +case "x$archive_cmds_need_lc_GCJ" in
26064 + # Assume -lc should be added
26065 + archive_cmds_need_lc_GCJ=yes
26067 + if test "$enable_shared" = yes && test "$GCC" = yes; then
26068 + case $archive_cmds_GCJ in
26070 + # FIXME: we may have to deal with multi-command sequences.
26073 + # Test whether the compiler implicitly links with -lc since on some
26074 + # systems, -lgcc has to come before -lc. If gcc already passes -lc
26075 + # to ld, don't add -lc before -lgcc.
26076 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
26077 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
26079 + printf "$lt_simple_compile_test_code" > conftest.$ac_ext
26081 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26082 + (eval $ac_compile) 2>&5
26084 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 + (exit $ac_status); } 2>conftest.err; then
26088 + libobjs=conftest.$ac_objext
26090 + wl=$lt_prog_compiler_wl_GCJ
26091 + pic_flag=$lt_prog_compiler_pic_GCJ
26092 + compiler_flags=-v
26097 + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
26098 + allow_undefined_flag_GCJ=
26099 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
26100 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
26102 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 + (exit $ac_status); }
26105 + archive_cmds_need_lc_GCJ=no
26107 + archive_cmds_need_lc_GCJ=yes
26109 + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
26111 + cat conftest.err 1>&5
26114 + echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
26115 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
26122 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
26123 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
26124 +library_names_spec=
26125 +libname_spec='lib$name'
26129 +postuninstall_cmds=
26133 +shlibpath_overrides_runpath=unknown
26135 +dynamic_linker="$host_os ld.so"
26136 +sys_lib_dlsearch_path_spec="/lib /usr/lib"
26137 +if test "$GCC" = yes; then
26138 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
26139 + if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
26140 + # if the path contains ";" then we assume it to be the separator
26141 + # otherwise default to the standard path separator (i.e. ":") - it is
26142 + # assumed that no part of a normal pathname contains ";" but that should
26143 + # okay in the real world where ";" in dirpaths is itself problematic.
26144 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
26146 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
26149 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
26151 +need_lib_prefix=unknown
26152 +hardcode_into_libs=no
26154 +# when you set need_version to no, make sure it does not cause -set_version
26155 +# flags to be left without arguments
26156 +need_version=unknown
26160 + version_type=linux
26161 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
26162 + shlibpath_var=LIBPATH
26164 + # AIX 3 has no versioning support, so we append a major version to the name.
26165 + soname_spec='${libname}${release}${shared_ext}$major'
26169 + version_type=linux
26170 + need_lib_prefix=no
26172 + hardcode_into_libs=yes
26173 + if test "$host_cpu" = ia64; then
26174 + # AIX 5 supports IA64
26175 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
26176 + shlibpath_var=LD_LIBRARY_PATH
26178 + # With GCC up to 2.95.x, collect2 would create an import file
26179 + # for dependence libraries. The import file would start with
26180 + # the line `#! .'. This would cause the generated library to
26181 + # depend on `.', always an invalid library. This was fixed in
26182 + # development snapshots of GCC prior to 3.0.
26184 + aix4 | aix4.[01] | aix4.[01].*)
26185 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
26187 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
26190 + can_build_shared=no
26194 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
26195 + # soname into executable. Probably we can add versioning support to
26196 + # collect2, so additional links can be useful in future.
26197 + if test "$aix_use_runtimelinking" = yes; then
26198 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
26199 + # instead of lib<name>.a to let people know that these are not
26200 + # typical AIX shared libraries.
26201 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26203 + # We preserve .a as extension for shared libraries through AIX4.2
26204 + # and later when we are not doing run time linking.
26205 + library_names_spec='${libname}${release}.a $libname.a'
26206 + soname_spec='${libname}${release}${shared_ext}$major'
26208 + shlibpath_var=LIBPATH
26213 + library_names_spec='$libname.ixlibrary $libname.a'
26214 + # Create ${libname}_ixlibrary.a entries in /sys/libs.
26215 + 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'
26219 + library_names_spec='${libname}${shared_ext}'
26220 + dynamic_linker="$host_os ld.so"
26221 + shlibpath_var=LIBRARY_PATH
26225 + version_type=linux
26227 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26228 + soname_spec='${libname}${release}${shared_ext}$major'
26229 + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
26230 + shlibpath_var=LD_LIBRARY_PATH
26231 + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
26232 + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
26233 + # the default ld.so.conf also contains /usr/contrib/lib and
26234 + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
26235 + # libtool to hard-code these into programs
26238 +cygwin* | mingw* | pw32*)
26239 + version_type=windows
26240 + shrext_cmds=".dll"
26242 + need_lib_prefix=no
26244 + case $GCC,$host_os in
26245 + yes,cygwin* | yes,mingw* | yes,pw32*)
26246 + library_names_spec='$libname.dll.a'
26247 + # DLL is installed to $(libdir)/../bin by postinstall_cmds
26248 + postinstall_cmds='base_file=`basename \${file}`~
26249 + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
26250 + dldir=$destdir/`dirname \$dlpath`~
26251 + test -d \$dldir || mkdir -p \$dldir~
26252 + $install_prog $dir/$dlname \$dldir/$dlname~
26253 + chmod a+x \$dldir/$dlname'
26254 + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
26255 + dlpath=$dir/\$dldll~
26257 + shlibpath_overrides_runpath=yes
26261 + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
26262 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26263 + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
26266 + # MinGW DLLs use traditional 'lib' prefix
26267 + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26268 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
26269 + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
26270 + # It is most probably a Windows format PATH printed by
26271 + # mingw gcc, but we are running on Cygwin. Gcc prints its search
26272 + # path with ; separators, and with drive letters. We can handle the
26273 + # drive letters (cygwin fileutils understands them), so leave them,
26274 + # especially as we might pass files found there to a mingw objdump,
26275 + # which wouldn't understand a cygwinified path. Ahh.
26276 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
26278 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
26282 + # pw32 DLLs use 'pw' prefix rather than 'lib'
26283 + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
26289 + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
26292 + dynamic_linker='Win32 ld.exe'
26293 + # FIXME: first we should search . and the directory the executable is in
26294 + shlibpath_var=PATH
26297 +darwin* | rhapsody*)
26298 + dynamic_linker="$host_os dyld"
26299 + version_type=darwin
26300 + need_lib_prefix=no
26302 + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
26303 + soname_spec='${libname}${release}${major}$shared_ext'
26304 + shlibpath_overrides_runpath=yes
26305 + shlibpath_var=DYLD_LIBRARY_PATH
26306 + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
26307 + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
26308 + if test "$GCC" = yes; then
26309 + 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"`
26311 + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
26313 + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
26317 + version_type=linux
26318 + need_lib_prefix=no
26320 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
26321 + soname_spec='${libname}${release}${shared_ext}$major'
26322 + shlibpath_var=LD_LIBRARY_PATH
26326 + dynamic_linker=no
26330 + version_type=linux
26331 + need_lib_prefix=no
26333 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26334 + soname_spec='${libname}${release}${shared_ext}$major'
26335 + shlibpath_var=LD_LIBRARY_PATH
26336 + shlibpath_overrides_runpath=no
26337 + hardcode_into_libs=yes
26338 + dynamic_linker='GNU ld.so'
26341 +freebsd* | dragonfly*)
26342 + # DragonFly does not have aout. When/if they implement a new
26343 + # versioning mechanism, adjust this.
26344 + if test -x /usr/bin/objformat; then
26345 + objformat=`/usr/bin/objformat`
26348 + freebsd[123]*) objformat=aout ;;
26349 + *) objformat=elf ;;
26352 + version_type=freebsd-$objformat
26353 + case $version_type in
26355 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26357 + need_lib_prefix=no
26360 + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
26364 + shlibpath_var=LD_LIBRARY_PATH
26367 + shlibpath_overrides_runpath=yes
26369 + freebsd3.[01]* | freebsdelf3.[01]*)
26370 + shlibpath_overrides_runpath=yes
26371 + hardcode_into_libs=yes
26373 + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
26374 + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
26375 + shlibpath_overrides_runpath=no
26376 + hardcode_into_libs=yes
26378 + freebsd*) # from 4.6 on
26379 + shlibpath_overrides_runpath=yes
26380 + hardcode_into_libs=yes
26386 + version_type=linux
26387 + need_lib_prefix=no
26389 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
26390 + soname_spec='${libname}${release}${shared_ext}$major'
26391 + shlibpath_var=LD_LIBRARY_PATH
26392 + hardcode_into_libs=yes
26395 +hpux9* | hpux10* | hpux11*)
26396 + # Give a soname corresponding to the major version so that dld.sl refuses to
26397 + # link against other versions.
26398 + version_type=sunos
26399 + need_lib_prefix=no
26401 + case $host_cpu in
26403 + shrext_cmds='.so'
26404 + hardcode_into_libs=yes
26405 + dynamic_linker="$host_os dld.so"
26406 + shlibpath_var=LD_LIBRARY_PATH
26407 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
26408 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26409 + soname_spec='${libname}${release}${shared_ext}$major'
26410 + if test "X$HPUX_IA64_MODE" = X32; then
26411 + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
26413 + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
26415 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
26418 + shrext_cmds='.sl'
26419 + hardcode_into_libs=yes
26420 + dynamic_linker="$host_os dld.sl"
26421 + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
26422 + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
26423 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26424 + soname_spec='${libname}${release}${shared_ext}$major'
26425 + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
26426 + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
26429 + shrext_cmds='.sl'
26430 + dynamic_linker="$host_os dld.sl"
26431 + shlibpath_var=SHLIB_PATH
26432 + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
26433 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26434 + soname_spec='${libname}${release}${shared_ext}$major'
26437 + # HP-UX runs *really* slowly unless shared libraries are mode 555.
26438 + postinstall_cmds='chmod 555 $lib'
26442 + version_type=linux
26443 + need_lib_prefix=no
26445 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26446 + soname_spec='${libname}${release}${shared_ext}$major'
26447 + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
26448 + shlibpath_var=LD_LIBRARY_PATH
26449 + shlibpath_overrides_runpath=no
26450 + hardcode_into_libs=yes
26453 +irix5* | irix6* | nonstopux*)
26455 + nonstopux*) version_type=nonstopux ;;
26457 + if test "$lt_cv_prog_gnu_ld" = yes; then
26458 + version_type=linux
26460 + version_type=irix
26463 + need_lib_prefix=no
26465 + soname_spec='${libname}${release}${shared_ext}$major'
26466 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
26468 + irix5* | nonstopux*)
26469 + libsuff= shlibsuff=
26472 + case $LD in # libtool.m4 will add one of these switches to LD
26473 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
26474 + libsuff= shlibsuff= libmagic=32-bit;;
26475 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
26476 + libsuff=32 shlibsuff=N32 libmagic=N32;;
26477 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
26478 + libsuff=64 shlibsuff=64 libmagic=64-bit;;
26479 + *) libsuff= shlibsuff= libmagic=never-match;;
26483 + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
26484 + shlibpath_overrides_runpath=no
26485 + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
26486 + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
26487 + hardcode_into_libs=yes
26490 +# No shared lib support for Linux oldld, aout, or coff.
26491 +linux*oldld* | linux*aout* | linux*coff*)
26492 + dynamic_linker=no
26495 +# This must be Linux ELF.
26497 + version_type=linux
26498 + need_lib_prefix=no
26500 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26501 + soname_spec='${libname}${release}${shared_ext}$major'
26502 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
26503 + shlibpath_var=LD_LIBRARY_PATH
26504 + shlibpath_overrides_runpath=no
26505 + # This implies no fast_install, which is unacceptable.
26506 + # Some rework will be needed to allow for fast_install
26507 + # before this can be enabled.
26508 + hardcode_into_libs=yes
26510 + # Append ld.so.conf contents to the search path
26511 + if test -f /etc/ld.so.conf; then
26512 + 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' ' '`
26513 + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
26516 + # We used to test for /lib/ld.so.1 and disable shared libraries on
26517 + # powerpc, because MkLinux only supported shared libraries with the
26518 + # GNU dynamic linker. Since this was broken with cross compilers,
26519 + # most powerpc-linux boxes support dynamic linking these days and
26520 + # people can always --disable-shared, the test was removed, and we
26521 + # assume the GNU/Linux dynamic linker is in use.
26522 + dynamic_linker='GNU/Linux ld.so'
26526 + version_type=linux
26527 + need_lib_prefix=no
26529 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26530 + soname_spec='${libname}${release}${shared_ext}$major'
26531 + shlibpath_var=LD_LIBRARY_PATH
26532 + shlibpath_overrides_runpath=no
26533 + hardcode_into_libs=yes
26534 + dynamic_linker='NetBSD ld.elf_so'
26538 + version_type=linux
26539 + need_lib_prefix=no
26541 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26542 + soname_spec='${libname}${release}${shared_ext}$major'
26543 + shlibpath_var=LD_LIBRARY_PATH
26544 + shlibpath_overrides_runpath=no
26545 + hardcode_into_libs=yes
26546 + dynamic_linker='GNU ld.so'
26550 + version_type=sunos
26551 + need_lib_prefix=no
26553 + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
26554 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26555 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26556 + dynamic_linker='NetBSD (a.out) ld.so'
26558 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
26559 + soname_spec='${libname}${release}${shared_ext}$major'
26560 + dynamic_linker='NetBSD ld.elf_so'
26562 + shlibpath_var=LD_LIBRARY_PATH
26563 + shlibpath_overrides_runpath=yes
26564 + hardcode_into_libs=yes
26568 + version_type=linux
26569 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26570 + shlibpath_var=LD_LIBRARY_PATH
26571 + shlibpath_overrides_runpath=yes
26575 + version_type=linux
26576 + need_lib_prefix=no
26578 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26579 + soname_spec='${libname}${release}${shared_ext}$major'
26580 + shlibpath_var=LD_LIBRARY_PATH
26581 + shlibpath_overrides_runpath=yes
26585 + version_type=sunos
26586 + sys_lib_dlsearch_path_spec="/usr/lib"
26587 + need_lib_prefix=no
26588 + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
26590 + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
26591 + *) need_version=no ;;
26593 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26594 + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
26595 + shlibpath_var=LD_LIBRARY_PATH
26596 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
26598 + openbsd2.[89] | openbsd2.[89].*)
26599 + shlibpath_overrides_runpath=no
26602 + shlibpath_overrides_runpath=yes
26606 + shlibpath_overrides_runpath=yes
26611 + libname_spec='$name'
26612 + shrext_cmds=".dll"
26613 + need_lib_prefix=no
26614 + library_names_spec='$libname${shared_ext} $libname.a'
26615 + dynamic_linker='OS/2 ld.exe'
26616 + shlibpath_var=LIBPATH
26619 +osf3* | osf4* | osf5*)
26621 + need_lib_prefix=no
26623 + soname_spec='${libname}${release}${shared_ext}$major'
26624 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26625 + shlibpath_var=LD_LIBRARY_PATH
26626 + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
26627 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
26631 + version_type=linux
26632 + need_lib_prefix=no
26634 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26635 + soname_spec='${libname}${release}${shared_ext}$major'
26636 + shlibpath_var=LD_LIBRARY_PATH
26637 + shlibpath_overrides_runpath=yes
26638 + hardcode_into_libs=yes
26639 + # ldd complains unless libraries are executable
26640 + postinstall_cmds='chmod +x $lib'
26644 + version_type=sunos
26645 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26646 + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
26647 + shlibpath_var=LD_LIBRARY_PATH
26648 + shlibpath_overrides_runpath=yes
26649 + if test "$with_gnu_ld" = yes; then
26650 + need_lib_prefix=no
26656 + version_type=linux
26657 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26658 + soname_spec='${libname}${release}${shared_ext}$major'
26659 + shlibpath_var=LD_LIBRARY_PATH
26660 + case $host_vendor in
26662 + shlibpath_overrides_runpath=no
26663 + need_lib_prefix=no
26664 + export_dynamic_flag_spec='${wl}-Blargedynsym'
26665 + runpath_var=LD_RUN_PATH
26668 + need_lib_prefix=no
26671 + need_lib_prefix=no
26673 + shlibpath_overrides_runpath=no
26674 + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
26680 + if test -d /usr/nec ;then
26681 + version_type=linux
26682 + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
26683 + soname_spec='$libname${shared_ext}.$major'
26684 + shlibpath_var=LD_LIBRARY_PATH
26688 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
26689 + version_type=freebsd-elf
26690 + need_lib_prefix=no
26692 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26693 + soname_spec='${libname}${release}${shared_ext}$major'
26694 + shlibpath_var=LD_LIBRARY_PATH
26695 + hardcode_into_libs=yes
26696 + if test "$with_gnu_ld" = yes; then
26697 + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26698 + shlibpath_overrides_runpath=no
26700 + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26701 + shlibpath_overrides_runpath=yes
26704 + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26708 + sys_lib_dlsearch_path_spec='/usr/lib'
26712 + version_type=linux
26713 + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26714 + soname_spec='${libname}${release}${shared_ext}$major'
26715 + shlibpath_var=LD_LIBRARY_PATH
26719 + dynamic_linker=no
26722 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26723 +echo "${ECHO_T}$dynamic_linker" >&6
26724 +test "$dynamic_linker" = no && can_build_shared=no
26726 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26727 +if test "$GCC" = yes; then
26728 + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26731 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26732 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
26733 +hardcode_action_GCJ=
26734 +if test -n "$hardcode_libdir_flag_spec_GCJ" || \
26735 + test -n "$runpath_var_GCJ" || \
26736 + test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26738 + # We can hardcode non-existant directories.
26739 + if test "$hardcode_direct_GCJ" != no &&
26740 + # If the only mechanism to avoid hardcoding is shlibpath_var, we
26741 + # have to relink, otherwise we might link with an installed library
26742 + # when we should be linking with a yet-to-be-installed one
26743 + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
26744 + test "$hardcode_minus_L_GCJ" != no; then
26745 + # Linking always hardcodes the temporary library directory.
26746 + hardcode_action_GCJ=relink
26748 + # We can link without hardcoding, and we can hardcode nonexisting dirs.
26749 + hardcode_action_GCJ=immediate
26752 + # We cannot hardcode anything, or else we can only hardcode existing
26754 + hardcode_action_GCJ=unsupported
26756 +echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26757 +echo "${ECHO_T}$hardcode_action_GCJ" >&6
26759 +if test "$hardcode_action_GCJ" = relink; then
26760 + # Fast installation is not supported
26761 + enable_fast_install=no
26762 +elif test "$shlibpath_overrides_runpath" = yes ||
26763 + test "$enable_shared" = no; then
26764 + # Fast installation is not necessary
26765 + enable_fast_install=needless
26769 +# The else clause should only fire when bootstrapping the
26770 +# libtool distribution, otherwise you forgot to ship ltmain.sh
26771 +# with your package, and you will get complaints that there are
26772 +# no rules to generate ltmain.sh.
26773 +if test -f "$ltmain"; then
26774 + # See if we are running on zsh, and set the options which allow our commands through
26775 + # without removal of \ escapes.
26776 + if test -n "${ZSH_VERSION+set}" ; then
26777 + setopt NO_GLOB_SUBST
26779 + # Now quote all the things that may contain metacharacters while being
26780 + # careful not to overquote the AC_SUBSTed values. We take copies of the
26781 + # variables and quote the copies for generation of the libtool script.
26782 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26783 + SED SHELL STRIP \
26784 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26785 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26786 + deplibs_check_method reload_flag reload_cmds need_locks \
26787 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26788 + lt_cv_sys_global_symbol_to_c_name_address \
26789 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26790 + old_postinstall_cmds old_postuninstall_cmds \
26794 + lt_prog_compiler_wl_GCJ \
26795 + lt_prog_compiler_pic_GCJ \
26796 + lt_prog_compiler_static_GCJ \
26797 + lt_prog_compiler_no_builtin_flag_GCJ \
26798 + export_dynamic_flag_spec_GCJ \
26799 + thread_safe_flag_spec_GCJ \
26800 + whole_archive_flag_spec_GCJ \
26801 + enable_shared_with_static_runtimes_GCJ \
26802 + old_archive_cmds_GCJ \
26803 + old_archive_from_new_cmds_GCJ \
26804 + predep_objects_GCJ \
26805 + postdep_objects_GCJ \
26808 + compiler_lib_search_path_GCJ \
26809 + archive_cmds_GCJ \
26810 + archive_expsym_cmds_GCJ \
26811 + postinstall_cmds_GCJ \
26812 + postuninstall_cmds_GCJ \
26813 + old_archive_from_expsyms_cmds_GCJ \
26814 + allow_undefined_flag_GCJ \
26815 + no_undefined_flag_GCJ \
26816 + export_symbols_cmds_GCJ \
26817 + hardcode_libdir_flag_spec_GCJ \
26818 + hardcode_libdir_flag_spec_ld_GCJ \
26819 + hardcode_libdir_separator_GCJ \
26820 + hardcode_automatic_GCJ \
26821 + module_cmds_GCJ \
26822 + module_expsym_cmds_GCJ \
26823 + lt_cv_prog_compiler_c_o_GCJ \
26824 + exclude_expsyms_GCJ \
26825 + include_expsyms_GCJ; do
26828 + old_archive_cmds_GCJ | \
26829 + old_archive_from_new_cmds_GCJ | \
26830 + archive_cmds_GCJ | \
26831 + archive_expsym_cmds_GCJ | \
26832 + module_cmds_GCJ | \
26833 + module_expsym_cmds_GCJ | \
26834 + old_archive_from_expsyms_cmds_GCJ | \
26835 + export_symbols_cmds_GCJ | \
26836 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
26837 + postinstall_cmds | postuninstall_cmds | \
26838 + old_postinstall_cmds | old_postuninstall_cmds | \
26839 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26840 + # Double-quote double-evaled strings.
26841 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26844 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26850 + *'\$0 --fallback-echo"')
26851 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26857 + cat <<__EOF__ >> "$cfgfile"
26858 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
26860 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26862 +# Shell to use when invoking shell scripts.
26865 +# Whether or not to build shared libraries.
26866 +build_libtool_libs=$enable_shared
26868 +# Whether or not to build static libraries.
26869 +build_old_libs=$enable_static
26871 +# Whether or not to add -lc for building shared libraries.
26872 +build_libtool_need_lc=$archive_cmds_need_lc_GCJ
26874 +# Whether or not to disallow shared libs when runtime libs are static
26875 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
26877 +# Whether or not to optimize for fast installation.
26878 +fast_install=$enable_fast_install
26880 +# The host system.
26881 +host_alias=$host_alias
26885 +# The build system.
26886 +build_alias=$build_alias
26888 +build_os=$build_os
26890 +# An echo program that does not interpret backslashes.
26895 +AR_FLAGS=$lt_AR_FLAGS
26900 +# LTCC compiler flags.
26901 +LTCFLAGS=$lt_LTCFLAGS
26903 +# A language-specific compiler.
26904 +CC=$lt_compiler_GCJ
26906 +# Is the compiler the GNU C compiler?
26912 +# The linker used to build libraries.
26915 +# Whether we need hard or soft links.
26918 +# A BSD-compatible nm program.
26921 +# A symbol stripping program
26924 +# Used to examine libraries when file_magic_cmd begins "file"
26925 +MAGIC_CMD=$MAGIC_CMD
26927 +# Used on cygwin: DLL creation program.
26928 +DLLTOOL="$DLLTOOL"
26930 +# Used on cygwin: object dumper.
26931 +OBJDUMP="$OBJDUMP"
26933 +# Used on cygwin: assembler.
26936 +# The name of the directory that contains temporary libtool files.
26939 +# How to create reloadable object files.
26940 +reload_flag=$lt_reload_flag
26941 +reload_cmds=$lt_reload_cmds
26943 +# How to pass a linker flag through the compiler.
26944 +wl=$lt_lt_prog_compiler_wl_GCJ
26946 +# Object file suffix (normally "o").
26947 +objext="$ac_objext"
26949 +# Old archive suffix (normally "a").
26952 +# Shared library suffix (normally ".so").
26953 +shrext_cmds='$shrext_cmds'
26955 +# Executable file suffix (normally "").
26958 +# Additional compiler flags for building library objects.
26959 +pic_flag=$lt_lt_prog_compiler_pic_GCJ
26960 +pic_mode=$pic_mode
26962 +# What is the maximum length of a command?
26963 +max_cmd_len=$lt_cv_sys_max_cmd_len
26965 +# Does compiler simultaneously support -c and -o options?
26966 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26968 +# Must we lock files when doing compilation?
26969 +need_locks=$lt_need_locks
26971 +# Do we need the lib prefix for modules?
26972 +need_lib_prefix=$need_lib_prefix
26974 +# Do we need a version for libraries?
26975 +need_version=$need_version
26977 +# Whether dlopen is supported.
26978 +dlopen_support=$enable_dlopen
26980 +# Whether dlopen of programs is supported.
26981 +dlopen_self=$enable_dlopen_self
26983 +# Whether dlopen of statically linked programs is supported.
26984 +dlopen_self_static=$enable_dlopen_self_static
26986 +# Compiler flag to prevent dynamic linking.
26987 +link_static_flag=$lt_lt_prog_compiler_static_GCJ
26989 +# Compiler flag to turn off builtin functions.
26990 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26992 +# Compiler flag to allow reflexive dlopens.
26993 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26995 +# Compiler flag to generate shared objects directly from archives.
26996 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26998 +# Compiler flag to generate thread-safe objects.
26999 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
27001 +# Library versioning type.
27002 +version_type=$version_type
27004 +# Format of library name prefix.
27005 +libname_spec=$lt_libname_spec
27007 +# List of archive names. First name is the real one, the rest are links.
27008 +# The last name is the one that the linker finds with -lNAME.
27009 +library_names_spec=$lt_library_names_spec
27011 +# The coded name of the library, if different from the real name.
27012 +soname_spec=$lt_soname_spec
27014 +# Commands used to build and install an old-style archive.
27016 +old_archive_cmds=$lt_old_archive_cmds_GCJ
27017 +old_postinstall_cmds=$lt_old_postinstall_cmds
27018 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
27020 +# Create an old-style archive from a shared archive.
27021 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
27023 +# Create a temporary old-style archive to link instead of a shared archive.
27024 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
27026 +# Commands used to build and install a shared archive.
27027 +archive_cmds=$lt_archive_cmds_GCJ
27028 +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
27029 +postinstall_cmds=$lt_postinstall_cmds
27030 +postuninstall_cmds=$lt_postuninstall_cmds
27032 +# Commands used to build a loadable module (assumed same as above if empty)
27033 +module_cmds=$lt_module_cmds_GCJ
27034 +module_expsym_cmds=$lt_module_expsym_cmds_GCJ
27036 +# Commands to strip libraries.
27037 +old_striplib=$lt_old_striplib
27038 +striplib=$lt_striplib
27040 +# Dependencies to place before the objects being linked to create a
27042 +predep_objects=$lt_predep_objects_GCJ
27044 +# Dependencies to place after the objects being linked to create a
27046 +postdep_objects=$lt_postdep_objects_GCJ
27048 +# Dependencies to place before the objects being linked to create a
27050 +predeps=$lt_predeps_GCJ
27052 +# Dependencies to place after the objects being linked to create a
27054 +postdeps=$lt_postdeps_GCJ
27056 +# The library search path used internally by the compiler when linking
27057 +# a shared library.
27058 +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27060 +# Method to check whether dependent libraries are shared objects.
27061 +deplibs_check_method=$lt_deplibs_check_method
27063 +# Command to use when deplibs_check_method == file_magic.
27064 +file_magic_cmd=$lt_file_magic_cmd
27066 +# Flag that allows shared libraries with undefined symbols to be built.
27067 +allow_undefined_flag=$lt_allow_undefined_flag_GCJ
27069 +# Flag that forces no undefined symbols.
27070 +no_undefined_flag=$lt_no_undefined_flag_GCJ
27072 +# Commands used to finish a libtool library installation in a directory.
27073 +finish_cmds=$lt_finish_cmds
27075 +# Same as above, but a single script fragment to be evaled but not shown.
27076 +finish_eval=$lt_finish_eval
27078 +# Take the output of nm and produce a listing of raw symbols and C names.
27079 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27081 +# Transform the output of nm in a proper C declaration
27082 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27084 +# Transform the output of nm in a C name address pair
27085 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27087 +# This is the shared library runtime path variable.
27088 +runpath_var=$runpath_var
27090 +# This is the shared library path variable.
27091 +shlibpath_var=$shlibpath_var
27093 +# Is shlibpath searched before the hard-coded library search path?
27094 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27096 +# How to hardcode a shared library path into an executable.
27097 +hardcode_action=$hardcode_action_GCJ
27099 +# Whether we should hardcode library paths into libraries.
27100 +hardcode_into_libs=$hardcode_into_libs
27102 +# Flag to hardcode \$libdir into a binary during linking.
27103 +# This must work even if \$libdir does not exist.
27104 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
27106 +# If ld is used when linking, flag to hardcode \$libdir into
27107 +# a binary during linking. This must work even if \$libdir does
27109 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
27111 +# Whether we need a single -rpath flag with a separated argument.
27112 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
27114 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
27115 +# resulting binary.
27116 +hardcode_direct=$hardcode_direct_GCJ
27118 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
27119 +# resulting binary.
27120 +hardcode_minus_L=$hardcode_minus_L_GCJ
27122 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
27123 +# the resulting binary.
27124 +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
27126 +# Set to yes if building a shared library automatically hardcodes DIR into the library
27127 +# and all subsequent libraries and executables linked against it.
27128 +hardcode_automatic=$hardcode_automatic_GCJ
27130 +# Variables whose values should be saved in libtool wrapper scripts and
27131 +# restored at relink time.
27132 +variables_saved_for_relink="$variables_saved_for_relink"
27134 +# Whether libtool must link a program against all its dependency libraries.
27135 +link_all_deplibs=$link_all_deplibs_GCJ
27137 +# Compile-time system search path for libraries
27138 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27140 +# Run-time system search path for libraries
27141 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27143 +# Fix the shell variable \$srcfile for the compiler.
27144 +fix_srcfile_path="$fix_srcfile_path_GCJ"
27146 +# Set to yes if exported symbols are required.
27147 +always_export_symbols=$always_export_symbols_GCJ
27149 +# The commands to list exported symbols.
27150 +export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27152 +# The commands to extract the exported symbol list from a shared archive.
27153 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
27155 +# Symbols that should not be listed in the preloaded symbols.
27156 +exclude_expsyms=$lt_exclude_expsyms_GCJ
27158 +# Symbols that must always be exported.
27159 +include_expsyms=$lt_include_expsyms_GCJ
27161 +# ### END LIBTOOL TAG CONFIG: $tagname
27167 + # If there is no Makefile yet, we rely on a make rule to execute
27168 + # `config.status --recheck' to rerun these tests and create the
27169 + # libtool script then.
27170 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27171 + if test -f "$ltmain_in"; then
27172 + test -f Makefile && make "$ltmain"
27178 +ac_cpp='$CPP $CPPFLAGS'
27179 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27180 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27181 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
27194 +# Source file extension for RC test sources.
27197 +# Object file extension for compiled RC test sources.
27201 +# Code to be used in simple compile tests
27202 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
27204 +# Code to be used in simple link tests
27205 +lt_simple_link_test_code="$lt_simple_compile_test_code"
27207 +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
27209 +# If no C compiler was specified, use CC.
27210 +LTCC=${LTCC-"$CC"}
27212 +# If no C compiler flags were specified, use CFLAGS.
27213 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
27215 +# Allow CC to be a program name with arguments.
27219 +# save warnings/boilerplate of simple test code
27220 +ac_outfile=conftest.$ac_objext
27221 +printf "$lt_simple_compile_test_code" >conftest.$ac_ext
27222 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27223 +_lt_compiler_boilerplate=`cat conftest.err`
27226 +ac_outfile=conftest.$ac_objext
27227 +printf "$lt_simple_link_test_code" >conftest.$ac_ext
27228 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
27229 +_lt_linker_boilerplate=`cat conftest.err`
27233 +# Allow CC to be a program name with arguments.
27235 +CC=${RC-"windres"}
27238 +for cc_temp in $compiler""; do
27240 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
27241 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
27246 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
27248 +lt_cv_prog_compiler_c_o_RC=yes
27250 +# The else clause should only fire when bootstrapping the
27251 +# libtool distribution, otherwise you forgot to ship ltmain.sh
27252 +# with your package, and you will get complaints that there are
27253 +# no rules to generate ltmain.sh.
27254 +if test -f "$ltmain"; then
27255 + # See if we are running on zsh, and set the options which allow our commands through
27256 + # without removal of \ escapes.
27257 + if test -n "${ZSH_VERSION+set}" ; then
27258 + setopt NO_GLOB_SUBST
27260 + # Now quote all the things that may contain metacharacters while being
27261 + # careful not to overquote the AC_SUBSTed values. We take copies of the
27262 + # variables and quote the copies for generation of the libtool script.
27263 + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
27264 + SED SHELL STRIP \
27265 + libname_spec library_names_spec soname_spec extract_expsyms_cmds \
27266 + old_striplib striplib file_magic_cmd finish_cmds finish_eval \
27267 + deplibs_check_method reload_flag reload_cmds need_locks \
27268 + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
27269 + lt_cv_sys_global_symbol_to_c_name_address \
27270 + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
27271 + old_postinstall_cmds old_postuninstall_cmds \
27275 + lt_prog_compiler_wl_RC \
27276 + lt_prog_compiler_pic_RC \
27277 + lt_prog_compiler_static_RC \
27278 + lt_prog_compiler_no_builtin_flag_RC \
27279 + export_dynamic_flag_spec_RC \
27280 + thread_safe_flag_spec_RC \
27281 + whole_archive_flag_spec_RC \
27282 + enable_shared_with_static_runtimes_RC \
27283 + old_archive_cmds_RC \
27284 + old_archive_from_new_cmds_RC \
27285 + predep_objects_RC \
27286 + postdep_objects_RC \
27289 + compiler_lib_search_path_RC \
27290 + archive_cmds_RC \
27291 + archive_expsym_cmds_RC \
27292 + postinstall_cmds_RC \
27293 + postuninstall_cmds_RC \
27294 + old_archive_from_expsyms_cmds_RC \
27295 + allow_undefined_flag_RC \
27296 + no_undefined_flag_RC \
27297 + export_symbols_cmds_RC \
27298 + hardcode_libdir_flag_spec_RC \
27299 + hardcode_libdir_flag_spec_ld_RC \
27300 + hardcode_libdir_separator_RC \
27301 + hardcode_automatic_RC \
27303 + module_expsym_cmds_RC \
27304 + lt_cv_prog_compiler_c_o_RC \
27305 + exclude_expsyms_RC \
27306 + include_expsyms_RC; do
27309 + old_archive_cmds_RC | \
27310 + old_archive_from_new_cmds_RC | \
27311 + archive_cmds_RC | \
27312 + archive_expsym_cmds_RC | \
27313 + module_cmds_RC | \
27314 + module_expsym_cmds_RC | \
27315 + old_archive_from_expsyms_cmds_RC | \
27316 + export_symbols_cmds_RC | \
27317 + extract_expsyms_cmds | reload_cmds | finish_cmds | \
27318 + postinstall_cmds | postuninstall_cmds | \
27319 + old_postinstall_cmds | old_postuninstall_cmds | \
27320 + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
27321 + # Double-quote double-evaled strings.
27322 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
27325 + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
27331 + *'\$0 --fallback-echo"')
27332 + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
27338 + cat <<__EOF__ >> "$cfgfile"
27339 +# ### BEGIN LIBTOOL TAG CONFIG: $tagname
27341 +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27343 +# Shell to use when invoking shell scripts.
27346 +# Whether or not to build shared libraries.
27347 +build_libtool_libs=$enable_shared
27349 +# Whether or not to build static libraries.
27350 +build_old_libs=$enable_static
27352 +# Whether or not to add -lc for building shared libraries.
27353 +build_libtool_need_lc=$archive_cmds_need_lc_RC
27355 +# Whether or not to disallow shared libs when runtime libs are static
27356 +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
27358 +# Whether or not to optimize for fast installation.
27359 +fast_install=$enable_fast_install
27361 +# The host system.
27362 +host_alias=$host_alias
27366 +# The build system.
27367 +build_alias=$build_alias
27369 +build_os=$build_os
27371 +# An echo program that does not interpret backslashes.
27376 +AR_FLAGS=$lt_AR_FLAGS
27381 +# LTCC compiler flags.
27382 +LTCFLAGS=$lt_LTCFLAGS
27384 +# A language-specific compiler.
27385 +CC=$lt_compiler_RC
27387 +# Is the compiler the GNU C compiler?
27393 +# The linker used to build libraries.
27396 +# Whether we need hard or soft links.
27399 +# A BSD-compatible nm program.
27402 +# A symbol stripping program
27405 +# Used to examine libraries when file_magic_cmd begins "file"
27406 +MAGIC_CMD=$MAGIC_CMD
27408 +# Used on cygwin: DLL creation program.
27409 +DLLTOOL="$DLLTOOL"
27411 +# Used on cygwin: object dumper.
27412 +OBJDUMP="$OBJDUMP"
27414 +# Used on cygwin: assembler.
27417 +# The name of the directory that contains temporary libtool files.
27420 +# How to create reloadable object files.
27421 +reload_flag=$lt_reload_flag
27422 +reload_cmds=$lt_reload_cmds
27424 +# How to pass a linker flag through the compiler.
27425 +wl=$lt_lt_prog_compiler_wl_RC
27427 +# Object file suffix (normally "o").
27428 +objext="$ac_objext"
27430 +# Old archive suffix (normally "a").
27433 +# Shared library suffix (normally ".so").
27434 +shrext_cmds='$shrext_cmds'
27436 +# Executable file suffix (normally "").
27439 +# Additional compiler flags for building library objects.
27440 +pic_flag=$lt_lt_prog_compiler_pic_RC
27441 +pic_mode=$pic_mode
27443 +# What is the maximum length of a command?
27444 +max_cmd_len=$lt_cv_sys_max_cmd_len
27446 +# Does compiler simultaneously support -c and -o options?
27447 +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
27449 +# Must we lock files when doing compilation?
27450 +need_locks=$lt_need_locks
27452 +# Do we need the lib prefix for modules?
27453 +need_lib_prefix=$need_lib_prefix
27455 +# Do we need a version for libraries?
27456 +need_version=$need_version
27458 +# Whether dlopen is supported.
27459 +dlopen_support=$enable_dlopen
27461 +# Whether dlopen of programs is supported.
27462 +dlopen_self=$enable_dlopen_self
27464 +# Whether dlopen of statically linked programs is supported.
27465 +dlopen_self_static=$enable_dlopen_self_static
27467 +# Compiler flag to prevent dynamic linking.
27468 +link_static_flag=$lt_lt_prog_compiler_static_RC
27470 +# Compiler flag to turn off builtin functions.
27471 +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
27473 +# Compiler flag to allow reflexive dlopens.
27474 +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
27476 +# Compiler flag to generate shared objects directly from archives.
27477 +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
27479 +# Compiler flag to generate thread-safe objects.
27480 +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
27482 +# Library versioning type.
27483 +version_type=$version_type
27485 +# Format of library name prefix.
27486 +libname_spec=$lt_libname_spec
27488 +# List of archive names. First name is the real one, the rest are links.
27489 +# The last name is the one that the linker finds with -lNAME.
27490 +library_names_spec=$lt_library_names_spec
27492 +# The coded name of the library, if different from the real name.
27493 +soname_spec=$lt_soname_spec
27495 +# Commands used to build and install an old-style archive.
27497 +old_archive_cmds=$lt_old_archive_cmds_RC
27498 +old_postinstall_cmds=$lt_old_postinstall_cmds
27499 +old_postuninstall_cmds=$lt_old_postuninstall_cmds
27501 +# Create an old-style archive from a shared archive.
27502 +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
27504 +# Create a temporary old-style archive to link instead of a shared archive.
27505 +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
27507 +# Commands used to build and install a shared archive.
27508 +archive_cmds=$lt_archive_cmds_RC
27509 +archive_expsym_cmds=$lt_archive_expsym_cmds_RC
27510 +postinstall_cmds=$lt_postinstall_cmds
27511 +postuninstall_cmds=$lt_postuninstall_cmds
27513 +# Commands used to build a loadable module (assumed same as above if empty)
27514 +module_cmds=$lt_module_cmds_RC
27515 +module_expsym_cmds=$lt_module_expsym_cmds_RC
27517 +# Commands to strip libraries.
27518 +old_striplib=$lt_old_striplib
27519 +striplib=$lt_striplib
27521 +# Dependencies to place before the objects being linked to create a
27523 +predep_objects=$lt_predep_objects_RC
27525 +# Dependencies to place after the objects being linked to create a
27527 +postdep_objects=$lt_postdep_objects_RC
27529 +# Dependencies to place before the objects being linked to create a
27531 +predeps=$lt_predeps_RC
27533 +# Dependencies to place after the objects being linked to create a
27535 +postdeps=$lt_postdeps_RC
27537 +# The library search path used internally by the compiler when linking
27538 +# a shared library.
27539 +compiler_lib_search_path=$lt_compiler_lib_search_path_RC
27541 +# Method to check whether dependent libraries are shared objects.
27542 +deplibs_check_method=$lt_deplibs_check_method
27544 +# Command to use when deplibs_check_method == file_magic.
27545 +file_magic_cmd=$lt_file_magic_cmd
27547 +# Flag that allows shared libraries with undefined symbols to be built.
27548 +allow_undefined_flag=$lt_allow_undefined_flag_RC
27550 +# Flag that forces no undefined symbols.
27551 +no_undefined_flag=$lt_no_undefined_flag_RC
27553 +# Commands used to finish a libtool library installation in a directory.
27554 +finish_cmds=$lt_finish_cmds
27556 +# Same as above, but a single script fragment to be evaled but not shown.
27557 +finish_eval=$lt_finish_eval
27559 +# Take the output of nm and produce a listing of raw symbols and C names.
27560 +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27562 +# Transform the output of nm in a proper C declaration
27563 +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27565 +# Transform the output of nm in a C name address pair
27566 +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27568 +# This is the shared library runtime path variable.
27569 +runpath_var=$runpath_var
27571 +# This is the shared library path variable.
27572 +shlibpath_var=$shlibpath_var
27574 -# Check for any special flags to pass to ltconfig.
27575 -libtool_flags="--cache-file=$cache_file"
27576 -test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
27577 -test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
27578 -test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
27579 -test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
27580 -test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
27581 +# Is shlibpath searched before the hard-coded library search path?
27582 +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27584 +# How to hardcode a shared library path into an executable.
27585 +hardcode_action=$hardcode_action_RC
27587 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
27588 -if test "${enable_libtool_lock+set}" = set; then
27589 - enableval="$enable_libtool_lock"
27592 +# Whether we should hardcode library paths into libraries.
27593 +hardcode_into_libs=$hardcode_into_libs
27595 -test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
27596 -test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
27597 +# Flag to hardcode \$libdir into a binary during linking.
27598 +# This must work even if \$libdir does not exist.
27599 +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
27601 -# Some flags need to be propagated to the compiler or linker for good
27602 -# libtool support.
27603 -case "$lt_target" in
27605 - # Find out which ABI we are using.
27606 - echo '#line 1422 "configure"' > conftest.$ac_ext
27607 - if { (eval echo configure:1423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
27608 - case "`/usr/bin/file conftest.o`" in
27610 - LD="${LD-ld} -32"
27613 - LD="${LD-ld} -n32"
27616 - LD="${LD-ld} -64"
27622 +# If ld is used when linking, flag to hardcode \$libdir into
27623 +# a binary during linking. This must work even if \$libdir does
27625 +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
27628 - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
27629 - SAVE_CFLAGS="$CFLAGS"
27630 - CFLAGS="$CFLAGS -belf"
27631 - echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
27632 -echo "configure:1444: checking whether the C compiler needs -belf" >&5
27633 -if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
27634 - echo $ac_n "(cached) $ac_c" 1>&6
27636 - cat > conftest.$ac_ext <<EOF
27637 -#line 1449 "configure"
27638 -#include "confdefs.h"
27639 +# Whether we need a single -rpath flag with a separated argument.
27640 +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
27643 +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
27644 +# resulting binary.
27645 +hardcode_direct=$hardcode_direct_RC
27649 -if { (eval echo configure:1456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
27651 - lt_cv_cc_needs_belf=yes
27653 - echo "configure: failed program was:" >&5
27654 - cat conftest.$ac_ext >&5
27656 - lt_cv_cc_needs_belf=no
27660 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
27661 +# resulting binary.
27662 +hardcode_minus_L=$hardcode_minus_L_RC
27664 -echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
27665 - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
27666 - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
27667 - CFLAGS="$SAVE_CFLAGS"
27670 +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
27671 +# the resulting binary.
27672 +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
27674 +# Set to yes if building a shared library automatically hardcodes DIR into the library
27675 +# and all subsequent libraries and executables linked against it.
27676 +hardcode_automatic=$hardcode_automatic_RC
27679 +# Variables whose values should be saved in libtool wrapper scripts and
27680 +# restored at relink time.
27681 +variables_saved_for_relink="$variables_saved_for_relink"
27683 +# Whether libtool must link a program against all its dependency libraries.
27684 +link_all_deplibs=$link_all_deplibs_RC
27686 +# Compile-time system search path for libraries
27687 +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27689 +# Run-time system search path for libraries
27690 +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27692 +# Fix the shell variable \$srcfile for the compiler.
27693 +fix_srcfile_path="$fix_srcfile_path_RC"
27695 +# Set to yes if exported symbols are required.
27696 +always_export_symbols=$always_export_symbols_RC
27698 +# The commands to list exported symbols.
27699 +export_symbols_cmds=$lt_export_symbols_cmds_RC
27701 +# The commands to extract the exported symbol list from a shared archive.
27702 +extract_expsyms_cmds=$lt_extract_expsyms_cmds
27704 +# Symbols that should not be listed in the preloaded symbols.
27705 +exclude_expsyms=$lt_exclude_expsyms_RC
27707 +# Symbols that must always be exported.
27708 +include_expsyms=$lt_include_expsyms_RC
27710 +# ### END LIBTOOL TAG CONFIG: $tagname
27715 -# Save cache, so that ltconfig can load it
27716 -cat > confcache <<\EOF
27717 -# This file is a shell script that caches the results of configure
27718 -# tests run on this system so they can be shared between configure
27719 -# scripts and configure runs. It is not useful on other systems.
27720 -# If it contains results you don't want to keep, you may remove or edit it.
27722 -# By default, configure uses ./config.cache as the cache file,
27723 -# creating it if it does not exist already. You can give configure
27724 -# the --cache-file=FILE option to use a different cache file; that is
27725 -# what configure does when it calls configure scripts in
27726 -# subdirectories, so they share the cache.
27727 -# Giving --cache-file=/dev/null disables caching, for debugging configure.
27728 -# config.status only pays attention to the cache file if you give it the
27729 -# --recheck option to rerun configure.
27732 -# The following way of writing the cache mishandles newlines in values,
27733 -# but we know of no workaround that is simple, portable, and efficient.
27734 -# So, don't put newlines in cache variables' values.
27735 -# Ultrix sh set writes to stderr and can't be redirected directly,
27736 -# and sets the high bit in the cache file unless we assign to the vars.
27738 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
27740 - # `set' does not quote correctly, so add quotes (double-quote substitution
27741 - # turns \\\\ into \\, and sed turns \\ into \).
27743 - -e "s/'/'\\\\''/g" \
27744 - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
27747 - # `set' quotes correctly as required by POSIX, so do not add quotes.
27748 - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
27750 - esac >> confcache
27751 -if cmp -s $cache_file confcache; then
27754 - if test -w $cache_file; then
27755 - echo "updating cache $cache_file"
27756 - cat confcache > $cache_file
27758 - echo "not updating unwritable cache $cache_file"
27759 + # If there is no Makefile yet, we rely on a make rule to execute
27760 + # `config.status --recheck' to rerun these tests and create the
27761 + # libtool script then.
27762 + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27763 + if test -f "$ltmain_in"; then
27764 + test -f Makefile && make "$ltmain"
27770 -# Actually configure libtool. ac_aux_dir is where install-sh is found.
27771 -CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
27772 -LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
27773 -LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
27774 -DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
27775 -${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
27776 -$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
27777 -|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
27779 +ac_cpp='$CPP $CPPFLAGS'
27780 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27781 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27782 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
27789 + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27790 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27791 + { (exit 1); exit 1; }; }
27795 -# Reload cache, that may have been modified by ltconfig
27796 -if test -r "$cache_file"; then
27797 - echo "loading cache $cache_file"
27800 - echo "creating cache $cache_file"
27802 + # Append the new tag name to the list of available tags.
27803 + if test -n "$tagname" ; then
27804 + available_tags="$available_tags $tagname"
27808 + IFS="$lt_save_ifs"
27810 + # Now substitute the updated list of available tags.
27811 + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
27812 + mv "${ofile}T" "$ofile"
27813 + chmod +x "$ofile"
27815 + rm -f "${ofile}T"
27816 + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27817 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27818 + { (exit 1); exit 1; }; }
27824 # This can be used to rebuild libtool when needed
27825 -LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
27826 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
27828 # Always use our own libtool.
27829 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
27831 -# Redirect the config.log output again, so that the ltconfig log is not
27832 -# clobbered by the next message.
27833 -exec 5>>./config.log
27834 +# Prevent multiple expansion
27849 -echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
27850 -echo "configure:1559: checking whether to enable maintainer-specific portions of Makefiles" >&5
27858 +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
27859 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
27860 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
27861 if test "${enable_maintainer_mode+set}" = set; then
27862 enableval="$enable_maintainer_mode"
27863 USE_MAINTAINER_MODE=$enableval
27865 USE_MAINTAINER_MODE=no
27868 + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
27869 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
27871 - echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
27874 if test $USE_MAINTAINER_MODE = yes; then
27875 MAINTAINER_MODE_TRUE=
27876 @@ -1575,113 +18235,81 @@
27877 MAINTAINER_MODE_FALSE=
27879 MAINT=$MAINTAINER_MODE_TRUE
27884 -# Make sure we can run config.sub.
27885 -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
27886 -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
27889 -echo $ac_n "checking host system type""... $ac_c" 1>&6
27890 -echo "configure:1589: checking host system type" >&5
27893 -case "$host_alias" in
27897 - if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
27898 - else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
27900 - *) host_alias=$nonopt ;;
27904 -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
27905 -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
27906 -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
27907 -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
27908 -echo "$ac_t""$host" 1>&6
27912 # Check whether --enable-debug or --disable-debug was given.
27913 if test "${enable_debug+set}" = set; then
27914 enableval="$enable_debug"
27918 enable_debug=$debug_default
27922 # Check whether --enable-shm or --disable-shm was given.
27923 if test "${enable_shm+set}" = set; then
27924 enableval="$enable_shm"
27931 # Check whether --enable-ansi or --disable-ansi was given.
27932 if test "${enable_ansi+set}" = set; then
27933 enableval="$enable_ansi"
27941 # Check whether --with-glib or --without-glib was given.
27942 if test "${with_glib+set}" = set; then
27943 withval="$with_glib"
27948 # Check whether --enable-xim or --disable-xim was given.
27949 if test "${enable_xim+set}" = set; then
27950 enableval="$enable_xim"
27958 # Check whether --enable-xim_inst or --disable-xim_inst was given.
27959 if test "${enable_xim_inst+set}" = set; then
27960 enableval="$enable_xim_inst"
27964 enable_xim_inst="maybe"
27968 # Check whether --enable-rebuilds or --disable-rebuilds was given.
27969 if test "${enable_rebuilds+set}" = set; then
27970 enableval="$enable_rebuilds"
27974 enable_rebuilds=yes
27978 # Check whether --with-locale or --without-locale was given.
27979 if test "${with_locale+set}" = set; then
27980 withval="$with_locale"
27987 # Check whether --with-xinput or --without-xinput was given.
27988 if test "${with_xinput+set}" = set; then
27989 withval="$with_xinput"
27995 # Check whether --with-native_locale or --without-native_locale was given.
27996 if test "${with_native_locale+set}" = set; then
27997 withval="$with_native_locale"
28001 with_native_locale=no
28006 if test "x$enable_debug" = "xyes"; then
28007 test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
28008 @@ -1694,14 +18322,14 @@
28012 -cat >> confdefs.h <<EOF
28013 +cat >>confdefs.h <<_ACEOF
28014 #define GTK_COMPILED_WITH_DEBUGGING "${enable_debug}"
28019 # Build time sanity check...
28020 -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
28021 -echo "configure:1705: checking whether build environment is sane" >&5
28022 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
28023 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
28026 echo timestamp > conftestfile
28027 @@ -1723,8 +18351,11 @@
28028 # if, for instance, CONFIG_SHELL is bash and it inherits a
28029 # broken ls alias from the environment. This has actually
28030 # happened. Such a system could not be considered "sane".
28031 - { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
28032 -alias in your environment" 1>&2; exit 1; }
28033 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
28034 +alias in your environment" >&5
28035 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
28036 +alias in your environment" >&2;}
28037 + { (exit 1); exit 1; }; }
28040 test "$2" = conftestfile
28041 @@ -1733,221 +18364,467 @@
28045 - { echo "configure: error: newly created file is older than distributed files!
28046 -Check your system clock" 1>&2; exit 1; }
28047 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
28048 +Check your system clock" >&5
28049 +echo "$as_me: error: newly created file is older than distributed files!
28050 +Check your system clock" >&2;}
28051 + { (exit 1); exit 1; }; }
28054 -echo "$ac_t""yes" 1>&6
28055 +echo "$as_me:$LINENO: result: yes" >&5
28056 +echo "${ECHO_T}yes" >&6
28058 # Checks for programs.
28059 -# Extract the first word of "gcc", so it can be a program name with args.
28061 +ac_cpp='$CPP $CPPFLAGS'
28062 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28063 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28064 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
28065 +if test -n "$ac_tool_prefix"; then
28066 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
28067 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
28068 +echo "$as_me:$LINENO: checking for $ac_word" >&5
28069 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28070 +if test "${ac_cv_prog_CC+set}" = set; then
28071 + echo $ECHO_N "(cached) $ECHO_C" >&6
28073 + if test -n "$CC"; then
28074 + ac_cv_prog_CC="$CC" # Let the user override the test.
28076 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28077 +for as_dir in $PATH
28080 + test -z "$as_dir" && as_dir=.
28081 + for ac_exec_ext in '' $ac_executable_extensions; do
28082 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28083 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
28084 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28093 +if test -n "$CC"; then
28094 + echo "$as_me:$LINENO: result: $CC" >&5
28095 +echo "${ECHO_T}$CC" >&6
28097 + echo "$as_me:$LINENO: result: no" >&5
28098 +echo "${ECHO_T}no" >&6
28102 +if test -z "$ac_cv_prog_CC"; then
28104 + # Extract the first word of "gcc", so it can be a program name with args.
28105 set dummy gcc; ac_word=$2
28106 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
28107 -echo "configure:1747: checking for $ac_word" >&5
28108 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
28109 - echo $ac_n "(cached) $ac_c" 1>&6
28110 +echo "$as_me:$LINENO: checking for $ac_word" >&5
28111 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28112 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
28113 + echo $ECHO_N "(cached) $ECHO_C" >&6
28115 + if test -n "$ac_ct_CC"; then
28116 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
28118 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28119 +for as_dir in $PATH
28122 + test -z "$as_dir" && as_dir=.
28123 + for ac_exec_ext in '' $ac_executable_extensions; do
28124 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28125 + ac_cv_prog_ac_ct_CC="gcc"
28126 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28134 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
28135 +if test -n "$ac_ct_CC"; then
28136 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
28137 +echo "${ECHO_T}$ac_ct_CC" >&6
28139 + echo "$as_me:$LINENO: result: no" >&5
28140 +echo "${ECHO_T}no" >&6
28145 + CC="$ac_cv_prog_CC"
28148 +if test -z "$CC"; then
28149 + if test -n "$ac_tool_prefix"; then
28150 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
28151 +set dummy ${ac_tool_prefix}cc; ac_word=$2
28152 +echo "$as_me:$LINENO: checking for $ac_word" >&5
28153 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28154 +if test "${ac_cv_prog_CC+set}" = set; then
28155 + echo $ECHO_N "(cached) $ECHO_C" >&6
28157 if test -n "$CC"; then
28158 ac_cv_prog_CC="$CC" # Let the user override the test.
28160 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
28162 - for ac_dir in $ac_dummy; do
28163 - test -z "$ac_dir" && ac_dir=.
28164 - if test -f $ac_dir/$ac_word; then
28165 - ac_cv_prog_CC="gcc"
28169 - IFS="$ac_save_ifs"
28170 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28171 +for as_dir in $PATH
28174 + test -z "$as_dir" && as_dir=.
28175 + for ac_exec_ext in '' $ac_executable_extensions; do
28176 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28177 + ac_cv_prog_CC="${ac_tool_prefix}cc"
28178 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28186 -CC="$ac_cv_prog_CC"
28188 if test -n "$CC"; then
28189 - echo "$ac_t""$CC" 1>&6
28190 + echo "$as_me:$LINENO: result: $CC" >&5
28191 +echo "${ECHO_T}$CC" >&6
28193 + echo "$as_me:$LINENO: result: no" >&5
28194 +echo "${ECHO_T}no" >&6
28198 +if test -z "$ac_cv_prog_CC"; then
28200 + # Extract the first word of "cc", so it can be a program name with args.
28201 +set dummy cc; ac_word=$2
28202 +echo "$as_me:$LINENO: checking for $ac_word" >&5
28203 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28204 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
28205 + echo $ECHO_N "(cached) $ECHO_C" >&6
28207 + if test -n "$ac_ct_CC"; then
28208 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
28210 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28211 +for as_dir in $PATH
28214 + test -z "$as_dir" && as_dir=.
28215 + for ac_exec_ext in '' $ac_executable_extensions; do
28216 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28217 + ac_cv_prog_ac_ct_CC="cc"
28218 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28226 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
28227 +if test -n "$ac_ct_CC"; then
28228 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
28229 +echo "${ECHO_T}$ac_ct_CC" >&6
28231 + echo "$as_me:$LINENO: result: no" >&5
28232 +echo "${ECHO_T}no" >&6
28237 - echo "$ac_t""no" 1>&6
28238 + CC="$ac_cv_prog_CC"
28242 if test -z "$CC"; then
28243 # Extract the first word of "cc", so it can be a program name with args.
28244 set dummy cc; ac_word=$2
28245 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
28246 -echo "configure:1777: checking for $ac_word" >&5
28247 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
28248 - echo $ac_n "(cached) $ac_c" 1>&6
28249 +echo "$as_me:$LINENO: checking for $ac_word" >&5
28250 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28251 +if test "${ac_cv_prog_CC+set}" = set; then
28252 + echo $ECHO_N "(cached) $ECHO_C" >&6
28254 if test -n "$CC"; then
28255 ac_cv_prog_CC="$CC" # Let the user override the test.
28257 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
28258 ac_prog_rejected=no
28260 - for ac_dir in $ac_dummy; do
28261 - test -z "$ac_dir" && ac_dir=.
28262 - if test -f $ac_dir/$ac_word; then
28263 - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
28264 - ac_prog_rejected=yes
28267 - ac_cv_prog_CC="cc"
28271 - IFS="$ac_save_ifs"
28272 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28273 +for as_dir in $PATH
28276 + test -z "$as_dir" && as_dir=.
28277 + for ac_exec_ext in '' $ac_executable_extensions; do
28278 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28279 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
28280 + ac_prog_rejected=yes
28283 + ac_cv_prog_CC="cc"
28284 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28290 if test $ac_prog_rejected = yes; then
28291 # We found a bogon in the path, so make sure we never use it.
28292 set dummy $ac_cv_prog_CC
28294 - if test $# -gt 0; then
28295 + if test $# != 0; then
28296 # We chose a different compiler from the bogus one.
28297 # However, it has the same basename, so the bogon will be chosen
28298 # first if we set CC to just the basename; use the full file name.
28300 - set dummy "$ac_dir/$ac_word" "$@"
28302 - ac_cv_prog_CC="$@"
28303 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
28308 -CC="$ac_cv_prog_CC"
28310 if test -n "$CC"; then
28311 - echo "$ac_t""$CC" 1>&6
28312 + echo "$as_me:$LINENO: result: $CC" >&5
28313 +echo "${ECHO_T}$CC" >&6
28315 - echo "$ac_t""no" 1>&6
28316 + echo "$as_me:$LINENO: result: no" >&5
28317 +echo "${ECHO_T}no" >&6
28320 - if test -z "$CC"; then
28321 - case "`uname -s`" in
28322 - *win32* | *WIN32*)
28323 - # Extract the first word of "cl", so it can be a program name with args.
28324 -set dummy cl; ac_word=$2
28325 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
28326 -echo "configure:1828: checking for $ac_word" >&5
28327 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
28328 - echo $ac_n "(cached) $ac_c" 1>&6
28330 +if test -z "$CC"; then
28331 + if test -n "$ac_tool_prefix"; then
28332 + for ac_prog in cl
28334 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
28335 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
28336 +echo "$as_me:$LINENO: checking for $ac_word" >&5
28337 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28338 +if test "${ac_cv_prog_CC+set}" = set; then
28339 + echo $ECHO_N "(cached) $ECHO_C" >&6
28341 if test -n "$CC"; then
28342 ac_cv_prog_CC="$CC" # Let the user override the test.
28344 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
28346 - for ac_dir in $ac_dummy; do
28347 - test -z "$ac_dir" && ac_dir=.
28348 - if test -f $ac_dir/$ac_word; then
28349 - ac_cv_prog_CC="cl"
28353 - IFS="$ac_save_ifs"
28354 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28355 +for as_dir in $PATH
28358 + test -z "$as_dir" && as_dir=.
28359 + for ac_exec_ext in '' $ac_executable_extensions; do
28360 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28361 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
28362 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28370 -CC="$ac_cv_prog_CC"
28372 if test -n "$CC"; then
28373 - echo "$ac_t""$CC" 1>&6
28374 + echo "$as_me:$LINENO: result: $CC" >&5
28375 +echo "${ECHO_T}$CC" >&6
28377 - echo "$ac_t""no" 1>&6
28382 - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
28383 + echo "$as_me:$LINENO: result: no" >&5
28384 +echo "${ECHO_T}no" >&6
28387 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
28388 -echo "configure:1860: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
28391 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
28392 -ac_cpp='$CPP $CPPFLAGS'
28393 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
28394 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28395 -cross_compiling=$ac_cv_prog_cc_cross
28397 -cat > conftest.$ac_ext << EOF
28399 -#line 1871 "configure"
28400 -#include "confdefs.h"
28402 -main(){return(0);}
28404 -if { (eval echo configure:1876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
28405 - ac_cv_prog_cc_works=yes
28406 - # If we can't run a trivial program, we are probably using a cross compiler.
28407 - if (./conftest; exit) 2>/dev/null; then
28408 - ac_cv_prog_cc_cross=no
28410 - ac_cv_prog_cc_cross=yes
28413 - echo "configure: failed program was:" >&5
28414 - cat conftest.$ac_ext >&5
28415 - ac_cv_prog_cc_works=no
28416 + test -n "$CC" && break
28421 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
28422 -ac_cpp='$CPP $CPPFLAGS'
28423 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
28424 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28425 -cross_compiling=$ac_cv_prog_cc_cross
28427 -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
28428 -if test $ac_cv_prog_cc_works = no; then
28429 - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
28431 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
28432 -echo "configure:1902: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
28433 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
28434 -cross_compiling=$ac_cv_prog_cc_cross
28436 -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
28437 -echo "configure:1907: checking whether we are using GNU C" >&5
28438 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
28439 - echo $ac_n "(cached) $ac_c" 1>&6
28440 +if test -z "$CC"; then
28442 + for ac_prog in cl
28444 + # Extract the first word of "$ac_prog", so it can be a program name with args.
28445 +set dummy $ac_prog; ac_word=$2
28446 +echo "$as_me:$LINENO: checking for $ac_word" >&5
28447 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28448 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
28449 + echo $ECHO_N "(cached) $ECHO_C" >&6
28451 - cat > conftest.c <<EOF
28456 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
28457 - ac_cv_prog_gcc=yes
28458 + if test -n "$ac_ct_CC"; then
28459 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
28461 - ac_cv_prog_gcc=no
28462 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28463 +for as_dir in $PATH
28466 + test -z "$as_dir" && as_dir=.
28467 + for ac_exec_ext in '' $ac_executable_extensions; do
28468 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28469 + ac_cv_prog_ac_ct_CC="$ac_prog"
28470 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28478 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
28479 +if test -n "$ac_ct_CC"; then
28480 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
28481 +echo "${ECHO_T}$ac_ct_CC" >&6
28483 + echo "$as_me:$LINENO: result: no" >&5
28484 +echo "${ECHO_T}no" >&6
28487 -echo "$ac_t""$ac_cv_prog_gcc" 1>&6
28488 + test -n "$ac_ct_CC" && break
28494 -if test $ac_cv_prog_gcc = yes; then
28500 -ac_test_CFLAGS="${CFLAGS+set}"
28501 -ac_save_CFLAGS="$CFLAGS"
28503 -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
28504 -echo "configure:1935: checking whether ${CC-cc} accepts -g" >&5
28505 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
28506 - echo $ac_n "(cached) $ac_c" 1>&6
28508 - echo 'void f(){}' > conftest.c
28509 -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
28511 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
28512 +See \`config.log' for more details." >&5
28513 +echo "$as_me: error: no acceptable C compiler found in \$PATH
28514 +See \`config.log' for more details." >&2;}
28515 + { (exit 1); exit 1; }; }
28517 +# Provide some information about the compiler.
28518 +echo "$as_me:$LINENO:" \
28519 + "checking for C compiler version" >&5
28520 +ac_compiler=`set X $ac_compile; echo $2`
28521 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
28522 + (eval $ac_compiler --version </dev/null >&5) 2>&5
28524 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 + (exit $ac_status); }
28526 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
28527 + (eval $ac_compiler -v </dev/null >&5) 2>&5
28529 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 + (exit $ac_status); }
28531 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
28532 + (eval $ac_compiler -V </dev/null >&5) 2>&5
28534 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 + (exit $ac_status); }
28537 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
28538 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
28539 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
28540 + echo $ECHO_N "(cached) $ECHO_C" >&6
28542 + cat >conftest.$ac_ext <<_ACEOF
28545 +cat confdefs.h >>conftest.$ac_ext
28546 +cat >>conftest.$ac_ext <<_ACEOF
28547 +/* end confdefs.h. */
28560 +rm -f conftest.$ac_objext
28561 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28562 + (eval $ac_compile) 2>conftest.er1
28564 + grep -v '^ *+' conftest.er1 >conftest.err
28565 + rm -f conftest.er1
28566 + cat conftest.err >&5
28567 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28568 + (exit $ac_status); } &&
28569 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28570 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28571 + (eval $ac_try) 2>&5
28573 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28574 + (exit $ac_status); }; } &&
28575 + { ac_try='test -s conftest.$ac_objext'
28576 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28577 + (eval $ac_try) 2>&5
28579 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 + (exit $ac_status); }; }; then
28581 + ac_compiler_gnu=yes
28583 + echo "$as_me: failed program was:" >&5
28584 +sed 's/^/| /' conftest.$ac_ext >&5
28586 +ac_compiler_gnu=no
28588 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28589 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
28592 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
28593 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
28594 +GCC=`test $ac_compiler_gnu = yes && echo yes`
28595 +ac_test_CFLAGS=${CFLAGS+set}
28596 +ac_save_CFLAGS=$CFLAGS
28598 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
28599 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
28600 +if test "${ac_cv_prog_cc_g+set}" = set; then
28601 + echo $ECHO_N "(cached) $ECHO_C" >&6
28603 + cat >conftest.$ac_ext <<_ACEOF
28606 +cat confdefs.h >>conftest.$ac_ext
28607 +cat >>conftest.$ac_ext <<_ACEOF
28608 +/* end confdefs.h. */
28618 +rm -f conftest.$ac_objext
28619 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28620 + (eval $ac_compile) 2>conftest.er1
28622 + grep -v '^ *+' conftest.er1 >conftest.err
28623 + rm -f conftest.er1
28624 + cat conftest.err >&5
28625 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 + (exit $ac_status); } &&
28627 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28628 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28629 + (eval $ac_try) 2>&5
28631 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 + (exit $ac_status); }; } &&
28633 + { ac_try='test -s conftest.$ac_objext'
28634 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28635 + (eval $ac_try) 2>&5
28637 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638 + (exit $ac_status); }; }; then
28639 ac_cv_prog_cc_g=yes
28641 - ac_cv_prog_cc_g=no
28644 + echo "$as_me: failed program was:" >&5
28645 +sed 's/^/| /' conftest.$ac_ext >&5
28647 +ac_cv_prog_cc_g=no
28650 -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
28651 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28653 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
28654 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
28655 if test "$ac_test_CFLAGS" = set; then
28656 - CFLAGS="$ac_save_CFLAGS"
28657 + CFLAGS=$ac_save_CFLAGS
28658 elif test $ac_cv_prog_cc_g = yes; then
28659 if test "$GCC" = yes; then
28661 @@ -1961,35 +18838,343 @@
28665 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
28666 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
28667 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
28668 + echo $ECHO_N "(cached) $ECHO_C" >&6
28670 + ac_cv_prog_cc_stdc=no
28672 +cat >conftest.$ac_ext <<_ACEOF
28675 +cat confdefs.h >>conftest.$ac_ext
28676 +cat >>conftest.$ac_ext <<_ACEOF
28677 +/* end confdefs.h. */
28678 +#include <stdarg.h>
28679 +#include <stdio.h>
28680 +#include <sys/types.h>
28681 +#include <sys/stat.h>
28682 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
28683 +struct buf { int x; };
28684 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
28685 +static char *e (p, i)
28691 +static char *f (char * (*g) (char **, int), char **p, ...)
28696 + s = g (p, va_arg (v,int));
28701 -echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
28702 -echo "configure:1967: checking for POSIXized ISC" >&5
28703 -if test -d /etc/conf/kconfig.d &&
28704 - grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
28706 - echo "$ac_t""yes" 1>&6
28707 - ISC=yes # If later tests want to check for ISC.
28708 - cat >> confdefs.h <<\EOF
28709 -#define _POSIX_SOURCE 1
28711 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
28712 + function prototypes and stuff, but not '\xHH' hex character constants.
28713 + These don't provoke an error unfortunately, instead are silently treated
28714 + as 'x'. The following induces an error, until -std1 is added to get
28715 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
28716 + array size at least. It's necessary to write '\x00'==0 to get something
28717 + that's true only with -std1. */
28718 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
28720 +int test (int i, double x);
28721 +struct s1 {int (*f) (int a);};
28722 +struct s2 {int (*f) (double a);};
28723 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
28729 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
28734 +# Don't try gcc -ansi; that turns off useful extensions and
28735 +# breaks some systems' header files.
28736 +# AIX -qlanglvl=ansi
28737 +# Ultrix and OSF/1 -std1
28738 +# HP-UX 10.20 and later -Ae
28739 +# HP-UX older versions -Aa -D_HPUX_SOURCE
28740 +# SVR4 -Xc -D__EXTENSIONS__
28741 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
28743 + CC="$ac_save_CC $ac_arg"
28744 + rm -f conftest.$ac_objext
28745 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28746 + (eval $ac_compile) 2>conftest.er1
28748 + grep -v '^ *+' conftest.er1 >conftest.err
28749 + rm -f conftest.er1
28750 + cat conftest.err >&5
28751 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 + (exit $ac_status); } &&
28753 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28754 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28755 + (eval $ac_try) 2>&5
28757 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 + (exit $ac_status); }; } &&
28759 + { ac_try='test -s conftest.$ac_objext'
28760 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28761 + (eval $ac_try) 2>&5
28763 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 + (exit $ac_status); }; }; then
28765 + ac_cv_prog_cc_stdc=$ac_arg
28768 + echo "$as_me: failed program was:" >&5
28769 +sed 's/^/| /' conftest.$ac_ext >&5
28772 +rm -f conftest.err conftest.$ac_objext
28774 +rm -f conftest.$ac_ext conftest.$ac_objext
28779 +case "x$ac_cv_prog_cc_stdc" in
28781 + echo "$as_me:$LINENO: result: none needed" >&5
28782 +echo "${ECHO_T}none needed" >&6 ;;
28784 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
28785 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
28786 + CC="$CC $ac_cv_prog_cc_stdc" ;;
28789 +# Some people use a C++ compiler to compile C. Since we use `exit',
28790 +# in C++ we need to declare it. In case someone uses the same compiler
28791 +# for both compiling C and C++ we need to have the C++ compiler decide
28792 +# the declaration of exit, since it's the most demanding environment.
28793 +cat >conftest.$ac_ext <<_ACEOF
28794 +#ifndef __cplusplus
28798 +rm -f conftest.$ac_objext
28799 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28800 + (eval $ac_compile) 2>conftest.er1
28802 + grep -v '^ *+' conftest.er1 >conftest.err
28803 + rm -f conftest.er1
28804 + cat conftest.err >&5
28805 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 + (exit $ac_status); } &&
28807 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28808 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28809 + (eval $ac_try) 2>&5
28811 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 + (exit $ac_status); }; } &&
28813 + { ac_try='test -s conftest.$ac_objext'
28814 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28815 + (eval $ac_try) 2>&5
28817 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28818 + (exit $ac_status); }; }; then
28819 + for ac_declaration in \
28821 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
28822 + 'extern "C" void std::exit (int); using std::exit;' \
28823 + 'extern "C" void exit (int) throw ();' \
28824 + 'extern "C" void exit (int);' \
28825 + 'void exit (int);'
28827 + cat >conftest.$ac_ext <<_ACEOF
28830 +cat confdefs.h >>conftest.$ac_ext
28831 +cat >>conftest.$ac_ext <<_ACEOF
28832 +/* end confdefs.h. */
28834 +#include <stdlib.h>
28843 +rm -f conftest.$ac_objext
28844 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28845 + (eval $ac_compile) 2>conftest.er1
28847 + grep -v '^ *+' conftest.er1 >conftest.err
28848 + rm -f conftest.er1
28849 + cat conftest.err >&5
28850 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 + (exit $ac_status); } &&
28852 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28853 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 + (eval $ac_try) 2>&5
28856 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 + (exit $ac_status); }; } &&
28858 + { ac_try='test -s conftest.$ac_objext'
28859 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28860 + (eval $ac_try) 2>&5
28862 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 + (exit $ac_status); }; }; then
28866 + echo "$as_me: failed program was:" >&5
28867 +sed 's/^/| /' conftest.$ac_ext >&5
28871 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28872 + cat >conftest.$ac_ext <<_ACEOF
28875 +cat confdefs.h >>conftest.$ac_ext
28876 +cat >>conftest.$ac_ext <<_ACEOF
28877 +/* end confdefs.h. */
28887 +rm -f conftest.$ac_objext
28888 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28889 + (eval $ac_compile) 2>conftest.er1
28891 + grep -v '^ *+' conftest.er1 >conftest.err
28892 + rm -f conftest.er1
28893 + cat conftest.err >&5
28894 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 + (exit $ac_status); } &&
28896 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28897 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28898 + (eval $ac_try) 2>&5
28900 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 + (exit $ac_status); }; } &&
28902 + { ac_try='test -s conftest.$ac_objext'
28903 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28904 + (eval $ac_try) 2>&5
28906 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28907 + (exit $ac_status); }; }; then
28910 + echo "$as_me: failed program was:" >&5
28911 +sed 's/^/| /' conftest.$ac_ext >&5
28914 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28917 +if test -n "$ac_declaration"; then
28918 + echo '#ifdef __cplusplus' >>confdefs.h
28919 + echo $ac_declaration >>confdefs.h
28920 + echo '#endif' >>confdefs.h
28923 - if test "$GCC" = yes; then
28929 - echo "$ac_t""no" 1>&6
28931 + echo "$as_me: failed program was:" >&5
28932 +sed 's/^/| /' conftest.$ac_ext >&5
28935 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28937 +ac_cpp='$CPP $CPPFLAGS'
28938 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28939 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28940 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
28943 + echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
28944 +echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
28945 +if test "${ac_cv_lib_cposix_strerror+set}" = set; then
28946 + echo $ECHO_N "(cached) $ECHO_C" >&6
28948 + ac_check_lib_save_LIBS=$LIBS
28949 +LIBS="-lcposix $LIBS"
28950 +cat >conftest.$ac_ext <<_ACEOF
28953 +cat confdefs.h >>conftest.$ac_ext
28954 +cat >>conftest.$ac_ext <<_ACEOF
28955 +/* end confdefs.h. */
28957 +/* Override any gcc2 internal prototype to avoid an error. */
28958 +#ifdef __cplusplus
28961 +/* We use char because int might match the return type of a gcc2
28962 + builtin and then its argument prototype would still apply. */
28972 +rm -f conftest.$ac_objext conftest$ac_exeext
28973 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28974 + (eval $ac_link) 2>conftest.er1
28976 + grep -v '^ *+' conftest.er1 >conftest.err
28977 + rm -f conftest.er1
28978 + cat conftest.err >&5
28979 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980 + (exit $ac_status); } &&
28981 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28982 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28983 + (eval $ac_try) 2>&5
28985 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 + (exit $ac_status); }; } &&
28987 + { ac_try='test -s conftest$ac_exeext'
28988 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28989 + (eval $ac_try) 2>&5
28991 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992 + (exit $ac_status); }; }; then
28993 + ac_cv_lib_cposix_strerror=yes
28995 + echo "$as_me: failed program was:" >&5
28996 +sed 's/^/| /' conftest.$ac_ext >&5
28998 +ac_cv_lib_cposix_strerror=no
29000 +rm -f conftest.err conftest.$ac_objext \
29001 + conftest$ac_exeext conftest.$ac_ext
29002 +LIBS=$ac_check_lib_save_LIBS
29004 +echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
29005 +echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
29006 +if test $ac_cv_lib_cposix_strerror = yes; then
29007 + LIBS="$LIBS -lcposix"
29013 -echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
29014 -echo "configure:1991: checking for ${CC-cc} option to accept ANSI C" >&5
29015 -if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then
29016 - echo $ac_n "(cached) $ac_c" 1>&6
29019 +echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
29020 +echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
29021 +if test "${am_cv_prog_cc_stdc+set}" = set; then
29022 + echo $ECHO_N "(cached) $ECHO_C" >&6
29024 am_cv_prog_cc_stdc=no
29026 @@ -2002,9 +19187,12 @@
29027 for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
29029 CC="$ac_save_CC $ac_arg"
29030 - cat > conftest.$ac_ext <<EOF
29031 -#line 2007 "configure"
29032 -#include "confdefs.h"
29033 + cat >conftest.$ac_ext <<_ACEOF
29036 +cat confdefs.h >>conftest.$ac_ext
29037 +cat >>conftest.$ac_ext <<_ACEOF
29038 +/* end confdefs.h. */
29039 #include <stdarg.h>
29041 #include <sys/types.h>
29042 @@ -2034,29 +19222,55 @@
29051 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
29055 -if { (eval echo configure:2044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
29061 +rm -f conftest.$ac_objext
29062 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29063 + (eval $ac_compile) 2>conftest.er1
29065 + grep -v '^ *+' conftest.er1 >conftest.err
29066 + rm -f conftest.er1
29067 + cat conftest.err >&5
29068 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069 + (exit $ac_status); } &&
29070 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29071 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29072 + (eval $ac_try) 2>&5
29074 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075 + (exit $ac_status); }; } &&
29076 + { ac_try='test -s conftest.$ac_objext'
29077 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29078 + (eval $ac_try) 2>&5
29080 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 + (exit $ac_status); }; }; then
29082 am_cv_prog_cc_stdc="$ac_arg"; break
29084 - echo "configure: failed program was:" >&5
29085 - cat conftest.$ac_ext >&5
29086 + echo "$as_me: failed program was:" >&5
29087 +sed 's/^/| /' conftest.$ac_ext >&5
29091 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29097 if test -z "$am_cv_prog_cc_stdc"; then
29098 - echo "$ac_t""none needed" 1>&6
29099 + echo "$as_me:$LINENO: result: none needed" >&5
29100 +echo "${ECHO_T}none needed" >&6
29102 - echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6
29103 + echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
29104 +echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
29106 case "x$am_cv_prog_cc_stdc" in
29108 @@ -2070,87 +19284,104 @@
29109 # SunOS /usr/etc/install
29110 # IRIX /sbin/install
29112 +# AmigaOS /C/install, which installs bootblocks on floppy discs
29113 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
29114 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
29115 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
29116 +# OS/2's system install, which has a completely different semantic
29117 # ./install, which can be erroneously created by make from ./install.sh.
29118 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
29119 -echo "configure:2079: checking for a BSD compatible install" >&5
29120 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
29121 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
29122 if test -z "$INSTALL"; then
29123 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
29124 - echo $ac_n "(cached) $ac_c" 1>&6
29125 +if test "${ac_cv_path_install+set}" = set; then
29126 + echo $ECHO_N "(cached) $ECHO_C" >&6
29128 - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
29129 - for ac_dir in $PATH; do
29130 - # Account for people who put trailing slashes in PATH elements.
29131 - case "$ac_dir/" in
29132 - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
29134 - # OSF1 and SCO ODT 3.0 have their own names for install.
29135 - # Don't use installbsd from OSF since it installs stuff as root
29137 - for ac_prog in ginstall scoinst install; do
29138 - if test -f $ac_dir/$ac_prog; then
29139 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29140 +for as_dir in $PATH
29143 + test -z "$as_dir" && as_dir=.
29144 + # Account for people who put trailing slashes in PATH elements.
29146 + ./ | .// | /cC/* | \
29147 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
29148 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
29151 + # OSF1 and SCO ODT 3.0 have their own names for install.
29152 + # Don't use installbsd from OSF since it installs stuff as root
29154 + for ac_prog in ginstall scoinst install; do
29155 + for ac_exec_ext in '' $ac_executable_extensions; do
29156 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
29157 if test $ac_prog = install &&
29158 - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
29159 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
29160 # AIX install. It has an incompatible calling convention.
29162 + elif test $ac_prog = install &&
29163 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
29164 + # program-specific install script used by HP pwplus--don't use.
29167 - ac_cv_path_install="$ac_dir/$ac_prog -c"
29169 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
29177 - IFS="$ac_save_IFS"
29185 if test "${ac_cv_path_install+set}" = set; then
29186 - INSTALL="$ac_cv_path_install"
29187 + INSTALL=$ac_cv_path_install
29189 # As a last resort, use the slow shell script. We don't cache a
29190 # path for INSTALL within a source directory, because that will
29191 # break other packages using the cache if that directory is
29192 # removed, or if the path is relative.
29193 - INSTALL="$ac_install_sh"
29194 + INSTALL=$ac_install_sh
29197 -echo "$ac_t""$INSTALL" 1>&6
29198 +echo "$as_me:$LINENO: result: $INSTALL" >&5
29199 +echo "${ECHO_T}$INSTALL" >&6
29201 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
29202 # It thinks the first close brace ends the variable substitution.
29203 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
29205 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
29206 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
29208 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
29210 -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
29211 -echo "configure:2132: checking whether ${MAKE-make} sets \${MAKE}" >&5
29212 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
29213 -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
29214 - echo $ac_n "(cached) $ac_c" 1>&6
29215 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
29216 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
29217 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
29218 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
29219 + echo $ECHO_N "(cached) $ECHO_C" >&6
29221 - cat > conftestmake <<\EOF
29222 + cat >conftest.make <<\_ACEOF
29224 - @echo 'ac_maketemp="${MAKE}"'
29226 + @echo 'ac_maketemp="$(MAKE)"'
29228 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29229 -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
29230 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
29231 if test -n "$ac_maketemp"; then
29232 eval ac_cv_prog_make_${ac_make}_set=yes
29234 eval ac_cv_prog_make_${ac_make}_set=no
29236 -rm -f conftestmake
29237 +rm -f conftest.make
29239 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
29240 - echo "$ac_t""yes" 1>&6
29241 + echo "$as_me:$LINENO: result: yes" >&5
29242 +echo "${ECHO_T}yes" >&6
29245 - echo "$ac_t""no" 1>&6
29246 + echo "$as_me:$LINENO: result: no" >&5
29247 +echo "${ECHO_T}no" >&6
29248 SET_MAKE="MAKE=${MAKE-make}"
29251 @@ -2182,540 +19413,611 @@
29253 for ac_prog in gawk mawk nawk awk
29255 -# Extract the first word of "$ac_prog", so it can be a program name with args.
29256 + # Extract the first word of "$ac_prog", so it can be a program name with args.
29257 set dummy $ac_prog; ac_word=$2
29258 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
29259 -echo "configure:2189: checking for $ac_word" >&5
29260 -if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
29261 - echo $ac_n "(cached) $ac_c" 1>&6
29262 +echo "$as_me:$LINENO: checking for $ac_word" >&5
29263 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29264 +if test "${ac_cv_prog_AWK+set}" = set; then
29265 + echo $ECHO_N "(cached) $ECHO_C" >&6
29267 if test -n "$AWK"; then
29268 ac_cv_prog_AWK="$AWK" # Let the user override the test.
29270 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
29272 - for ac_dir in $ac_dummy; do
29273 - test -z "$ac_dir" && ac_dir=.
29274 - if test -f $ac_dir/$ac_word; then
29275 - ac_cv_prog_AWK="$ac_prog"
29279 - IFS="$ac_save_ifs"
29280 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29281 +for as_dir in $PATH
29284 + test -z "$as_dir" && as_dir=.
29285 + for ac_exec_ext in '' $ac_executable_extensions; do
29286 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29287 + ac_cv_prog_AWK="$ac_prog"
29288 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29296 -AWK="$ac_cv_prog_AWK"
29297 +AWK=$ac_cv_prog_AWK
29298 if test -n "$AWK"; then
29299 - echo "$ac_t""$AWK" 1>&6
29300 + echo "$as_me:$LINENO: result: $AWK" >&5
29301 +echo "${ECHO_T}$AWK" >&6
29303 - echo "$ac_t""no" 1>&6
29304 + echo "$as_me:$LINENO: result: no" >&5
29305 +echo "${ECHO_T}no" >&6
29308 -test -n "$AWK" && break
29309 + test -n "$AWK" && break
29312 for ac_prog in perl5 perl
29314 -# Extract the first word of "$ac_prog", so it can be a program name with args.
29315 + # Extract the first word of "$ac_prog", so it can be a program name with args.
29316 set dummy $ac_prog; ac_word=$2
29317 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
29318 -echo "configure:2223: checking for $ac_word" >&5
29319 -if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
29320 - echo $ac_n "(cached) $ac_c" 1>&6
29321 +echo "$as_me:$LINENO: checking for $ac_word" >&5
29322 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29323 +if test "${ac_cv_prog_PERL+set}" = set; then
29324 + echo $ECHO_N "(cached) $ECHO_C" >&6
29326 if test -n "$PERL"; then
29327 ac_cv_prog_PERL="$PERL" # Let the user override the test.
29329 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
29331 - for ac_dir in $ac_dummy; do
29332 - test -z "$ac_dir" && ac_dir=.
29333 - if test -f $ac_dir/$ac_word; then
29334 - ac_cv_prog_PERL="$ac_prog"
29338 - IFS="$ac_save_ifs"
29339 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29340 +for as_dir in $PATH
29343 + test -z "$as_dir" && as_dir=.
29344 + for ac_exec_ext in '' $ac_executable_extensions; do
29345 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29346 + ac_cv_prog_PERL="$ac_prog"
29347 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29355 -PERL="$ac_cv_prog_PERL"
29356 +PERL=$ac_cv_prog_PERL
29357 if test -n "$PERL"; then
29358 - echo "$ac_t""$PERL" 1>&6
29359 + echo "$as_me:$LINENO: result: $PERL" >&5
29360 +echo "${ECHO_T}$PERL" >&6
29362 - echo "$ac_t""no" 1>&6
29363 + echo "$as_me:$LINENO: result: no" >&5
29364 +echo "${ECHO_T}no" >&6
29367 -test -n "$PERL" && break
29368 + test -n "$PERL" && break
29372 # We would like indent, but don't require it.
29373 # Extract the first word of "indent", so it can be a program name with args.
29374 set dummy indent; ac_word=$2
29375 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
29376 -echo "configure:2257: checking for $ac_word" >&5
29377 -if eval "test \"`echo '$''{'ac_cv_prog_INDENT'+set}'`\" = set"; then
29378 - echo $ac_n "(cached) $ac_c" 1>&6
29379 +echo "$as_me:$LINENO: checking for $ac_word" >&5
29380 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29381 +if test "${ac_cv_prog_INDENT+set}" = set; then
29382 + echo $ECHO_N "(cached) $ECHO_C" >&6
29384 if test -n "$INDENT"; then
29385 ac_cv_prog_INDENT="$INDENT" # Let the user override the test.
29387 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
29389 - for ac_dir in $ac_dummy; do
29390 - test -z "$ac_dir" && ac_dir=.
29391 - if test -f $ac_dir/$ac_word; then
29392 - ac_cv_prog_INDENT="indent"
29396 - IFS="$ac_save_ifs"
29399 -INDENT="$ac_cv_prog_INDENT"
29400 -if test -n "$INDENT"; then
29401 - echo "$ac_t""$INDENT" 1>&6
29403 - echo "$ac_t""no" 1>&6
29408 -if test "x$enable_rebuilds" = "xyes" && \
29409 - test -n "$PERL" && \
29410 - $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 && \
29411 - test -n "$AWK" ; then
29416 -echo $ac_n "checking whether make is GNU Make""... $ac_c" 1>&6
29417 -echo "configure:2294: checking whether make is GNU Make" >&5
29420 -if $ac_make --version 2>/dev/null | grep '^GNU Make ' >/dev/null ; then
29421 - STRIP_BEGIN='$(strip $(STRIP_DUMMY)'
29423 - echo "$ac_t""yes" 1>&6
29425 - echo "$ac_t""no" 1>&6
29433 -ALL_LINGUAS="az ca cs da de el es et eu fi fr ga gl hr hu it ja ko lt nl no nn pl pt pt_BR ro ru sk sl sp sr sv tr uk vi wa zh_CN.GB2312 zh_TW.Big5"
29434 -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
29435 -echo "configure:2312: checking how to run the C preprocessor" >&5
29436 -# On Suns, sometimes $CPP names a directory.
29437 -if test -n "$CPP" && test -d "$CPP"; then
29440 -if test -z "$CPP"; then
29441 -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
29442 - echo $ac_n "(cached) $ac_c" 1>&6
29444 - # This must be in double quotes, not single quotes, because CPP may get
29445 - # substituted into the Makefile and "${CC-cc}" will confuse make.
29446 - CPP="${CC-cc} -E"
29447 - # On the NeXT, cc -E runs the code through the compiler's parser,
29448 - # not just through cpp.
29449 - cat > conftest.$ac_ext <<EOF
29450 -#line 2327 "configure"
29451 -#include "confdefs.h"
29452 -#include <assert.h>
29455 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
29456 -{ (eval echo configure:2333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
29457 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
29458 -if test -z "$ac_err"; then
29461 - echo "$ac_err" >&5
29462 - echo "configure: failed program was:" >&5
29463 - cat conftest.$ac_ext >&5
29465 - CPP="${CC-cc} -E -traditional-cpp"
29466 - cat > conftest.$ac_ext <<EOF
29467 -#line 2344 "configure"
29468 -#include "confdefs.h"
29469 -#include <assert.h>
29472 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
29473 -{ (eval echo configure:2350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
29474 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
29475 -if test -z "$ac_err"; then
29478 - echo "$ac_err" >&5
29479 - echo "configure: failed program was:" >&5
29480 - cat conftest.$ac_ext >&5
29482 - CPP="${CC-cc} -nologo -E"
29483 - cat > conftest.$ac_ext <<EOF
29484 -#line 2361 "configure"
29485 -#include "confdefs.h"
29486 -#include <assert.h>
29489 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
29490 -{ (eval echo configure:2367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
29491 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
29492 -if test -z "$ac_err"; then
29495 - echo "$ac_err" >&5
29496 - echo "configure: failed program was:" >&5
29497 - cat conftest.$ac_ext >&5
29506 - ac_cv_prog_CPP="$CPP"
29508 - CPP="$ac_cv_prog_CPP"
29510 - ac_cv_prog_CPP="$CPP"
29512 -echo "$ac_t""$CPP" 1>&6
29514 -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
29515 -echo "configure:2392: checking for ANSI C header files" >&5
29516 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
29517 - echo $ac_n "(cached) $ac_c" 1>&6
29519 - cat > conftest.$ac_ext <<EOF
29520 -#line 2397 "configure"
29521 -#include "confdefs.h"
29522 -#include <stdlib.h>
29523 -#include <stdarg.h>
29524 -#include <string.h>
29525 -#include <float.h>
29527 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
29528 -{ (eval echo configure:2405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
29529 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
29530 -if test -z "$ac_err"; then
29532 - ac_cv_header_stdc=yes
29534 - echo "$ac_err" >&5
29535 - echo "configure: failed program was:" >&5
29536 - cat conftest.$ac_ext >&5
29538 - ac_cv_header_stdc=no
29541 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29542 +for as_dir in $PATH
29545 + test -z "$as_dir" && as_dir=.
29546 + for ac_exec_ext in '' $ac_executable_extensions; do
29547 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29548 + ac_cv_prog_INDENT="indent"
29549 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29555 -if test $ac_cv_header_stdc = yes; then
29556 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
29557 -cat > conftest.$ac_ext <<EOF
29558 -#line 2422 "configure"
29559 -#include "confdefs.h"
29560 -#include <string.h>
29562 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29563 - egrep "memchr" >/dev/null 2>&1; then
29567 +INDENT=$ac_cv_prog_INDENT
29568 +if test -n "$INDENT"; then
29569 + echo "$as_me:$LINENO: result: $INDENT" >&5
29570 +echo "${ECHO_T}$INDENT" >&6
29573 - ac_cv_header_stdc=no
29574 + echo "$as_me:$LINENO: result: no" >&5
29575 +echo "${ECHO_T}no" >&6
29581 +if test "x$enable_rebuilds" = "xyes" && \
29582 + test -n "$PERL" && \
29583 + $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 && \
29584 + test -n "$AWK" ; then
29588 -if test $ac_cv_header_stdc = yes; then
29589 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
29590 -cat > conftest.$ac_ext <<EOF
29591 -#line 2440 "configure"
29592 -#include "confdefs.h"
29593 -#include <stdlib.h>
29595 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29596 - egrep "free" >/dev/null 2>&1; then
29599 +echo "$as_me:$LINENO: checking whether make is GNU Make" >&5
29600 +echo $ECHO_N "checking whether make is GNU Make... $ECHO_C" >&6
29603 +if $ac_make --version 2>/dev/null | grep '^GNU Make ' >/dev/null ; then
29604 + STRIP_BEGIN='$(strip $(STRIP_DUMMY)'
29606 + echo "$as_me:$LINENO: result: yes" >&5
29607 +echo "${ECHO_T}yes" >&6
29610 - ac_cv_header_stdc=no
29611 + echo "$as_me:$LINENO: result: no" >&5
29612 +echo "${ECHO_T}no" >&6
29619 -if test $ac_cv_header_stdc = yes; then
29620 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
29621 -if test "$cross_compiling" = yes; then
29626 +ALL_LINGUAS="az ca cs da de el es et eu fi fr ga gl hr hu it ja ko lt nl no nn pl pt pt_BR ro ru sk sl sp sr sv tr uk vi wa zh_CN.GB2312 zh_TW.Big5"
29627 +if test -n "$ac_tool_prefix"; then
29628 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
29629 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
29630 +echo "$as_me:$LINENO: checking for $ac_word" >&5
29631 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29632 +if test "${ac_cv_prog_RANLIB+set}" = set; then
29633 + echo $ECHO_N "(cached) $ECHO_C" >&6
29635 - cat > conftest.$ac_ext <<EOF
29636 -#line 2461 "configure"
29637 -#include "confdefs.h"
29638 -#include <ctype.h>
29639 -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
29640 -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
29641 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
29642 -int main () { int i; for (i = 0; i < 256; i++)
29643 -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
29645 + if test -n "$RANLIB"; then
29646 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
29648 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29649 +for as_dir in $PATH
29652 + test -z "$as_dir" && as_dir=.
29653 + for ac_exec_ext in '' $ac_executable_extensions; do
29654 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29655 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
29656 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29663 -if { (eval echo configure:2472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
29668 +RANLIB=$ac_cv_prog_RANLIB
29669 +if test -n "$RANLIB"; then
29670 + echo "$as_me:$LINENO: result: $RANLIB" >&5
29671 +echo "${ECHO_T}$RANLIB" >&6
29673 - echo "configure: failed program was:" >&5
29674 - cat conftest.$ac_ext >&5
29676 - ac_cv_header_stdc=no
29677 + echo "$as_me:$LINENO: result: no" >&5
29678 +echo "${ECHO_T}no" >&6
29683 +if test -z "$ac_cv_prog_RANLIB"; then
29684 + ac_ct_RANLIB=$RANLIB
29685 + # Extract the first word of "ranlib", so it can be a program name with args.
29686 +set dummy ranlib; ac_word=$2
29687 +echo "$as_me:$LINENO: checking for $ac_word" >&5
29688 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29689 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
29690 + echo $ECHO_N "(cached) $ECHO_C" >&6
29692 + if test -n "$ac_ct_RANLIB"; then
29693 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
29695 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29696 +for as_dir in $PATH
29699 + test -z "$as_dir" && as_dir=.
29700 + for ac_exec_ext in '' $ac_executable_extensions; do
29701 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29702 + ac_cv_prog_ac_ct_RANLIB="ranlib"
29703 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29709 + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
29712 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
29713 +if test -n "$ac_ct_RANLIB"; then
29714 + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
29715 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
29717 + echo "$as_me:$LINENO: result: no" >&5
29718 +echo "${ECHO_T}no" >&6
29721 -echo "$ac_t""$ac_cv_header_stdc" 1>&6
29722 -if test $ac_cv_header_stdc = yes; then
29723 - cat >> confdefs.h <<\EOF
29724 -#define STDC_HEADERS 1
29727 + RANLIB=$ac_ct_RANLIB
29729 + RANLIB="$ac_cv_prog_RANLIB"
29732 -echo $ac_n "checking for working const""... $ac_c" 1>&6
29733 -echo "configure:2496: checking for working const" >&5
29734 -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
29735 - echo $ac_n "(cached) $ac_c" 1>&6
29736 +echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
29737 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
29738 +if test "${ac_cv_c_const+set}" = set; then
29739 + echo $ECHO_N "(cached) $ECHO_C" >&6
29741 - cat > conftest.$ac_ext <<EOF
29742 -#line 2501 "configure"
29743 -#include "confdefs.h"
29744 + cat >conftest.$ac_ext <<_ACEOF
29747 +cat confdefs.h >>conftest.$ac_ext
29748 +cat >>conftest.$ac_ext <<_ACEOF
29749 +/* end confdefs.h. */
29755 +/* FIXME: Include the comments suggested by Paul. */
29756 +#ifndef __cplusplus
29757 + /* Ultrix mips cc rejects this. */
29758 + typedef int charset[2];
29760 + /* SunOS 4.1.1 cc rejects this. */
29761 + char const *const *ccp;
29763 + /* NEC SVR4.0.2 mips cc rejects this. */
29764 + struct point {int x, y;};
29765 + static struct point const zero = {0,0};
29766 + /* AIX XL C 1.02.0.0 rejects this.
29767 + It does not let you subtract one const X* pointer from another in
29768 + an arm of an if-expression whose if-part is not a constant
29770 + const char *g = "string";
29771 + ccp = &g + (g ? g-g : 0);
29772 + /* HPUX 7.0 cc rejects these. */
29774 + p = (char**) ccp;
29775 + ccp = (char const *const *) p;
29776 + { /* SCO 3.2v4 cc rejects this. */
29778 + char const *s = 0 ? (char *) 0 : (char const *) 0;
29780 -/* Ultrix mips cc rejects this. */
29781 -typedef int charset[2]; const charset x;
29782 -/* SunOS 4.1.1 cc rejects this. */
29783 -char const *const *ccp;
29785 -/* NEC SVR4.0.2 mips cc rejects this. */
29786 -struct point {int x, y;};
29787 -static struct point const zero = {0,0};
29788 -/* AIX XL C 1.02.0.0 rejects this.
29789 - It does not let you subtract one const X* pointer from another in an arm
29790 - of an if-expression whose if-part is not a constant expression */
29791 -const char *g = "string";
29792 -ccp = &g + (g ? g-g : 0);
29793 -/* HPUX 7.0 cc rejects these. */
29796 -ccp = (char const *const *) p;
29797 -{ /* SCO 3.2v4 cc rejects this. */
29799 - char const *s = 0 ? (char *) 0 : (char const *) 0;
29803 -{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
29804 - int x[] = {25, 17};
29805 - const int *foo = &x[0];
29808 -{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
29809 - typedef const int *iptr;
29813 -{ /* AIX XL C 1.02.0.0 rejects this saying
29814 - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
29815 - struct s { int j; const int *ap[3]; };
29816 - struct s *b; b->j = 5;
29818 -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
29819 - const int foo = 10;
29823 + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
29824 + int x[] = {25, 17};
29825 + const int *foo = &x[0];
29828 + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
29829 + typedef const int *iptr;
29833 + { /* AIX XL C 1.02.0.0 rejects this saying
29834 + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
29835 + struct s { int j; const int *ap[3]; };
29836 + struct s *b; b->j = 5;
29838 + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
29839 + const int foo = 10;
29845 -if { (eval echo configure:2550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
29851 +rm -f conftest.$ac_objext
29852 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29853 + (eval $ac_compile) 2>conftest.er1
29855 + grep -v '^ *+' conftest.er1 >conftest.err
29856 + rm -f conftest.er1
29857 + cat conftest.err >&5
29858 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29859 + (exit $ac_status); } &&
29860 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29861 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29862 + (eval $ac_try) 2>&5
29864 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 + (exit $ac_status); }; } &&
29866 + { ac_try='test -s conftest.$ac_objext'
29867 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29868 + (eval $ac_try) 2>&5
29870 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 + (exit $ac_status); }; }; then
29874 - echo "configure: failed program was:" >&5
29875 - cat conftest.$ac_ext >&5
29878 + echo "$as_me: failed program was:" >&5
29879 +sed 's/^/| /' conftest.$ac_ext >&5
29884 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29887 -echo "$ac_t""$ac_cv_c_const" 1>&6
29888 +echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
29889 +echo "${ECHO_T}$ac_cv_c_const" >&6
29890 if test $ac_cv_c_const = no; then
29891 - cat >> confdefs.h <<\EOF
29895 +cat >>confdefs.h <<\_ACEOF
29901 -echo $ac_n "checking for inline""... $ac_c" 1>&6
29902 -echo "configure:2571: checking for inline" >&5
29903 -if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
29904 - echo $ac_n "(cached) $ac_c" 1>&6
29905 +echo "$as_me:$LINENO: checking for inline" >&5
29906 +echo $ECHO_N "checking for inline... $ECHO_C" >&6
29907 +if test "${ac_cv_c_inline+set}" = set; then
29908 + echo $ECHO_N "(cached) $ECHO_C" >&6
29911 for ac_kw in inline __inline__ __inline; do
29912 - cat > conftest.$ac_ext <<EOF
29913 -#line 2578 "configure"
29914 -#include "confdefs.h"
29915 + cat >conftest.$ac_ext <<_ACEOF
29918 +cat confdefs.h >>conftest.$ac_ext
29919 +cat >>conftest.$ac_ext <<_ACEOF
29920 +/* end confdefs.h. */
29921 +#ifndef __cplusplus
29922 +typedef int foo_t;
29923 +static $ac_kw foo_t static_foo () {return 0; }
29924 +$ac_kw foo_t foo () {return 0; }
29931 -if { (eval echo configure:2585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
29934 +rm -f conftest.$ac_objext
29935 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29936 + (eval $ac_compile) 2>conftest.er1
29938 + grep -v '^ *+' conftest.er1 >conftest.err
29939 + rm -f conftest.er1
29940 + cat conftest.err >&5
29941 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29942 + (exit $ac_status); } &&
29943 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29944 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29945 + (eval $ac_try) 2>&5
29947 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948 + (exit $ac_status); }; } &&
29949 + { ac_try='test -s conftest.$ac_objext'
29950 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29951 + (eval $ac_try) 2>&5
29953 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 + (exit $ac_status); }; }; then
29955 ac_cv_c_inline=$ac_kw; break
29957 - echo "configure: failed program was:" >&5
29958 - cat conftest.$ac_ext >&5
29959 + echo "$as_me: failed program was:" >&5
29960 +sed 's/^/| /' conftest.$ac_ext >&5
29964 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29968 +echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
29969 +echo "${ECHO_T}$ac_cv_c_inline" >&6
29972 -echo "$ac_t""$ac_cv_c_inline" 1>&6
29973 -case "$ac_cv_c_inline" in
29974 +case $ac_cv_c_inline in
29976 - no) cat >> confdefs.h <<\EOF
29980 - *) cat >> confdefs.h <<EOF
29981 -#define inline $ac_cv_c_inline
29985 + case $ac_cv_c_inline in
29987 + *) ac_val=$ac_cv_c_inline;;
29989 + cat >>confdefs.h <<_ACEOF
29990 +#ifndef __cplusplus
29991 +#define inline $ac_val
29997 -echo $ac_n "checking for off_t""... $ac_c" 1>&6
29998 -echo "configure:2611: checking for off_t" >&5
29999 -if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
30000 - echo $ac_n "(cached) $ac_c" 1>&6
30002 - cat > conftest.$ac_ext <<EOF
30003 -#line 2616 "configure"
30004 -#include "confdefs.h"
30005 -#include <sys/types.h>
30007 -#include <stdlib.h>
30008 -#include <stddef.h>
30011 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30012 - egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
30014 +echo "$as_me:$LINENO: checking for off_t" >&5
30015 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30016 +if test "${ac_cv_type_off_t+set}" = set; then
30017 + echo $ECHO_N "(cached) $ECHO_C" >&6
30019 + cat >conftest.$ac_ext <<_ACEOF
30022 +cat confdefs.h >>conftest.$ac_ext
30023 +cat >>conftest.$ac_ext <<_ACEOF
30024 +/* end confdefs.h. */
30025 +$ac_includes_default
30031 +if (sizeof (off_t))
30037 +rm -f conftest.$ac_objext
30038 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30039 + (eval $ac_compile) 2>conftest.er1
30041 + grep -v '^ *+' conftest.er1 >conftest.err
30042 + rm -f conftest.er1
30043 + cat conftest.err >&5
30044 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 + (exit $ac_status); } &&
30046 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30047 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 + (eval $ac_try) 2>&5
30050 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 + (exit $ac_status); }; } &&
30052 + { ac_try='test -s conftest.$ac_objext'
30053 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 + (eval $ac_try) 2>&5
30056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 + (exit $ac_status); }; }; then
30058 ac_cv_type_off_t=yes
30061 - ac_cv_type_off_t=no
30064 + echo "$as_me: failed program was:" >&5
30065 +sed 's/^/| /' conftest.$ac_ext >&5
30067 +ac_cv_type_off_t=no
30069 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30071 -echo "$ac_t""$ac_cv_type_off_t" 1>&6
30072 -if test $ac_cv_type_off_t = no; then
30073 - cat >> confdefs.h <<\EOF
30074 +echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30075 +echo "${ECHO_T}$ac_cv_type_off_t" >&6
30076 +if test $ac_cv_type_off_t = yes; then
30080 +cat >>confdefs.h <<_ACEOF
30087 -echo $ac_n "checking for size_t""... $ac_c" 1>&6
30088 -echo "configure:2644: checking for size_t" >&5
30089 -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
30090 - echo $ac_n "(cached) $ac_c" 1>&6
30092 - cat > conftest.$ac_ext <<EOF
30093 -#line 2649 "configure"
30094 -#include "confdefs.h"
30095 -#include <sys/types.h>
30097 -#include <stdlib.h>
30098 -#include <stddef.h>
30101 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30102 - egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
30104 +echo "$as_me:$LINENO: checking for size_t" >&5
30105 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30106 +if test "${ac_cv_type_size_t+set}" = set; then
30107 + echo $ECHO_N "(cached) $ECHO_C" >&6
30109 + cat >conftest.$ac_ext <<_ACEOF
30112 +cat confdefs.h >>conftest.$ac_ext
30113 +cat >>conftest.$ac_ext <<_ACEOF
30114 +/* end confdefs.h. */
30115 +$ac_includes_default
30121 +if (sizeof (size_t))
30127 +rm -f conftest.$ac_objext
30128 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30129 + (eval $ac_compile) 2>conftest.er1
30131 + grep -v '^ *+' conftest.er1 >conftest.err
30132 + rm -f conftest.er1
30133 + cat conftest.err >&5
30134 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 + (exit $ac_status); } &&
30136 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30137 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30138 + (eval $ac_try) 2>&5
30140 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30141 + (exit $ac_status); }; } &&
30142 + { ac_try='test -s conftest.$ac_objext'
30143 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30144 + (eval $ac_try) 2>&5
30146 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 + (exit $ac_status); }; }; then
30148 ac_cv_type_size_t=yes
30151 - ac_cv_type_size_t=no
30154 + echo "$as_me: failed program was:" >&5
30155 +sed 's/^/| /' conftest.$ac_ext >&5
30157 +ac_cv_type_size_t=no
30159 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30161 -echo "$ac_t""$ac_cv_type_size_t" 1>&6
30162 -if test $ac_cv_type_size_t = no; then
30163 - cat >> confdefs.h <<\EOF
30164 +echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30165 +echo "${ECHO_T}$ac_cv_type_size_t" >&6
30166 +if test $ac_cv_type_size_t = yes; then
30170 +cat >>confdefs.h <<_ACEOF
30171 #define size_t unsigned
30177 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
30178 # for constant arguments. Useless!
30179 -echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
30180 -echo "configure:2679: checking for working alloca.h" >&5
30181 -if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
30182 - echo $ac_n "(cached) $ac_c" 1>&6
30184 - cat > conftest.$ac_ext <<EOF
30185 -#line 2684 "configure"
30186 -#include "confdefs.h"
30187 +echo "$as_me:$LINENO: checking for working alloca.h" >&5
30188 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
30189 +if test "${ac_cv_working_alloca_h+set}" = set; then
30190 + echo $ECHO_N "(cached) $ECHO_C" >&6
30192 + cat >conftest.$ac_ext <<_ACEOF
30195 +cat confdefs.h >>conftest.$ac_ext
30196 +cat >>conftest.$ac_ext <<_ACEOF
30197 +/* end confdefs.h. */
30198 #include <alloca.h>
30200 -char *p = alloca(2 * sizeof(int));
30203 -if { (eval echo configure:2691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
30205 - ac_cv_header_alloca_h=yes
30207 - echo "configure: failed program was:" >&5
30208 - cat conftest.$ac_ext >&5
30210 - ac_cv_header_alloca_h=no
30217 +char *p = (char *) alloca (2 * sizeof (int));
30222 +rm -f conftest.$ac_objext conftest$ac_exeext
30223 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30224 + (eval $ac_link) 2>conftest.er1
30226 + grep -v '^ *+' conftest.er1 >conftest.err
30227 + rm -f conftest.er1
30228 + cat conftest.err >&5
30229 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230 + (exit $ac_status); } &&
30231 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30232 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30233 + (eval $ac_try) 2>&5
30235 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 + (exit $ac_status); }; } &&
30237 + { ac_try='test -s conftest$ac_exeext'
30238 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30239 + (eval $ac_try) 2>&5
30241 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242 + (exit $ac_status); }; }; then
30243 + ac_cv_working_alloca_h=yes
30245 + echo "$as_me: failed program was:" >&5
30246 +sed 's/^/| /' conftest.$ac_ext >&5
30248 +ac_cv_working_alloca_h=no
30250 +rm -f conftest.err conftest.$ac_objext \
30251 + conftest$ac_exeext conftest.$ac_ext
30253 +echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
30254 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
30255 +if test $ac_cv_working_alloca_h = yes; then
30257 -echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
30258 -if test $ac_cv_header_alloca_h = yes; then
30259 - cat >> confdefs.h <<\EOF
30260 +cat >>confdefs.h <<\_ACEOF
30261 #define HAVE_ALLOCA_H 1
30267 -echo $ac_n "checking for alloca""... $ac_c" 1>&6
30268 -echo "configure:2712: checking for alloca" >&5
30269 -if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
30270 - echo $ac_n "(cached) $ac_c" 1>&6
30271 +echo "$as_me:$LINENO: checking for alloca" >&5
30272 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6
30273 +if test "${ac_cv_func_alloca_works+set}" = set; then
30274 + echo $ECHO_N "(cached) $ECHO_C" >&6
30276 - cat > conftest.$ac_ext <<EOF
30277 -#line 2717 "configure"
30278 -#include "confdefs.h"
30280 + cat >conftest.$ac_ext <<_ACEOF
30283 +cat confdefs.h >>conftest.$ac_ext
30284 +cat >>conftest.$ac_ext <<_ACEOF
30285 +/* end confdefs.h. */
30287 # define alloca __builtin_alloca
30289 @@ -2737,137 +20039,215 @@
30294 -char *p = (char *) alloca(1);
30297 -if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
30302 +char *p = (char *) alloca (1);
30307 +rm -f conftest.$ac_objext conftest$ac_exeext
30308 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30309 + (eval $ac_link) 2>conftest.er1
30311 + grep -v '^ *+' conftest.er1 >conftest.err
30312 + rm -f conftest.er1
30313 + cat conftest.err >&5
30314 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 + (exit $ac_status); } &&
30316 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30317 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 + (eval $ac_try) 2>&5
30320 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 + (exit $ac_status); }; } &&
30322 + { ac_try='test -s conftest$ac_exeext'
30323 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30324 + (eval $ac_try) 2>&5
30326 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 + (exit $ac_status); }; }; then
30328 ac_cv_func_alloca_works=yes
30330 - echo "configure: failed program was:" >&5
30331 - cat conftest.$ac_ext >&5
30333 - ac_cv_func_alloca_works=no
30334 + echo "$as_me: failed program was:" >&5
30335 +sed 's/^/| /' conftest.$ac_ext >&5
30337 +ac_cv_func_alloca_works=no
30340 +rm -f conftest.err conftest.$ac_objext \
30341 + conftest$ac_exeext conftest.$ac_ext
30343 +echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
30344 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
30346 -echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
30347 if test $ac_cv_func_alloca_works = yes; then
30348 - cat >> confdefs.h <<\EOF
30349 -#define HAVE_ALLOCA 1
30353 +cat >>confdefs.h <<\_ACEOF
30354 +#define HAVE_ALLOCA 1
30357 -if test $ac_cv_func_alloca_works = no; then
30359 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
30360 - # that cause trouble. Some versions do not even contain alloca or
30361 - # contain a buggy version. If you still want to use their alloca,
30362 - # use ar to extract alloca.o from them instead of compiling alloca.c.
30363 - ALLOCA=alloca.${ac_objext}
30364 - cat >> confdefs.h <<\EOF
30365 +# that cause trouble. Some versions do not even contain alloca or
30366 +# contain a buggy version. If you still want to use their alloca,
30367 +# use ar to extract alloca.o from them instead of compiling alloca.c.
30369 +ALLOCA=alloca.$ac_objext
30371 +cat >>confdefs.h <<\_ACEOF
30377 -echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
30378 -echo "configure:2777: checking whether alloca needs Cray hooks" >&5
30379 -if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
30380 - echo $ac_n "(cached) $ac_c" 1>&6
30382 - cat > conftest.$ac_ext <<EOF
30383 -#line 2782 "configure"
30384 -#include "confdefs.h"
30385 +echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
30386 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
30387 +if test "${ac_cv_os_cray+set}" = set; then
30388 + echo $ECHO_N "(cached) $ECHO_C" >&6
30390 + cat >conftest.$ac_ext <<_ACEOF
30393 +cat confdefs.h >>conftest.$ac_ext
30394 +cat >>conftest.$ac_ext <<_ACEOF
30395 +/* end confdefs.h. */
30396 #if defined(CRAY) && ! defined(CRAY2)
30404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30405 - egrep "webecray" >/dev/null 2>&1; then
30407 + $EGREP "webecray" >/dev/null 2>&1; then
30417 -echo "$ac_t""$ac_cv_os_cray" 1>&6
30418 +echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
30419 +echo "${ECHO_T}$ac_cv_os_cray" >&6
30420 if test $ac_cv_os_cray = yes; then
30421 -for ac_func in _getb67 GETB67 getb67; do
30422 - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
30423 -echo "configure:2807: checking for $ac_func" >&5
30424 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
30425 - echo $ac_n "(cached) $ac_c" 1>&6
30427 - cat > conftest.$ac_ext <<EOF
30428 -#line 2812 "configure"
30429 -#include "confdefs.h"
30430 + for ac_func in _getb67 GETB67 getb67; do
30431 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30432 +echo "$as_me:$LINENO: checking for $ac_func" >&5
30433 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30434 +if eval "test \"\${$as_ac_var+set}\" = set"; then
30435 + echo $ECHO_N "(cached) $ECHO_C" >&6
30437 + cat >conftest.$ac_ext <<_ACEOF
30440 +cat confdefs.h >>conftest.$ac_ext
30441 +cat >>conftest.$ac_ext <<_ACEOF
30442 +/* end confdefs.h. */
30443 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30444 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
30445 +#define $ac_func innocuous_$ac_func
30447 /* System header to define __stub macros and hopefully few prototypes,
30448 - which can conflict with char $ac_func(); below. */
30449 -#include <assert.h>
30450 -/* Override any gcc2 internal prototype to avoid an error. */
30451 -/* We use char because int might match the return type of a gcc2
30452 - builtin and then its argument prototype would still apply. */
30454 + which can conflict with char $ac_func (); below.
30455 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30456 + <limits.h> exists even on freestanding compilers. */
30459 +# include <limits.h>
30461 +# include <assert.h>
30467 +/* Override any gcc2 internal prototype to avoid an error. */
30468 +#ifdef __cplusplus
30472 +/* We use char because int might match the return type of a gcc2
30473 + builtin and then its argument prototype would still apply. */
30475 /* The GNU C library defines this for functions which it implements
30476 to always fail with ENOSYS. Some functions are actually named
30477 something starting with __ and the normal name is an alias. */
30478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30482 +char (*f) () = $ac_func;
30484 +#ifdef __cplusplus
30490 -if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
30492 - eval "ac_cv_func_$ac_func=yes"
30494 - echo "configure: failed program was:" >&5
30495 - cat conftest.$ac_ext >&5
30497 - eval "ac_cv_func_$ac_func=no"
30504 +return f != $ac_func;
30509 +rm -f conftest.$ac_objext conftest$ac_exeext
30510 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30511 + (eval $ac_link) 2>conftest.er1
30513 + grep -v '^ *+' conftest.er1 >conftest.err
30514 + rm -f conftest.er1
30515 + cat conftest.err >&5
30516 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 + (exit $ac_status); } &&
30518 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30519 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30520 + (eval $ac_try) 2>&5
30522 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 + (exit $ac_status); }; } &&
30524 + { ac_try='test -s conftest$ac_exeext'
30525 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30526 + (eval $ac_try) 2>&5
30528 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 + (exit $ac_status); }; }; then
30530 + eval "$as_ac_var=yes"
30532 + echo "$as_me: failed program was:" >&5
30533 +sed 's/^/| /' conftest.$ac_ext >&5
30535 +eval "$as_ac_var=no"
30537 +rm -f conftest.err conftest.$ac_objext \
30538 + conftest$ac_exeext conftest.$ac_ext
30540 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30541 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30542 +if test `eval echo '${'$as_ac_var'}'` = yes; then
30544 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
30545 - echo "$ac_t""yes" 1>&6
30546 - cat >> confdefs.h <<EOF
30547 +cat >>confdefs.h <<_ACEOF
30548 #define CRAY_STACKSEG_END $ac_func
30554 - echo "$ac_t""no" 1>&6
30562 -echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
30563 -echo "configure:2862: checking stack direction for C alloca" >&5
30564 -if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
30565 - echo $ac_n "(cached) $ac_c" 1>&6
30566 +echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
30567 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
30568 +if test "${ac_cv_c_stack_direction+set}" = set; then
30569 + echo $ECHO_N "(cached) $ECHO_C" >&6
30571 if test "$cross_compiling" = yes; then
30572 ac_cv_c_stack_direction=0
30574 - cat > conftest.$ac_ext <<EOF
30575 -#line 2870 "configure"
30576 -#include "confdefs.h"
30577 + cat >conftest.$ac_ext <<_ACEOF
30580 +cat confdefs.h >>conftest.$ac_ext
30581 +cat >>conftest.$ac_ext <<_ACEOF
30582 +/* end confdefs.h. */
30584 find_stack_direction ()
30586 static char *addr = 0;
30587 @@ -2880,138 +20260,314 @@
30589 return (&dummy > addr) ? 1 : -1;
30595 - exit (find_stack_direction() < 0);
30596 + exit (find_stack_direction () < 0);
30599 -if { (eval echo configure:2889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
30602 +rm -f conftest$ac_exeext
30603 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30604 + (eval $ac_link) 2>&5
30606 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30608 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30609 + (eval $ac_try) 2>&5
30611 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30612 + (exit $ac_status); }; }; then
30613 ac_cv_c_stack_direction=1
30615 - echo "configure: failed program was:" >&5
30616 - cat conftest.$ac_ext >&5
30618 - ac_cv_c_stack_direction=-1
30619 + echo "$as_me: program exited with status $ac_status" >&5
30620 +echo "$as_me: failed program was:" >&5
30621 +sed 's/^/| /' conftest.$ac_ext >&5
30623 +( exit $ac_status )
30624 +ac_cv_c_stack_direction=-1
30627 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30631 +echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
30632 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
30634 -echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
30635 -cat >> confdefs.h <<EOF
30636 +cat >>confdefs.h <<_ACEOF
30637 #define STACK_DIRECTION $ac_cv_c_stack_direction
30644 -for ac_hdr in unistd.h
30647 +for ac_header in stdlib.h unistd.h
30649 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
30650 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
30651 -echo "configure:2914: checking for $ac_hdr" >&5
30652 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
30653 - echo $ac_n "(cached) $ac_c" 1>&6
30654 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30655 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
30656 + echo "$as_me:$LINENO: checking for $ac_header" >&5
30657 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30658 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
30659 + echo $ECHO_N "(cached) $ECHO_C" >&6
30661 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30662 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30664 + # Is the header compilable?
30665 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
30666 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30667 +cat >conftest.$ac_ext <<_ACEOF
30670 +cat confdefs.h >>conftest.$ac_ext
30671 +cat >>conftest.$ac_ext <<_ACEOF
30672 +/* end confdefs.h. */
30673 +$ac_includes_default
30674 +#include <$ac_header>
30676 +rm -f conftest.$ac_objext
30677 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30678 + (eval $ac_compile) 2>conftest.er1
30680 + grep -v '^ *+' conftest.er1 >conftest.err
30681 + rm -f conftest.er1
30682 + cat conftest.err >&5
30683 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 + (exit $ac_status); } &&
30685 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30686 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30687 + (eval $ac_try) 2>&5
30689 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 + (exit $ac_status); }; } &&
30691 + { ac_try='test -s conftest.$ac_objext'
30692 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30693 + (eval $ac_try) 2>&5
30695 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 + (exit $ac_status); }; }; then
30697 + ac_header_compiler=yes
30699 + echo "$as_me: failed program was:" >&5
30700 +sed 's/^/| /' conftest.$ac_ext >&5
30702 +ac_header_compiler=no
30704 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30705 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30706 +echo "${ECHO_T}$ac_header_compiler" >&6
30708 +# Is the header present?
30709 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
30710 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30711 +cat >conftest.$ac_ext <<_ACEOF
30714 +cat confdefs.h >>conftest.$ac_ext
30715 +cat >>conftest.$ac_ext <<_ACEOF
30716 +/* end confdefs.h. */
30717 +#include <$ac_header>
30719 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30720 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30722 + grep -v '^ *+' conftest.er1 >conftest.err
30723 + rm -f conftest.er1
30724 + cat conftest.err >&5
30725 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 + (exit $ac_status); } >/dev/null; then
30727 + if test -s conftest.err; then
30728 + ac_cpp_err=$ac_c_preproc_warn_flag
30729 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30736 +if test -z "$ac_cpp_err"; then
30737 + ac_header_preproc=yes
30739 - cat > conftest.$ac_ext <<EOF
30740 -#line 2919 "configure"
30741 -#include "confdefs.h"
30742 -#include <$ac_hdr>
30744 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
30745 -{ (eval echo configure:2924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
30746 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
30747 -if test -z "$ac_err"; then
30749 - eval "ac_cv_header_$ac_safe=yes"
30750 + echo "$as_me: failed program was:" >&5
30751 +sed 's/^/| /' conftest.$ac_ext >&5
30753 + ac_header_preproc=no
30755 +rm -f conftest.err conftest.$ac_ext
30756 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30757 +echo "${ECHO_T}$ac_header_preproc" >&6
30759 +# So? What about this header?
30760 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30762 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30763 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30764 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30765 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30766 + ac_header_preproc=yes
30769 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30770 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30771 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30772 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30773 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30774 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30775 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30776 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30777 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30778 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30779 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30780 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30783 +## ------------------------------------------ ##
30784 +## Report this to the AC_PACKAGE_NAME lists. ##
30785 +## ------------------------------------------ ##
30788 + sed "s/^/$as_me: WARNING: /" >&2
30791 +echo "$as_me:$LINENO: checking for $ac_header" >&5
30792 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30793 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
30794 + echo $ECHO_N "(cached) $ECHO_C" >&6
30796 - echo "$ac_err" >&5
30797 - echo "configure: failed program was:" >&5
30798 - cat conftest.$ac_ext >&5
30800 - eval "ac_cv_header_$ac_safe=no"
30801 + eval "$as_ac_Header=\$ac_header_preproc"
30804 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30805 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30808 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
30809 - echo "$ac_t""yes" 1>&6
30810 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
30811 - cat >> confdefs.h <<EOF
30812 -#define $ac_tr_hdr 1
30816 - echo "$ac_t""no" 1>&6
30817 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
30818 + cat >>confdefs.h <<_ACEOF
30819 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30827 for ac_func in getpagesize
30829 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
30830 -echo "configure:2953: checking for $ac_func" >&5
30831 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
30832 - echo $ac_n "(cached) $ac_c" 1>&6
30834 - cat > conftest.$ac_ext <<EOF
30835 -#line 2958 "configure"
30836 -#include "confdefs.h"
30837 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30838 +echo "$as_me:$LINENO: checking for $ac_func" >&5
30839 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30840 +if eval "test \"\${$as_ac_var+set}\" = set"; then
30841 + echo $ECHO_N "(cached) $ECHO_C" >&6
30843 + cat >conftest.$ac_ext <<_ACEOF
30846 +cat confdefs.h >>conftest.$ac_ext
30847 +cat >>conftest.$ac_ext <<_ACEOF
30848 +/* end confdefs.h. */
30849 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30850 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
30851 +#define $ac_func innocuous_$ac_func
30853 /* System header to define __stub macros and hopefully few prototypes,
30854 - which can conflict with char $ac_func(); below. */
30855 -#include <assert.h>
30856 -/* Override any gcc2 internal prototype to avoid an error. */
30857 -/* We use char because int might match the return type of a gcc2
30858 - builtin and then its argument prototype would still apply. */
30860 + which can conflict with char $ac_func (); below.
30861 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30862 + <limits.h> exists even on freestanding compilers. */
30865 +# include <limits.h>
30867 +# include <assert.h>
30873 +/* Override any gcc2 internal prototype to avoid an error. */
30874 +#ifdef __cplusplus
30878 +/* We use char because int might match the return type of a gcc2
30879 + builtin and then its argument prototype would still apply. */
30881 /* The GNU C library defines this for functions which it implements
30882 to always fail with ENOSYS. Some functions are actually named
30883 something starting with __ and the normal name is an alias. */
30884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30888 +char (*f) () = $ac_func;
30890 +#ifdef __cplusplus
30896 -if { (eval echo configure:2981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
30898 - eval "ac_cv_func_$ac_func=yes"
30900 - echo "configure: failed program was:" >&5
30901 - cat conftest.$ac_ext >&5
30903 - eval "ac_cv_func_$ac_func=no"
30910 +return f != $ac_func;
30915 +rm -f conftest.$ac_objext conftest$ac_exeext
30916 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30917 + (eval $ac_link) 2>conftest.er1
30919 + grep -v '^ *+' conftest.er1 >conftest.err
30920 + rm -f conftest.er1
30921 + cat conftest.err >&5
30922 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 + (exit $ac_status); } &&
30924 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30925 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926 + (eval $ac_try) 2>&5
30928 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 + (exit $ac_status); }; } &&
30930 + { ac_try='test -s conftest$ac_exeext'
30931 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 + (eval $ac_try) 2>&5
30934 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 + (exit $ac_status); }; }; then
30936 + eval "$as_ac_var=yes"
30938 + echo "$as_me: failed program was:" >&5
30939 +sed 's/^/| /' conftest.$ac_ext >&5
30941 +eval "$as_ac_var=no"
30943 +rm -f conftest.err conftest.$ac_objext \
30944 + conftest$ac_exeext conftest.$ac_ext
30946 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30947 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30948 +if test `eval echo '${'$as_ac_var'}'` = yes; then
30949 + cat >>confdefs.h <<_ACEOF
30950 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30953 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
30954 - echo "$ac_t""yes" 1>&6
30955 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
30956 - cat >> confdefs.h <<EOF
30957 -#define $ac_tr_func 1
30961 - echo "$ac_t""no" 1>&6
30965 -echo $ac_n "checking for working mmap""... $ac_c" 1>&6
30966 -echo "configure:3006: checking for working mmap" >&5
30967 -if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
30968 - echo $ac_n "(cached) $ac_c" 1>&6
30969 +echo "$as_me:$LINENO: checking for working mmap" >&5
30970 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30971 +if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30972 + echo $ECHO_N "(cached) $ECHO_C" >&6
30974 if test "$cross_compiling" = yes; then
30975 ac_cv_func_mmap_fixed_mapped=no
30977 - cat > conftest.$ac_ext <<EOF
30978 -#line 3014 "configure"
30979 -#include "confdefs.h"
30980 + cat >conftest.$ac_ext <<_ACEOF
30983 +cat confdefs.h >>conftest.$ac_ext
30984 +cat >>conftest.$ac_ext <<_ACEOF
30985 +/* end confdefs.h. */
30986 +$ac_includes_default
30987 +/* malloc might have been renamed as rpl_malloc. */
30990 /* Thanks to Mike Haertel and Jim Avera for this test.
30991 Here is a matrix of mmap possibilities:
30992 @@ -3025,34 +20581,34 @@
30993 back from the file, nor mmap's back from the file at a different
30994 address. (There have been systems where private was not correctly
30995 implemented like the infamous i386 svr4.0, and systems where the
30996 - VM page cache was not coherent with the filesystem buffer cache
30997 + VM page cache was not coherent with the file system buffer cache
30998 like early versions of FreeBSD and possibly contemporary NetBSD.)
30999 For shared mappings, we should conversely verify that changes get
31000 - propogated back to all the places they're supposed to be.
31001 + propagated back to all the places they're supposed to be.
31003 Grep wants private fixed already mapped.
31004 The main things grep needs to know about mmap are:
31005 * does it exist and is it safe to write into the mmap'd area
31006 * how to use it (BSD variants) */
31007 -#include <sys/types.h>
31010 #include <sys/mman.h>
31012 -/* This mess was copied from the GNU getpagesize.h. */
31013 -#ifndef HAVE_GETPAGESIZE
31014 -# ifdef HAVE_UNISTD_H
31015 -# include <unistd.h>
31017 +#if !STDC_HEADERS && !HAVE_STDLIB_H
31021 +/* This mess was copied from the GNU getpagesize.h. */
31022 +#if !HAVE_GETPAGESIZE
31023 /* Assume that all systems that can run configure have sys/param.h. */
31024 -# ifndef HAVE_SYS_PARAM_H
31025 +# if !HAVE_SYS_PARAM_H
31026 # define HAVE_SYS_PARAM_H 1
31029 # ifdef _SC_PAGESIZE
31030 # define getpagesize() sysconf(_SC_PAGESIZE)
31031 # else /* no _SC_PAGESIZE */
31032 -# ifdef HAVE_SYS_PARAM_H
31033 +# if HAVE_SYS_PARAM_H
31034 # include <sys/param.h>
31035 # ifdef EXEC_PAGESIZE
31036 # define getpagesize() EXEC_PAGESIZE
31037 @@ -3079,308 +20635,491 @@
31039 #endif /* no HAVE_GETPAGESIZE */
31041 -#ifdef __cplusplus
31042 -extern "C" { void *malloc(unsigned); }
31051 - char *data, *data2, *data3;
31055 - pagesize = getpagesize();
31058 - * First, make a file with some known garbage in it.
31060 - data = malloc(pagesize);
31063 - for (i = 0; i < pagesize; ++i)
31064 - *(data + i) = rand();
31066 - fd = creat("conftestmmap", 0600);
31069 - if (write(fd, data, pagesize) != pagesize)
31074 - * Next, try to mmap the file at a fixed address which
31075 - * already has something else allocated at it. If we can,
31076 - * also make sure that we see the same garbage.
31078 - fd = open("conftestmmap", O_RDWR);
31081 - data2 = malloc(2 * pagesize);
31084 - data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
31085 - if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
31086 - MAP_PRIVATE | MAP_FIXED, fd, 0L))
31088 - for (i = 0; i < pagesize; ++i)
31089 - if (*(data + i) != *(data2 + i))
31093 - * Finally, make sure that changes to the mapped area
31094 - * do not percolate back to the file as seen by read().
31095 - * (This is a bug on some variants of i386 svr4.0.)
31097 - for (i = 0; i < pagesize; ++i)
31098 - *(data2 + i) = *(data2 + i) + 1;
31099 - data3 = malloc(pagesize);
31102 - if (read(fd, data3, pagesize) != pagesize)
31104 - for (i = 0; i < pagesize; ++i)
31105 - if (*(data + i) != *(data3 + i))
31108 - unlink("conftestmmap");
31110 + char *data, *data2, *data3;
31114 + pagesize = getpagesize ();
31116 + /* First, make a file with some known garbage in it. */
31117 + data = (char *) malloc (pagesize);
31120 + for (i = 0; i < pagesize; ++i)
31121 + *(data + i) = rand ();
31123 + fd = creat ("conftest.mmap", 0600);
31126 + if (write (fd, data, pagesize) != pagesize)
31130 + /* Next, try to mmap the file at a fixed address which already has
31131 + something else allocated at it. If we can, also make sure that
31132 + we see the same garbage. */
31133 + fd = open ("conftest.mmap", O_RDWR);
31136 + data2 = (char *) malloc (2 * pagesize);
31139 + data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
31140 + if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
31141 + MAP_PRIVATE | MAP_FIXED, fd, 0L))
31143 + for (i = 0; i < pagesize; ++i)
31144 + if (*(data + i) != *(data2 + i))
31147 + /* Finally, make sure that changes to the mapped area do not
31148 + percolate back to the file as seen by read(). (This is a bug on
31149 + some variants of i386 svr4.0.) */
31150 + for (i = 0; i < pagesize; ++i)
31151 + *(data2 + i) = *(data2 + i) + 1;
31152 + data3 = (char *) malloc (pagesize);
31155 + if (read (fd, data3, pagesize) != pagesize)
31157 + for (i = 0; i < pagesize; ++i)
31158 + if (*(data + i) != *(data3 + i))
31165 -if { (eval echo configure:3154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
31168 +rm -f conftest$ac_exeext
31169 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31170 + (eval $ac_link) 2>&5
31172 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31174 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31175 + (eval $ac_try) 2>&5
31177 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178 + (exit $ac_status); }; }; then
31179 ac_cv_func_mmap_fixed_mapped=yes
31181 - echo "configure: failed program was:" >&5
31182 - cat conftest.$ac_ext >&5
31184 - ac_cv_func_mmap_fixed_mapped=no
31185 + echo "$as_me: program exited with status $ac_status" >&5
31186 +echo "$as_me: failed program was:" >&5
31187 +sed 's/^/| /' conftest.$ac_ext >&5
31189 +( exit $ac_status )
31190 +ac_cv_func_mmap_fixed_mapped=no
31193 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31198 -echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
31199 +echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
31200 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31201 if test $ac_cv_func_mmap_fixed_mapped = yes; then
31202 - cat >> confdefs.h <<\EOF
31204 +cat >>confdefs.h <<\_ACEOF
31205 #define HAVE_MMAP 1
31210 +rm -f conftest.mmap
31216 - for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \
31223 +for ac_header in argz.h limits.h locale.h nl_types.h malloc.h string.h \
31224 unistd.h sys/param.h
31226 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
31227 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
31228 -echo "configure:3182: checking for $ac_hdr" >&5
31229 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
31230 - echo $ac_n "(cached) $ac_c" 1>&6
31231 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31232 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
31233 + echo "$as_me:$LINENO: checking for $ac_header" >&5
31234 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31235 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
31236 + echo $ECHO_N "(cached) $ECHO_C" >&6
31238 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31239 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31241 + # Is the header compilable?
31242 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
31243 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31244 +cat >conftest.$ac_ext <<_ACEOF
31247 +cat confdefs.h >>conftest.$ac_ext
31248 +cat >>conftest.$ac_ext <<_ACEOF
31249 +/* end confdefs.h. */
31250 +$ac_includes_default
31251 +#include <$ac_header>
31253 +rm -f conftest.$ac_objext
31254 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31255 + (eval $ac_compile) 2>conftest.er1
31257 + grep -v '^ *+' conftest.er1 >conftest.err
31258 + rm -f conftest.er1
31259 + cat conftest.err >&5
31260 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 + (exit $ac_status); } &&
31262 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31263 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31264 + (eval $ac_try) 2>&5
31266 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 + (exit $ac_status); }; } &&
31268 + { ac_try='test -s conftest.$ac_objext'
31269 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31270 + (eval $ac_try) 2>&5
31272 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 + (exit $ac_status); }; }; then
31274 + ac_header_compiler=yes
31276 + echo "$as_me: failed program was:" >&5
31277 +sed 's/^/| /' conftest.$ac_ext >&5
31279 +ac_header_compiler=no
31281 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31282 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31283 +echo "${ECHO_T}$ac_header_compiler" >&6
31285 +# Is the header present?
31286 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
31287 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31288 +cat >conftest.$ac_ext <<_ACEOF
31291 +cat confdefs.h >>conftest.$ac_ext
31292 +cat >>conftest.$ac_ext <<_ACEOF
31293 +/* end confdefs.h. */
31294 +#include <$ac_header>
31296 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31297 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31299 + grep -v '^ *+' conftest.er1 >conftest.err
31300 + rm -f conftest.er1
31301 + cat conftest.err >&5
31302 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 + (exit $ac_status); } >/dev/null; then
31304 + if test -s conftest.err; then
31305 + ac_cpp_err=$ac_c_preproc_warn_flag
31306 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31311 - cat > conftest.$ac_ext <<EOF
31312 -#line 3187 "configure"
31313 -#include "confdefs.h"
31314 -#include <$ac_hdr>
31316 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
31317 -{ (eval echo configure:3192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
31318 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
31319 -if test -z "$ac_err"; then
31321 - eval "ac_cv_header_$ac_safe=yes"
31324 +if test -z "$ac_cpp_err"; then
31325 + ac_header_preproc=yes
31327 - echo "$ac_err" >&5
31328 - echo "configure: failed program was:" >&5
31329 - cat conftest.$ac_ext >&5
31331 - eval "ac_cv_header_$ac_safe=no"
31332 + echo "$as_me: failed program was:" >&5
31333 +sed 's/^/| /' conftest.$ac_ext >&5
31335 + ac_header_preproc=no
31337 +rm -f conftest.err conftest.$ac_ext
31338 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31339 +echo "${ECHO_T}$ac_header_preproc" >&6
31341 +# So? What about this header?
31342 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31344 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31345 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31346 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31347 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31348 + ac_header_preproc=yes
31351 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31352 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31353 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31354 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31355 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31356 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31357 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31358 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31359 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31360 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31361 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31362 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31365 +## ------------------------------------------ ##
31366 +## Report this to the AC_PACKAGE_NAME lists. ##
31367 +## ------------------------------------------ ##
31370 + sed "s/^/$as_me: WARNING: /" >&2
31373 +echo "$as_me:$LINENO: checking for $ac_header" >&5
31374 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31375 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
31376 + echo $ECHO_N "(cached) $ECHO_C" >&6
31378 + eval "$as_ac_Header=\$ac_header_preproc"
31381 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31382 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31385 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
31386 - echo "$ac_t""yes" 1>&6
31387 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
31388 - cat >> confdefs.h <<EOF
31389 -#define $ac_tr_hdr 1
31393 - echo "$ac_t""no" 1>&6
31394 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
31395 + cat >>confdefs.h <<_ACEOF
31396 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31403 - for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \
31415 +for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \
31416 strdup __argz_count __argz_stringify __argz_next
31418 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
31419 -echo "configure:3222: checking for $ac_func" >&5
31420 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
31421 - echo $ac_n "(cached) $ac_c" 1>&6
31423 - cat > conftest.$ac_ext <<EOF
31424 -#line 3227 "configure"
31425 -#include "confdefs.h"
31426 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31427 +echo "$as_me:$LINENO: checking for $ac_func" >&5
31428 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31429 +if eval "test \"\${$as_ac_var+set}\" = set"; then
31430 + echo $ECHO_N "(cached) $ECHO_C" >&6
31432 + cat >conftest.$ac_ext <<_ACEOF
31435 +cat confdefs.h >>conftest.$ac_ext
31436 +cat >>conftest.$ac_ext <<_ACEOF
31437 +/* end confdefs.h. */
31438 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31439 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
31440 +#define $ac_func innocuous_$ac_func
31442 /* System header to define __stub macros and hopefully few prototypes,
31443 - which can conflict with char $ac_func(); below. */
31444 -#include <assert.h>
31445 -/* Override any gcc2 internal prototype to avoid an error. */
31446 -/* We use char because int might match the return type of a gcc2
31447 - builtin and then its argument prototype would still apply. */
31449 + which can conflict with char $ac_func (); below.
31450 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31451 + <limits.h> exists even on freestanding compilers. */
31454 +# include <limits.h>
31456 +# include <assert.h>
31462 +/* Override any gcc2 internal prototype to avoid an error. */
31463 +#ifdef __cplusplus
31467 +/* We use char because int might match the return type of a gcc2
31468 + builtin and then its argument prototype would still apply. */
31470 /* The GNU C library defines this for functions which it implements
31471 to always fail with ENOSYS. Some functions are actually named
31472 something starting with __ and the normal name is an alias. */
31473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31477 +char (*f) () = $ac_func;
31479 +#ifdef __cplusplus
31485 -if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
31487 - eval "ac_cv_func_$ac_func=yes"
31489 - echo "configure: failed program was:" >&5
31490 - cat conftest.$ac_ext >&5
31492 - eval "ac_cv_func_$ac_func=no"
31499 +return f != $ac_func;
31504 +rm -f conftest.$ac_objext conftest$ac_exeext
31505 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31506 + (eval $ac_link) 2>conftest.er1
31508 + grep -v '^ *+' conftest.er1 >conftest.err
31509 + rm -f conftest.er1
31510 + cat conftest.err >&5
31511 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 + (exit $ac_status); } &&
31513 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31514 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515 + (eval $ac_try) 2>&5
31517 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 + (exit $ac_status); }; } &&
31519 + { ac_try='test -s conftest$ac_exeext'
31520 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31521 + (eval $ac_try) 2>&5
31523 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 + (exit $ac_status); }; }; then
31525 + eval "$as_ac_var=yes"
31527 + echo "$as_me: failed program was:" >&5
31528 +sed 's/^/| /' conftest.$ac_ext >&5
31530 +eval "$as_ac_var=no"
31532 +rm -f conftest.err conftest.$ac_objext \
31533 + conftest$ac_exeext conftest.$ac_ext
31535 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31536 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31537 +if test `eval echo '${'$as_ac_var'}'` = yes; then
31538 + cat >>confdefs.h <<_ACEOF
31539 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31542 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
31543 - echo "$ac_t""yes" 1>&6
31544 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
31545 - cat >> confdefs.h <<EOF
31546 -#define $ac_tr_func 1
31550 - echo "$ac_t""no" 1>&6
31555 if test "${ac_cv_func_stpcpy+set}" != "set"; then
31556 - for ac_func in stpcpy
31558 +for ac_func in stpcpy
31560 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
31561 -echo "configure:3279: checking for $ac_func" >&5
31562 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
31563 - echo $ac_n "(cached) $ac_c" 1>&6
31565 - cat > conftest.$ac_ext <<EOF
31566 -#line 3284 "configure"
31567 -#include "confdefs.h"
31568 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31569 +echo "$as_me:$LINENO: checking for $ac_func" >&5
31570 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31571 +if eval "test \"\${$as_ac_var+set}\" = set"; then
31572 + echo $ECHO_N "(cached) $ECHO_C" >&6
31574 + cat >conftest.$ac_ext <<_ACEOF
31577 +cat confdefs.h >>conftest.$ac_ext
31578 +cat >>conftest.$ac_ext <<_ACEOF
31579 +/* end confdefs.h. */
31580 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31581 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
31582 +#define $ac_func innocuous_$ac_func
31584 /* System header to define __stub macros and hopefully few prototypes,
31585 - which can conflict with char $ac_func(); below. */
31586 -#include <assert.h>
31587 -/* Override any gcc2 internal prototype to avoid an error. */
31588 -/* We use char because int might match the return type of a gcc2
31589 - builtin and then its argument prototype would still apply. */
31591 + which can conflict with char $ac_func (); below.
31592 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31593 + <limits.h> exists even on freestanding compilers. */
31596 +# include <limits.h>
31598 +# include <assert.h>
31604 +/* Override any gcc2 internal prototype to avoid an error. */
31605 +#ifdef __cplusplus
31609 +/* We use char because int might match the return type of a gcc2
31610 + builtin and then its argument prototype would still apply. */
31612 /* The GNU C library defines this for functions which it implements
31613 to always fail with ENOSYS. Some functions are actually named
31614 something starting with __ and the normal name is an alias. */
31615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31619 +char (*f) () = $ac_func;
31621 +#ifdef __cplusplus
31627 -if { (eval echo configure:3307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
31629 - eval "ac_cv_func_$ac_func=yes"
31631 - echo "configure: failed program was:" >&5
31632 - cat conftest.$ac_ext >&5
31634 - eval "ac_cv_func_$ac_func=no"
31641 +return f != $ac_func;
31646 +rm -f conftest.$ac_objext conftest$ac_exeext
31647 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31648 + (eval $ac_link) 2>conftest.er1
31650 + grep -v '^ *+' conftest.er1 >conftest.err
31651 + rm -f conftest.er1
31652 + cat conftest.err >&5
31653 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654 + (exit $ac_status); } &&
31655 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31656 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31657 + (eval $ac_try) 2>&5
31659 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 + (exit $ac_status); }; } &&
31661 + { ac_try='test -s conftest$ac_exeext'
31662 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31663 + (eval $ac_try) 2>&5
31665 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 + (exit $ac_status); }; }; then
31667 + eval "$as_ac_var=yes"
31669 + echo "$as_me: failed program was:" >&5
31670 +sed 's/^/| /' conftest.$ac_ext >&5
31672 +eval "$as_ac_var=no"
31674 +rm -f conftest.err conftest.$ac_objext \
31675 + conftest$ac_exeext conftest.$ac_ext
31677 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31678 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31679 +if test `eval echo '${'$as_ac_var'}'` = yes; then
31680 + cat >>confdefs.h <<_ACEOF
31681 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31684 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
31685 - echo "$ac_t""yes" 1>&6
31686 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
31687 - cat >> confdefs.h <<EOF
31688 -#define $ac_tr_func 1
31692 - echo "$ac_t""no" 1>&6
31697 if test "${ac_cv_func_stpcpy}" = "yes"; then
31698 - cat >> confdefs.h <<\EOF
31699 + cat >>confdefs.h <<\_ACEOF
31700 #define HAVE_STPCPY 1
31706 - if test $ac_cv_header_locale_h = yes; then
31707 - echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
31708 -echo "configure:3341: checking for LC_MESSAGES" >&5
31709 -if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
31710 - echo $ac_n "(cached) $ac_c" 1>&6
31712 - cat > conftest.$ac_ext <<EOF
31713 -#line 3346 "configure"
31714 -#include "confdefs.h"
31715 -#include <locale.h>
31717 -return LC_MESSAGES
31720 -if { (eval echo configure:3353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
31722 - am_cv_val_LC_MESSAGES=yes
31724 - echo "configure: failed program was:" >&5
31725 - cat conftest.$ac_ext >&5
31727 - am_cv_val_LC_MESSAGES=no
31732 -echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6
31733 - if test $am_cv_val_LC_MESSAGES = yes; then
31734 - cat >> confdefs.h <<\EOF
31735 -#define HAVE_LC_MESSAGES 1
31740 - echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
31741 -echo "configure:3374: checking whether NLS is requested" >&5
31742 + echo "$as_me:$LINENO: checking whether NLS is requested" >&5
31743 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
31744 # Check whether --enable-nls or --disable-nls was given.
31745 if test "${enable_nls+set}" = set; then
31746 enableval="$enable_nls"
31752 + echo "$as_me:$LINENO: result: $USE_NLS" >&5
31753 +echo "${ECHO_T}$USE_NLS" >&6
31755 - echo "$ac_t""$USE_NLS" 1>&6
31758 USE_INCLUDED_LIBINTL=no
31760 @@ -3400,148 +21139,339 @@
31761 nls_cv_header_libgt=
31764 - ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
31765 -echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
31766 -echo "configure:3406: checking for libintl.h" >&5
31767 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
31768 - echo $ac_n "(cached) $ac_c" 1>&6
31770 - cat > conftest.$ac_ext <<EOF
31771 -#line 3411 "configure"
31772 -#include "confdefs.h"
31773 + if test "${ac_cv_header_libintl_h+set}" = set; then
31774 + echo "$as_me:$LINENO: checking for libintl.h" >&5
31775 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
31776 +if test "${ac_cv_header_libintl_h+set}" = set; then
31777 + echo $ECHO_N "(cached) $ECHO_C" >&6
31779 +echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
31780 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
31782 + # Is the header compilable?
31783 +echo "$as_me:$LINENO: checking libintl.h usability" >&5
31784 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
31785 +cat >conftest.$ac_ext <<_ACEOF
31788 +cat confdefs.h >>conftest.$ac_ext
31789 +cat >>conftest.$ac_ext <<_ACEOF
31790 +/* end confdefs.h. */
31791 +$ac_includes_default
31792 #include <libintl.h>
31794 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
31795 -{ (eval echo configure:3416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
31796 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
31797 -if test -z "$ac_err"; then
31799 - eval "ac_cv_header_$ac_safe=yes"
31801 +rm -f conftest.$ac_objext
31802 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31803 + (eval $ac_compile) 2>conftest.er1
31805 + grep -v '^ *+' conftest.er1 >conftest.err
31806 + rm -f conftest.er1
31807 + cat conftest.err >&5
31808 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 + (exit $ac_status); } &&
31810 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31811 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31812 + (eval $ac_try) 2>&5
31814 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 + (exit $ac_status); }; } &&
31816 + { ac_try='test -s conftest.$ac_objext'
31817 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31818 + (eval $ac_try) 2>&5
31820 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 + (exit $ac_status); }; }; then
31822 + ac_header_compiler=yes
31824 + echo "$as_me: failed program was:" >&5
31825 +sed 's/^/| /' conftest.$ac_ext >&5
31827 +ac_header_compiler=no
31829 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31830 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31831 +echo "${ECHO_T}$ac_header_compiler" >&6
31833 +# Is the header present?
31834 +echo "$as_me:$LINENO: checking libintl.h presence" >&5
31835 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
31836 +cat >conftest.$ac_ext <<_ACEOF
31839 +cat confdefs.h >>conftest.$ac_ext
31840 +cat >>conftest.$ac_ext <<_ACEOF
31841 +/* end confdefs.h. */
31842 +#include <libintl.h>
31844 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31845 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31847 + grep -v '^ *+' conftest.er1 >conftest.err
31848 + rm -f conftest.er1
31849 + cat conftest.err >&5
31850 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 + (exit $ac_status); } >/dev/null; then
31852 + if test -s conftest.err; then
31853 + ac_cpp_err=$ac_c_preproc_warn_flag
31854 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31859 - echo "$ac_err" >&5
31860 - echo "configure: failed program was:" >&5
31861 - cat conftest.$ac_ext >&5
31863 - eval "ac_cv_header_$ac_safe=no"
31868 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
31869 - echo "$ac_t""yes" 1>&6
31870 - echo $ac_n "checking for dgettext in libc""... $ac_c" 1>&6
31871 -echo "configure:3433: checking for dgettext in libc" >&5
31872 -if eval "test \"`echo '$''{'gt_cv_func_dgettext_libc'+set}'`\" = set"; then
31873 - echo $ac_n "(cached) $ac_c" 1>&6
31874 +if test -z "$ac_cpp_err"; then
31875 + ac_header_preproc=yes
31877 - cat > conftest.$ac_ext <<EOF
31878 -#line 3438 "configure"
31879 -#include "confdefs.h"
31880 + echo "$as_me: failed program was:" >&5
31881 +sed 's/^/| /' conftest.$ac_ext >&5
31883 + ac_header_preproc=no
31885 +rm -f conftest.err conftest.$ac_ext
31886 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31887 +echo "${ECHO_T}$ac_header_preproc" >&6
31889 +# So? What about this header?
31890 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31892 + { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31893 +echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31894 + { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
31895 +echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
31896 + ac_header_preproc=yes
31899 + { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
31900 +echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
31901 + { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
31902 +echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
31903 + { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
31904 +echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
31905 + { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
31906 +echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31907 + { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
31908 +echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
31909 + { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
31910 +echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
31913 +## ------------------------------------------ ##
31914 +## Report this to the AC_PACKAGE_NAME lists. ##
31915 +## ------------------------------------------ ##
31918 + sed "s/^/$as_me: WARNING: /" >&2
31921 +echo "$as_me:$LINENO: checking for libintl.h" >&5
31922 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
31923 +if test "${ac_cv_header_libintl_h+set}" = set; then
31924 + echo $ECHO_N "(cached) $ECHO_C" >&6
31926 + ac_cv_header_libintl_h=$ac_header_preproc
31928 +echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
31929 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
31932 +if test $ac_cv_header_libintl_h = yes; then
31933 + echo "$as_me:$LINENO: checking for dgettext in libc" >&5
31934 +echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
31935 +if test "${gt_cv_func_dgettext_libc+set}" = set; then
31936 + echo $ECHO_N "(cached) $ECHO_C" >&6
31938 + cat >conftest.$ac_ext <<_ACEOF
31941 +cat confdefs.h >>conftest.$ac_ext
31942 +cat >>conftest.$ac_ext <<_ACEOF
31943 +/* end confdefs.h. */
31944 #include <libintl.h>
31949 return (int) dgettext ("","")
31952 -if { (eval echo configure:3445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
31958 +rm -f conftest.$ac_objext conftest$ac_exeext
31959 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31960 + (eval $ac_link) 2>conftest.er1
31962 + grep -v '^ *+' conftest.er1 >conftest.err
31963 + rm -f conftest.er1
31964 + cat conftest.err >&5
31965 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 + (exit $ac_status); } &&
31967 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31968 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31969 + (eval $ac_try) 2>&5
31971 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 + (exit $ac_status); }; } &&
31973 + { ac_try='test -s conftest$ac_exeext'
31974 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31975 + (eval $ac_try) 2>&5
31977 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 + (exit $ac_status); }; }; then
31979 gt_cv_func_dgettext_libc=yes
31981 - echo "configure: failed program was:" >&5
31982 - cat conftest.$ac_ext >&5
31984 - gt_cv_func_dgettext_libc=no
31985 + echo "$as_me: failed program was:" >&5
31986 +sed 's/^/| /' conftest.$ac_ext >&5
31988 +gt_cv_func_dgettext_libc=no
31991 +rm -f conftest.err conftest.$ac_objext \
31992 + conftest$ac_exeext conftest.$ac_ext
31995 -echo "$ac_t""$gt_cv_func_dgettext_libc" 1>&6
31996 +echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
31997 +echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
31999 if test "$gt_cv_func_dgettext_libc" != "yes"; then
32000 - echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
32001 -echo "configure:3461: checking for bindtextdomain in -lintl" >&5
32002 -ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
32003 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
32004 - echo $ac_n "(cached) $ac_c" 1>&6
32005 + echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
32006 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
32007 +if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
32008 + echo $ECHO_N "(cached) $ECHO_C" >&6
32010 - ac_save_LIBS="$LIBS"
32011 + ac_check_lib_save_LIBS=$LIBS
32012 LIBS="-lintl $LIBS"
32013 -cat > conftest.$ac_ext <<EOF
32014 -#line 3469 "configure"
32015 -#include "confdefs.h"
32016 +cat >conftest.$ac_ext <<_ACEOF
32019 +cat confdefs.h >>conftest.$ac_ext
32020 +cat >>conftest.$ac_ext <<_ACEOF
32021 +/* end confdefs.h. */
32023 /* Override any gcc2 internal prototype to avoid an error. */
32024 +#ifdef __cplusplus
32027 /* We use char because int might match the return type of a gcc2
32028 - builtin and then its argument prototype would still apply. */
32029 -char bindtextdomain();
32035 -if { (eval echo configure:3480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
32037 - eval "ac_cv_lib_$ac_lib_var=yes"
32039 - echo "configure: failed program was:" >&5
32040 - cat conftest.$ac_ext >&5
32042 - eval "ac_cv_lib_$ac_lib_var=no"
32045 -LIBS="$ac_save_LIBS"
32048 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
32049 - echo "$ac_t""yes" 1>&6
32050 - echo $ac_n "checking for dgettext in libintl""... $ac_c" 1>&6
32051 -echo "configure:3496: checking for dgettext in libintl" >&5
32052 -if eval "test \"`echo '$''{'gt_cv_func_dgettext_libintl'+set}'`\" = set"; then
32053 - echo $ac_n "(cached) $ac_c" 1>&6
32055 - echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
32056 -echo "configure:3501: checking for dgettext in -lintl" >&5
32057 -ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
32058 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
32059 - echo $ac_n "(cached) $ac_c" 1>&6
32060 + builtin and then its argument prototype would still apply. */
32061 +char bindtextdomain ();
32065 +bindtextdomain ();
32070 +rm -f conftest.$ac_objext conftest$ac_exeext
32071 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32072 + (eval $ac_link) 2>conftest.er1
32074 + grep -v '^ *+' conftest.er1 >conftest.err
32075 + rm -f conftest.er1
32076 + cat conftest.err >&5
32077 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32078 + (exit $ac_status); } &&
32079 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32080 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32081 + (eval $ac_try) 2>&5
32083 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32084 + (exit $ac_status); }; } &&
32085 + { ac_try='test -s conftest$ac_exeext'
32086 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32087 + (eval $ac_try) 2>&5
32089 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32090 + (exit $ac_status); }; }; then
32091 + ac_cv_lib_intl_bindtextdomain=yes
32093 + echo "$as_me: failed program was:" >&5
32094 +sed 's/^/| /' conftest.$ac_ext >&5
32096 +ac_cv_lib_intl_bindtextdomain=no
32098 +rm -f conftest.err conftest.$ac_objext \
32099 + conftest$ac_exeext conftest.$ac_ext
32100 +LIBS=$ac_check_lib_save_LIBS
32102 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
32103 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
32104 +if test $ac_cv_lib_intl_bindtextdomain = yes; then
32105 + echo "$as_me:$LINENO: checking for dgettext in libintl" >&5
32106 +echo $ECHO_N "checking for dgettext in libintl... $ECHO_C" >&6
32107 +if test "${gt_cv_func_dgettext_libintl+set}" = set; then
32108 + echo $ECHO_N "(cached) $ECHO_C" >&6
32110 + echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
32111 +echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
32112 +if test "${ac_cv_lib_intl_dgettext+set}" = set; then
32113 + echo $ECHO_N "(cached) $ECHO_C" >&6
32115 - ac_save_LIBS="$LIBS"
32116 + ac_check_lib_save_LIBS=$LIBS
32117 LIBS="-lintl $LIBS"
32118 -cat > conftest.$ac_ext <<EOF
32119 -#line 3509 "configure"
32120 -#include "confdefs.h"
32121 +cat >conftest.$ac_ext <<_ACEOF
32124 +cat confdefs.h >>conftest.$ac_ext
32125 +cat >>conftest.$ac_ext <<_ACEOF
32126 +/* end confdefs.h. */
32128 /* Override any gcc2 internal prototype to avoid an error. */
32129 +#ifdef __cplusplus
32132 /* We use char because int might match the return type of a gcc2
32133 - builtin and then its argument prototype would still apply. */
32140 -if { (eval echo configure:3520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
32142 - eval "ac_cv_lib_$ac_lib_var=yes"
32144 - echo "configure: failed program was:" >&5
32145 - cat conftest.$ac_ext >&5
32147 - eval "ac_cv_lib_$ac_lib_var=no"
32150 -LIBS="$ac_save_LIBS"
32153 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
32154 - echo "$ac_t""yes" 1>&6
32155 + builtin and then its argument prototype would still apply. */
32165 +rm -f conftest.$ac_objext conftest$ac_exeext
32166 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32167 + (eval $ac_link) 2>conftest.er1
32169 + grep -v '^ *+' conftest.er1 >conftest.err
32170 + rm -f conftest.er1
32171 + cat conftest.err >&5
32172 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 + (exit $ac_status); } &&
32174 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32175 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32176 + (eval $ac_try) 2>&5
32178 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32179 + (exit $ac_status); }; } &&
32180 + { ac_try='test -s conftest$ac_exeext'
32181 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32182 + (eval $ac_try) 2>&5
32184 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 + (exit $ac_status); }; }; then
32186 + ac_cv_lib_intl_dgettext=yes
32188 + echo "$as_me: failed program was:" >&5
32189 +sed 's/^/| /' conftest.$ac_ext >&5
32191 +ac_cv_lib_intl_dgettext=no
32193 +rm -f conftest.err conftest.$ac_objext \
32194 + conftest$ac_exeext conftest.$ac_ext
32195 +LIBS=$ac_check_lib_save_LIBS
32197 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
32198 +echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
32199 +if test $ac_cv_lib_intl_dgettext = yes; then
32200 gt_cv_func_dgettext_libintl=yes
32202 - echo "$ac_t""no" 1>&6
32203 -gt_cv_func_dgettext_libintl=no
32204 + gt_cv_func_dgettext_libintl=no
32209 -echo "$ac_t""$gt_cv_func_dgettext_libintl" 1>&6
32211 - echo "$ac_t""no" 1>&6
32212 +echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libintl" >&5
32213 +echo "${ECHO_T}$gt_cv_func_dgettext_libintl" >&6
32217 @@ -3552,190 +21482,337 @@
32219 if test "$gt_cv_func_dgettext_libc" = "yes" \
32220 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
32221 - cat >> confdefs.h <<\EOF
32222 + cat >>confdefs.h <<\_ACEOF
32223 #define HAVE_GETTEXT 1
32228 +# Prepare PATH_SEPARATOR.
32229 +# The user is always right.
32230 +if test "${PATH_SEPARATOR+set}" != set; then
32231 + echo "#! /bin/sh" >conf$$.sh
32232 + echo "exit 0" >>conf$$.sh
32233 + chmod +x conf$$.sh
32234 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
32235 + PATH_SEPARATOR=';'
32242 +# Find out how to test for executable files. Don't use a zero-byte file,
32243 +# as systems may use methods other than mode bits to determine executability.
32244 +cat >conf$$.file <<_ASEOF
32248 +chmod +x conf$$.file
32249 +if test -x conf$$.file >/dev/null 2>&1; then
32250 + ac_executable_p="test -x"
32252 + ac_executable_p="test -f"
32256 - # Extract the first word of "msgfmt", so it can be a program name with args.
32257 +# Extract the first word of "msgfmt", so it can be a program name with args.
32258 set dummy msgfmt; ac_word=$2
32259 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
32260 -echo "configure:3563: checking for $ac_word" >&5
32261 -if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
32262 - echo $ac_n "(cached) $ac_c" 1>&6
32263 +echo "$as_me:$LINENO: checking for $ac_word" >&5
32264 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32265 +if test "${ac_cv_path_MSGFMT+set}" = set; then
32266 + echo $ECHO_N "(cached) $ECHO_C" >&6
32270 - ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
32272 + [\\/]* | ?:[\\/]*)
32273 + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
32276 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
32277 - for ac_dir in $PATH; do
32278 - test -z "$ac_dir" && ac_dir=.
32279 - if test -f $ac_dir/$ac_word; then
32280 - if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
32281 - ac_cv_path_MSGFMT="$ac_dir/$ac_word"
32286 - IFS="$ac_save_ifs"
32287 + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
32288 + for ac_dir in $PATH; do
32289 + IFS="$ac_save_IFS"
32290 + test -z "$ac_dir" && ac_dir=.
32291 + for ac_exec_ext in '' $ac_executable_extensions; do
32292 + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
32293 + echo "$as_me: trying $ac_dir/$ac_word..." >&5
32294 + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
32295 + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
32301 + IFS="$ac_save_IFS"
32302 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
32307 MSGFMT="$ac_cv_path_MSGFMT"
32308 -if test -n "$MSGFMT"; then
32309 - echo "$ac_t""$MSGFMT" 1>&6
32310 +if test "$MSGFMT" != "no"; then
32311 + echo "$as_me:$LINENO: result: $MSGFMT" >&5
32312 +echo "${ECHO_T}$MSGFMT" >&6
32314 - echo "$ac_t""no" 1>&6
32315 + echo "$as_me:$LINENO: result: no" >&5
32316 +echo "${ECHO_T}no" >&6
32318 if test "$MSGFMT" != "no"; then
32319 - for ac_func in dcgettext
32321 +for ac_func in dcgettext
32323 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
32324 -echo "configure:3597: checking for $ac_func" >&5
32325 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
32326 - echo $ac_n "(cached) $ac_c" 1>&6
32328 - cat > conftest.$ac_ext <<EOF
32329 -#line 3602 "configure"
32330 -#include "confdefs.h"
32331 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32332 +echo "$as_me:$LINENO: checking for $ac_func" >&5
32333 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32334 +if eval "test \"\${$as_ac_var+set}\" = set"; then
32335 + echo $ECHO_N "(cached) $ECHO_C" >&6
32337 + cat >conftest.$ac_ext <<_ACEOF
32340 +cat confdefs.h >>conftest.$ac_ext
32341 +cat >>conftest.$ac_ext <<_ACEOF
32342 +/* end confdefs.h. */
32343 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32344 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
32345 +#define $ac_func innocuous_$ac_func
32347 /* System header to define __stub macros and hopefully few prototypes,
32348 - which can conflict with char $ac_func(); below. */
32349 -#include <assert.h>
32350 -/* Override any gcc2 internal prototype to avoid an error. */
32351 -/* We use char because int might match the return type of a gcc2
32352 - builtin and then its argument prototype would still apply. */
32354 + which can conflict with char $ac_func (); below.
32355 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32356 + <limits.h> exists even on freestanding compilers. */
32359 +# include <limits.h>
32361 +# include <assert.h>
32367 +/* Override any gcc2 internal prototype to avoid an error. */
32368 +#ifdef __cplusplus
32372 +/* We use char because int might match the return type of a gcc2
32373 + builtin and then its argument prototype would still apply. */
32375 /* The GNU C library defines this for functions which it implements
32376 to always fail with ENOSYS. Some functions are actually named
32377 something starting with __ and the normal name is an alias. */
32378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32382 +char (*f) () = $ac_func;
32384 +#ifdef __cplusplus
32390 -if { (eval echo configure:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
32392 - eval "ac_cv_func_$ac_func=yes"
32394 - echo "configure: failed program was:" >&5
32395 - cat conftest.$ac_ext >&5
32397 - eval "ac_cv_func_$ac_func=no"
32404 +return f != $ac_func;
32409 +rm -f conftest.$ac_objext conftest$ac_exeext
32410 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32411 + (eval $ac_link) 2>conftest.er1
32413 + grep -v '^ *+' conftest.er1 >conftest.err
32414 + rm -f conftest.er1
32415 + cat conftest.err >&5
32416 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 + (exit $ac_status); } &&
32418 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32419 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32420 + (eval $ac_try) 2>&5
32422 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 + (exit $ac_status); }; } &&
32424 + { ac_try='test -s conftest$ac_exeext'
32425 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32426 + (eval $ac_try) 2>&5
32428 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 + (exit $ac_status); }; }; then
32430 + eval "$as_ac_var=yes"
32432 + echo "$as_me: failed program was:" >&5
32433 +sed 's/^/| /' conftest.$ac_ext >&5
32435 +eval "$as_ac_var=no"
32437 +rm -f conftest.err conftest.$ac_objext \
32438 + conftest$ac_exeext conftest.$ac_ext
32440 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32441 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32442 +if test `eval echo '${'$as_ac_var'}'` = yes; then
32443 + cat >>confdefs.h <<_ACEOF
32444 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32447 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
32448 - echo "$ac_t""yes" 1>&6
32449 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
32450 - cat >> confdefs.h <<EOF
32451 -#define $ac_tr_func 1
32455 - echo "$ac_t""no" 1>&6
32459 # Extract the first word of "gmsgfmt", so it can be a program name with args.
32460 set dummy gmsgfmt; ac_word=$2
32461 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
32462 -echo "configure:3652: checking for $ac_word" >&5
32463 -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
32464 - echo $ac_n "(cached) $ac_c" 1>&6
32465 +echo "$as_me:$LINENO: checking for $ac_word" >&5
32466 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32467 +if test "${ac_cv_path_GMSGFMT+set}" = set; then
32468 + echo $ECHO_N "(cached) $ECHO_C" >&6
32470 - case "$GMSGFMT" in
32473 + [\\/]* | ?:[\\/]*)
32474 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
32477 - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
32480 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
32482 - for ac_dir in $ac_dummy; do
32483 - test -z "$ac_dir" && ac_dir=.
32484 - if test -f $ac_dir/$ac_word; then
32485 - ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
32489 - IFS="$ac_save_ifs"
32490 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32491 +for as_dir in $PATH
32494 + test -z "$as_dir" && as_dir=.
32495 + for ac_exec_ext in '' $ac_executable_extensions; do
32496 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32497 + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
32498 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32504 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
32508 -GMSGFMT="$ac_cv_path_GMSGFMT"
32509 +GMSGFMT=$ac_cv_path_GMSGFMT
32511 if test -n "$GMSGFMT"; then
32512 - echo "$ac_t""$GMSGFMT" 1>&6
32513 + echo "$as_me:$LINENO: result: $GMSGFMT" >&5
32514 +echo "${ECHO_T}$GMSGFMT" >&6
32516 + echo "$as_me:$LINENO: result: no" >&5
32517 +echo "${ECHO_T}no" >&6
32521 +# Prepare PATH_SEPARATOR.
32522 +# The user is always right.
32523 +if test "${PATH_SEPARATOR+set}" != set; then
32524 + echo "#! /bin/sh" >conf$$.sh
32525 + echo "exit 0" >>conf$$.sh
32526 + chmod +x conf$$.sh
32527 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
32528 + PATH_SEPARATOR=';'
32535 +# Find out how to test for executable files. Don't use a zero-byte file,
32536 +# as systems may use methods other than mode bits to determine executability.
32537 +cat >conf$$.file <<_ASEOF
32541 +chmod +x conf$$.file
32542 +if test -x conf$$.file >/dev/null 2>&1; then
32543 + ac_executable_p="test -x"
32545 - echo "$ac_t""no" 1>&6
32546 + ac_executable_p="test -f"
32550 - # Extract the first word of "xgettext", so it can be a program name with args.
32551 +# Extract the first word of "xgettext", so it can be a program name with args.
32552 set dummy xgettext; ac_word=$2
32553 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
32554 -echo "configure:3688: checking for $ac_word" >&5
32555 -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
32556 - echo $ac_n "(cached) $ac_c" 1>&6
32557 +echo "$as_me:$LINENO: checking for $ac_word" >&5
32558 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32559 +if test "${ac_cv_path_XGETTEXT+set}" = set; then
32560 + echo $ECHO_N "(cached) $ECHO_C" >&6
32562 case "$XGETTEXT" in
32564 - ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
32566 + [\\/]* | ?:[\\/]*)
32567 + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
32570 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
32571 - for ac_dir in $PATH; do
32572 - test -z "$ac_dir" && ac_dir=.
32573 - if test -f $ac_dir/$ac_word; then
32574 - if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
32575 - ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
32580 - IFS="$ac_save_ifs"
32581 + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
32582 + for ac_dir in $PATH; do
32583 + IFS="$ac_save_IFS"
32584 + test -z "$ac_dir" && ac_dir=.
32585 + for ac_exec_ext in '' $ac_executable_extensions; do
32586 + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
32587 + echo "$as_me: trying $ac_dir/$ac_word..." >&5
32588 + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
32589 + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
32595 + IFS="$ac_save_IFS"
32596 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
32601 XGETTEXT="$ac_cv_path_XGETTEXT"
32602 -if test -n "$XGETTEXT"; then
32603 - echo "$ac_t""$XGETTEXT" 1>&6
32605 - echo "$ac_t""no" 1>&6
32606 +if test "$XGETTEXT" != ":"; then
32607 + echo "$as_me:$LINENO: result: $XGETTEXT" >&5
32608 +echo "${ECHO_T}$XGETTEXT" >&6
32610 + echo "$as_me:$LINENO: result: no" >&5
32611 +echo "${ECHO_T}no" >&6
32614 - cat > conftest.$ac_ext <<EOF
32615 -#line 3720 "configure"
32616 -#include "confdefs.h"
32617 + cat >conftest.$ac_ext <<_ACEOF
32620 +cat confdefs.h >>conftest.$ac_ext
32621 +cat >>conftest.$ac_ext <<_ACEOF
32622 +/* end confdefs.h. */
32628 extern int _nl_msg_cat_cntr;
32629 return _nl_msg_cat_cntr
32632 -if { (eval echo configure:3728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
32638 +rm -f conftest.$ac_objext conftest$ac_exeext
32639 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32640 + (eval $ac_link) 2>conftest.er1
32642 + grep -v '^ *+' conftest.er1 >conftest.err
32643 + rm -f conftest.er1
32644 + cat conftest.err >&5
32645 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 + (exit $ac_status); } &&
32647 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32648 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32649 + (eval $ac_try) 2>&5
32651 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 + (exit $ac_status); }; } &&
32653 + { ac_try='test -s conftest$ac_exeext'
32654 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32655 + (eval $ac_try) 2>&5
32657 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 + (exit $ac_status); }; }; then
32662 - echo "configure: failed program was:" >&5
32663 - cat conftest.$ac_ext >&5
32666 + echo "$as_me: failed program was:" >&5
32667 +sed 's/^/| /' conftest.$ac_ext >&5
32673 +rm -f conftest.err conftest.$ac_objext \
32674 + conftest$ac_exeext conftest.$ac_ext
32678 @@ -3746,151 +21823,226 @@
32680 LIBS=`echo $LIBS | sed -e 's/-lintl//'`
32684 - echo "$ac_t""no" 1>&6
32690 if test "$CATOBJEXT" = "NONE"; then
32691 - echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6
32692 -echo "configure:3758: checking whether catgets can be used" >&5
32693 - # Check whether --with-catgets or --without-catgets was given.
32694 + echo "$as_me:$LINENO: checking whether catgets can be used" >&5
32695 +echo $ECHO_N "checking whether catgets can be used... $ECHO_C" >&6
32697 +# Check whether --with-catgets or --without-catgets was given.
32698 if test "${with_catgets+set}" = set; then
32699 withval="$with_catgets"
32700 nls_cv_use_catgets=$withval
32702 nls_cv_use_catgets=no
32705 - echo "$ac_t""$nls_cv_use_catgets" 1>&6
32707 + echo "$as_me:$LINENO: result: $nls_cv_use_catgets" >&5
32708 +echo "${ECHO_T}$nls_cv_use_catgets" >&6
32710 if test "$nls_cv_use_catgets" = "yes"; then
32711 - echo $ac_n "checking for main in -li""... $ac_c" 1>&6
32712 -echo "configure:3771: checking for main in -li" >&5
32713 -ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'`
32714 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
32715 - echo $ac_n "(cached) $ac_c" 1>&6
32717 +echo "$as_me:$LINENO: checking for main in -li" >&5
32718 +echo $ECHO_N "checking for main in -li... $ECHO_C" >&6
32719 +if test "${ac_cv_lib_i_main+set}" = set; then
32720 + echo $ECHO_N "(cached) $ECHO_C" >&6
32722 - ac_save_LIBS="$LIBS"
32723 + ac_check_lib_save_LIBS=$LIBS
32725 -cat > conftest.$ac_ext <<EOF
32726 -#line 3779 "configure"
32727 -#include "confdefs.h"
32728 +cat >conftest.$ac_ext <<_ACEOF
32731 +cat confdefs.h >>conftest.$ac_ext
32732 +cat >>conftest.$ac_ext <<_ACEOF
32733 +/* end confdefs.h. */
32739 -if { (eval echo configure:3786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
32741 - eval "ac_cv_lib_$ac_lib_var=yes"
32743 - echo "configure: failed program was:" >&5
32744 - cat conftest.$ac_ext >&5
32746 - eval "ac_cv_lib_$ac_lib_var=no"
32749 -LIBS="$ac_save_LIBS"
32752 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
32753 - echo "$ac_t""yes" 1>&6
32754 - ac_tr_lib=HAVE_LIB`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \
32755 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
32756 - cat >> confdefs.h <<EOF
32757 -#define $ac_tr_lib 1
32767 +rm -f conftest.$ac_objext conftest$ac_exeext
32768 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32769 + (eval $ac_link) 2>conftest.er1
32771 + grep -v '^ *+' conftest.er1 >conftest.err
32772 + rm -f conftest.er1
32773 + cat conftest.err >&5
32774 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32775 + (exit $ac_status); } &&
32776 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32777 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32778 + (eval $ac_try) 2>&5
32780 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32781 + (exit $ac_status); }; } &&
32782 + { ac_try='test -s conftest$ac_exeext'
32783 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32784 + (eval $ac_try) 2>&5
32786 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32787 + (exit $ac_status); }; }; then
32788 + ac_cv_lib_i_main=yes
32790 + echo "$as_me: failed program was:" >&5
32791 +sed 's/^/| /' conftest.$ac_ext >&5
32793 +ac_cv_lib_i_main=no
32795 +rm -f conftest.err conftest.$ac_objext \
32796 + conftest$ac_exeext conftest.$ac_ext
32797 +LIBS=$ac_check_lib_save_LIBS
32799 +echo "$as_me:$LINENO: result: $ac_cv_lib_i_main" >&5
32800 +echo "${ECHO_T}$ac_cv_lib_i_main" >&6
32801 +if test $ac_cv_lib_i_main = yes; then
32802 + cat >>confdefs.h <<_ACEOF
32803 +#define HAVE_LIBI 1
32809 - echo "$ac_t""no" 1>&6
32812 - echo $ac_n "checking for catgets""... $ac_c" 1>&6
32813 -echo "configure:3814: checking for catgets" >&5
32814 -if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
32815 - echo $ac_n "(cached) $ac_c" 1>&6
32817 - cat > conftest.$ac_ext <<EOF
32818 -#line 3819 "configure"
32819 -#include "confdefs.h"
32820 + echo "$as_me:$LINENO: checking for catgets" >&5
32821 +echo $ECHO_N "checking for catgets... $ECHO_C" >&6
32822 +if test "${ac_cv_func_catgets+set}" = set; then
32823 + echo $ECHO_N "(cached) $ECHO_C" >&6
32825 + cat >conftest.$ac_ext <<_ACEOF
32828 +cat confdefs.h >>conftest.$ac_ext
32829 +cat >>conftest.$ac_ext <<_ACEOF
32830 +/* end confdefs.h. */
32831 +/* Define catgets to an innocuous variant, in case <limits.h> declares catgets.
32832 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
32833 +#define catgets innocuous_catgets
32835 /* System header to define __stub macros and hopefully few prototypes,
32836 - which can conflict with char catgets(); below. */
32837 -#include <assert.h>
32838 -/* Override any gcc2 internal prototype to avoid an error. */
32839 -/* We use char because int might match the return type of a gcc2
32840 - builtin and then its argument prototype would still apply. */
32842 + which can conflict with char catgets (); below.
32843 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32844 + <limits.h> exists even on freestanding compilers. */
32847 +# include <limits.h>
32849 +# include <assert.h>
32855 +/* Override any gcc2 internal prototype to avoid an error. */
32856 +#ifdef __cplusplus
32860 +/* We use char because int might match the return type of a gcc2
32861 + builtin and then its argument prototype would still apply. */
32863 /* The GNU C library defines this for functions which it implements
32864 to always fail with ENOSYS. Some functions are actually named
32865 something starting with __ and the normal name is an alias. */
32866 #if defined (__stub_catgets) || defined (__stub___catgets)
32870 +char (*f) () = catgets;
32872 +#ifdef __cplusplus
32878 -if { (eval echo configure:3842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
32880 - eval "ac_cv_func_catgets=yes"
32882 - echo "configure: failed program was:" >&5
32883 - cat conftest.$ac_ext >&5
32885 - eval "ac_cv_func_catgets=no"
32890 -if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
32891 - echo "$ac_t""yes" 1>&6
32892 - cat >> confdefs.h <<\EOF
32896 +return f != catgets;
32901 +rm -f conftest.$ac_objext conftest$ac_exeext
32902 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32903 + (eval $ac_link) 2>conftest.er1
32905 + grep -v '^ *+' conftest.er1 >conftest.err
32906 + rm -f conftest.er1
32907 + cat conftest.err >&5
32908 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 + (exit $ac_status); } &&
32910 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32911 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32912 + (eval $ac_try) 2>&5
32914 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915 + (exit $ac_status); }; } &&
32916 + { ac_try='test -s conftest$ac_exeext'
32917 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32918 + (eval $ac_try) 2>&5
32920 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
32921 + (exit $ac_status); }; }; then
32922 + ac_cv_func_catgets=yes
32924 + echo "$as_me: failed program was:" >&5
32925 +sed 's/^/| /' conftest.$ac_ext >&5
32927 +ac_cv_func_catgets=no
32929 +rm -f conftest.err conftest.$ac_objext \
32930 + conftest$ac_exeext conftest.$ac_ext
32932 +echo "$as_me:$LINENO: result: $ac_cv_func_catgets" >&5
32933 +echo "${ECHO_T}$ac_cv_func_catgets" >&6
32934 +if test $ac_cv_func_catgets = yes; then
32935 + cat >>confdefs.h <<\_ACEOF
32936 #define HAVE_CATGETS 1
32940 INTLOBJS="\$(CATOBJS)"
32941 # Extract the first word of "gencat", so it can be a program name with args.
32942 set dummy gencat; ac_word=$2
32943 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
32944 -echo "configure:3864: checking for $ac_word" >&5
32945 -if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then
32946 - echo $ac_n "(cached) $ac_c" 1>&6
32947 +echo "$as_me:$LINENO: checking for $ac_word" >&5
32948 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32949 +if test "${ac_cv_path_GENCAT+set}" = set; then
32950 + echo $ECHO_N "(cached) $ECHO_C" >&6
32952 - case "$GENCAT" in
32955 + [\\/]* | ?:[\\/]*)
32956 ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path.
32959 - ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a dos path.
32962 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
32964 - for ac_dir in $ac_dummy; do
32965 - test -z "$ac_dir" && ac_dir=.
32966 - if test -f $ac_dir/$ac_word; then
32967 - ac_cv_path_GENCAT="$ac_dir/$ac_word"
32971 - IFS="$ac_save_ifs"
32972 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32973 +for as_dir in $PATH
32976 + test -z "$as_dir" && as_dir=.
32977 + for ac_exec_ext in '' $ac_executable_extensions; do
32978 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32979 + ac_cv_path_GENCAT="$as_dir/$ac_word$ac_exec_ext"
32980 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32986 test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT="no"
32990 -GENCAT="$ac_cv_path_GENCAT"
32991 +GENCAT=$ac_cv_path_GENCAT
32993 if test -n "$GENCAT"; then
32994 - echo "$ac_t""$GENCAT" 1>&6
32995 + echo "$as_me:$LINENO: result: $GENCAT" >&5
32996 +echo "${ECHO_T}$GENCAT" >&6
32998 - echo "$ac_t""no" 1>&6
32999 + echo "$as_me:$LINENO: result: no" >&5
33000 +echo "${ECHO_T}no" >&6
33002 # if test "$GENCAT" != "no"; then
33003 # AC_PATH_PROG(GMSGFMT, gmsgfmt, no)
33004 @@ -3910,9 +22062,7 @@
33005 # nls_cv_header_intl=intl/libintl.h
33006 # nls_cv_header_libgt=intl/libgettext.h
33010 - echo "$ac_t""no" 1>&6
33015 @@ -3924,9 +22074,9 @@
33018 if test "$nls_cv_use_gnu_gettext" != "yes"; then
33019 - cat >> confdefs.h <<\EOF
33020 + cat >>confdefs.h <<\_ACEOF
33021 #define ENABLE_NLS 1
33026 # Unset this variable since we use the non-zero value as a flag.
33027 @@ -3954,7 +22104,8 @@
33028 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
33031 - echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6
33032 + echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
33033 +echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
33037 @@ -3966,8 +22117,17 @@
33038 nls_cv_header_intl=intl/libintl.h
33039 nls_cv_header_libgt=intl/libgettext.h
33043 + ac_sources="$nls_cv_header_libgt"
33044 +ac_dests="$nls_cv_header_intl"
33045 +while test -n "$ac_sources"; do
33046 + set $ac_dests; ac_dest=$1; shift; ac_dests=$*
33047 + set $ac_sources; ac_source=$1; shift; ac_sources=$*
33048 + ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
33050 + ac_config_links="$ac_config_links $ac_config_links_1"
33052 + ac_config_commands="$ac_config_commands default-2"
33056 # # If this is used in GNU gettext we have to set USE_NLS to `yes'
33057 @@ -3982,25 +22142,25 @@
33058 POFILES="$POFILES $lang.po"
33086 if test "x$CATOBJEXT" != "x"; then
33087 if test "x$ALL_LINGUAS" = "x"; then
33090 - echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
33091 -echo "configure:4004: checking for catalogs to be installed" >&5
33092 + echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
33093 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
33095 for lang in ${LINGUAS=$ALL_LINGUAS}; do
33096 case "$ALL_LINGUAS" in
33097 @@ -4008,7 +22168,8 @@
33100 LINGUAS=$NEW_LINGUAS
33101 - echo "$ac_t""$LINGUAS" 1>&6
33102 + echo "$as_me:$LINENO: result: $LINGUAS" >&5
33103 +echo "${ECHO_T}$LINGUAS" >&6
33106 if test -n "$LINGUAS"; then
33107 @@ -4022,45 +22183,154 @@
33108 INCLUDE_LOCALE_H="\
33109 /* The system does not provide the header <locale.h>. Take care yourself. */"
33114 test -d intl || mkdir intl
33115 if test "$CATOBJEXT" = ".cat"; then
33116 - ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
33117 -echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
33118 -echo "configure:4032: checking for linux/version.h" >&5
33119 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
33120 - echo $ac_n "(cached) $ac_c" 1>&6
33122 - cat > conftest.$ac_ext <<EOF
33123 -#line 4037 "configure"
33124 -#include "confdefs.h"
33125 + if test "${ac_cv_header_linux_version_h+set}" = set; then
33126 + echo "$as_me:$LINENO: checking for linux/version.h" >&5
33127 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
33128 +if test "${ac_cv_header_linux_version_h+set}" = set; then
33129 + echo $ECHO_N "(cached) $ECHO_C" >&6
33131 +echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
33132 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
33134 + # Is the header compilable?
33135 +echo "$as_me:$LINENO: checking linux/version.h usability" >&5
33136 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
33137 +cat >conftest.$ac_ext <<_ACEOF
33140 +cat confdefs.h >>conftest.$ac_ext
33141 +cat >>conftest.$ac_ext <<_ACEOF
33142 +/* end confdefs.h. */
33143 +$ac_includes_default
33144 #include <linux/version.h>
33146 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
33147 -{ (eval echo configure:4042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
33148 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
33149 -if test -z "$ac_err"; then
33151 - eval "ac_cv_header_$ac_safe=yes"
33153 +rm -f conftest.$ac_objext
33154 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33155 + (eval $ac_compile) 2>conftest.er1
33157 + grep -v '^ *+' conftest.er1 >conftest.err
33158 + rm -f conftest.er1
33159 + cat conftest.err >&5
33160 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 + (exit $ac_status); } &&
33162 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33163 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33164 + (eval $ac_try) 2>&5
33166 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 + (exit $ac_status); }; } &&
33168 + { ac_try='test -s conftest.$ac_objext'
33169 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33170 + (eval $ac_try) 2>&5
33172 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33173 + (exit $ac_status); }; }; then
33174 + ac_header_compiler=yes
33176 + echo "$as_me: failed program was:" >&5
33177 +sed 's/^/| /' conftest.$ac_ext >&5
33179 +ac_header_compiler=no
33181 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33182 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33183 +echo "${ECHO_T}$ac_header_compiler" >&6
33185 +# Is the header present?
33186 +echo "$as_me:$LINENO: checking linux/version.h presence" >&5
33187 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
33188 +cat >conftest.$ac_ext <<_ACEOF
33191 +cat confdefs.h >>conftest.$ac_ext
33192 +cat >>conftest.$ac_ext <<_ACEOF
33193 +/* end confdefs.h. */
33194 +#include <linux/version.h>
33196 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33197 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33199 + grep -v '^ *+' conftest.er1 >conftest.err
33200 + rm -f conftest.er1
33201 + cat conftest.err >&5
33202 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 + (exit $ac_status); } >/dev/null; then
33204 + if test -s conftest.err; then
33205 + ac_cpp_err=$ac_c_preproc_warn_flag
33206 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33211 - echo "$ac_err" >&5
33212 - echo "configure: failed program was:" >&5
33213 - cat conftest.$ac_ext >&5
33215 - eval "ac_cv_header_$ac_safe=no"
33219 +if test -z "$ac_cpp_err"; then
33220 + ac_header_preproc=yes
33222 + echo "$as_me: failed program was:" >&5
33223 +sed 's/^/| /' conftest.$ac_ext >&5
33225 + ac_header_preproc=no
33227 +rm -f conftest.err conftest.$ac_ext
33228 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33229 +echo "${ECHO_T}$ac_header_preproc" >&6
33231 +# So? What about this header?
33232 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33234 + { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
33235 +echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33236 + { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
33237 +echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
33238 + ac_header_preproc=yes
33241 + { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
33242 +echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
33243 + { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
33244 +echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
33245 + { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
33246 +echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
33247 + { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
33248 +echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
33249 + { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
33250 +echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
33251 + { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
33252 +echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
33255 +## ------------------------------------------ ##
33256 +## Report this to the AC_PACKAGE_NAME lists. ##
33257 +## ------------------------------------------ ##
33260 + sed "s/^/$as_me: WARNING: /" >&2
33263 +echo "$as_me:$LINENO: checking for linux/version.h" >&5
33264 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
33265 +if test "${ac_cv_header_linux_version_h+set}" = set; then
33266 + echo $ECHO_N "(cached) $ECHO_C" >&6
33268 + ac_cv_header_linux_version_h=$ac_header_preproc
33270 +echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
33271 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
33274 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
33275 - echo "$ac_t""yes" 1>&6
33276 +if test $ac_cv_header_linux_version_h = yes; then
33279 - echo "$ac_t""no" 1>&6
33286 sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed
33288 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
33289 @@ -4073,8 +22343,8 @@
33299 if test -n "$ac_aux_dir"; then
33300 @@ -4083,10 +22353,10 @@
33301 if test -z "$MKINSTALLDIRS"; then
33302 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
33311 test -d po || mkdir po
33312 if test "x$srcdir" != "x."; then
33313 @@ -4101,7 +22371,7 @@
33315 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
33316 < $srcdir/po/POTFILES.in > po/POTFILES
33319 LIBS="$LIBS $INTLLIBS"
33321 # AM_GTK_GNU_GETTEXT above substs $DATADIRNAME
33322 @@ -4109,117 +22379,208 @@
33323 gtklocaledir='${prefix}/${DATADIRNAME}/locale'
33326 -echo $ac_n "checking for extra flags to get ANSI library prototypes""... $ac_c" 1>&6
33327 -echo "configure:4114: checking for extra flags to get ANSI library prototypes" >&5
33328 +echo "$as_me:$LINENO: checking for extra flags to get ANSI library prototypes" >&5
33329 +echo $ECHO_N "checking for extra flags to get ANSI library prototypes... $ECHO_C" >&6
33331 gtk_save_LIBS=$LIBS
33333 if test "$cross_compiling" = yes; then
33334 - echo "$ac_t""none needed" 1>&6
33335 + echo "$as_me:$LINENO: result: none needed" >&5
33336 +echo "${ECHO_T}none needed" >&6
33339 - cat > conftest.$ac_ext <<EOF
33340 -#line 4123 "configure"
33341 -#include "confdefs.h"
33342 + cat >conftest.$ac_ext <<_ACEOF
33345 +cat confdefs.h >>conftest.$ac_ext
33346 +cat >>conftest.$ac_ext <<_ACEOF
33347 +/* end confdefs.h. */
33349 int main (void) { return (log(1) != log(1.)); }
33351 -if { (eval echo configure:4128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
33353 - echo "$ac_t""none needed" 1>&6
33355 - echo "configure: failed program was:" >&5
33356 - cat conftest.$ac_ext >&5
33358 - gtk_save_CFLAGS=$CFLAGS
33360 +rm -f conftest$ac_exeext
33361 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33362 + (eval $ac_link) 2>&5
33364 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33366 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33367 + (eval $ac_try) 2>&5
33369 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 + (exit $ac_status); }; }; then
33371 + echo "$as_me:$LINENO: result: none needed" >&5
33372 +echo "${ECHO_T}none needed" >&6
33374 + echo "$as_me: program exited with status $ac_status" >&5
33375 +echo "$as_me: failed program was:" >&5
33376 +sed 's/^/| /' conftest.$ac_ext >&5
33378 +( exit $ac_status )
33379 +gtk_save_CFLAGS=$CFLAGS
33380 CFLAGS="$CFLAGS -std1"
33381 if test "$cross_compiling" = yes; then
33386 - cat > conftest.$ac_ext <<EOF
33387 -#line 4142 "configure"
33388 -#include "confdefs.h"
33389 + cat >conftest.$ac_ext <<_ACEOF
33392 +cat confdefs.h >>conftest.$ac_ext
33393 +cat >>conftest.$ac_ext <<_ACEOF
33394 +/* end confdefs.h. */
33396 int main (void) { return (log(1) != log(1.)); }
33398 -if { (eval echo configure:4147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
33400 - echo "$ac_t""-std1" 1>&6
33402 - echo "configure: failed program was:" >&5
33403 - cat conftest.$ac_ext >&5
33405 - echo "$ac_t""" 1>&6
33407 +rm -f conftest$ac_exeext
33408 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33409 + (eval $ac_link) 2>&5
33411 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33413 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33414 + (eval $ac_try) 2>&5
33416 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33417 + (exit $ac_status); }; }; then
33418 + echo "$as_me:$LINENO: result: -std1" >&5
33419 +echo "${ECHO_T}-std1" >&6
33421 + echo "$as_me: program exited with status $ac_status" >&5
33422 +echo "$as_me: failed program was:" >&5
33423 +sed 's/^/| /' conftest.$ac_ext >&5
33425 +( exit $ac_status )
33426 +echo "$as_me:$LINENO: result: " >&5
33427 +echo "${ECHO_T}" >&6
33428 CFLAGS=$gtk_save_CFLAGS
33429 - echo "configure: warning: No ANSI prototypes found in library. (-std1 didn't work.)" 1>&2
33430 + { echo "$as_me:$LINENO: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&5
33431 +echo "$as_me: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&2;}
33434 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33439 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33442 LIBS=$gtk_save_LIBS
33444 -echo $ac_n "checking for extra flags for POSIX compliance""... $ac_c" 1>&6
33445 -echo "configure:4168: checking for extra flags for POSIX compliance" >&5
33446 -cat > conftest.$ac_ext <<EOF
33447 -#line 4170 "configure"
33448 -#include "confdefs.h"
33449 +echo "$as_me:$LINENO: checking for extra flags for POSIX compliance" >&5
33450 +echo $ECHO_N "checking for extra flags for POSIX compliance... $ECHO_C" >&6
33451 +cat >conftest.$ac_ext <<_ACEOF
33454 +cat confdefs.h >>conftest.$ac_ext
33455 +cat >>conftest.$ac_ext <<_ACEOF
33456 +/* end confdefs.h. */
33457 #include <dirent.h>
33465 -if { (eval echo configure:4177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
33467 - echo "$ac_t""none needed" 1>&6
33472 +rm -f conftest.$ac_objext
33473 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33474 + (eval $ac_compile) 2>conftest.er1
33476 + grep -v '^ *+' conftest.er1 >conftest.err
33477 + rm -f conftest.er1
33478 + cat conftest.err >&5
33479 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 + (exit $ac_status); } &&
33481 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33482 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33483 + (eval $ac_try) 2>&5
33485 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 + (exit $ac_status); }; } &&
33487 + { ac_try='test -s conftest.$ac_objext'
33488 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33489 + (eval $ac_try) 2>&5
33491 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33492 + (exit $ac_status); }; }; then
33493 + echo "$as_me:$LINENO: result: none needed" >&5
33494 +echo "${ECHO_T}none needed" >&6
33496 - echo "configure: failed program was:" >&5
33497 - cat conftest.$ac_ext >&5
33499 - gtk_save_CFLAGS=$CFLAGS
33500 + echo "$as_me: failed program was:" >&5
33501 +sed 's/^/| /' conftest.$ac_ext >&5
33503 +gtk_save_CFLAGS=$CFLAGS
33504 CFLAGS="$CFLAGS -posix"
33505 - cat > conftest.$ac_ext <<EOF
33506 -#line 4187 "configure"
33507 -#include "confdefs.h"
33508 + cat >conftest.$ac_ext <<_ACEOF
33511 +cat confdefs.h >>conftest.$ac_ext
33512 +cat >>conftest.$ac_ext <<_ACEOF
33513 +/* end confdefs.h. */
33514 #include <dirent.h>
33522 -if { (eval echo configure:4194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
33524 - echo "$ac_t""-posix" 1>&6
33529 +rm -f conftest.$ac_objext
33530 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33531 + (eval $ac_compile) 2>conftest.er1
33533 + grep -v '^ *+' conftest.er1 >conftest.err
33534 + rm -f conftest.er1
33535 + cat conftest.err >&5
33536 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33537 + (exit $ac_status); } &&
33538 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33539 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33540 + (eval $ac_try) 2>&5
33542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543 + (exit $ac_status); }; } &&
33544 + { ac_try='test -s conftest.$ac_objext'
33545 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33546 + (eval $ac_try) 2>&5
33548 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33549 + (exit $ac_status); }; }; then
33550 + echo "$as_me:$LINENO: result: -posix" >&5
33551 +echo "${ECHO_T}-posix" >&6
33553 - echo "configure: failed program was:" >&5
33554 - cat conftest.$ac_ext >&5
33556 - echo "$ac_t""" 1>&6
33557 + echo "$as_me: failed program was:" >&5
33558 +sed 's/^/| /' conftest.$ac_ext >&5
33560 +echo "$as_me:$LINENO: result: " >&5
33561 +echo "${ECHO_T}" >&6
33562 CFLAGS=$gtk_save_CFLAGS
33563 - echo "configure: warning: Could not determine POSIX flag. (-posix didn't work.)" 1>&2
33564 + { echo "$as_me:$LINENO: WARNING: Could not determine POSIX flag. (-posix didn't work.)" >&5
33565 +echo "$as_me: WARNING: Could not determine POSIX flag. (-posix didn't work.)" >&2;}
33568 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33571 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33573 if test x$with_glib = xyes ; then
33574 - { echo "configure: error:
33575 -*** Directory must be specified for --with-glib" 1>&2; exit 1; }
33576 + { { echo "$as_me:$LINENO: error:
33577 +*** Directory must be specified for --with-glib" >&5
33578 +echo "$as_me: error:
33579 +*** Directory must be specified for --with-glib" >&2;}
33580 + { (exit 1); exit 1; }; }
33583 -if test x$with_glib = x ; then
33584 +if test x$with_glib = x ; then
33585 # Look for separately installed glib
33587 - # Check whether --with-glib-prefix or --without-glib-prefix was given.
33589 +# Check whether --with-glib-prefix or --without-glib-prefix was given.
33590 if test "${with_glib_prefix+set}" = set; then
33591 withval="$with_glib_prefix"
33592 glib_config_prefix="$withval"
33594 glib_config_prefix=""
33598 # Check whether --with-glib-exec-prefix or --without-glib-exec-prefix was given.
33599 if test "${with_glib_exec_prefix+set}" = set; then
33600 @@ -4227,16 +22588,14 @@
33601 glib_config_exec_prefix="$withval"
33603 glib_config_exec_prefix=""
33607 # Check whether --enable-glibtest or --disable-glibtest was given.
33608 if test "${enable_glibtest+set}" = set; then
33609 enableval="$enable_glibtest"
33613 enable_glibtest=yes
33618 if test x$glib_config_exec_prefix != x ; then
33619 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
33620 @@ -4254,10 +22613,10 @@
33621 for module in . gmodule gthread
33626 glib_config_args="$glib_config_args gmodule"
33630 glib_config_args="$glib_config_args gthread"
33633 @@ -4265,43 +22624,47 @@
33635 # Extract the first word of "glib-config", so it can be a program name with args.
33636 set dummy glib-config; ac_word=$2
33637 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
33638 -echo "configure:4270: checking for $ac_word" >&5
33639 -if eval "test \"`echo '$''{'ac_cv_path_GLIB_CONFIG'+set}'`\" = set"; then
33640 - echo $ac_n "(cached) $ac_c" 1>&6
33641 +echo "$as_me:$LINENO: checking for $ac_word" >&5
33642 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33643 +if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then
33644 + echo $ECHO_N "(cached) $ECHO_C" >&6
33646 - case "$GLIB_CONFIG" in
33648 + case $GLIB_CONFIG in
33649 + [\\/]* | ?:[\\/]*)
33650 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path.
33653 - ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a dos path.
33656 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
33658 - for ac_dir in $ac_dummy; do
33659 - test -z "$ac_dir" && ac_dir=.
33660 - if test -f $ac_dir/$ac_word; then
33661 - ac_cv_path_GLIB_CONFIG="$ac_dir/$ac_word"
33665 - IFS="$ac_save_ifs"
33668 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33669 +for as_dir in $PATH
33672 + test -z "$as_dir" && as_dir=.
33673 + for ac_exec_ext in '' $ac_executable_extensions; do
33674 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33675 + ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33676 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33682 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no"
33686 -GLIB_CONFIG="$ac_cv_path_GLIB_CONFIG"
33687 +GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG
33689 if test -n "$GLIB_CONFIG"; then
33690 - echo "$ac_t""$GLIB_CONFIG" 1>&6
33691 + echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5
33692 +echo "${ECHO_T}$GLIB_CONFIG" >&6
33694 - echo "$ac_t""no" 1>&6
33695 + echo "$as_me:$LINENO: result: no" >&5
33696 +echo "${ECHO_T}no" >&6
33699 min_glib_version=1.2.8
33700 - echo $ac_n "checking for GLIB - version >= $min_glib_version""... $ac_c" 1>&6
33701 -echo "configure:4305: checking for GLIB - version >= $min_glib_version" >&5
33702 + echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
33703 +echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6
33705 if test "$GLIB_CONFIG" = "no" ; then
33707 @@ -4323,15 +22686,18 @@
33708 if test "$cross_compiling" = yes; then
33709 echo $ac_n "cross compiling; assumed OK... $ac_c"
33711 - cat > conftest.$ac_ext <<EOF
33712 -#line 4328 "configure"
33713 -#include "confdefs.h"
33714 + cat >conftest.$ac_ext <<_ACEOF
33717 +cat confdefs.h >>conftest.$ac_ext
33718 +cat >>conftest.$ac_ext <<_ACEOF
33719 +/* end confdefs.h. */
33723 #include <stdlib.h>
33729 int major, minor, micro;
33730 @@ -4350,7 +22716,7 @@
33731 (glib_minor_version != $glib_config_minor_version) ||
33732 (glib_micro_version != $glib_config_micro_version))
33734 - printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
33735 + printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
33736 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
33737 glib_major_version, glib_minor_version, glib_micro_version);
33738 printf ("*** was found! If glib-config was correct, then it is best\n");
33739 @@ -4361,7 +22727,7 @@
33740 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
33741 printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
33742 printf("*** before re-running configure\n");
33745 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
33746 (glib_minor_version != GLIB_MINOR_VERSION) ||
33747 (glib_micro_version != GLIB_MICRO_VERSION))
33748 @@ -4399,28 +22765,40 @@
33753 -if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
33756 +rm -f conftest$ac_exeext
33757 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33758 + (eval $ac_link) 2>&5
33760 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33762 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33763 + (eval $ac_try) 2>&5
33765 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33766 + (exit $ac_status); }; }; then
33769 - echo "configure: failed program was:" >&5
33770 - cat conftest.$ac_ext >&5
33773 + echo "$as_me: program exited with status $ac_status" >&5
33774 +echo "$as_me: failed program was:" >&5
33775 +sed 's/^/| /' conftest.$ac_ext >&5
33777 +( exit $ac_status )
33781 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33784 CFLAGS="$ac_save_CFLAGS"
33785 LIBS="$ac_save_LIBS"
33788 if test "x$no_glib" = x ; then
33789 - echo "$ac_t""yes" 1>&6
33791 + echo "$as_me:$LINENO: result: yes" >&5
33792 +echo "${ECHO_T}yes" >&6
33795 - echo "$ac_t""no" 1>&6
33796 + echo "$as_me:$LINENO: result: no" >&5
33797 +echo "${ECHO_T}no" >&6
33798 if test "$GLIB_CONFIG" = "no" ; then
33799 echo "*** The glib-config script installed by GLIB could not be found"
33800 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
33801 @@ -4433,19 +22811,45 @@
33802 echo "*** Could not run GLIB test program, checking why..."
33803 CFLAGS="$CFLAGS $GLIB_CFLAGS"
33804 LIBS="$LIBS $GLIB_LIBS"
33805 - cat > conftest.$ac_ext <<EOF
33806 -#line 4438 "configure"
33807 -#include "confdefs.h"
33808 + cat >conftest.$ac_ext <<_ACEOF
33811 +cat confdefs.h >>conftest.$ac_ext
33812 +cat >>conftest.$ac_ext <<_ACEOF
33813 +/* end confdefs.h. */
33819 - return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
33822 -if { (eval echo configure:4448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
33827 + return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
33832 +rm -f conftest.$ac_objext conftest$ac_exeext
33833 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33834 + (eval $ac_link) 2>conftest.er1
33836 + grep -v '^ *+' conftest.er1 >conftest.err
33837 + rm -f conftest.er1
33838 + cat conftest.err >&5
33839 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 + (exit $ac_status); } &&
33841 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33842 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33843 + (eval $ac_try) 2>&5
33845 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 + (exit $ac_status); }; } &&
33847 + { ac_try='test -s conftest$ac_exeext'
33848 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33849 + (eval $ac_try) 2>&5
33851 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 + (exit $ac_status); }; }; then
33853 echo "*** The test program compiled, but did not run. This usually means"
33854 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
33855 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
33856 @@ -4459,29 +22863,34 @@
33857 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
33858 echo "*** came with the system with the command"
33860 - echo "*** rpm --erase --nodeps gtk gtk-devel"
33861 + echo "*** rpm --erase --nodeps gtk gtk-devel"
33863 - echo "configure: failed program was:" >&5
33864 - cat conftest.$ac_ext >&5
33866 - echo "*** The test program failed to compile or link. See the file config.log for the"
33867 + echo "$as_me: failed program was:" >&5
33868 +sed 's/^/| /' conftest.$ac_ext >&5
33870 + echo "*** The test program failed to compile or link. See the file config.log for the"
33871 echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
33872 echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
33873 - echo "*** may want to edit the glib-config script: $GLIB_CONFIG"
33874 + echo "*** may want to edit the glib-config script: $GLIB_CONFIG"
33877 +rm -f conftest.err conftest.$ac_objext \
33878 + conftest$ac_exeext conftest.$ac_ext
33879 CFLAGS="$ac_save_CFLAGS"
33880 LIBS="$ac_save_LIBS"
33885 - { echo "configure: error:
33886 + { { echo "$as_me:$LINENO: error:
33887 +*** GLIB 1.2.8 or better is required. The latest version of GLIB
33888 +*** is always available from ftp://ftp.gtk.org/." >&5
33889 +echo "$as_me: error:
33890 *** GLIB 1.2.8 or better is required. The latest version of GLIB
33891 -*** is always available from ftp://ftp.gtk.org/." 1>&2; exit 1; }
33892 +*** is always available from ftp://ftp.gtk.org/." >&2;}
33893 + { (exit 1); exit 1; }; }
33899 rm -f conf.glibtest
33902 @@ -4496,10 +22905,12 @@
33903 # Use uninstalled glib (assume they got the version right)
33905 GLIB_CONFIG=$with_glib/glib-config
33906 - if test -x $GLIB_CONFIG ; then
33907 + if test -x $GLIB_CONFIG ; then
33910 - { echo "configure: error: GLIB directory ($with_glib) not present or not configured" 1>&2; exit 1; }
33911 + { { echo "$as_me:$LINENO: error: GLIB directory ($with_glib) not present or not configured" >&5
33912 +echo "$as_me: error: GLIB directory ($with_glib) not present or not configured" >&2;}
33913 + { (exit 1); exit 1; }; }
33916 # For use in gtk-config
33917 @@ -4511,7 +22922,7 @@
33918 glib_release=`$GLIB_CONFIG --version | sed 's%\\.[0-9]*$%%'`
33920 # canonicalize relative paths
33921 - case $with_glib in
33922 + case $with_glib in
33924 glib_dir=$with_glib
33926 @@ -4524,8 +22935,8 @@
33927 GLIB_LIBS="$glib_dir/libglib.la $glib_dir/gmodule/libgmodule.la"
33937 @@ -4535,19 +22946,18 @@
33940 # Find the X11 include and library directories
33941 -# If we find X, set shell vars x_includes and x_libraries to the
33942 -# paths, otherwise set no_x=yes.
33943 -# Uses ac_ vars as temps to allow command line to override cache and checks.
33944 -# --without-x overrides everything else, but does not touch the cache.
33945 -echo $ac_n "checking for X""... $ac_c" 1>&6
33946 -echo "configure:4544: checking for X" >&5
33948 +if test "x$ac_path_x_has_been_run" != xyes; then
33949 + echo "$as_me:$LINENO: checking for X" >&5
33950 +echo $ECHO_N "checking for X... $ECHO_C" >&6
33952 +ac_path_x_has_been_run=yes
33954 # Check whether --with-x or --without-x was given.
33955 if test "${with_x+set}" = set; then
33961 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
33962 if test "x$with_x" = xno; then
33963 # The user explicitly disabled X.
33964 @@ -4557,207 +22967,209 @@
33965 # Both variables are already set.
33968 -if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
33969 - echo $ac_n "(cached) $ac_c" 1>&6
33970 + if test "${ac_cv_have_x+set}" = set; then
33971 + echo $ECHO_N "(cached) $ECHO_C" >&6
33973 # One or both of the vars are not set, and there is no cached value.
33974 -ac_x_includes=NO ac_x_libraries=NO
33975 -rm -fr conftestdir
33976 -if mkdir conftestdir; then
33978 +ac_x_includes=no ac_x_libraries=no
33979 +rm -fr conftest.dir
33980 +if mkdir conftest.dir; then
33982 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
33983 - cat > Imakefile <<'EOF'
33984 + cat >Imakefile <<'_ACEOF'
33986 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
33989 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
33990 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33991 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
33992 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
33993 for ac_extension in a so sl; do
33994 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
33995 - test -f $ac_im_libdir/libX11.$ac_extension; then
33996 - ac_im_usrlibdir=$ac_im_libdir; break
33997 + test -f $ac_im_libdir/libX11.$ac_extension; then
33998 + ac_im_usrlibdir=$ac_im_libdir; break
34001 # Screen out bogus values from the imake configuration. They are
34002 # bogus both because they are the default anyway, and because
34003 # using them would break gcc on systems where it needs fixed includes.
34004 - case "$ac_im_incroot" in
34005 + case $ac_im_incroot in
34007 - *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
34008 + *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
34010 - case "$ac_im_usrlibdir" in
34011 + case $ac_im_usrlibdir in
34012 /usr/lib | /lib) ;;
34013 - *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
34014 + *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
34018 - rm -fr conftestdir
34019 + rm -fr conftest.dir
34022 -if test "$ac_x_includes" = NO; then
34023 - # Guess where to find include files, by looking for this one X11 .h file.
34024 - test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
34025 +# Standard set of common directories for X headers.
34026 +# Check X11 before X11Rn because it is often a symlink to the current release.
34027 +ac_x_header_dirs='
34029 +/usr/X11R6/include
34030 +/usr/X11R5/include
34031 +/usr/X11R4/include
34034 +/usr/include/X11R6
34035 +/usr/include/X11R5
34036 +/usr/include/X11R4
34038 +/usr/local/X11/include
34039 +/usr/local/X11R6/include
34040 +/usr/local/X11R5/include
34041 +/usr/local/X11R4/include
34043 +/usr/local/include/X11
34044 +/usr/local/include/X11R6
34045 +/usr/local/include/X11R5
34046 +/usr/local/include/X11R4
34050 +/usr/XFree86/include/X11
34053 +/usr/local/include
34054 +/usr/unsupported/include
34055 +/usr/athena/include
34056 +/usr/local/x11r5/include
34057 +/usr/lpp/Xamples/include
34059 +/usr/openwin/include
34060 +/usr/openwin/share/include'
34062 +if test "$ac_x_includes" = no; then
34063 + # Guess where to find include files, by looking for a specified header file.
34064 # First, try using that file with no special directory specified.
34065 -cat > conftest.$ac_ext <<EOF
34066 -#line 4606 "configure"
34067 -#include "confdefs.h"
34068 -#include <$x_direct_test_include>
34070 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
34071 -{ (eval echo configure:4611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
34072 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
34073 -if test -z "$ac_err"; then
34075 + cat >conftest.$ac_ext <<_ACEOF
34078 +cat confdefs.h >>conftest.$ac_ext
34079 +cat >>conftest.$ac_ext <<_ACEOF
34080 +/* end confdefs.h. */
34081 +#include <X11/Xlib.h>
34083 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34084 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34086 + grep -v '^ *+' conftest.er1 >conftest.err
34087 + rm -f conftest.er1
34088 + cat conftest.err >&5
34089 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34090 + (exit $ac_status); } >/dev/null; then
34091 + if test -s conftest.err; then
34092 + ac_cpp_err=$ac_c_preproc_warn_flag
34093 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34100 +if test -z "$ac_cpp_err"; then
34101 # We can compile using X headers with no special include directory.
34104 - echo "$ac_err" >&5
34105 - echo "configure: failed program was:" >&5
34106 - cat conftest.$ac_ext >&5
34108 - # Look for the header file in a standard set of common directories.
34109 -# Check X11 before X11Rn because it is often a symlink to the current release.
34111 - /usr/X11/include \
34112 - /usr/X11R6/include \
34113 - /usr/X11R5/include \
34114 - /usr/X11R4/include \
34116 - /usr/include/X11 \
34117 - /usr/include/X11R6 \
34118 - /usr/include/X11R5 \
34119 - /usr/include/X11R4 \
34121 - /usr/local/X11/include \
34122 - /usr/local/X11R6/include \
34123 - /usr/local/X11R5/include \
34124 - /usr/local/X11R4/include \
34126 - /usr/local/include/X11 \
34127 - /usr/local/include/X11R6 \
34128 - /usr/local/include/X11R5 \
34129 - /usr/local/include/X11R4 \
34131 - /usr/X386/include \
34132 - /usr/x386/include \
34133 - /usr/XFree86/include/X11 \
34136 - /usr/local/include \
34137 - /usr/unsupported/include \
34138 - /usr/athena/include \
34139 - /usr/local/x11r5/include \
34140 - /usr/lpp/Xamples/include \
34142 - /usr/openwin/include \
34143 - /usr/openwin/share/include \
34146 - if test -r "$ac_dir/$x_direct_test_include"; then
34147 - ac_x_includes=$ac_dir
34151 + echo "$as_me: failed program was:" >&5
34152 +sed 's/^/| /' conftest.$ac_ext >&5
34154 + for ac_dir in $ac_x_header_dirs; do
34155 + if test -r "$ac_dir/X11/Xlib.h"; then
34156 + ac_x_includes=$ac_dir
34162 -fi # $ac_x_includes = NO
34163 +rm -f conftest.err conftest.$ac_ext
34164 +fi # $ac_x_includes = no
34166 -if test "$ac_x_libraries" = NO; then
34167 +if test "$ac_x_libraries" = no; then
34168 # Check for the libraries.
34170 - test -z "$x_direct_test_library" && x_direct_test_library=Xt
34171 - test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
34173 # See if we find them without any special options.
34174 # Don't add to $LIBS permanently.
34175 - ac_save_LIBS="$LIBS"
34176 - LIBS="-l$x_direct_test_library $LIBS"
34177 -cat > conftest.$ac_ext <<EOF
34178 -#line 4680 "configure"
34179 -#include "confdefs.h"
34182 -${x_direct_test_function}()
34185 -if { (eval echo configure:4687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
34187 - LIBS="$ac_save_LIBS"
34188 + ac_save_LIBS=$LIBS
34189 + LIBS="-lX11 $LIBS"
34190 + cat >conftest.$ac_ext <<_ACEOF
34193 +cat confdefs.h >>conftest.$ac_ext
34194 +cat >>conftest.$ac_ext <<_ACEOF
34195 +/* end confdefs.h. */
34196 +#include <X11/Xlib.h>
34205 +rm -f conftest.$ac_objext conftest$ac_exeext
34206 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34207 + (eval $ac_link) 2>conftest.er1
34209 + grep -v '^ *+' conftest.er1 >conftest.err
34210 + rm -f conftest.er1
34211 + cat conftest.err >&5
34212 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 + (exit $ac_status); } &&
34214 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34215 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34216 + (eval $ac_try) 2>&5
34218 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 + (exit $ac_status); }; } &&
34220 + { ac_try='test -s conftest$ac_exeext'
34221 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34222 + (eval $ac_try) 2>&5
34224 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 + (exit $ac_status); }; }; then
34226 + LIBS=$ac_save_LIBS
34227 # We can link X programs with no special library path.
34230 - echo "configure: failed program was:" >&5
34231 - cat conftest.$ac_ext >&5
34233 - LIBS="$ac_save_LIBS"
34234 -# First see if replacing the include by lib works.
34235 -# Check X11 before X11Rn because it is often a symlink to the current release.
34236 -for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
34247 - /usr/local/X11/lib \
34248 - /usr/local/X11R6/lib \
34249 - /usr/local/X11R5/lib \
34250 - /usr/local/X11R4/lib \
34252 - /usr/local/lib/X11 \
34253 - /usr/local/lib/X11R6 \
34254 - /usr/local/lib/X11R5 \
34255 - /usr/local/lib/X11R4 \
34259 - /usr/XFree86/lib/X11 \
34263 - /usr/unsupported/lib \
34264 - /usr/athena/lib \
34265 - /usr/local/x11r5/lib \
34266 - /usr/lpp/Xamples/lib \
34267 - /lib/usr/lib/X11 \
34269 - /usr/openwin/lib \
34270 - /usr/openwin/share/lib \
34272 + echo "$as_me: failed program was:" >&5
34273 +sed 's/^/| /' conftest.$ac_ext >&5
34275 +LIBS=$ac_save_LIBS
34276 +for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
34278 + # Don't even attempt the hair of trying to link an X program!
34279 for ac_extension in a so sl; do
34280 - if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
34281 + if test -r $ac_dir/libX11.$ac_extension; then
34282 ac_x_libraries=$ac_dir
34289 -fi # $ac_x_libraries = NO
34290 +rm -f conftest.err conftest.$ac_objext \
34291 + conftest$ac_exeext conftest.$ac_ext
34292 +fi # $ac_x_libraries = no
34294 -if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
34295 +if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
34296 # Didn't find X anywhere. Cache the known absence of X.
34297 ac_cv_have_x="have_x=no"
34299 # Record where we found X for the cache.
34300 ac_cv_have_x="have_x=yes \
34301 - ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
34302 + ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
34307 eval "$ac_cv_have_x"
34310 if test "$have_x" != yes; then
34311 - echo "$ac_t""$have_x" 1>&6
34312 + echo "$as_me:$LINENO: result: $have_x" >&5
34313 +echo "${ECHO_T}$have_x" >&6
34316 # If each of the values was on the command line, it overrides each guess.
34317 @@ -4766,14 +23178,21 @@
34318 # Update the cache value to reflect the command line values.
34319 ac_cv_have_x="have_x=yes \
34320 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
34321 - echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
34322 + # It might be that x_includes is empty (headers are found in the
34323 + # standard search path. Then output the corresponding message
34324 + ac_out_x_includes=$x_includes
34325 + test "x$x_includes" = x && ac_out_x_includes="in standard search path"
34326 + echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
34327 +echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
34331 if test "$no_x" = yes; then
34332 # Not all programs may use this symbol, but it does not hurt to define it.
34333 - cat >> confdefs.h <<\EOF
34335 +cat >>confdefs.h <<\_ACEOF
34336 #define X_DISPLAY_MISSING 1
34340 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
34342 @@ -4786,60 +23205,117 @@
34343 X_LIBS="$X_LIBS -L$x_libraries"
34344 # For Solaris; some versions of Sun CC require a space after -R and
34345 # others require no space. Words are not sufficient . . . .
34346 - case "`(uname -sr) 2>/dev/null`" in
34347 + case `(uname -sr) 2>/dev/null` in
34349 - echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
34350 -echo "configure:4793: checking whether -R must be followed by a space" >&5
34351 - ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
34352 - cat > conftest.$ac_ext <<EOF
34353 -#line 4796 "configure"
34354 -#include "confdefs.h"
34355 + echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
34356 +echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
34357 + ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
34358 + cat >conftest.$ac_ext <<_ACEOF
34361 +cat confdefs.h >>conftest.$ac_ext
34362 +cat >>conftest.$ac_ext <<_ACEOF
34363 +/* end confdefs.h. */
34372 -if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
34378 +rm -f conftest.$ac_objext conftest$ac_exeext
34379 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34380 + (eval $ac_link) 2>conftest.er1
34382 + grep -v '^ *+' conftest.er1 >conftest.err
34383 + rm -f conftest.er1
34384 + cat conftest.err >&5
34385 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34386 + (exit $ac_status); } &&
34387 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34388 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34389 + (eval $ac_try) 2>&5
34391 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34392 + (exit $ac_status); }; } &&
34393 + { ac_try='test -s conftest$ac_exeext'
34394 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34395 + (eval $ac_try) 2>&5
34397 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 + (exit $ac_status); }; }; then
34401 - echo "configure: failed program was:" >&5
34402 - cat conftest.$ac_ext >&5
34405 + echo "$as_me: failed program was:" >&5
34406 +sed 's/^/| /' conftest.$ac_ext >&5
34411 +rm -f conftest.err conftest.$ac_objext \
34412 + conftest$ac_exeext conftest.$ac_ext
34413 if test $ac_R_nospace = yes; then
34414 - echo "$ac_t""no" 1>&6
34415 + echo "$as_me:$LINENO: result: no" >&5
34416 +echo "${ECHO_T}no" >&6
34417 X_LIBS="$X_LIBS -R$x_libraries"
34419 LIBS="$ac_xsave_LIBS -R $x_libraries"
34420 - cat > conftest.$ac_ext <<EOF
34421 -#line 4819 "configure"
34422 -#include "confdefs.h"
34423 + cat >conftest.$ac_ext <<_ACEOF
34426 +cat confdefs.h >>conftest.$ac_ext
34427 +cat >>conftest.$ac_ext <<_ACEOF
34428 +/* end confdefs.h. */
34437 -if { (eval echo configure:4826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
34443 +rm -f conftest.$ac_objext conftest$ac_exeext
34444 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34445 + (eval $ac_link) 2>conftest.er1
34447 + grep -v '^ *+' conftest.er1 >conftest.err
34448 + rm -f conftest.er1
34449 + cat conftest.err >&5
34450 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34451 + (exit $ac_status); } &&
34452 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34453 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34454 + (eval $ac_try) 2>&5
34456 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 + (exit $ac_status); }; } &&
34458 + { ac_try='test -s conftest$ac_exeext'
34459 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34460 + (eval $ac_try) 2>&5
34462 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 + (exit $ac_status); }; }; then
34466 - echo "configure: failed program was:" >&5
34467 - cat conftest.$ac_ext >&5
34470 + echo "$as_me: failed program was:" >&5
34471 +sed 's/^/| /' conftest.$ac_ext >&5
34476 +rm -f conftest.err conftest.$ac_objext \
34477 + conftest$ac_exeext conftest.$ac_ext
34478 if test $ac_R_space = yes; then
34479 - echo "$ac_t""yes" 1>&6
34480 + echo "$as_me:$LINENO: result: yes" >&5
34481 +echo "${ECHO_T}yes" >&6
34482 X_LIBS="$X_LIBS -R $x_libraries"
34484 - echo "$ac_t""neither works" 1>&6
34485 + echo "$as_me:$LINENO: result: neither works" >&5
34486 +echo "${ECHO_T}neither works" >&6
34489 - LIBS="$ac_xsave_LIBS"
34490 + LIBS=$ac_xsave_LIBS
34494 @@ -4850,528 +23326,1222 @@
34495 if test "$ISC" = yes; then
34496 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
34498 - # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
34499 - # libraries were built with DECnet support. And karl@cs.umb.edu says
34500 + # Martyn Johnson says this is needed for Ultrix, if the X
34501 + # libraries were built with DECnet support. And Karl Berry says
34502 # the Alpha needs dnet_stub (dnet does not exist).
34503 - echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
34504 -echo "configure:4858: checking for dnet_ntoa in -ldnet" >&5
34505 -ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
34506 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
34507 - echo $ac_n "(cached) $ac_c" 1>&6
34509 - ac_save_LIBS="$LIBS"
34510 -LIBS="-ldnet $LIBS"
34511 -cat > conftest.$ac_ext <<EOF
34512 -#line 4866 "configure"
34513 -#include "confdefs.h"
34514 + ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
34515 + cat >conftest.$ac_ext <<_ACEOF
34518 +cat confdefs.h >>conftest.$ac_ext
34519 +cat >>conftest.$ac_ext <<_ACEOF
34520 +/* end confdefs.h. */
34522 /* Override any gcc2 internal prototype to avoid an error. */
34523 +#ifdef __cplusplus
34526 /* We use char because int might match the return type of a gcc2
34527 - builtin and then its argument prototype would still apply. */
34529 + builtin and then its argument prototype would still apply. */
34530 +char XOpenDisplay ();
34539 +rm -f conftest.$ac_objext conftest$ac_exeext
34540 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34541 + (eval $ac_link) 2>conftest.er1
34543 + grep -v '^ *+' conftest.er1 >conftest.err
34544 + rm -f conftest.er1
34545 + cat conftest.err >&5
34546 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547 + (exit $ac_status); } &&
34548 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34549 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34550 + (eval $ac_try) 2>&5
34552 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 + (exit $ac_status); }; } &&
34554 + { ac_try='test -s conftest$ac_exeext'
34555 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34556 + (eval $ac_try) 2>&5
34558 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34559 + (exit $ac_status); }; }; then
34562 + echo "$as_me: failed program was:" >&5
34563 +sed 's/^/| /' conftest.$ac_ext >&5
34569 -if { (eval echo configure:4877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
34571 - eval "ac_cv_lib_$ac_lib_var=yes"
34572 +echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
34573 +echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
34574 +if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
34575 + echo $ECHO_N "(cached) $ECHO_C" >&6
34577 - echo "configure: failed program was:" >&5
34578 - cat conftest.$ac_ext >&5
34580 - eval "ac_cv_lib_$ac_lib_var=no"
34583 -LIBS="$ac_save_LIBS"
34584 + ac_check_lib_save_LIBS=$LIBS
34585 +LIBS="-ldnet $LIBS"
34586 +cat >conftest.$ac_ext <<_ACEOF
34589 +cat confdefs.h >>conftest.$ac_ext
34590 +cat >>conftest.$ac_ext <<_ACEOF
34591 +/* end confdefs.h. */
34594 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
34595 - echo "$ac_t""yes" 1>&6
34596 +/* Override any gcc2 internal prototype to avoid an error. */
34597 +#ifdef __cplusplus
34600 +/* We use char because int might match the return type of a gcc2
34601 + builtin and then its argument prototype would still apply. */
34602 +char dnet_ntoa ();
34611 +rm -f conftest.$ac_objext conftest$ac_exeext
34612 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34613 + (eval $ac_link) 2>conftest.er1
34615 + grep -v '^ *+' conftest.er1 >conftest.err
34616 + rm -f conftest.er1
34617 + cat conftest.err >&5
34618 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 + (exit $ac_status); } &&
34620 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34621 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34622 + (eval $ac_try) 2>&5
34624 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 + (exit $ac_status); }; } &&
34626 + { ac_try='test -s conftest$ac_exeext'
34627 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 + (eval $ac_try) 2>&5
34630 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 + (exit $ac_status); }; }; then
34632 + ac_cv_lib_dnet_dnet_ntoa=yes
34634 + echo "$as_me: failed program was:" >&5
34635 +sed 's/^/| /' conftest.$ac_ext >&5
34637 +ac_cv_lib_dnet_dnet_ntoa=no
34639 +rm -f conftest.err conftest.$ac_objext \
34640 + conftest$ac_exeext conftest.$ac_ext
34641 +LIBS=$ac_check_lib_save_LIBS
34643 +echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
34644 +echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
34645 +if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
34646 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
34648 - echo "$ac_t""no" 1>&6
34651 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
34652 - echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
34653 -echo "configure:4899: checking for dnet_ntoa in -ldnet_stub" >&5
34654 -ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
34655 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
34656 - echo $ac_n "(cached) $ac_c" 1>&6
34657 + echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
34658 +echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
34659 +if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
34660 + echo $ECHO_N "(cached) $ECHO_C" >&6
34662 - ac_save_LIBS="$LIBS"
34663 + ac_check_lib_save_LIBS=$LIBS
34664 LIBS="-ldnet_stub $LIBS"
34665 -cat > conftest.$ac_ext <<EOF
34666 -#line 4907 "configure"
34667 -#include "confdefs.h"
34668 +cat >conftest.$ac_ext <<_ACEOF
34671 +cat confdefs.h >>conftest.$ac_ext
34672 +cat >>conftest.$ac_ext <<_ACEOF
34673 +/* end confdefs.h. */
34675 /* Override any gcc2 internal prototype to avoid an error. */
34676 +#ifdef __cplusplus
34679 /* We use char because int might match the return type of a gcc2
34680 - builtin and then its argument prototype would still apply. */
34687 -if { (eval echo configure:4918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
34689 - eval "ac_cv_lib_$ac_lib_var=yes"
34691 - echo "configure: failed program was:" >&5
34692 - cat conftest.$ac_ext >&5
34694 - eval "ac_cv_lib_$ac_lib_var=no"
34697 -LIBS="$ac_save_LIBS"
34700 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
34701 - echo "$ac_t""yes" 1>&6
34702 + builtin and then its argument prototype would still apply. */
34703 +char dnet_ntoa ();
34712 +rm -f conftest.$ac_objext conftest$ac_exeext
34713 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34714 + (eval $ac_link) 2>conftest.er1
34716 + grep -v '^ *+' conftest.er1 >conftest.err
34717 + rm -f conftest.er1
34718 + cat conftest.err >&5
34719 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 + (exit $ac_status); } &&
34721 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34722 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723 + (eval $ac_try) 2>&5
34725 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 + (exit $ac_status); }; } &&
34727 + { ac_try='test -s conftest$ac_exeext'
34728 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34729 + (eval $ac_try) 2>&5
34731 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 + (exit $ac_status); }; }; then
34733 + ac_cv_lib_dnet_stub_dnet_ntoa=yes
34735 + echo "$as_me: failed program was:" >&5
34736 +sed 's/^/| /' conftest.$ac_ext >&5
34738 +ac_cv_lib_dnet_stub_dnet_ntoa=no
34740 +rm -f conftest.err conftest.$ac_objext \
34741 + conftest$ac_exeext conftest.$ac_ext
34742 +LIBS=$ac_check_lib_save_LIBS
34744 +echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
34745 +echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
34746 +if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
34747 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
34749 - echo "$ac_t""no" 1>&6
34754 +rm -f conftest.err conftest.$ac_objext \
34755 + conftest$ac_exeext conftest.$ac_ext
34756 + LIBS="$ac_xsave_LIBS"
34758 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
34759 # to get the SysV transport functions.
34760 - # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
34761 + # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
34763 # The nsl library prevents programs from opening the X display
34764 - # on Irix 5.2, according to dickey@clark.net.
34765 - echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
34766 -echo "configure:4947: checking for gethostbyname" >&5
34767 -if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
34768 - echo $ac_n "(cached) $ac_c" 1>&6
34770 - cat > conftest.$ac_ext <<EOF
34771 -#line 4952 "configure"
34772 -#include "confdefs.h"
34773 + # on Irix 5.2, according to T.E. Dickey.
34774 + # The functions gethostbyname, getservbyname, and inet_addr are
34775 + # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
34776 + echo "$as_me:$LINENO: checking for gethostbyname" >&5
34777 +echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
34778 +if test "${ac_cv_func_gethostbyname+set}" = set; then
34779 + echo $ECHO_N "(cached) $ECHO_C" >&6
34781 + cat >conftest.$ac_ext <<_ACEOF
34784 +cat confdefs.h >>conftest.$ac_ext
34785 +cat >>conftest.$ac_ext <<_ACEOF
34786 +/* end confdefs.h. */
34787 +/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
34788 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
34789 +#define gethostbyname innocuous_gethostbyname
34791 /* System header to define __stub macros and hopefully few prototypes,
34792 - which can conflict with char gethostbyname(); below. */
34793 -#include <assert.h>
34794 -/* Override any gcc2 internal prototype to avoid an error. */
34795 -/* We use char because int might match the return type of a gcc2
34796 - builtin and then its argument prototype would still apply. */
34797 -char gethostbyname();
34798 + which can conflict with char gethostbyname (); below.
34799 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34800 + <limits.h> exists even on freestanding compilers. */
34804 +# include <limits.h>
34806 +# include <assert.h>
34809 +#undef gethostbyname
34811 +/* Override any gcc2 internal prototype to avoid an error. */
34812 +#ifdef __cplusplus
34816 +/* We use char because int might match the return type of a gcc2
34817 + builtin and then its argument prototype would still apply. */
34818 +char gethostbyname ();
34819 /* The GNU C library defines this for functions which it implements
34820 to always fail with ENOSYS. Some functions are actually named
34821 something starting with __ and the normal name is an alias. */
34822 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
34826 +char (*f) () = gethostbyname;
34828 +#ifdef __cplusplus
34834 -if { (eval echo configure:4975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
34836 - eval "ac_cv_func_gethostbyname=yes"
34838 - echo "configure: failed program was:" >&5
34839 - cat conftest.$ac_ext >&5
34841 - eval "ac_cv_func_gethostbyname=no"
34848 +return f != gethostbyname;
34853 +rm -f conftest.$ac_objext conftest$ac_exeext
34854 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34855 + (eval $ac_link) 2>conftest.er1
34857 + grep -v '^ *+' conftest.er1 >conftest.err
34858 + rm -f conftest.er1
34859 + cat conftest.err >&5
34860 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 + (exit $ac_status); } &&
34862 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34863 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34864 + (eval $ac_try) 2>&5
34866 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34867 + (exit $ac_status); }; } &&
34868 + { ac_try='test -s conftest$ac_exeext'
34869 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34870 + (eval $ac_try) 2>&5
34872 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 + (exit $ac_status); }; }; then
34874 + ac_cv_func_gethostbyname=yes
34876 + echo "$as_me: failed program was:" >&5
34877 +sed 's/^/| /' conftest.$ac_ext >&5
34879 -if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
34880 - echo "$ac_t""yes" 1>&6
34883 - echo "$ac_t""no" 1>&6
34884 +ac_cv_func_gethostbyname=no
34886 +rm -f conftest.err conftest.$ac_objext \
34887 + conftest$ac_exeext conftest.$ac_ext
34889 +echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
34890 +echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
34892 if test $ac_cv_func_gethostbyname = no; then
34893 - echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
34894 -echo "configure:4996: checking for gethostbyname in -lnsl" >&5
34895 -ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
34896 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
34897 - echo $ac_n "(cached) $ac_c" 1>&6
34898 + echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
34899 +echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
34900 +if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
34901 + echo $ECHO_N "(cached) $ECHO_C" >&6
34903 - ac_save_LIBS="$LIBS"
34904 + ac_check_lib_save_LIBS=$LIBS
34906 -cat > conftest.$ac_ext <<EOF
34907 -#line 5004 "configure"
34908 -#include "confdefs.h"
34909 +cat >conftest.$ac_ext <<_ACEOF
34912 +cat confdefs.h >>conftest.$ac_ext
34913 +cat >>conftest.$ac_ext <<_ACEOF
34914 +/* end confdefs.h. */
34916 /* Override any gcc2 internal prototype to avoid an error. */
34917 +#ifdef __cplusplus
34920 /* We use char because int might match the return type of a gcc2
34921 - builtin and then its argument prototype would still apply. */
34922 -char gethostbyname();
34928 -if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
34930 - eval "ac_cv_lib_$ac_lib_var=yes"
34932 - echo "configure: failed program was:" >&5
34933 - cat conftest.$ac_ext >&5
34935 - eval "ac_cv_lib_$ac_lib_var=no"
34936 + builtin and then its argument prototype would still apply. */
34937 +char gethostbyname ();
34946 +rm -f conftest.$ac_objext conftest$ac_exeext
34947 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34948 + (eval $ac_link) 2>conftest.er1
34950 + grep -v '^ *+' conftest.er1 >conftest.err
34951 + rm -f conftest.er1
34952 + cat conftest.err >&5
34953 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 + (exit $ac_status); } &&
34955 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34956 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34957 + (eval $ac_try) 2>&5
34959 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34960 + (exit $ac_status); }; } &&
34961 + { ac_try='test -s conftest$ac_exeext'
34962 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34963 + (eval $ac_try) 2>&5
34965 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 + (exit $ac_status); }; }; then
34967 + ac_cv_lib_nsl_gethostbyname=yes
34969 + echo "$as_me: failed program was:" >&5
34970 +sed 's/^/| /' conftest.$ac_ext >&5
34972 +ac_cv_lib_nsl_gethostbyname=no
34974 +rm -f conftest.err conftest.$ac_objext \
34975 + conftest$ac_exeext conftest.$ac_ext
34976 +LIBS=$ac_check_lib_save_LIBS
34978 +echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
34979 +echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
34980 +if test $ac_cv_lib_nsl_gethostbyname = yes; then
34981 + X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
34984 -LIBS="$ac_save_LIBS"
34987 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
34988 - echo "$ac_t""yes" 1>&6
34989 - X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
34991 - echo "$ac_t""no" 1>&6
34992 + if test $ac_cv_lib_nsl_gethostbyname = no; then
34993 + echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
34994 +echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
34995 +if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
34996 + echo $ECHO_N "(cached) $ECHO_C" >&6
34998 + ac_check_lib_save_LIBS=$LIBS
34999 +LIBS="-lbsd $LIBS"
35000 +cat >conftest.$ac_ext <<_ACEOF
35003 +cat confdefs.h >>conftest.$ac_ext
35004 +cat >>conftest.$ac_ext <<_ACEOF
35005 +/* end confdefs.h. */
35007 +/* Override any gcc2 internal prototype to avoid an error. */
35008 +#ifdef __cplusplus
35011 +/* We use char because int might match the return type of a gcc2
35012 + builtin and then its argument prototype would still apply. */
35013 +char gethostbyname ();
35022 +rm -f conftest.$ac_objext conftest$ac_exeext
35023 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35024 + (eval $ac_link) 2>conftest.er1
35026 + grep -v '^ *+' conftest.er1 >conftest.err
35027 + rm -f conftest.er1
35028 + cat conftest.err >&5
35029 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 + (exit $ac_status); } &&
35031 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35032 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35033 + (eval $ac_try) 2>&5
35035 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 + (exit $ac_status); }; } &&
35037 + { ac_try='test -s conftest$ac_exeext'
35038 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35039 + (eval $ac_try) 2>&5
35041 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 + (exit $ac_status); }; }; then
35043 + ac_cv_lib_bsd_gethostbyname=yes
35045 + echo "$as_me: failed program was:" >&5
35046 +sed 's/^/| /' conftest.$ac_ext >&5
35048 +ac_cv_lib_bsd_gethostbyname=no
35050 +rm -f conftest.err conftest.$ac_objext \
35051 + conftest$ac_exeext conftest.$ac_ext
35052 +LIBS=$ac_check_lib_save_LIBS
35054 +echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
35055 +echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
35056 +if test $ac_cv_lib_bsd_gethostbyname = yes; then
35057 + X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
35063 # lieder@skyler.mavd.honeywell.com says without -lsocket,
35064 # socket/setsockopt and other routines are undefined under SCO ODT
35065 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
35066 - # on later versions), says simon@lia.di.epfl.ch: it contains
35067 - # gethostby* variants that don't use the nameserver (or something).
35068 - # -lsocket must be given before -lnsl if both are needed.
35069 - # We assume that if connect needs -lnsl, so does gethostbyname.
35070 - echo $ac_n "checking for connect""... $ac_c" 1>&6
35071 -echo "configure:5045: checking for connect" >&5
35072 -if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
35073 - echo $ac_n "(cached) $ac_c" 1>&6
35075 - cat > conftest.$ac_ext <<EOF
35076 -#line 5050 "configure"
35077 -#include "confdefs.h"
35078 + # on later versions), says Simon Leinen: it contains gethostby*
35079 + # variants that don't use the name server (or something). -lsocket
35080 + # must be given before -lnsl if both are needed. We assume that
35081 + # if connect needs -lnsl, so does gethostbyname.
35082 + echo "$as_me:$LINENO: checking for connect" >&5
35083 +echo $ECHO_N "checking for connect... $ECHO_C" >&6
35084 +if test "${ac_cv_func_connect+set}" = set; then
35085 + echo $ECHO_N "(cached) $ECHO_C" >&6
35087 + cat >conftest.$ac_ext <<_ACEOF
35090 +cat confdefs.h >>conftest.$ac_ext
35091 +cat >>conftest.$ac_ext <<_ACEOF
35092 +/* end confdefs.h. */
35093 +/* Define connect to an innocuous variant, in case <limits.h> declares connect.
35094 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
35095 +#define connect innocuous_connect
35097 /* System header to define __stub macros and hopefully few prototypes,
35098 - which can conflict with char connect(); below. */
35099 -#include <assert.h>
35100 -/* Override any gcc2 internal prototype to avoid an error. */
35101 -/* We use char because int might match the return type of a gcc2
35102 - builtin and then its argument prototype would still apply. */
35104 + which can conflict with char connect (); below.
35105 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35106 + <limits.h> exists even on freestanding compilers. */
35110 +# include <limits.h>
35112 +# include <assert.h>
35117 +/* Override any gcc2 internal prototype to avoid an error. */
35118 +#ifdef __cplusplus
35122 +/* We use char because int might match the return type of a gcc2
35123 + builtin and then its argument prototype would still apply. */
35125 /* The GNU C library defines this for functions which it implements
35126 to always fail with ENOSYS. Some functions are actually named
35127 something starting with __ and the normal name is an alias. */
35128 #if defined (__stub_connect) || defined (__stub___connect)
35132 +char (*f) () = connect;
35134 +#ifdef __cplusplus
35140 -if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35142 - eval "ac_cv_func_connect=yes"
35144 - echo "configure: failed program was:" >&5
35145 - cat conftest.$ac_ext >&5
35147 - eval "ac_cv_func_connect=no"
35154 +return f != connect;
35159 +rm -f conftest.$ac_objext conftest$ac_exeext
35160 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35161 + (eval $ac_link) 2>conftest.er1
35163 + grep -v '^ *+' conftest.er1 >conftest.err
35164 + rm -f conftest.er1
35165 + cat conftest.err >&5
35166 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 + (exit $ac_status); } &&
35168 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35169 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 + (eval $ac_try) 2>&5
35172 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 + (exit $ac_status); }; } &&
35174 + { ac_try='test -s conftest$ac_exeext'
35175 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35176 + (eval $ac_try) 2>&5
35178 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 + (exit $ac_status); }; }; then
35180 + ac_cv_func_connect=yes
35182 + echo "$as_me: failed program was:" >&5
35183 +sed 's/^/| /' conftest.$ac_ext >&5
35185 -if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
35186 - echo "$ac_t""yes" 1>&6
35189 - echo "$ac_t""no" 1>&6
35190 +ac_cv_func_connect=no
35192 +rm -f conftest.err conftest.$ac_objext \
35193 + conftest$ac_exeext conftest.$ac_ext
35195 +echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
35196 +echo "${ECHO_T}$ac_cv_func_connect" >&6
35198 if test $ac_cv_func_connect = no; then
35199 - echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
35200 -echo "configure:5094: checking for connect in -lsocket" >&5
35201 -ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
35202 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
35203 - echo $ac_n "(cached) $ac_c" 1>&6
35204 + echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
35205 +echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
35206 +if test "${ac_cv_lib_socket_connect+set}" = set; then
35207 + echo $ECHO_N "(cached) $ECHO_C" >&6
35209 - ac_save_LIBS="$LIBS"
35210 + ac_check_lib_save_LIBS=$LIBS
35211 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
35212 -cat > conftest.$ac_ext <<EOF
35213 -#line 5102 "configure"
35214 -#include "confdefs.h"
35215 +cat >conftest.$ac_ext <<_ACEOF
35218 +cat confdefs.h >>conftest.$ac_ext
35219 +cat >>conftest.$ac_ext <<_ACEOF
35220 +/* end confdefs.h. */
35222 /* Override any gcc2 internal prototype to avoid an error. */
35223 +#ifdef __cplusplus
35226 /* We use char because int might match the return type of a gcc2
35227 - builtin and then its argument prototype would still apply. */
35234 -if { (eval echo configure:5113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35236 - eval "ac_cv_lib_$ac_lib_var=yes"
35238 - echo "configure: failed program was:" >&5
35239 - cat conftest.$ac_ext >&5
35241 - eval "ac_cv_lib_$ac_lib_var=no"
35244 -LIBS="$ac_save_LIBS"
35247 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
35248 - echo "$ac_t""yes" 1>&6
35249 + builtin and then its argument prototype would still apply. */
35259 +rm -f conftest.$ac_objext conftest$ac_exeext
35260 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35261 + (eval $ac_link) 2>conftest.er1
35263 + grep -v '^ *+' conftest.er1 >conftest.err
35264 + rm -f conftest.er1
35265 + cat conftest.err >&5
35266 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35267 + (exit $ac_status); } &&
35268 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35269 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35270 + (eval $ac_try) 2>&5
35272 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 + (exit $ac_status); }; } &&
35274 + { ac_try='test -s conftest$ac_exeext'
35275 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35276 + (eval $ac_try) 2>&5
35278 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 + (exit $ac_status); }; }; then
35280 + ac_cv_lib_socket_connect=yes
35282 + echo "$as_me: failed program was:" >&5
35283 +sed 's/^/| /' conftest.$ac_ext >&5
35285 +ac_cv_lib_socket_connect=no
35287 +rm -f conftest.err conftest.$ac_objext \
35288 + conftest$ac_exeext conftest.$ac_ext
35289 +LIBS=$ac_check_lib_save_LIBS
35291 +echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
35292 +echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
35293 +if test $ac_cv_lib_socket_connect = yes; then
35294 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
35296 - echo "$ac_t""no" 1>&6
35301 - # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
35302 - echo $ac_n "checking for remove""... $ac_c" 1>&6
35303 -echo "configure:5137: checking for remove" >&5
35304 -if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
35305 - echo $ac_n "(cached) $ac_c" 1>&6
35307 - cat > conftest.$ac_ext <<EOF
35308 -#line 5142 "configure"
35309 -#include "confdefs.h"
35310 + # Guillermo Gomez says -lposix is necessary on A/UX.
35311 + echo "$as_me:$LINENO: checking for remove" >&5
35312 +echo $ECHO_N "checking for remove... $ECHO_C" >&6
35313 +if test "${ac_cv_func_remove+set}" = set; then
35314 + echo $ECHO_N "(cached) $ECHO_C" >&6
35316 + cat >conftest.$ac_ext <<_ACEOF
35319 +cat confdefs.h >>conftest.$ac_ext
35320 +cat >>conftest.$ac_ext <<_ACEOF
35321 +/* end confdefs.h. */
35322 +/* Define remove to an innocuous variant, in case <limits.h> declares remove.
35323 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
35324 +#define remove innocuous_remove
35326 /* System header to define __stub macros and hopefully few prototypes,
35327 - which can conflict with char remove(); below. */
35328 -#include <assert.h>
35329 -/* Override any gcc2 internal prototype to avoid an error. */
35330 -/* We use char because int might match the return type of a gcc2
35331 - builtin and then its argument prototype would still apply. */
35333 + which can conflict with char remove (); below.
35334 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35335 + <limits.h> exists even on freestanding compilers. */
35338 +# include <limits.h>
35340 +# include <assert.h>
35346 +/* Override any gcc2 internal prototype to avoid an error. */
35347 +#ifdef __cplusplus
35351 +/* We use char because int might match the return type of a gcc2
35352 + builtin and then its argument prototype would still apply. */
35354 /* The GNU C library defines this for functions which it implements
35355 to always fail with ENOSYS. Some functions are actually named
35356 something starting with __ and the normal name is an alias. */
35357 #if defined (__stub_remove) || defined (__stub___remove)
35361 +char (*f) () = remove;
35363 +#ifdef __cplusplus
35369 -if { (eval echo configure:5165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35371 - eval "ac_cv_func_remove=yes"
35373 - echo "configure: failed program was:" >&5
35374 - cat conftest.$ac_ext >&5
35376 - eval "ac_cv_func_remove=no"
35383 +return f != remove;
35388 +rm -f conftest.$ac_objext conftest$ac_exeext
35389 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35390 + (eval $ac_link) 2>conftest.er1
35392 + grep -v '^ *+' conftest.er1 >conftest.err
35393 + rm -f conftest.er1
35394 + cat conftest.err >&5
35395 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 + (exit $ac_status); } &&
35397 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35398 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35399 + (eval $ac_try) 2>&5
35401 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 + (exit $ac_status); }; } &&
35403 + { ac_try='test -s conftest$ac_exeext'
35404 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35405 + (eval $ac_try) 2>&5
35407 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 + (exit $ac_status); }; }; then
35409 + ac_cv_func_remove=yes
35411 + echo "$as_me: failed program was:" >&5
35412 +sed 's/^/| /' conftest.$ac_ext >&5
35414 -if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
35415 - echo "$ac_t""yes" 1>&6
35418 - echo "$ac_t""no" 1>&6
35419 +ac_cv_func_remove=no
35421 +rm -f conftest.err conftest.$ac_objext \
35422 + conftest$ac_exeext conftest.$ac_ext
35424 +echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
35425 +echo "${ECHO_T}$ac_cv_func_remove" >&6
35427 if test $ac_cv_func_remove = no; then
35428 - echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
35429 -echo "configure:5186: checking for remove in -lposix" >&5
35430 -ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
35431 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
35432 - echo $ac_n "(cached) $ac_c" 1>&6
35433 + echo "$as_me:$LINENO: checking for remove in -lposix" >&5
35434 +echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
35435 +if test "${ac_cv_lib_posix_remove+set}" = set; then
35436 + echo $ECHO_N "(cached) $ECHO_C" >&6
35438 - ac_save_LIBS="$LIBS"
35439 + ac_check_lib_save_LIBS=$LIBS
35440 LIBS="-lposix $LIBS"
35441 -cat > conftest.$ac_ext <<EOF
35442 -#line 5194 "configure"
35443 -#include "confdefs.h"
35444 +cat >conftest.$ac_ext <<_ACEOF
35447 +cat confdefs.h >>conftest.$ac_ext
35448 +cat >>conftest.$ac_ext <<_ACEOF
35449 +/* end confdefs.h. */
35451 /* Override any gcc2 internal prototype to avoid an error. */
35452 +#ifdef __cplusplus
35455 /* We use char because int might match the return type of a gcc2
35456 - builtin and then its argument prototype would still apply. */
35463 -if { (eval echo configure:5205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35465 - eval "ac_cv_lib_$ac_lib_var=yes"
35467 - echo "configure: failed program was:" >&5
35468 - cat conftest.$ac_ext >&5
35470 - eval "ac_cv_lib_$ac_lib_var=no"
35473 -LIBS="$ac_save_LIBS"
35476 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
35477 - echo "$ac_t""yes" 1>&6
35478 + builtin and then its argument prototype would still apply. */
35488 +rm -f conftest.$ac_objext conftest$ac_exeext
35489 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35490 + (eval $ac_link) 2>conftest.er1
35492 + grep -v '^ *+' conftest.er1 >conftest.err
35493 + rm -f conftest.er1
35494 + cat conftest.err >&5
35495 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 + (exit $ac_status); } &&
35497 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35498 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35499 + (eval $ac_try) 2>&5
35501 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35502 + (exit $ac_status); }; } &&
35503 + { ac_try='test -s conftest$ac_exeext'
35504 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35505 + (eval $ac_try) 2>&5
35507 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35508 + (exit $ac_status); }; }; then
35509 + ac_cv_lib_posix_remove=yes
35511 + echo "$as_me: failed program was:" >&5
35512 +sed 's/^/| /' conftest.$ac_ext >&5
35514 +ac_cv_lib_posix_remove=no
35516 +rm -f conftest.err conftest.$ac_objext \
35517 + conftest$ac_exeext conftest.$ac_ext
35518 +LIBS=$ac_check_lib_save_LIBS
35520 +echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
35521 +echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
35522 +if test $ac_cv_lib_posix_remove = yes; then
35523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
35525 - echo "$ac_t""no" 1>&6
35530 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
35531 - echo $ac_n "checking for shmat""... $ac_c" 1>&6
35532 -echo "configure:5229: checking for shmat" >&5
35533 -if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
35534 - echo $ac_n "(cached) $ac_c" 1>&6
35536 - cat > conftest.$ac_ext <<EOF
35537 -#line 5234 "configure"
35538 -#include "confdefs.h"
35539 + echo "$as_me:$LINENO: checking for shmat" >&5
35540 +echo $ECHO_N "checking for shmat... $ECHO_C" >&6
35541 +if test "${ac_cv_func_shmat+set}" = set; then
35542 + echo $ECHO_N "(cached) $ECHO_C" >&6
35544 + cat >conftest.$ac_ext <<_ACEOF
35547 +cat confdefs.h >>conftest.$ac_ext
35548 +cat >>conftest.$ac_ext <<_ACEOF
35549 +/* end confdefs.h. */
35550 +/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
35551 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
35552 +#define shmat innocuous_shmat
35554 /* System header to define __stub macros and hopefully few prototypes,
35555 - which can conflict with char shmat(); below. */
35556 -#include <assert.h>
35557 -/* Override any gcc2 internal prototype to avoid an error. */
35558 -/* We use char because int might match the return type of a gcc2
35559 - builtin and then its argument prototype would still apply. */
35561 + which can conflict with char shmat (); below.
35562 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35563 + <limits.h> exists even on freestanding compilers. */
35567 +# include <limits.h>
35569 +# include <assert.h>
35574 +/* Override any gcc2 internal prototype to avoid an error. */
35575 +#ifdef __cplusplus
35579 +/* We use char because int might match the return type of a gcc2
35580 + builtin and then its argument prototype would still apply. */
35582 /* The GNU C library defines this for functions which it implements
35583 to always fail with ENOSYS. Some functions are actually named
35584 something starting with __ and the normal name is an alias. */
35585 #if defined (__stub_shmat) || defined (__stub___shmat)
35589 +char (*f) () = shmat;
35591 +#ifdef __cplusplus
35597 -if { (eval echo configure:5257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35599 - eval "ac_cv_func_shmat=yes"
35601 - echo "configure: failed program was:" >&5
35602 - cat conftest.$ac_ext >&5
35604 - eval "ac_cv_func_shmat=no"
35611 +return f != shmat;
35616 +rm -f conftest.$ac_objext conftest$ac_exeext
35617 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35618 + (eval $ac_link) 2>conftest.er1
35620 + grep -v '^ *+' conftest.er1 >conftest.err
35621 + rm -f conftest.er1
35622 + cat conftest.err >&5
35623 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 + (exit $ac_status); } &&
35625 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35626 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35627 + (eval $ac_try) 2>&5
35629 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35630 + (exit $ac_status); }; } &&
35631 + { ac_try='test -s conftest$ac_exeext'
35632 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35633 + (eval $ac_try) 2>&5
35635 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 + (exit $ac_status); }; }; then
35637 + ac_cv_func_shmat=yes
35639 + echo "$as_me: failed program was:" >&5
35640 +sed 's/^/| /' conftest.$ac_ext >&5
35642 -if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
35643 - echo "$ac_t""yes" 1>&6
35646 - echo "$ac_t""no" 1>&6
35647 +ac_cv_func_shmat=no
35649 +rm -f conftest.err conftest.$ac_objext \
35650 + conftest$ac_exeext conftest.$ac_ext
35652 +echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
35653 +echo "${ECHO_T}$ac_cv_func_shmat" >&6
35655 if test $ac_cv_func_shmat = no; then
35656 - echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
35657 -echo "configure:5278: checking for shmat in -lipc" >&5
35658 -ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
35659 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
35660 - echo $ac_n "(cached) $ac_c" 1>&6
35661 + echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
35662 +echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
35663 +if test "${ac_cv_lib_ipc_shmat+set}" = set; then
35664 + echo $ECHO_N "(cached) $ECHO_C" >&6
35666 - ac_save_LIBS="$LIBS"
35667 + ac_check_lib_save_LIBS=$LIBS
35669 -cat > conftest.$ac_ext <<EOF
35670 -#line 5286 "configure"
35671 -#include "confdefs.h"
35672 +cat >conftest.$ac_ext <<_ACEOF
35675 +cat confdefs.h >>conftest.$ac_ext
35676 +cat >>conftest.$ac_ext <<_ACEOF
35677 +/* end confdefs.h. */
35679 /* Override any gcc2 internal prototype to avoid an error. */
35680 +#ifdef __cplusplus
35683 /* We use char because int might match the return type of a gcc2
35684 - builtin and then its argument prototype would still apply. */
35691 -if { (eval echo configure:5297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35693 - eval "ac_cv_lib_$ac_lib_var=yes"
35695 - echo "configure: failed program was:" >&5
35696 - cat conftest.$ac_ext >&5
35698 - eval "ac_cv_lib_$ac_lib_var=no"
35701 -LIBS="$ac_save_LIBS"
35704 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
35705 - echo "$ac_t""yes" 1>&6
35706 + builtin and then its argument prototype would still apply. */
35716 +rm -f conftest.$ac_objext conftest$ac_exeext
35717 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35718 + (eval $ac_link) 2>conftest.er1
35720 + grep -v '^ *+' conftest.er1 >conftest.err
35721 + rm -f conftest.er1
35722 + cat conftest.err >&5
35723 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 + (exit $ac_status); } &&
35725 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35726 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35727 + (eval $ac_try) 2>&5
35729 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 + (exit $ac_status); }; } &&
35731 + { ac_try='test -s conftest$ac_exeext'
35732 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35733 + (eval $ac_try) 2>&5
35735 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35736 + (exit $ac_status); }; }; then
35737 + ac_cv_lib_ipc_shmat=yes
35739 + echo "$as_me: failed program was:" >&5
35740 +sed 's/^/| /' conftest.$ac_ext >&5
35742 +ac_cv_lib_ipc_shmat=no
35744 +rm -f conftest.err conftest.$ac_objext \
35745 + conftest$ac_exeext conftest.$ac_ext
35746 +LIBS=$ac_check_lib_save_LIBS
35748 +echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
35749 +echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
35750 +if test $ac_cv_lib_ipc_shmat = yes; then
35751 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
35753 - echo "$ac_t""no" 1>&6
35759 # Check for libraries that X11R6 Xt/Xaw programs need.
35760 - ac_save_LDFLAGS="$LDFLAGS"
35761 + ac_save_LDFLAGS=$LDFLAGS
35762 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
35763 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
35764 # check for ICE first), but we must link in the order -lSM -lICE or
35765 # we get undefined symbols. So assume we have SM if we have ICE.
35766 # These have to be linked with before -lX11, unlike the other
35767 # libraries we check for below, so use a different variable.
35768 - # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
35769 - echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
35770 -echo "configure:5330: checking for IceConnectionNumber in -lICE" >&5
35771 -ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
35772 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
35773 - echo $ac_n "(cached) $ac_c" 1>&6
35774 + # John Interrante, Karl Berry
35775 + echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
35776 +echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
35777 +if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
35778 + echo $ECHO_N "(cached) $ECHO_C" >&6
35780 - ac_save_LIBS="$LIBS"
35781 + ac_check_lib_save_LIBS=$LIBS
35782 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
35783 -cat > conftest.$ac_ext <<EOF
35784 -#line 5338 "configure"
35785 -#include "confdefs.h"
35786 +cat >conftest.$ac_ext <<_ACEOF
35789 +cat confdefs.h >>conftest.$ac_ext
35790 +cat >>conftest.$ac_ext <<_ACEOF
35791 +/* end confdefs.h. */
35793 /* Override any gcc2 internal prototype to avoid an error. */
35794 +#ifdef __cplusplus
35797 /* We use char because int might match the return type of a gcc2
35798 - builtin and then its argument prototype would still apply. */
35799 -char IceConnectionNumber();
35800 + builtin and then its argument prototype would still apply. */
35801 +char IceConnectionNumber ();
35805 +IceConnectionNumber ();
35810 +rm -f conftest.$ac_objext conftest$ac_exeext
35811 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35812 + (eval $ac_link) 2>conftest.er1
35814 + grep -v '^ *+' conftest.er1 >conftest.err
35815 + rm -f conftest.er1
35816 + cat conftest.err >&5
35817 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35818 + (exit $ac_status); } &&
35819 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35820 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35821 + (eval $ac_try) 2>&5
35823 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35824 + (exit $ac_status); }; } &&
35825 + { ac_try='test -s conftest$ac_exeext'
35826 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35827 + (eval $ac_try) 2>&5
35829 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35830 + (exit $ac_status); }; }; then
35831 + ac_cv_lib_ICE_IceConnectionNumber=yes
35833 + echo "$as_me: failed program was:" >&5
35834 +sed 's/^/| /' conftest.$ac_ext >&5
35836 +ac_cv_lib_ICE_IceConnectionNumber=no
35838 +rm -f conftest.err conftest.$ac_objext \
35839 + conftest$ac_exeext conftest.$ac_ext
35840 +LIBS=$ac_check_lib_save_LIBS
35842 +echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
35843 +echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
35844 +if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
35845 + X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
35849 -IceConnectionNumber()
35852 -if { (eval echo configure:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35854 - eval "ac_cv_lib_$ac_lib_var=yes"
35855 + LDFLAGS=$ac_save_LDFLAGS
35862 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35863 + if test -n "$ac_tool_prefix"; then
35864 + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35865 +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35866 +echo "$as_me:$LINENO: checking for $ac_word" >&5
35867 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35868 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35869 + echo $ECHO_N "(cached) $ECHO_C" >&6
35871 - echo "configure: failed program was:" >&5
35872 - cat conftest.$ac_ext >&5
35874 - eval "ac_cv_lib_$ac_lib_var=no"
35875 + case $PKG_CONFIG in
35876 + [\\/]* | ?:[\\/]*)
35877 + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35880 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35881 +for as_dir in $PATH
35884 + test -z "$as_dir" && as_dir=.
35885 + for ac_exec_ext in '' $ac_executable_extensions; do
35886 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35887 + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35888 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35898 -LIBS="$ac_save_LIBS"
35899 +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35901 +if test -n "$PKG_CONFIG"; then
35902 + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35903 +echo "${ECHO_T}$PKG_CONFIG" >&6
35905 + echo "$as_me:$LINENO: result: no" >&5
35906 +echo "${ECHO_T}no" >&6
35908 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
35909 - echo "$ac_t""yes" 1>&6
35910 - X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
35913 +if test -z "$ac_cv_path_PKG_CONFIG"; then
35914 + ac_pt_PKG_CONFIG=$PKG_CONFIG
35915 + # Extract the first word of "pkg-config", so it can be a program name with args.
35916 +set dummy pkg-config; ac_word=$2
35917 +echo "$as_me:$LINENO: checking for $ac_word" >&5
35918 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35919 +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35920 + echo $ECHO_N "(cached) $ECHO_C" >&6
35922 + case $ac_pt_PKG_CONFIG in
35923 + [\\/]* | ?:[\\/]*)
35924 + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35927 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35928 +for as_dir in $PATH
35931 + test -z "$as_dir" && as_dir=.
35932 + for ac_exec_ext in '' $ac_executable_extensions; do
35933 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35934 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35935 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35944 +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35946 +if test -n "$ac_pt_PKG_CONFIG"; then
35947 + echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35948 +echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
35950 + echo "$as_me:$LINENO: result: no" >&5
35951 +echo "${ECHO_T}no" >&6
35954 + PKG_CONFIG=$ac_pt_PKG_CONFIG
35956 + PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35960 +if test -n "$PKG_CONFIG"; then
35961 + _pkg_min_version=0.9.0
35962 + echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35963 +echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
35964 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35965 + echo "$as_me:$LINENO: result: yes" >&5
35966 +echo "${ECHO_T}yes" >&6
35968 + echo "$as_me:$LINENO: result: no" >&5
35969 +echo "${ECHO_T}no" >&6
35976 +echo "$as_me:$LINENO: checking for X" >&5
35977 +echo $ECHO_N "checking for X... $ECHO_C" >&6
35979 +if test -n "$PKG_CONFIG"; then
35980 + if test -n "$X_CFLAGS"; then
35981 + pkg_cv_X_CFLAGS="$X_CFLAGS"
35983 + if test -n "$PKG_CONFIG" && \
35984 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xau\"") >&5
35985 + ($PKG_CONFIG --exists --print-errors "x11 xau") 2>&5
35987 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 + (exit $ac_status); }; then
35989 + pkg_cv_X_CFLAGS=`$PKG_CONFIG --cflags "x11 xau" 2>/dev/null`
35995 + pkg_failed=untried
35997 +if test -n "$PKG_CONFIG"; then
35998 + if test -n "$X_LIBS"; then
35999 + pkg_cv_X_LIBS="$X_LIBS"
36001 + if test -n "$PKG_CONFIG" && \
36002 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xau\"") >&5
36003 + ($PKG_CONFIG --exists --print-errors "x11 xau") 2>&5
36005 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006 + (exit $ac_status); }; then
36007 + pkg_cv_X_LIBS=`$PKG_CONFIG --libs "x11 xau" 2>/dev/null`
36013 - echo "$ac_t""no" 1>&6
36014 + pkg_failed=untried
36017 - LDFLAGS="$ac_save_LDFLAGS"
36020 +if test $pkg_failed = yes; then
36022 +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36023 + _pkg_short_errors_supported=yes
36025 + _pkg_short_errors_supported=no
36027 + if test $_pkg_short_errors_supported = yes; then
36028 + X_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 xau"`
36030 + X_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xau"`
36032 + # Put the nasty error message in config.log where it belongs
36033 + echo "$X_PKG_ERRORS" >&5
36035 + { { echo "$as_me:$LINENO: error: Package requirements (x11 xau) were not met:
36037 -if test "x$x_includes" = "x"; then
36038 - x_includes="/usr/include"
36041 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
36042 +installed software in a non-standard prefix.
36044 +Alternatively, you may set the environment variables X_CFLAGS
36045 +and X_LIBS to avoid the need to call pkg-config.
36046 +See the pkg-config man page for more details.
36048 +echo "$as_me: error: Package requirements (x11 xau) were not met:
36052 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
36053 +installed software in a non-standard prefix.
36055 +Alternatively, you may set the environment variables X_CFLAGS
36056 +and X_LIBS to avoid the need to call pkg-config.
36057 +See the pkg-config man page for more details.
36059 + { (exit 1); exit 1; }; }
36060 +elif test $pkg_failed = untried; then
36061 + { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
36062 +is in your PATH or set the PKG_CONFIG environment variable to the full
36063 +path to pkg-config.
36065 +Alternatively, you may set the environment variables X_CFLAGS
36066 +and X_LIBS to avoid the need to call pkg-config.
36067 +See the pkg-config man page for more details.
36069 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
36070 +See \`config.log' for more details." >&5
36071 +echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
36072 +is in your PATH or set the PKG_CONFIG environment variable to the full
36073 +path to pkg-config.
36075 +Alternatively, you may set the environment variables X_CFLAGS
36076 +and X_LIBS to avoid the need to call pkg-config.
36077 +See the pkg-config man page for more details.
36079 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
36080 +See \`config.log' for more details." >&2;}
36081 + { (exit 1); exit 1; }; }
36083 + X_CFLAGS=$pkg_cv_X_CFLAGS
36084 + X_LIBS=$pkg_cv_X_LIBS
36085 + echo "$as_me:$LINENO: result: yes" >&5
36086 +echo "${ECHO_T}yes" >&6
36090 saved_cflags="$CFLAGS"
36091 @@ -5380,136 +24550,226 @@
36092 CFLAGS="$CFLAGS $X_CFLAGS"
36093 LDFLAGS="$LDFLAGS $X_LDFLAGS $X_LIBS"
36095 -if test "x$no_x" = "xyes"; then
36096 - { echo "configure: error:
36097 -*** X libraries or include files not found. Check 'config.log' for
36098 -*** more details." 1>&2; exit 1; }
36099 +if test "x$no_x" = "xyes"; then
36100 + { { echo "$as_me:$LINENO: error:
36101 +*** X libraries or include files not found. Check 'config.log' for
36102 +*** more details." >&5
36103 +echo "$as_me: error:
36104 +*** X libraries or include files not found. Check 'config.log' for
36105 +*** more details." >&2;}
36106 + { (exit 1); exit 1; }; }
36109 # Checks for libraries.
36110 # Check for the X11 library
36111 -echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
36112 -echo "configure:5393: checking for XOpenDisplay in -lX11" >&5
36113 -ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
36114 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
36115 - echo $ac_n "(cached) $ac_c" 1>&6
36116 +echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
36117 +echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
36118 +if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
36119 + echo $ECHO_N "(cached) $ECHO_C" >&6
36121 - ac_save_LIBS="$LIBS"
36122 + ac_check_lib_save_LIBS=$LIBS
36123 LIBS="-lX11 $X_EXTRA_LIBS $LIBS"
36124 -cat > conftest.$ac_ext <<EOF
36125 -#line 5401 "configure"
36126 -#include "confdefs.h"
36127 +cat >conftest.$ac_ext <<_ACEOF
36130 +cat confdefs.h >>conftest.$ac_ext
36131 +cat >>conftest.$ac_ext <<_ACEOF
36132 +/* end confdefs.h. */
36134 /* Override any gcc2 internal prototype to avoid an error. */
36135 +#ifdef __cplusplus
36138 /* We use char because int might match the return type of a gcc2
36139 - builtin and then its argument prototype would still apply. */
36140 -char XOpenDisplay();
36146 -if { (eval echo configure:5412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
36148 - eval "ac_cv_lib_$ac_lib_var=yes"
36150 - echo "configure: failed program was:" >&5
36151 - cat conftest.$ac_ext >&5
36153 - eval "ac_cv_lib_$ac_lib_var=no"
36156 -LIBS="$ac_save_LIBS"
36159 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
36160 - echo "$ac_t""yes" 1>&6
36161 + builtin and then its argument prototype would still apply. */
36162 +char XOpenDisplay ();
36171 +rm -f conftest.$ac_objext conftest$ac_exeext
36172 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36173 + (eval $ac_link) 2>conftest.er1
36175 + grep -v '^ *+' conftest.er1 >conftest.err
36176 + rm -f conftest.er1
36177 + cat conftest.err >&5
36178 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 + (exit $ac_status); } &&
36180 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36181 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36182 + (eval $ac_try) 2>&5
36184 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185 + (exit $ac_status); }; } &&
36186 + { ac_try='test -s conftest$ac_exeext'
36187 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36188 + (eval $ac_try) 2>&5
36190 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 + (exit $ac_status); }; }; then
36192 + ac_cv_lib_X11_XOpenDisplay=yes
36194 + echo "$as_me: failed program was:" >&5
36195 +sed 's/^/| /' conftest.$ac_ext >&5
36197 +ac_cv_lib_X11_XOpenDisplay=no
36199 +rm -f conftest.err conftest.$ac_objext \
36200 + conftest$ac_exeext conftest.$ac_ext
36201 +LIBS=$ac_check_lib_save_LIBS
36203 +echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
36204 +echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
36205 +if test $ac_cv_lib_X11_XOpenDisplay = yes; then
36206 x_libs="-lX11 $X_EXTRA_LIBS"
36208 - echo "$ac_t""no" 1>&6
36209 -{ echo "configure: error: *** libX11 not found. Check 'config.log' for more details." 1>&2; exit 1; }
36210 + { { echo "$as_me:$LINENO: error: *** libX11 not found. Check 'config.log' for more details." >&5
36211 +echo "$as_me: error: *** libX11 not found. Check 'config.log' for more details." >&2;}
36212 + { (exit 1); exit 1; }; }
36216 if test "x$enable_shm" = "xyes"; then
36217 # Check for the Xext library (needed for XShm extention)
36218 - echo $ac_n "checking for XShmAttach in -lXext""... $ac_c" 1>&6
36219 -echo "configure:5437: checking for XShmAttach in -lXext" >&5
36220 -ac_lib_var=`echo Xext'_'XShmAttach | sed 'y%./+-%__p_%'`
36221 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
36222 - echo $ac_n "(cached) $ac_c" 1>&6
36223 + echo "$as_me:$LINENO: checking for XShmAttach in -lXext" >&5
36224 +echo $ECHO_N "checking for XShmAttach in -lXext... $ECHO_C" >&6
36225 +if test "${ac_cv_lib_Xext_XShmAttach+set}" = set; then
36226 + echo $ECHO_N "(cached) $ECHO_C" >&6
36228 - ac_save_LIBS="$LIBS"
36229 + ac_check_lib_save_LIBS=$LIBS
36230 LIBS="-lXext $x_libs $LIBS"
36231 -cat > conftest.$ac_ext <<EOF
36232 -#line 5445 "configure"
36233 -#include "confdefs.h"
36234 +cat >conftest.$ac_ext <<_ACEOF
36237 +cat confdefs.h >>conftest.$ac_ext
36238 +cat >>conftest.$ac_ext <<_ACEOF
36239 +/* end confdefs.h. */
36241 /* Override any gcc2 internal prototype to avoid an error. */
36242 +#ifdef __cplusplus
36245 /* We use char because int might match the return type of a gcc2
36246 - builtin and then its argument prototype would still apply. */
36247 -char XShmAttach();
36253 -if { (eval echo configure:5456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
36255 - eval "ac_cv_lib_$ac_lib_var=yes"
36257 - echo "configure: failed program was:" >&5
36258 - cat conftest.$ac_ext >&5
36260 - eval "ac_cv_lib_$ac_lib_var=no"
36263 -LIBS="$ac_save_LIBS"
36266 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
36267 - echo "$ac_t""yes" 1>&6
36268 + builtin and then its argument prototype would still apply. */
36269 +char XShmAttach ();
36278 +rm -f conftest.$ac_objext conftest$ac_exeext
36279 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36280 + (eval $ac_link) 2>conftest.er1
36282 + grep -v '^ *+' conftest.er1 >conftest.err
36283 + rm -f conftest.er1
36284 + cat conftest.err >&5
36285 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36286 + (exit $ac_status); } &&
36287 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36288 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36289 + (eval $ac_try) 2>&5
36291 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 + (exit $ac_status); }; } &&
36293 + { ac_try='test -s conftest$ac_exeext'
36294 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36295 + (eval $ac_try) 2>&5
36297 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36298 + (exit $ac_status); }; }; then
36299 + ac_cv_lib_Xext_XShmAttach=yes
36301 + echo "$as_me: failed program was:" >&5
36302 +sed 's/^/| /' conftest.$ac_ext >&5
36304 +ac_cv_lib_Xext_XShmAttach=no
36306 +rm -f conftest.err conftest.$ac_objext \
36307 + conftest$ac_exeext conftest.$ac_ext
36308 +LIBS=$ac_check_lib_save_LIBS
36310 +echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmAttach" >&5
36311 +echo "${ECHO_T}$ac_cv_lib_Xext_XShmAttach" >&6
36312 +if test $ac_cv_lib_Xext_XShmAttach = yes; then
36313 x_libs="-lXext $x_libs"
36315 - echo "$ac_t""no" 1>&6
36316 -# On AIX, it is in XextSam instead, but we still need -lXext
36317 - echo $ac_n "checking for XShmAttach in -lXextSam""... $ac_c" 1>&6
36318 -echo "configure:5476: checking for XShmAttach in -lXextSam" >&5
36319 -ac_lib_var=`echo XextSam'_'XShmAttach | sed 'y%./+-%__p_%'`
36320 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
36321 - echo $ac_n "(cached) $ac_c" 1>&6
36322 + # On AIX, it is in XextSam instead, but we still need -lXext
36323 + echo "$as_me:$LINENO: checking for XShmAttach in -lXextSam" >&5
36324 +echo $ECHO_N "checking for XShmAttach in -lXextSam... $ECHO_C" >&6
36325 +if test "${ac_cv_lib_XextSam_XShmAttach+set}" = set; then
36326 + echo $ECHO_N "(cached) $ECHO_C" >&6
36328 - ac_save_LIBS="$LIBS"
36329 + ac_check_lib_save_LIBS=$LIBS
36330 LIBS="-lXextSam $x_libs $LIBS"
36331 -cat > conftest.$ac_ext <<EOF
36332 -#line 5484 "configure"
36333 -#include "confdefs.h"
36334 +cat >conftest.$ac_ext <<_ACEOF
36337 +cat confdefs.h >>conftest.$ac_ext
36338 +cat >>conftest.$ac_ext <<_ACEOF
36339 +/* end confdefs.h. */
36341 /* Override any gcc2 internal prototype to avoid an error. */
36342 +#ifdef __cplusplus
36345 /* We use char because int might match the return type of a gcc2
36346 - builtin and then its argument prototype would still apply. */
36347 -char XShmAttach();
36353 -if { (eval echo configure:5495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
36355 - eval "ac_cv_lib_$ac_lib_var=yes"
36357 - echo "configure: failed program was:" >&5
36358 - cat conftest.$ac_ext >&5
36360 - eval "ac_cv_lib_$ac_lib_var=no"
36363 -LIBS="$ac_save_LIBS"
36366 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
36367 - echo "$ac_t""yes" 1>&6
36368 + builtin and then its argument prototype would still apply. */
36369 +char XShmAttach ();
36378 +rm -f conftest.$ac_objext conftest$ac_exeext
36379 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36380 + (eval $ac_link) 2>conftest.er1
36382 + grep -v '^ *+' conftest.er1 >conftest.err
36383 + rm -f conftest.er1
36384 + cat conftest.err >&5
36385 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 + (exit $ac_status); } &&
36387 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36388 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36389 + (eval $ac_try) 2>&5
36391 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36392 + (exit $ac_status); }; } &&
36393 + { ac_try='test -s conftest$ac_exeext'
36394 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36395 + (eval $ac_try) 2>&5
36397 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398 + (exit $ac_status); }; }; then
36399 + ac_cv_lib_XextSam_XShmAttach=yes
36401 + echo "$as_me: failed program was:" >&5
36402 +sed 's/^/| /' conftest.$ac_ext >&5
36404 +ac_cv_lib_XextSam_XShmAttach=no
36406 +rm -f conftest.err conftest.$ac_objext \
36407 + conftest$ac_exeext conftest.$ac_ext
36408 +LIBS=$ac_check_lib_save_LIBS
36410 +echo "$as_me:$LINENO: result: $ac_cv_lib_XextSam_XShmAttach" >&5
36411 +echo "${ECHO_T}$ac_cv_lib_XextSam_XShmAttach" >&6
36412 +if test $ac_cv_lib_XextSam_XShmAttach = yes; then
36413 x_libs="-lXextSam -lXext $x_libs"
36415 - echo "$ac_t""no" 1>&6
36421 @@ -5518,140 +24778,222 @@
36423 # Check for shaped window extension
36425 -echo $ac_n "checking for XShapeCombineMask in -lXext""... $ac_c" 1>&6
36426 -echo "configure:5523: checking for XShapeCombineMask in -lXext" >&5
36427 -ac_lib_var=`echo Xext'_'XShapeCombineMask | sed 'y%./+-%__p_%'`
36428 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
36429 - echo $ac_n "(cached) $ac_c" 1>&6
36430 +echo "$as_me:$LINENO: checking for XShapeCombineMask in -lXext" >&5
36431 +echo $ECHO_N "checking for XShapeCombineMask in -lXext... $ECHO_C" >&6
36432 +if test "${ac_cv_lib_Xext_XShapeCombineMask+set}" = set; then
36433 + echo $ECHO_N "(cached) $ECHO_C" >&6
36435 - ac_save_LIBS="$LIBS"
36436 + ac_check_lib_save_LIBS=$LIBS
36437 LIBS="-lXext $x_libs $LIBS"
36438 -cat > conftest.$ac_ext <<EOF
36439 -#line 5531 "configure"
36440 -#include "confdefs.h"
36441 +cat >conftest.$ac_ext <<_ACEOF
36444 +cat confdefs.h >>conftest.$ac_ext
36445 +cat >>conftest.$ac_ext <<_ACEOF
36446 +/* end confdefs.h. */
36448 /* Override any gcc2 internal prototype to avoid an error. */
36449 +#ifdef __cplusplus
36452 /* We use char because int might match the return type of a gcc2
36453 - builtin and then its argument prototype would still apply. */
36454 -char XShapeCombineMask();
36457 -XShapeCombineMask()
36460 -if { (eval echo configure:5542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
36462 - eval "ac_cv_lib_$ac_lib_var=yes"
36464 - echo "configure: failed program was:" >&5
36465 - cat conftest.$ac_ext >&5
36467 - eval "ac_cv_lib_$ac_lib_var=no"
36470 -LIBS="$ac_save_LIBS"
36473 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
36474 - echo "$ac_t""yes" 1>&6
36475 + builtin and then its argument prototype would still apply. */
36476 +char XShapeCombineMask ();
36480 +XShapeCombineMask ();
36485 +rm -f conftest.$ac_objext conftest$ac_exeext
36486 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36487 + (eval $ac_link) 2>conftest.er1
36489 + grep -v '^ *+' conftest.er1 >conftest.err
36490 + rm -f conftest.er1
36491 + cat conftest.err >&5
36492 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36493 + (exit $ac_status); } &&
36494 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36495 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36496 + (eval $ac_try) 2>&5
36498 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36499 + (exit $ac_status); }; } &&
36500 + { ac_try='test -s conftest$ac_exeext'
36501 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36502 + (eval $ac_try) 2>&5
36504 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 + (exit $ac_status); }; }; then
36506 + ac_cv_lib_Xext_XShapeCombineMask=yes
36508 + echo "$as_me: failed program was:" >&5
36509 +sed 's/^/| /' conftest.$ac_ext >&5
36511 +ac_cv_lib_Xext_XShapeCombineMask=no
36513 +rm -f conftest.err conftest.$ac_objext \
36514 + conftest$ac_exeext conftest.$ac_ext
36515 +LIBS=$ac_check_lib_save_LIBS
36517 +echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeCombineMask" >&5
36518 +echo "${ECHO_T}$ac_cv_lib_Xext_XShapeCombineMask" >&6
36519 +if test $ac_cv_lib_Xext_XShapeCombineMask = yes; then
36520 if test -z "`echo $x_libs | grep "\-lXext" 2> /dev/null`"; then
36521 x_libs="-lXext $x_libs"
36523 - cat >> confdefs.h <<\EOF
36524 + cat >>confdefs.h <<\_ACEOF
36525 #define HAVE_SHAPE_EXT 1
36530 - echo "$ac_t""no" 1>&6
36534 # Check for XConvertCase (X11R6 specific)
36536 -echo $ac_n "checking for XConvertCase in -lX11""... $ac_c" 1>&6
36537 -echo "configure:5572: checking for XConvertCase in -lX11" >&5
36538 -ac_lib_var=`echo X11'_'XConvertCase | sed 'y%./+-%__p_%'`
36539 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
36540 - echo $ac_n "(cached) $ac_c" 1>&6
36542 - ac_save_LIBS="$LIBS"
36543 -LIBS="-lX11 $x_libs $LIBS"
36544 -cat > conftest.$ac_ext <<EOF
36545 -#line 5580 "configure"
36546 -#include "confdefs.h"
36547 -/* Override any gcc2 internal prototype to avoid an error. */
36548 -/* We use char because int might match the return type of a gcc2
36549 - builtin and then its argument prototype would still apply. */
36550 -char XConvertCase();
36556 -if { (eval echo configure:5591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
36558 - eval "ac_cv_lib_$ac_lib_var=yes"
36559 +echo "$as_me:$LINENO: checking for XConvertCase in -lX11" >&5
36560 +echo $ECHO_N "checking for XConvertCase in -lX11... $ECHO_C" >&6
36561 +if test "${ac_cv_lib_X11_XConvertCase+set}" = set; then
36562 + echo $ECHO_N "(cached) $ECHO_C" >&6
36564 - echo "configure: failed program was:" >&5
36565 - cat conftest.$ac_ext >&5
36567 - eval "ac_cv_lib_$ac_lib_var=no"
36570 -LIBS="$ac_save_LIBS"
36571 + ac_check_lib_save_LIBS=$LIBS
36572 +LIBS="-lX11 $x_libs $LIBS"
36573 +cat >conftest.$ac_ext <<_ACEOF
36576 +cat confdefs.h >>conftest.$ac_ext
36577 +cat >>conftest.$ac_ext <<_ACEOF
36578 +/* end confdefs.h. */
36581 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
36582 - echo "$ac_t""yes" 1>&6
36583 - cat >> confdefs.h <<\EOF
36584 +/* Override any gcc2 internal prototype to avoid an error. */
36585 +#ifdef __cplusplus
36588 +/* We use char because int might match the return type of a gcc2
36589 + builtin and then its argument prototype would still apply. */
36590 +char XConvertCase ();
36599 +rm -f conftest.$ac_objext conftest$ac_exeext
36600 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36601 + (eval $ac_link) 2>conftest.er1
36603 + grep -v '^ *+' conftest.er1 >conftest.err
36604 + rm -f conftest.er1
36605 + cat conftest.err >&5
36606 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 + (exit $ac_status); } &&
36608 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36609 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36610 + (eval $ac_try) 2>&5
36612 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 + (exit $ac_status); }; } &&
36614 + { ac_try='test -s conftest$ac_exeext'
36615 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36616 + (eval $ac_try) 2>&5
36618 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 + (exit $ac_status); }; }; then
36620 + ac_cv_lib_X11_XConvertCase=yes
36622 + echo "$as_me: failed program was:" >&5
36623 +sed 's/^/| /' conftest.$ac_ext >&5
36625 +ac_cv_lib_X11_XConvertCase=no
36627 +rm -f conftest.err conftest.$ac_objext \
36628 + conftest$ac_exeext conftest.$ac_ext
36629 +LIBS=$ac_check_lib_save_LIBS
36631 +echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XConvertCase" >&5
36632 +echo "${ECHO_T}$ac_cv_lib_X11_XConvertCase" >&6
36633 +if test $ac_cv_lib_X11_XConvertCase = yes; then
36634 + cat >>confdefs.h <<\_ACEOF
36635 #define HAVE_XCONVERTCASE 1
36640 - echo "$ac_t""no" 1>&6
36644 # Check for XIM support.
36646 -echo $ac_n "checking for XUnregisterIMInstantiateCallback in -lX11""... $ac_c" 1>&6
36647 -echo "configure:5618: checking for XUnregisterIMInstantiateCallback in -lX11" >&5
36648 -ac_lib_var=`echo X11'_'XUnregisterIMInstantiateCallback | sed 'y%./+-%__p_%'`
36649 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
36650 - echo $ac_n "(cached) $ac_c" 1>&6
36651 +echo "$as_me:$LINENO: checking for XUnregisterIMInstantiateCallback in -lX11" >&5
36652 +echo $ECHO_N "checking for XUnregisterIMInstantiateCallback in -lX11... $ECHO_C" >&6
36653 +if test "${ac_cv_lib_X11_XUnregisterIMInstantiateCallback+set}" = set; then
36654 + echo $ECHO_N "(cached) $ECHO_C" >&6
36656 - ac_save_LIBS="$LIBS"
36657 + ac_check_lib_save_LIBS=$LIBS
36658 LIBS="-lX11 $x_libs $LIBS"
36659 -cat > conftest.$ac_ext <<EOF
36660 -#line 5626 "configure"
36661 -#include "confdefs.h"
36662 +cat >conftest.$ac_ext <<_ACEOF
36665 +cat confdefs.h >>conftest.$ac_ext
36666 +cat >>conftest.$ac_ext <<_ACEOF
36667 +/* end confdefs.h. */
36669 /* Override any gcc2 internal prototype to avoid an error. */
36670 +#ifdef __cplusplus
36673 /* We use char because int might match the return type of a gcc2
36674 - builtin and then its argument prototype would still apply. */
36675 -char XUnregisterIMInstantiateCallback();
36678 -XUnregisterIMInstantiateCallback()
36681 -if { (eval echo configure:5637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
36683 - eval "ac_cv_lib_$ac_lib_var=yes"
36685 - echo "configure: failed program was:" >&5
36686 - cat conftest.$ac_ext >&5
36688 - eval "ac_cv_lib_$ac_lib_var=no"
36691 -LIBS="$ac_save_LIBS"
36694 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
36695 - echo "$ac_t""yes" 1>&6
36697 + builtin and then its argument prototype would still apply. */
36698 +char XUnregisterIMInstantiateCallback ();
36702 +XUnregisterIMInstantiateCallback ();
36707 +rm -f conftest.$ac_objext conftest$ac_exeext
36708 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36709 + (eval $ac_link) 2>conftest.er1
36711 + grep -v '^ *+' conftest.er1 >conftest.err
36712 + rm -f conftest.er1
36713 + cat conftest.err >&5
36714 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 + (exit $ac_status); } &&
36716 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36717 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36718 + (eval $ac_try) 2>&5
36720 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721 + (exit $ac_status); }; } &&
36722 + { ac_try='test -s conftest$ac_exeext'
36723 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36724 + (eval $ac_try) 2>&5
36726 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 + (exit $ac_status); }; }; then
36728 + ac_cv_lib_X11_XUnregisterIMInstantiateCallback=yes
36730 + echo "$as_me: failed program was:" >&5
36731 +sed 's/^/| /' conftest.$ac_ext >&5
36733 +ac_cv_lib_X11_XUnregisterIMInstantiateCallback=no
36735 +rm -f conftest.err conftest.$ac_objext \
36736 + conftest$ac_exeext conftest.$ac_ext
36737 +LIBS=$ac_check_lib_save_LIBS
36739 +echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XUnregisterIMInstantiateCallback" >&5
36740 +echo "${ECHO_T}$ac_cv_lib_X11_XUnregisterIMInstantiateCallback" >&6
36741 +if test $ac_cv_lib_X11_XUnregisterIMInstantiateCallback = yes; then
36744 - echo "$ac_t""no" 1>&6
36745 -enable_xim_inst="no"
36746 + enable_xim_inst="no"
36750 @@ -5673,9 +25015,9 @@
36751 if test "x$enable_xim" = "xyes"; then
36752 GTK_XIM_FLAGS="-DUSE_XIM"
36753 if test "x$enable_xim_inst" = "xyes"; then
36754 - cat >> confdefs.h <<\EOF
36755 + cat >>confdefs.h <<\_ACEOF
36756 #define USE_X11R6_XIM 1
36762 @@ -5686,25 +25028,28 @@
36763 # set up things for XInput
36765 if test "x$with_xinput" = "xgxi"; then
36766 - echo "configure: warning:
36767 + { echo "$as_me:$LINENO: WARNING:
36768 +*** The generic XInput support has not been tested for several years
36769 +*** and is not known to work with any currently available X servers" >&5
36770 +echo "$as_me: WARNING:
36771 *** The generic XInput support has not been tested for several years
36772 -*** and is not known to work with any currently available X servers" 1>&2
36773 - cat >> confdefs.h <<\EOF
36774 +*** and is not known to work with any currently available X servers" >&2;}
36775 + cat >>confdefs.h <<\_ACEOF
36776 #define XINPUT_GXI 1
36781 x_libs="-lXi $x_libs"
36782 elif test "x$with_xinput" = "xxfree" || test "x$with_xinput" = "xyes"; then
36783 - cat >> confdefs.h <<\EOF
36784 + cat >>confdefs.h <<\_ACEOF
36785 #define XINPUT_XFREE 1
36789 x_libs="-lXi $x_libs"
36791 - cat >> confdefs.h <<\EOF
36792 + cat >>confdefs.h <<\_ACEOF
36793 #define XINPUT_NONE 1
36799 @@ -5719,96 +25064,317 @@
36801 if test "x$enable_shm" = "xyes"; then
36802 # Check for shared memory
36803 - ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
36804 -echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
36805 -echo "configure:5725: checking for sys/ipc.h" >&5
36806 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
36807 - echo $ac_n "(cached) $ac_c" 1>&6
36809 - cat > conftest.$ac_ext <<EOF
36810 -#line 5730 "configure"
36811 -#include "confdefs.h"
36812 + if test "${ac_cv_header_sys_ipc_h+set}" = set; then
36813 + echo "$as_me:$LINENO: checking for sys/ipc.h" >&5
36814 +echo $ECHO_N "checking for sys/ipc.h... $ECHO_C" >&6
36815 +if test "${ac_cv_header_sys_ipc_h+set}" = set; then
36816 + echo $ECHO_N "(cached) $ECHO_C" >&6
36818 +echo "$as_me:$LINENO: result: $ac_cv_header_sys_ipc_h" >&5
36819 +echo "${ECHO_T}$ac_cv_header_sys_ipc_h" >&6
36821 + # Is the header compilable?
36822 +echo "$as_me:$LINENO: checking sys/ipc.h usability" >&5
36823 +echo $ECHO_N "checking sys/ipc.h usability... $ECHO_C" >&6
36824 +cat >conftest.$ac_ext <<_ACEOF
36827 +cat confdefs.h >>conftest.$ac_ext
36828 +cat >>conftest.$ac_ext <<_ACEOF
36829 +/* end confdefs.h. */
36830 +$ac_includes_default
36831 #include <sys/ipc.h>
36833 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
36834 -{ (eval echo configure:5735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
36835 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
36836 -if test -z "$ac_err"; then
36838 - eval "ac_cv_header_$ac_safe=yes"
36840 +rm -f conftest.$ac_objext
36841 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36842 + (eval $ac_compile) 2>conftest.er1
36844 + grep -v '^ *+' conftest.er1 >conftest.err
36845 + rm -f conftest.er1
36846 + cat conftest.err >&5
36847 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 + (exit $ac_status); } &&
36849 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36850 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36851 + (eval $ac_try) 2>&5
36853 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 + (exit $ac_status); }; } &&
36855 + { ac_try='test -s conftest.$ac_objext'
36856 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36857 + (eval $ac_try) 2>&5
36859 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36860 + (exit $ac_status); }; }; then
36861 + ac_header_compiler=yes
36863 + echo "$as_me: failed program was:" >&5
36864 +sed 's/^/| /' conftest.$ac_ext >&5
36866 +ac_header_compiler=no
36868 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36869 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36870 +echo "${ECHO_T}$ac_header_compiler" >&6
36872 +# Is the header present?
36873 +echo "$as_me:$LINENO: checking sys/ipc.h presence" >&5
36874 +echo $ECHO_N "checking sys/ipc.h presence... $ECHO_C" >&6
36875 +cat >conftest.$ac_ext <<_ACEOF
36878 +cat confdefs.h >>conftest.$ac_ext
36879 +cat >>conftest.$ac_ext <<_ACEOF
36880 +/* end confdefs.h. */
36881 +#include <sys/ipc.h>
36883 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36884 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36886 + grep -v '^ *+' conftest.er1 >conftest.err
36887 + rm -f conftest.er1
36888 + cat conftest.err >&5
36889 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
36890 + (exit $ac_status); } >/dev/null; then
36891 + if test -s conftest.err; then
36892 + ac_cpp_err=$ac_c_preproc_warn_flag
36893 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36898 - echo "$ac_err" >&5
36899 - echo "configure: failed program was:" >&5
36900 - cat conftest.$ac_ext >&5
36902 - eval "ac_cv_header_$ac_safe=no"
36906 +if test -z "$ac_cpp_err"; then
36907 + ac_header_preproc=yes
36909 + echo "$as_me: failed program was:" >&5
36910 +sed 's/^/| /' conftest.$ac_ext >&5
36912 + ac_header_preproc=no
36914 +rm -f conftest.err conftest.$ac_ext
36915 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36916 +echo "${ECHO_T}$ac_header_preproc" >&6
36918 +# So? What about this header?
36919 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36921 + { echo "$as_me:$LINENO: WARNING: sys/ipc.h: accepted by the compiler, rejected by the preprocessor!" >&5
36922 +echo "$as_me: WARNING: sys/ipc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
36923 + { echo "$as_me:$LINENO: WARNING: sys/ipc.h: proceeding with the compiler's result" >&5
36924 +echo "$as_me: WARNING: sys/ipc.h: proceeding with the compiler's result" >&2;}
36925 + ac_header_preproc=yes
36928 + { echo "$as_me:$LINENO: WARNING: sys/ipc.h: present but cannot be compiled" >&5
36929 +echo "$as_me: WARNING: sys/ipc.h: present but cannot be compiled" >&2;}
36930 + { echo "$as_me:$LINENO: WARNING: sys/ipc.h: check for missing prerequisite headers?" >&5
36931 +echo "$as_me: WARNING: sys/ipc.h: check for missing prerequisite headers?" >&2;}
36932 + { echo "$as_me:$LINENO: WARNING: sys/ipc.h: see the Autoconf documentation" >&5
36933 +echo "$as_me: WARNING: sys/ipc.h: see the Autoconf documentation" >&2;}
36934 + { echo "$as_me:$LINENO: WARNING: sys/ipc.h: section \"Present But Cannot Be Compiled\"" >&5
36935 +echo "$as_me: WARNING: sys/ipc.h: section \"Present But Cannot Be Compiled\"" >&2;}
36936 + { echo "$as_me:$LINENO: WARNING: sys/ipc.h: proceeding with the preprocessor's result" >&5
36937 +echo "$as_me: WARNING: sys/ipc.h: proceeding with the preprocessor's result" >&2;}
36938 + { echo "$as_me:$LINENO: WARNING: sys/ipc.h: in the future, the compiler will take precedence" >&5
36939 +echo "$as_me: WARNING: sys/ipc.h: in the future, the compiler will take precedence" >&2;}
36942 +## ------------------------------------------ ##
36943 +## Report this to the AC_PACKAGE_NAME lists. ##
36944 +## ------------------------------------------ ##
36947 + sed "s/^/$as_me: WARNING: /" >&2
36950 +echo "$as_me:$LINENO: checking for sys/ipc.h" >&5
36951 +echo $ECHO_N "checking for sys/ipc.h... $ECHO_C" >&6
36952 +if test "${ac_cv_header_sys_ipc_h+set}" = set; then
36953 + echo $ECHO_N "(cached) $ECHO_C" >&6
36955 + ac_cv_header_sys_ipc_h=$ac_header_preproc
36957 +echo "$as_me:$LINENO: result: $ac_cv_header_sys_ipc_h" >&5
36958 +echo "${ECHO_T}$ac_cv_header_sys_ipc_h" >&6
36961 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
36962 - echo "$ac_t""yes" 1>&6
36963 - cat >> confdefs.h <<\EOF
36964 +if test $ac_cv_header_sys_ipc_h = yes; then
36965 + cat >>confdefs.h <<\_ACEOF
36966 #define HAVE_IPC_H 1
36971 - echo "$ac_t""no" 1>&6
36976 - ac_safe=`echo "sys/shm.h" | sed 'y%./+-%__p_%'`
36977 -echo $ac_n "checking for sys/shm.h""... $ac_c" 1>&6
36978 -echo "configure:5762: checking for sys/shm.h" >&5
36979 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
36980 - echo $ac_n "(cached) $ac_c" 1>&6
36982 + if test "${ac_cv_header_sys_shm_h+set}" = set; then
36983 + echo "$as_me:$LINENO: checking for sys/shm.h" >&5
36984 +echo $ECHO_N "checking for sys/shm.h... $ECHO_C" >&6
36985 +if test "${ac_cv_header_sys_shm_h+set}" = set; then
36986 + echo $ECHO_N "(cached) $ECHO_C" >&6
36988 +echo "$as_me:$LINENO: result: $ac_cv_header_sys_shm_h" >&5
36989 +echo "${ECHO_T}$ac_cv_header_sys_shm_h" >&6
36991 - cat > conftest.$ac_ext <<EOF
36992 -#line 5767 "configure"
36993 -#include "confdefs.h"
36994 + # Is the header compilable?
36995 +echo "$as_me:$LINENO: checking sys/shm.h usability" >&5
36996 +echo $ECHO_N "checking sys/shm.h usability... $ECHO_C" >&6
36997 +cat >conftest.$ac_ext <<_ACEOF
37000 +cat confdefs.h >>conftest.$ac_ext
37001 +cat >>conftest.$ac_ext <<_ACEOF
37002 +/* end confdefs.h. */
37003 +$ac_includes_default
37004 #include <sys/shm.h>
37006 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
37007 -{ (eval echo configure:5772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
37008 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
37009 -if test -z "$ac_err"; then
37011 - eval "ac_cv_header_$ac_safe=yes"
37013 +rm -f conftest.$ac_objext
37014 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37015 + (eval $ac_compile) 2>conftest.er1
37017 + grep -v '^ *+' conftest.er1 >conftest.err
37018 + rm -f conftest.er1
37019 + cat conftest.err >&5
37020 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021 + (exit $ac_status); } &&
37022 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37023 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37024 + (eval $ac_try) 2>&5
37026 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027 + (exit $ac_status); }; } &&
37028 + { ac_try='test -s conftest.$ac_objext'
37029 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37030 + (eval $ac_try) 2>&5
37032 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 + (exit $ac_status); }; }; then
37034 + ac_header_compiler=yes
37036 + echo "$as_me: failed program was:" >&5
37037 +sed 's/^/| /' conftest.$ac_ext >&5
37039 +ac_header_compiler=no
37041 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37042 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37043 +echo "${ECHO_T}$ac_header_compiler" >&6
37045 +# Is the header present?
37046 +echo "$as_me:$LINENO: checking sys/shm.h presence" >&5
37047 +echo $ECHO_N "checking sys/shm.h presence... $ECHO_C" >&6
37048 +cat >conftest.$ac_ext <<_ACEOF
37051 +cat confdefs.h >>conftest.$ac_ext
37052 +cat >>conftest.$ac_ext <<_ACEOF
37053 +/* end confdefs.h. */
37054 +#include <sys/shm.h>
37056 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37057 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37059 + grep -v '^ *+' conftest.er1 >conftest.err
37060 + rm -f conftest.er1
37061 + cat conftest.err >&5
37062 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 + (exit $ac_status); } >/dev/null; then
37064 + if test -s conftest.err; then
37065 + ac_cpp_err=$ac_c_preproc_warn_flag
37066 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37071 - echo "$ac_err" >&5
37072 - echo "configure: failed program was:" >&5
37073 - cat conftest.$ac_ext >&5
37075 - eval "ac_cv_header_$ac_safe=no"
37079 +if test -z "$ac_cpp_err"; then
37080 + ac_header_preproc=yes
37082 + echo "$as_me: failed program was:" >&5
37083 +sed 's/^/| /' conftest.$ac_ext >&5
37085 + ac_header_preproc=no
37087 +rm -f conftest.err conftest.$ac_ext
37088 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37089 +echo "${ECHO_T}$ac_header_preproc" >&6
37091 +# So? What about this header?
37092 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37094 + { echo "$as_me:$LINENO: WARNING: sys/shm.h: accepted by the compiler, rejected by the preprocessor!" >&5
37095 +echo "$as_me: WARNING: sys/shm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37096 + { echo "$as_me:$LINENO: WARNING: sys/shm.h: proceeding with the compiler's result" >&5
37097 +echo "$as_me: WARNING: sys/shm.h: proceeding with the compiler's result" >&2;}
37098 + ac_header_preproc=yes
37101 + { echo "$as_me:$LINENO: WARNING: sys/shm.h: present but cannot be compiled" >&5
37102 +echo "$as_me: WARNING: sys/shm.h: present but cannot be compiled" >&2;}
37103 + { echo "$as_me:$LINENO: WARNING: sys/shm.h: check for missing prerequisite headers?" >&5
37104 +echo "$as_me: WARNING: sys/shm.h: check for missing prerequisite headers?" >&2;}
37105 + { echo "$as_me:$LINENO: WARNING: sys/shm.h: see the Autoconf documentation" >&5
37106 +echo "$as_me: WARNING: sys/shm.h: see the Autoconf documentation" >&2;}
37107 + { echo "$as_me:$LINENO: WARNING: sys/shm.h: section \"Present But Cannot Be Compiled\"" >&5
37108 +echo "$as_me: WARNING: sys/shm.h: section \"Present But Cannot Be Compiled\"" >&2;}
37109 + { echo "$as_me:$LINENO: WARNING: sys/shm.h: proceeding with the preprocessor's result" >&5
37110 +echo "$as_me: WARNING: sys/shm.h: proceeding with the preprocessor's result" >&2;}
37111 + { echo "$as_me:$LINENO: WARNING: sys/shm.h: in the future, the compiler will take precedence" >&5
37112 +echo "$as_me: WARNING: sys/shm.h: in the future, the compiler will take precedence" >&2;}
37115 +## ------------------------------------------ ##
37116 +## Report this to the AC_PACKAGE_NAME lists. ##
37117 +## ------------------------------------------ ##
37120 + sed "s/^/$as_me: WARNING: /" >&2
37123 +echo "$as_me:$LINENO: checking for sys/shm.h" >&5
37124 +echo $ECHO_N "checking for sys/shm.h... $ECHO_C" >&6
37125 +if test "${ac_cv_header_sys_shm_h+set}" = set; then
37126 + echo $ECHO_N "(cached) $ECHO_C" >&6
37128 + ac_cv_header_sys_shm_h=$ac_header_preproc
37130 +echo "$as_me:$LINENO: result: $ac_cv_header_sys_shm_h" >&5
37131 +echo "${ECHO_T}$ac_cv_header_sys_shm_h" >&6
37134 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
37135 - echo "$ac_t""yes" 1>&6
37136 - cat >> confdefs.h <<\EOF
37137 +if test $ac_cv_header_sys_shm_h = yes; then
37138 + cat >>confdefs.h <<\_ACEOF
37139 #define HAVE_SHM_H 1
37144 - echo "$ac_t""no" 1>&6
37151 # Check for the X shared memory extension header file
37152 - echo $ac_n "checking X11/extensions/XShm.h""... $ac_c" 1>&6
37153 -echo "configure:5800: checking X11/extensions/XShm.h" >&5
37154 + echo "$as_me:$LINENO: checking X11/extensions/XShm.h" >&5
37155 +echo $ECHO_N "checking X11/extensions/XShm.h... $ECHO_C" >&6
37156 if test "x$no_xext_lib" = "xyes"; then
37157 - echo "$ac_t""no" 1>&6
37158 + echo "$as_me:$LINENO: result: no" >&5
37159 +echo "${ECHO_T}no" >&6
37162 if test -f "$x_includes/X11/extensions/XShm.h"; then
37163 - echo "$ac_t""yes" 1>&6
37164 - cat >> confdefs.h <<\EOF
37165 + echo "$as_me:$LINENO: result: yes" >&5
37166 +echo "${ECHO_T}yes" >&6
37167 + cat >>confdefs.h <<\_ACEOF
37168 #define HAVE_XSHM_H 1
37173 - echo "$ac_t""no" 1>&6
37174 + echo "$as_me:$LINENO: result: no" >&5
37175 +echo "${ECHO_T}no" >&6
37179 @@ -5816,15 +25382,18 @@
37181 # Check if X_LOCALE definition is necessary
37183 -echo $ac_n "checking need -DX_LOCALE""... $ac_c" 1>&6
37184 -echo "configure:5821: checking need -DX_LOCALE" >&5
37185 +echo "$as_me:$LINENO: checking need -DX_LOCALE" >&5
37186 +echo $ECHO_N "checking need -DX_LOCALE... $ECHO_C" >&6
37188 if test "$cross_compiling" = yes; then
37191 - cat > conftest.$ac_ext <<EOF
37192 -#line 5827 "configure"
37193 -#include "confdefs.h"
37194 + cat >conftest.$ac_ext <<_ACEOF
37197 +cat confdefs.h >>conftest.$ac_ext
37198 +cat >>conftest.$ac_ext <<_ACEOF
37199 +/* end confdefs.h. */
37202 #include <locale.h>
37203 @@ -5834,65 +25403,107 @@
37205 return setlocale (LC_ALL, "${with_locale}") == NULL;
37208 -if { (eval echo configure:5839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
37211 +rm -f conftest$ac_exeext
37212 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37213 + (eval $ac_link) 2>&5
37215 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37217 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37218 + (eval $ac_try) 2>&5
37220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37221 + (exit $ac_status); }; }; then
37224 - echo "configure: failed program was:" >&5
37225 - cat conftest.$ac_ext >&5
37227 - need_x_locale=yes
37228 + echo "$as_me: program exited with status $ac_status" >&5
37229 +echo "$as_me: failed program was:" >&5
37230 +sed 's/^/| /' conftest.$ac_ext >&5
37232 +( exit $ac_status )
37236 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37239 -echo "$ac_t""$need_x_locale" 1>&6
37240 +echo "$as_me:$LINENO: result: $need_x_locale" >&5
37241 +echo "${ECHO_T}$need_x_locale" >&6
37243 use_native_locale=no
37244 if test $need_x_locale = yes; then
37245 GTK_LOCALE_FLAGS="-DX_LOCALE"
37247 if test x$with_native_locale = xyes ; then
37248 - echo $ac_n "checking functioning locale support""... $ac_c" 1>&6
37249 -echo "configure:5859: checking functioning locale support" >&5
37251 - cat > conftest.$ac_ext <<EOF
37252 -#line 5862 "configure"
37253 -#include "confdefs.h"
37254 + echo "$as_me:$LINENO: checking functioning locale support" >&5
37255 +echo $ECHO_N "checking functioning locale support... $ECHO_C" >&6
37257 + cat >conftest.$ac_ext <<_ACEOF
37260 +cat confdefs.h >>conftest.$ac_ext
37261 +cat >>conftest.$ac_ext <<_ACEOF
37262 +/* end confdefs.h. */
37263 #include <stdlib.h>
37270 if (MB_CUR_MAX == 1) {
37276 -if { (eval echo configure:5874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
37283 +rm -f conftest.$ac_objext
37284 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37285 + (eval $ac_compile) 2>conftest.er1
37287 + grep -v '^ *+' conftest.er1 >conftest.err
37288 + rm -f conftest.er1
37289 + cat conftest.err >&5
37290 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37291 + (exit $ac_status); } &&
37292 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37293 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37294 + (eval $ac_try) 2>&5
37296 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37297 + (exit $ac_status); }; } &&
37298 + { ac_try='test -s conftest.$ac_objext'
37299 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37300 + (eval $ac_try) 2>&5
37302 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37303 + (exit $ac_status); }; }; then
37304 use_native_locale=yes
37306 - echo "configure: failed program was:" >&5
37307 - cat conftest.$ac_ext >&5
37308 + echo "$as_me: failed program was:" >&5
37309 +sed 's/^/| /' conftest.$ac_ext >&5
37313 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37315 - echo "$ac_t""$use_native_locale" 1>&6
37316 + echo "$as_me:$LINENO: result: $use_native_locale" >&5
37317 +echo "${ECHO_T}$use_native_locale" >&6
37321 if test x$use_native_locale = xyes ; then
37322 - echo $ac_n "checking if sizeof(wchar_t) == 4""... $ac_c" 1>&6
37323 -echo "configure:5889: checking if sizeof(wchar_t) == 4" >&5
37324 + echo "$as_me:$LINENO: checking if sizeof(wchar_t) == 4" >&5
37325 +echo $ECHO_N "checking if sizeof(wchar_t) == 4... $ECHO_C" >&6
37327 if test "$cross_compiling" = yes; then
37330 - cat > conftest.$ac_ext <<EOF
37331 -#line 5895 "configure"
37332 -#include "confdefs.h"
37333 + cat >conftest.$ac_ext <<_ACEOF
37336 +cat confdefs.h >>conftest.$ac_ext
37337 +cat >>conftest.$ac_ext <<_ACEOF
37338 +/* end confdefs.h. */
37340 #include <stdlib.h>
37342 @@ -5901,70 +25512,110 @@
37344 return (sizeof(wchar_t) == 4) ? 0 : 1;
37347 -if { (eval echo configure:5906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
37350 +rm -f conftest$ac_exeext
37351 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37352 + (eval $ac_link) 2>&5
37354 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37356 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357 + (eval $ac_try) 2>&5
37359 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 + (exit $ac_status); }; }; then
37363 - echo "configure: failed program was:" >&5
37364 - cat conftest.$ac_ext >&5
37366 - use_native_locale=no
37367 + echo "$as_me: program exited with status $ac_status" >&5
37368 +echo "$as_me: failed program was:" >&5
37369 +sed 's/^/| /' conftest.$ac_ext >&5
37371 +( exit $ac_status )
37372 +use_native_locale=no
37375 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37378 - echo "$ac_t""$use_native_locale" 1>&6
37379 + echo "$as_me:$LINENO: result: $use_native_locale" >&5
37380 +echo "${ECHO_T}$use_native_locale" >&6
37383 -if test $use_native_locale = yes ; then
37384 - cat >> confdefs.h <<\EOF
37385 +if test $use_native_locale = yes ; then
37386 + cat >>confdefs.h <<\_ACEOF
37387 #define USE_NATIVE_LOCALE 1
37393 # Checks for header files.
37394 -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
37395 -echo "configure:5930: checking for ANSI C header files" >&5
37396 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
37397 - echo $ac_n "(cached) $ac_c" 1>&6
37399 - cat > conftest.$ac_ext <<EOF
37400 -#line 5935 "configure"
37401 -#include "confdefs.h"
37402 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
37403 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
37404 +if test "${ac_cv_header_stdc+set}" = set; then
37405 + echo $ECHO_N "(cached) $ECHO_C" >&6
37407 + cat >conftest.$ac_ext <<_ACEOF
37410 +cat confdefs.h >>conftest.$ac_ext
37411 +cat >>conftest.$ac_ext <<_ACEOF
37412 +/* end confdefs.h. */
37413 #include <stdlib.h>
37414 #include <stdarg.h>
37415 #include <string.h>
37418 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
37419 -{ (eval echo configure:5943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
37420 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
37421 -if test -z "$ac_err"; then
37432 +rm -f conftest.$ac_objext
37433 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37434 + (eval $ac_compile) 2>conftest.er1
37436 + grep -v '^ *+' conftest.er1 >conftest.err
37437 + rm -f conftest.er1
37438 + cat conftest.err >&5
37439 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37440 + (exit $ac_status); } &&
37441 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37442 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37443 + (eval $ac_try) 2>&5
37445 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37446 + (exit $ac_status); }; } &&
37447 + { ac_try='test -s conftest.$ac_objext'
37448 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37449 + (eval $ac_try) 2>&5
37451 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37452 + (exit $ac_status); }; }; then
37453 ac_cv_header_stdc=yes
37455 - echo "$ac_err" >&5
37456 - echo "configure: failed program was:" >&5
37457 - cat conftest.$ac_ext >&5
37459 - ac_cv_header_stdc=no
37460 + echo "$as_me: failed program was:" >&5
37461 +sed 's/^/| /' conftest.$ac_ext >&5
37463 +ac_cv_header_stdc=no
37466 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37468 if test $ac_cv_header_stdc = yes; then
37469 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
37470 -cat > conftest.$ac_ext <<EOF
37471 -#line 5960 "configure"
37472 -#include "confdefs.h"
37473 + cat >conftest.$ac_ext <<_ACEOF
37476 +cat confdefs.h >>conftest.$ac_ext
37477 +cat >>conftest.$ac_ext <<_ACEOF
37478 +/* end confdefs.h. */
37479 #include <string.h>
37483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37484 - egrep "memchr" >/dev/null 2>&1; then
37485 + $EGREP "memchr" >/dev/null 2>&1; then
37489 ac_cv_header_stdc=no
37492 @@ -5973,16 +25624,19 @@
37494 if test $ac_cv_header_stdc = yes; then
37495 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
37496 -cat > conftest.$ac_ext <<EOF
37497 -#line 5978 "configure"
37498 -#include "confdefs.h"
37499 + cat >conftest.$ac_ext <<_ACEOF
37502 +cat confdefs.h >>conftest.$ac_ext
37503 +cat >>conftest.$ac_ext <<_ACEOF
37504 +/* end confdefs.h. */
37505 #include <stdlib.h>
37509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37510 - egrep "free" >/dev/null 2>&1; then
37511 + $EGREP "free" >/dev/null 2>&1; then
37515 ac_cv_header_stdc=no
37518 @@ -5991,135 +25645,198 @@
37520 if test $ac_cv_header_stdc = yes; then
37521 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
37522 -if test "$cross_compiling" = yes; then
37523 + if test "$cross_compiling" = yes; then
37526 - cat > conftest.$ac_ext <<EOF
37527 -#line 5999 "configure"
37528 -#include "confdefs.h"
37529 + cat >conftest.$ac_ext <<_ACEOF
37532 +cat confdefs.h >>conftest.$ac_ext
37533 +cat >>conftest.$ac_ext <<_ACEOF
37534 +/* end confdefs.h. */
37536 -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
37537 -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
37538 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
37539 -int main () { int i; for (i = 0; i < 256; i++)
37540 -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
37542 +#if ((' ' & 0x0FF) == 0x020)
37543 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
37544 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
37546 +# define ISLOWER(c) \
37547 + (('a' <= (c) && (c) <= 'i') \
37548 + || ('j' <= (c) && (c) <= 'r') \
37549 + || ('s' <= (c) && (c) <= 'z'))
37550 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
37554 -if { (eval echo configure:6010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
37556 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
37561 + for (i = 0; i < 256; i++)
37562 + if (XOR (islower (i), ISLOWER (i))
37563 + || toupper (i) != TOUPPER (i))
37568 +rm -f conftest$ac_exeext
37569 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37570 + (eval $ac_link) 2>&5
37572 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37574 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37575 + (eval $ac_try) 2>&5
37577 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37578 + (exit $ac_status); }; }; then
37581 - echo "configure: failed program was:" >&5
37582 - cat conftest.$ac_ext >&5
37584 - ac_cv_header_stdc=no
37585 + echo "$as_me: program exited with status $ac_status" >&5
37586 +echo "$as_me: failed program was:" >&5
37587 +sed 's/^/| /' conftest.$ac_ext >&5
37589 +( exit $ac_status )
37590 +ac_cv_header_stdc=no
37593 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37599 -echo "$ac_t""$ac_cv_header_stdc" 1>&6
37600 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
37601 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
37602 if test $ac_cv_header_stdc = yes; then
37603 - cat >> confdefs.h <<\EOF
37605 +cat >>confdefs.h <<\_ACEOF
37606 #define STDC_HEADERS 1
37613 # Checks for typedefs, structures, and compiler characteristics.
37614 -echo $ac_n "checking for working const""... $ac_c" 1>&6
37615 -echo "configure:6036: checking for working const" >&5
37616 -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
37617 - echo $ac_n "(cached) $ac_c" 1>&6
37619 - cat > conftest.$ac_ext <<EOF
37620 -#line 6041 "configure"
37621 -#include "confdefs.h"
37622 +echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
37623 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
37624 +if test "${ac_cv_c_const+set}" = set; then
37625 + echo $ECHO_N "(cached) $ECHO_C" >&6
37627 + cat >conftest.$ac_ext <<_ACEOF
37630 +cat confdefs.h >>conftest.$ac_ext
37631 +cat >>conftest.$ac_ext <<_ACEOF
37632 +/* end confdefs.h. */
37638 +/* FIXME: Include the comments suggested by Paul. */
37639 +#ifndef __cplusplus
37640 + /* Ultrix mips cc rejects this. */
37641 + typedef int charset[2];
37643 + /* SunOS 4.1.1 cc rejects this. */
37644 + char const *const *ccp;
37646 + /* NEC SVR4.0.2 mips cc rejects this. */
37647 + struct point {int x, y;};
37648 + static struct point const zero = {0,0};
37649 + /* AIX XL C 1.02.0.0 rejects this.
37650 + It does not let you subtract one const X* pointer from another in
37651 + an arm of an if-expression whose if-part is not a constant
37653 + const char *g = "string";
37654 + ccp = &g + (g ? g-g : 0);
37655 + /* HPUX 7.0 cc rejects these. */
37657 + p = (char**) ccp;
37658 + ccp = (char const *const *) p;
37659 + { /* SCO 3.2v4 cc rejects this. */
37661 + char const *s = 0 ? (char *) 0 : (char const *) 0;
37663 -/* Ultrix mips cc rejects this. */
37664 -typedef int charset[2]; const charset x;
37665 -/* SunOS 4.1.1 cc rejects this. */
37666 -char const *const *ccp;
37668 -/* NEC SVR4.0.2 mips cc rejects this. */
37669 -struct point {int x, y;};
37670 -static struct point const zero = {0,0};
37671 -/* AIX XL C 1.02.0.0 rejects this.
37672 - It does not let you subtract one const X* pointer from another in an arm
37673 - of an if-expression whose if-part is not a constant expression */
37674 -const char *g = "string";
37675 -ccp = &g + (g ? g-g : 0);
37676 -/* HPUX 7.0 cc rejects these. */
37679 -ccp = (char const *const *) p;
37680 -{ /* SCO 3.2v4 cc rejects this. */
37682 - char const *s = 0 ? (char *) 0 : (char const *) 0;
37686 -{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
37687 - int x[] = {25, 17};
37688 - const int *foo = &x[0];
37691 -{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
37692 - typedef const int *iptr;
37696 -{ /* AIX XL C 1.02.0.0 rejects this saying
37697 - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
37698 - struct s { int j; const int *ap[3]; };
37699 - struct s *b; b->j = 5;
37701 -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
37702 - const int foo = 10;
37706 + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
37707 + int x[] = {25, 17};
37708 + const int *foo = &x[0];
37711 + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
37712 + typedef const int *iptr;
37716 + { /* AIX XL C 1.02.0.0 rejects this saying
37717 + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
37718 + struct s { int j; const int *ap[3]; };
37719 + struct s *b; b->j = 5;
37721 + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
37722 + const int foo = 10;
37728 -if { (eval echo configure:6090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
37734 +rm -f conftest.$ac_objext
37735 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37736 + (eval $ac_compile) 2>conftest.er1
37738 + grep -v '^ *+' conftest.er1 >conftest.err
37739 + rm -f conftest.er1
37740 + cat conftest.err >&5
37741 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37742 + (exit $ac_status); } &&
37743 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37744 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37745 + (eval $ac_try) 2>&5
37747 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 + (exit $ac_status); }; } &&
37749 + { ac_try='test -s conftest.$ac_objext'
37750 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37751 + (eval $ac_try) 2>&5
37753 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 + (exit $ac_status); }; }; then
37757 - echo "configure: failed program was:" >&5
37758 - cat conftest.$ac_ext >&5
37761 + echo "$as_me: failed program was:" >&5
37762 +sed 's/^/| /' conftest.$ac_ext >&5
37767 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37770 -echo "$ac_t""$ac_cv_c_const" 1>&6
37771 +echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
37772 +echo "${ECHO_T}$ac_cv_c_const" >&6
37773 if test $ac_cv_c_const = no; then
37774 - cat >> confdefs.h <<\EOF
37778 +cat >>confdefs.h <<\_ACEOF
37785 # Checks for library functions.
37786 -echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
37787 -echo "configure:6113: checking return type of signal handlers" >&5
37788 -if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
37789 - echo $ac_n "(cached) $ac_c" 1>&6
37791 - cat > conftest.$ac_ext <<EOF
37792 -#line 6118 "configure"
37793 -#include "confdefs.h"
37794 +echo "$as_me:$LINENO: checking return type of signal handlers" >&5
37795 +echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
37796 +if test "${ac_cv_type_signal+set}" = set; then
37797 + echo $ECHO_N "(cached) $ECHO_C" >&6
37799 + cat >conftest.$ac_ext <<_ACEOF
37802 +cat confdefs.h >>conftest.$ac_ext
37803 +cat >>conftest.$ac_ext <<_ACEOF
37804 +/* end confdefs.h. */
37805 #include <sys/types.h>
37806 #include <signal.h>
37812 extern "C" void (*signal (int, void (*)(int)))(int);
37813 @@ -6127,134 +25844,320 @@
37814 void (*signal ()) ();
37824 -if { (eval echo configure:6135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
37830 +rm -f conftest.$ac_objext
37831 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37832 + (eval $ac_compile) 2>conftest.er1
37834 + grep -v '^ *+' conftest.er1 >conftest.err
37835 + rm -f conftest.er1
37836 + cat conftest.err >&5
37837 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37838 + (exit $ac_status); } &&
37839 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37840 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37841 + (eval $ac_try) 2>&5
37843 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 + (exit $ac_status); }; } &&
37845 + { ac_try='test -s conftest.$ac_objext'
37846 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37847 + (eval $ac_try) 2>&5
37849 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 + (exit $ac_status); }; }; then
37851 ac_cv_type_signal=void
37853 - echo "configure: failed program was:" >&5
37854 - cat conftest.$ac_ext >&5
37856 - ac_cv_type_signal=int
37857 + echo "$as_me: failed program was:" >&5
37858 +sed 's/^/| /' conftest.$ac_ext >&5
37860 +ac_cv_type_signal=int
37863 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37865 +echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
37866 +echo "${ECHO_T}$ac_cv_type_signal" >&6
37868 -echo "$ac_t""$ac_cv_type_signal" 1>&6
37869 -cat >> confdefs.h <<EOF
37870 +cat >>confdefs.h <<_ACEOF
37871 #define RETSIGTYPE $ac_cv_type_signal
37877 -for ac_hdr in unistd.h
37879 +for ac_header in stdlib.h unistd.h
37881 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
37882 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
37883 -echo "configure:6157: checking for $ac_hdr" >&5
37884 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
37885 - echo $ac_n "(cached) $ac_c" 1>&6
37886 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37887 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
37888 + echo "$as_me:$LINENO: checking for $ac_header" >&5
37889 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37890 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
37891 + echo $ECHO_N "(cached) $ECHO_C" >&6
37893 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37894 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37896 + # Is the header compilable?
37897 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
37898 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37899 +cat >conftest.$ac_ext <<_ACEOF
37902 +cat confdefs.h >>conftest.$ac_ext
37903 +cat >>conftest.$ac_ext <<_ACEOF
37904 +/* end confdefs.h. */
37905 +$ac_includes_default
37906 +#include <$ac_header>
37908 +rm -f conftest.$ac_objext
37909 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37910 + (eval $ac_compile) 2>conftest.er1
37912 + grep -v '^ *+' conftest.er1 >conftest.err
37913 + rm -f conftest.er1
37914 + cat conftest.err >&5
37915 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37916 + (exit $ac_status); } &&
37917 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37918 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37919 + (eval $ac_try) 2>&5
37921 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 + (exit $ac_status); }; } &&
37923 + { ac_try='test -s conftest.$ac_objext'
37924 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37925 + (eval $ac_try) 2>&5
37927 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 + (exit $ac_status); }; }; then
37929 + ac_header_compiler=yes
37931 + echo "$as_me: failed program was:" >&5
37932 +sed 's/^/| /' conftest.$ac_ext >&5
37934 +ac_header_compiler=no
37936 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37937 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37938 +echo "${ECHO_T}$ac_header_compiler" >&6
37940 +# Is the header present?
37941 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
37942 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37943 +cat >conftest.$ac_ext <<_ACEOF
37946 +cat confdefs.h >>conftest.$ac_ext
37947 +cat >>conftest.$ac_ext <<_ACEOF
37948 +/* end confdefs.h. */
37949 +#include <$ac_header>
37951 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37952 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37954 + grep -v '^ *+' conftest.er1 >conftest.err
37955 + rm -f conftest.er1
37956 + cat conftest.err >&5
37957 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
37958 + (exit $ac_status); } >/dev/null; then
37959 + if test -s conftest.err; then
37960 + ac_cpp_err=$ac_c_preproc_warn_flag
37961 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37966 - cat > conftest.$ac_ext <<EOF
37967 -#line 6162 "configure"
37968 -#include "confdefs.h"
37969 -#include <$ac_hdr>
37971 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
37972 -{ (eval echo configure:6167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
37973 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
37974 -if test -z "$ac_err"; then
37976 - eval "ac_cv_header_$ac_safe=yes"
37979 +if test -z "$ac_cpp_err"; then
37980 + ac_header_preproc=yes
37982 - echo "$ac_err" >&5
37983 - echo "configure: failed program was:" >&5
37984 - cat conftest.$ac_ext >&5
37986 - eval "ac_cv_header_$ac_safe=no"
37987 + echo "$as_me: failed program was:" >&5
37988 +sed 's/^/| /' conftest.$ac_ext >&5
37990 + ac_header_preproc=no
37992 +rm -f conftest.err conftest.$ac_ext
37993 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37994 +echo "${ECHO_T}$ac_header_preproc" >&6
37996 +# So? What about this header?
37997 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37999 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38000 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38001 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38002 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38003 + ac_header_preproc=yes
38006 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38007 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38008 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38009 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38010 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38011 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38012 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38013 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38014 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38015 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38016 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38017 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38020 +## ------------------------------------------ ##
38021 +## Report this to the AC_PACKAGE_NAME lists. ##
38022 +## ------------------------------------------ ##
38025 + sed "s/^/$as_me: WARNING: /" >&2
38028 +echo "$as_me:$LINENO: checking for $ac_header" >&5
38029 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38030 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
38031 + echo $ECHO_N "(cached) $ECHO_C" >&6
38033 + eval "$as_ac_Header=\$ac_header_preproc"
38036 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38037 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38040 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
38041 - echo "$ac_t""yes" 1>&6
38042 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
38043 - cat >> confdefs.h <<EOF
38044 -#define $ac_tr_hdr 1
38048 - echo "$ac_t""no" 1>&6
38049 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
38050 + cat >>confdefs.h <<_ACEOF
38051 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38059 for ac_func in getpagesize
38061 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
38062 -echo "configure:6196: checking for $ac_func" >&5
38063 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
38064 - echo $ac_n "(cached) $ac_c" 1>&6
38066 - cat > conftest.$ac_ext <<EOF
38067 -#line 6201 "configure"
38068 -#include "confdefs.h"
38069 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38070 +echo "$as_me:$LINENO: checking for $ac_func" >&5
38071 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38072 +if eval "test \"\${$as_ac_var+set}\" = set"; then
38073 + echo $ECHO_N "(cached) $ECHO_C" >&6
38075 + cat >conftest.$ac_ext <<_ACEOF
38078 +cat confdefs.h >>conftest.$ac_ext
38079 +cat >>conftest.$ac_ext <<_ACEOF
38080 +/* end confdefs.h. */
38081 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38082 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
38083 +#define $ac_func innocuous_$ac_func
38085 /* System header to define __stub macros and hopefully few prototypes,
38086 - which can conflict with char $ac_func(); below. */
38087 -#include <assert.h>
38088 -/* Override any gcc2 internal prototype to avoid an error. */
38089 -/* We use char because int might match the return type of a gcc2
38090 - builtin and then its argument prototype would still apply. */
38092 + which can conflict with char $ac_func (); below.
38093 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38094 + <limits.h> exists even on freestanding compilers. */
38097 +# include <limits.h>
38099 +# include <assert.h>
38105 +/* Override any gcc2 internal prototype to avoid an error. */
38106 +#ifdef __cplusplus
38110 +/* We use char because int might match the return type of a gcc2
38111 + builtin and then its argument prototype would still apply. */
38113 /* The GNU C library defines this for functions which it implements
38114 to always fail with ENOSYS. Some functions are actually named
38115 something starting with __ and the normal name is an alias. */
38116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38120 +char (*f) () = $ac_func;
38122 +#ifdef __cplusplus
38128 -if { (eval echo configure:6224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
38130 - eval "ac_cv_func_$ac_func=yes"
38132 - echo "configure: failed program was:" >&5
38133 - cat conftest.$ac_ext >&5
38135 - eval "ac_cv_func_$ac_func=no"
38142 +return f != $ac_func;
38147 +rm -f conftest.$ac_objext conftest$ac_exeext
38148 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38149 + (eval $ac_link) 2>conftest.er1
38151 + grep -v '^ *+' conftest.er1 >conftest.err
38152 + rm -f conftest.er1
38153 + cat conftest.err >&5
38154 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155 + (exit $ac_status); } &&
38156 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38157 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38158 + (eval $ac_try) 2>&5
38160 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38161 + (exit $ac_status); }; } &&
38162 + { ac_try='test -s conftest$ac_exeext'
38163 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38164 + (eval $ac_try) 2>&5
38166 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38167 + (exit $ac_status); }; }; then
38168 + eval "$as_ac_var=yes"
38170 + echo "$as_me: failed program was:" >&5
38171 +sed 's/^/| /' conftest.$ac_ext >&5
38173 +eval "$as_ac_var=no"
38175 +rm -f conftest.err conftest.$ac_objext \
38176 + conftest$ac_exeext conftest.$ac_ext
38178 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38179 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38180 +if test `eval echo '${'$as_ac_var'}'` = yes; then
38181 + cat >>confdefs.h <<_ACEOF
38182 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38185 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
38186 - echo "$ac_t""yes" 1>&6
38187 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
38188 - cat >> confdefs.h <<EOF
38189 -#define $ac_tr_func 1
38193 - echo "$ac_t""no" 1>&6
38197 -echo $ac_n "checking for working mmap""... $ac_c" 1>&6
38198 -echo "configure:6249: checking for working mmap" >&5
38199 -if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
38200 - echo $ac_n "(cached) $ac_c" 1>&6
38201 +echo "$as_me:$LINENO: checking for working mmap" >&5
38202 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
38203 +if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
38204 + echo $ECHO_N "(cached) $ECHO_C" >&6
38206 if test "$cross_compiling" = yes; then
38207 ac_cv_func_mmap_fixed_mapped=no
38209 - cat > conftest.$ac_ext <<EOF
38210 -#line 6257 "configure"
38211 -#include "confdefs.h"
38212 + cat >conftest.$ac_ext <<_ACEOF
38215 +cat confdefs.h >>conftest.$ac_ext
38216 +cat >>conftest.$ac_ext <<_ACEOF
38217 +/* end confdefs.h. */
38218 +$ac_includes_default
38219 +/* malloc might have been renamed as rpl_malloc. */
38222 /* Thanks to Mike Haertel and Jim Avera for this test.
38223 Here is a matrix of mmap possibilities:
38224 @@ -6268,34 +26171,34 @@
38225 back from the file, nor mmap's back from the file at a different
38226 address. (There have been systems where private was not correctly
38227 implemented like the infamous i386 svr4.0, and systems where the
38228 - VM page cache was not coherent with the filesystem buffer cache
38229 + VM page cache was not coherent with the file system buffer cache
38230 like early versions of FreeBSD and possibly contemporary NetBSD.)
38231 For shared mappings, we should conversely verify that changes get
38232 - propogated back to all the places they're supposed to be.
38233 + propagated back to all the places they're supposed to be.
38235 Grep wants private fixed already mapped.
38236 The main things grep needs to know about mmap are:
38237 * does it exist and is it safe to write into the mmap'd area
38238 * how to use it (BSD variants) */
38239 -#include <sys/types.h>
38242 #include <sys/mman.h>
38244 -/* This mess was copied from the GNU getpagesize.h. */
38245 -#ifndef HAVE_GETPAGESIZE
38246 -# ifdef HAVE_UNISTD_H
38247 -# include <unistd.h>
38249 +#if !STDC_HEADERS && !HAVE_STDLIB_H
38253 +/* This mess was copied from the GNU getpagesize.h. */
38254 +#if !HAVE_GETPAGESIZE
38255 /* Assume that all systems that can run configure have sys/param.h. */
38256 -# ifndef HAVE_SYS_PARAM_H
38257 +# if !HAVE_SYS_PARAM_H
38258 # define HAVE_SYS_PARAM_H 1
38261 # ifdef _SC_PAGESIZE
38262 # define getpagesize() sysconf(_SC_PAGESIZE)
38263 # else /* no _SC_PAGESIZE */
38264 -# ifdef HAVE_SYS_PARAM_H
38265 +# if HAVE_SYS_PARAM_H
38266 # include <sys/param.h>
38267 # ifdef EXEC_PAGESIZE
38268 # define getpagesize() EXEC_PAGESIZE
38269 @@ -6318,962 +26221,2169 @@
38270 # else /* no HAVE_SYS_PARAM_H */
38271 # define getpagesize() 8192 /* punt totally */
38272 # endif /* no HAVE_SYS_PARAM_H */
38273 -# endif /* no _SC_PAGESIZE */
38275 -#endif /* no HAVE_GETPAGESIZE */
38277 -#ifdef __cplusplus
38278 -extern "C" { void *malloc(unsigned); }
38282 +# endif /* no _SC_PAGESIZE */
38284 +#endif /* no HAVE_GETPAGESIZE */
38290 - char *data, *data2, *data3;
38294 - pagesize = getpagesize();
38297 - * First, make a file with some known garbage in it.
38299 - data = malloc(pagesize);
38302 - for (i = 0; i < pagesize; ++i)
38303 - *(data + i) = rand();
38305 - fd = creat("conftestmmap", 0600);
38308 - if (write(fd, data, pagesize) != pagesize)
38313 - * Next, try to mmap the file at a fixed address which
38314 - * already has something else allocated at it. If we can,
38315 - * also make sure that we see the same garbage.
38317 - fd = open("conftestmmap", O_RDWR);
38320 - data2 = malloc(2 * pagesize);
38323 - data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
38324 - if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
38325 - MAP_PRIVATE | MAP_FIXED, fd, 0L))
38327 - for (i = 0; i < pagesize; ++i)
38328 - if (*(data + i) != *(data2 + i))
38332 - * Finally, make sure that changes to the mapped area
38333 - * do not percolate back to the file as seen by read().
38334 - * (This is a bug on some variants of i386 svr4.0.)
38336 - for (i = 0; i < pagesize; ++i)
38337 - *(data2 + i) = *(data2 + i) + 1;
38338 - data3 = malloc(pagesize);
38341 - if (read(fd, data3, pagesize) != pagesize)
38343 - for (i = 0; i < pagesize; ++i)
38344 - if (*(data + i) != *(data3 + i))
38347 - unlink("conftestmmap");
38349 + char *data, *data2, *data3;
38353 + pagesize = getpagesize ();
38355 + /* First, make a file with some known garbage in it. */
38356 + data = (char *) malloc (pagesize);
38359 + for (i = 0; i < pagesize; ++i)
38360 + *(data + i) = rand ();
38362 + fd = creat ("conftest.mmap", 0600);
38365 + if (write (fd, data, pagesize) != pagesize)
38369 + /* Next, try to mmap the file at a fixed address which already has
38370 + something else allocated at it. If we can, also make sure that
38371 + we see the same garbage. */
38372 + fd = open ("conftest.mmap", O_RDWR);
38375 + data2 = (char *) malloc (2 * pagesize);
38378 + data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
38379 + if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
38380 + MAP_PRIVATE | MAP_FIXED, fd, 0L))
38382 + for (i = 0; i < pagesize; ++i)
38383 + if (*(data + i) != *(data2 + i))
38386 + /* Finally, make sure that changes to the mapped area do not
38387 + percolate back to the file as seen by read(). (This is a bug on
38388 + some variants of i386 svr4.0.) */
38389 + for (i = 0; i < pagesize; ++i)
38390 + *(data2 + i) = *(data2 + i) + 1;
38391 + data3 = (char *) malloc (pagesize);
38394 + if (read (fd, data3, pagesize) != pagesize)
38396 + for (i = 0; i < pagesize; ++i)
38397 + if (*(data + i) != *(data3 + i))
38404 -if { (eval echo configure:6397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
38407 +rm -f conftest$ac_exeext
38408 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38409 + (eval $ac_link) 2>&5
38411 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38413 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38414 + (eval $ac_try) 2>&5
38416 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38417 + (exit $ac_status); }; }; then
38418 ac_cv_func_mmap_fixed_mapped=yes
38420 - echo "configure: failed program was:" >&5
38421 - cat conftest.$ac_ext >&5
38423 - ac_cv_func_mmap_fixed_mapped=no
38424 + echo "$as_me: program exited with status $ac_status" >&5
38425 +echo "$as_me: failed program was:" >&5
38426 +sed 's/^/| /' conftest.$ac_ext >&5
38428 +( exit $ac_status )
38429 +ac_cv_func_mmap_fixed_mapped=no
38432 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38437 -echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
38438 +echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
38439 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
38440 if test $ac_cv_func_mmap_fixed_mapped = yes; then
38441 - cat >> confdefs.h <<\EOF
38443 +cat >>confdefs.h <<\_ACEOF
38444 #define HAVE_MMAP 1
38449 +rm -f conftest.mmap
38453 for ac_func in getresuid
38455 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
38456 -echo "configure:6423: checking for $ac_func" >&5
38457 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
38458 - echo $ac_n "(cached) $ac_c" 1>&6
38460 - cat > conftest.$ac_ext <<EOF
38461 -#line 6428 "configure"
38462 -#include "confdefs.h"
38463 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38464 +echo "$as_me:$LINENO: checking for $ac_func" >&5
38465 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38466 +if eval "test \"\${$as_ac_var+set}\" = set"; then
38467 + echo $ECHO_N "(cached) $ECHO_C" >&6
38469 + cat >conftest.$ac_ext <<_ACEOF
38472 +cat confdefs.h >>conftest.$ac_ext
38473 +cat >>conftest.$ac_ext <<_ACEOF
38474 +/* end confdefs.h. */
38475 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38476 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
38477 +#define $ac_func innocuous_$ac_func
38479 /* System header to define __stub macros and hopefully few prototypes,
38480 - which can conflict with char $ac_func(); below. */
38481 -#include <assert.h>
38482 -/* Override any gcc2 internal prototype to avoid an error. */
38483 -/* We use char because int might match the return type of a gcc2
38484 - builtin and then its argument prototype would still apply. */
38486 + which can conflict with char $ac_func (); below.
38487 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38488 + <limits.h> exists even on freestanding compilers. */
38491 +# include <limits.h>
38493 +# include <assert.h>
38499 +/* Override any gcc2 internal prototype to avoid an error. */
38500 +#ifdef __cplusplus
38504 +/* We use char because int might match the return type of a gcc2
38505 + builtin and then its argument prototype would still apply. */
38507 /* The GNU C library defines this for functions which it implements
38508 to always fail with ENOSYS. Some functions are actually named
38509 something starting with __ and the normal name is an alias. */
38510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38514 +char (*f) () = $ac_func;
38516 +#ifdef __cplusplus
38522 -if { (eval echo configure:6451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
38524 - eval "ac_cv_func_$ac_func=yes"
38526 - echo "configure: failed program was:" >&5
38527 - cat conftest.$ac_ext >&5
38529 - eval "ac_cv_func_$ac_func=no"
38536 +return f != $ac_func;
38541 +rm -f conftest.$ac_objext conftest$ac_exeext
38542 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38543 + (eval $ac_link) 2>conftest.er1
38545 + grep -v '^ *+' conftest.er1 >conftest.err
38546 + rm -f conftest.er1
38547 + cat conftest.err >&5
38548 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549 + (exit $ac_status); } &&
38550 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38551 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38552 + (eval $ac_try) 2>&5
38554 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 + (exit $ac_status); }; } &&
38556 + { ac_try='test -s conftest$ac_exeext'
38557 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38558 + (eval $ac_try) 2>&5
38560 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 + (exit $ac_status); }; }; then
38562 + eval "$as_ac_var=yes"
38564 + echo "$as_me: failed program was:" >&5
38565 +sed 's/^/| /' conftest.$ac_ext >&5
38567 +eval "$as_ac_var=no"
38569 +rm -f conftest.err conftest.$ac_objext \
38570 + conftest$ac_exeext conftest.$ac_ext
38572 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38573 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38574 +if test `eval echo '${'$as_ac_var'}'` = yes; then
38575 + cat >>confdefs.h <<_ACEOF
38576 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38579 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
38580 - echo "$ac_t""yes" 1>&6
38581 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
38582 - cat >> confdefs.h <<EOF
38583 -#define $ac_tr_func 1
38587 - echo "$ac_t""no" 1>&6
38591 -echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
38592 -echo "configure:6476: checking for uid_t in sys/types.h" >&5
38593 -if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
38594 - echo $ac_n "(cached) $ac_c" 1>&6
38596 - cat > conftest.$ac_ext <<EOF
38597 -#line 6481 "configure"
38598 -#include "confdefs.h"
38599 +echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
38600 +echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
38601 +if test "${ac_cv_type_uid_t+set}" = set; then
38602 + echo $ECHO_N "(cached) $ECHO_C" >&6
38604 + cat >conftest.$ac_ext <<_ACEOF
38607 +cat confdefs.h >>conftest.$ac_ext
38608 +cat >>conftest.$ac_ext <<_ACEOF
38609 +/* end confdefs.h. */
38610 #include <sys/types.h>
38614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
38615 - egrep "uid_t" >/dev/null 2>&1; then
38617 + $EGREP "uid_t" >/dev/null 2>&1; then
38618 ac_cv_type_uid_t=yes
38621 ac_cv_type_uid_t=no
38627 -echo "$ac_t""$ac_cv_type_uid_t" 1>&6
38628 +echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
38629 +echo "${ECHO_T}$ac_cv_type_uid_t" >&6
38630 if test $ac_cv_type_uid_t = no; then
38631 - cat >> confdefs.h <<\EOF
38633 +cat >>confdefs.h <<\_ACEOF
38639 - cat >> confdefs.h <<\EOF
38640 +cat >>confdefs.h <<\_ACEOF
38648 # Check if <sys/select.h> needs to be included for fd_set
38649 -echo $ac_n "checking for fd_set""... $ac_c" 1>&6
38650 -echo "configure:6512: checking for fd_set" >&5
38651 -cat > conftest.$ac_ext <<EOF
38652 -#line 6514 "configure"
38653 -#include "confdefs.h"
38654 +echo "$as_me:$LINENO: checking for fd_set" >&5
38655 +echo $ECHO_N "checking for fd_set... $ECHO_C" >&6
38656 +cat >conftest.$ac_ext <<_ACEOF
38659 +cat confdefs.h >>conftest.$ac_ext
38660 +cat >>conftest.$ac_ext <<_ACEOF
38661 +/* end confdefs.h. */
38662 #include <sys/types.h>
38667 fd_set readMask, writeMask;
38670 -if { (eval echo configure:6521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
38676 +rm -f conftest.$ac_objext
38677 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38678 + (eval $ac_compile) 2>conftest.er1
38680 + grep -v '^ *+' conftest.er1 >conftest.err
38681 + rm -f conftest.er1
38682 + cat conftest.err >&5
38683 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 + (exit $ac_status); } &&
38685 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38686 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38687 + (eval $ac_try) 2>&5
38689 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 + (exit $ac_status); }; } &&
38691 + { ac_try='test -s conftest.$ac_objext'
38692 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38693 + (eval $ac_try) 2>&5
38695 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38696 + (exit $ac_status); }; }; then
38699 - echo "configure: failed program was:" >&5
38700 - cat conftest.$ac_ext >&5
38703 + echo "$as_me: failed program was:" >&5
38704 +sed 's/^/| /' conftest.$ac_ext >&5
38709 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38710 if test $gtk_ok = yes; then
38711 - echo "$ac_t""yes, found in sys/types.h" 1>&6
38712 + echo "$as_me:$LINENO: result: yes, found in sys/types.h" >&5
38713 +echo "${ECHO_T}yes, found in sys/types.h" >&6
38715 - cat > conftest.$ac_ext <<EOF
38716 -#line 6535 "configure"
38717 -#include "confdefs.h"
38718 + cat >conftest.$ac_ext <<_ACEOF
38721 +cat confdefs.h >>conftest.$ac_ext
38722 +cat >>conftest.$ac_ext <<_ACEOF
38723 +/* end confdefs.h. */
38724 #include <sys/select.h>
38728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
38729 - egrep "fd_mask" >/dev/null 2>&1; then
38731 + $EGREP "fd_mask" >/dev/null 2>&1; then
38736 if test $gtk_ok = yes; then
38737 - cat >> confdefs.h <<\EOF
38738 + cat >>confdefs.h <<\_ACEOF
38739 #define HAVE_SYS_SELECT_H 1
38743 - echo "$ac_t""yes, found in sys/select.h" 1>&6
38744 + echo "$as_me:$LINENO: result: yes, found in sys/select.h" >&5
38745 +echo "${ECHO_T}yes, found in sys/select.h" >&6
38747 - cat >> confdefs.h <<\EOF
38748 + cat >>confdefs.h <<\_ACEOF
38749 #define NO_FD_SET 1
38753 - echo "$ac_t""no" 1>&6
38754 + echo "$as_me:$LINENO: result: no" >&5
38755 +echo "${ECHO_T}no" >&6
38759 # Duplicate `widechar' tests from `glib'.
38760 # Check for wchar.h
38761 -echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
38762 -echo "configure:6564: checking for wchar.h" >&5
38763 -cat > conftest.$ac_ext <<EOF
38764 -#line 6566 "configure"
38765 -#include "confdefs.h"
38766 +echo "$as_me:$LINENO: checking for wchar.h" >&5
38767 +echo $ECHO_N "checking for wchar.h... $ECHO_C" >&6
38768 +cat >conftest.$ac_ext <<_ACEOF
38771 +cat confdefs.h >>conftest.$ac_ext
38772 +cat >>conftest.$ac_ext <<_ACEOF
38773 +/* end confdefs.h. */
38776 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
38777 -{ (eval echo configure:6571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
38778 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
38779 -if test -z "$ac_err"; then
38782 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38783 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38785 + grep -v '^ *+' conftest.er1 >conftest.err
38786 + rm -f conftest.er1
38787 + cat conftest.err >&5
38788 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 + (exit $ac_status); } >/dev/null; then
38790 + if test -s conftest.err; then
38791 + ac_cpp_err=$ac_c_preproc_warn_flag
38792 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38799 +if test -z "$ac_cpp_err"; then
38802 - echo "$ac_err" >&5
38803 - echo "configure: failed program was:" >&5
38804 - cat conftest.$ac_ext >&5
38806 + echo "$as_me: failed program was:" >&5
38807 +sed 's/^/| /' conftest.$ac_ext >&5
38812 +rm -f conftest.err conftest.$ac_ext
38813 if test $gtk_ok = yes; then
38814 - cat >> confdefs.h <<\EOF
38816 +cat >>confdefs.h <<\_ACEOF
38817 #define HAVE_WCHAR_H 1
38822 -echo "$ac_t""$gtk_ok" 1>&6
38823 +echo "$as_me:$LINENO: result: $gtk_ok" >&5
38824 +echo "${ECHO_T}$gtk_ok" >&6
38826 # Check for wctype.h (for iswalnum)
38827 -echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
38828 -echo "configure:6594: checking for wctype.h" >&5
38829 -cat > conftest.$ac_ext <<EOF
38830 -#line 6596 "configure"
38831 -#include "confdefs.h"
38832 +echo "$as_me:$LINENO: checking for wctype.h" >&5
38833 +echo $ECHO_N "checking for wctype.h... $ECHO_C" >&6
38834 +cat >conftest.$ac_ext <<_ACEOF
38837 +cat confdefs.h >>conftest.$ac_ext
38838 +cat >>conftest.$ac_ext <<_ACEOF
38839 +/* end confdefs.h. */
38840 #include <wctype.h>
38842 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
38843 -{ (eval echo configure:6601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
38844 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
38845 -if test -z "$ac_err"; then
38848 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38849 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38851 + grep -v '^ *+' conftest.er1 >conftest.err
38852 + rm -f conftest.er1
38853 + cat conftest.err >&5
38854 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 + (exit $ac_status); } >/dev/null; then
38856 + if test -s conftest.err; then
38857 + ac_cpp_err=$ac_c_preproc_warn_flag
38858 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38865 +if test -z "$ac_cpp_err"; then
38868 - echo "$ac_err" >&5
38869 - echo "configure: failed program was:" >&5
38870 - cat conftest.$ac_ext >&5
38872 + echo "$as_me: failed program was:" >&5
38873 +sed 's/^/| /' conftest.$ac_ext >&5
38878 +rm -f conftest.err conftest.$ac_ext
38879 if test $gtk_ok = yes; then
38880 - cat >> confdefs.h <<\EOF
38882 +cat >>confdefs.h <<\_ACEOF
38883 #define HAVE_WCTYPE_H 1
38888 -echo "$ac_t""$gtk_ok" 1>&6
38889 +echo "$as_me:$LINENO: result: $gtk_ok" >&5
38890 +echo "${ECHO_T}$gtk_ok" >&6
38892 # in Solaris 2.5, `iswalnum' is in -lw
38894 -echo $ac_n "checking for iswalnum""... $ac_c" 1>&6
38895 -echo "configure:6625: checking for iswalnum" >&5
38896 -if eval "test \"`echo '$''{'ac_cv_func_iswalnum'+set}'`\" = set"; then
38897 - echo $ac_n "(cached) $ac_c" 1>&6
38899 - cat > conftest.$ac_ext <<EOF
38900 -#line 6630 "configure"
38901 -#include "confdefs.h"
38902 +echo "$as_me:$LINENO: checking for iswalnum" >&5
38903 +echo $ECHO_N "checking for iswalnum... $ECHO_C" >&6
38904 +if test "${ac_cv_func_iswalnum+set}" = set; then
38905 + echo $ECHO_N "(cached) $ECHO_C" >&6
38907 + cat >conftest.$ac_ext <<_ACEOF
38910 +cat confdefs.h >>conftest.$ac_ext
38911 +cat >>conftest.$ac_ext <<_ACEOF
38912 +/* end confdefs.h. */
38913 +/* Define iswalnum to an innocuous variant, in case <limits.h> declares iswalnum.
38914 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
38915 +#define iswalnum innocuous_iswalnum
38917 /* System header to define __stub macros and hopefully few prototypes,
38918 - which can conflict with char iswalnum(); below. */
38919 -#include <assert.h>
38920 -/* Override any gcc2 internal prototype to avoid an error. */
38921 -/* We use char because int might match the return type of a gcc2
38922 - builtin and then its argument prototype would still apply. */
38924 + which can conflict with char iswalnum (); below.
38925 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38926 + <limits.h> exists even on freestanding compilers. */
38929 +# include <limits.h>
38931 +# include <assert.h>
38937 +/* Override any gcc2 internal prototype to avoid an error. */
38938 +#ifdef __cplusplus
38942 +/* We use char because int might match the return type of a gcc2
38943 + builtin and then its argument prototype would still apply. */
38945 /* The GNU C library defines this for functions which it implements
38946 to always fail with ENOSYS. Some functions are actually named
38947 something starting with __ and the normal name is an alias. */
38948 #if defined (__stub_iswalnum) || defined (__stub___iswalnum)
38952 +char (*f) () = iswalnum;
38954 +#ifdef __cplusplus
38960 -if { (eval echo configure:6653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
38962 - eval "ac_cv_func_iswalnum=yes"
38966 +return f != iswalnum;
38971 +rm -f conftest.$ac_objext conftest$ac_exeext
38972 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38973 + (eval $ac_link) 2>conftest.er1
38975 + grep -v '^ *+' conftest.er1 >conftest.err
38976 + rm -f conftest.er1
38977 + cat conftest.err >&5
38978 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38979 + (exit $ac_status); } &&
38980 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38981 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38982 + (eval $ac_try) 2>&5
38984 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38985 + (exit $ac_status); }; } &&
38986 + { ac_try='test -s conftest$ac_exeext'
38987 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38988 + (eval $ac_try) 2>&5
38990 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
38991 + (exit $ac_status); }; }; then
38992 + ac_cv_func_iswalnum=yes
38994 + echo "$as_me: failed program was:" >&5
38995 +sed 's/^/| /' conftest.$ac_ext >&5
38997 +ac_cv_func_iswalnum=no
38999 +rm -f conftest.err conftest.$ac_objext \
39000 + conftest$ac_exeext conftest.$ac_ext
39002 +echo "$as_me:$LINENO: result: $ac_cv_func_iswalnum" >&5
39003 +echo "${ECHO_T}$ac_cv_func_iswalnum" >&6
39004 +if test $ac_cv_func_iswalnum = yes; then
39007 + echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
39008 +echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
39009 +if test "${ac_cv_lib_w_iswalnum+set}" = set; then
39010 + echo $ECHO_N "(cached) $ECHO_C" >&6
39012 + ac_check_lib_save_LIBS=$LIBS
39014 +cat >conftest.$ac_ext <<_ACEOF
39017 +cat confdefs.h >>conftest.$ac_ext
39018 +cat >>conftest.$ac_ext <<_ACEOF
39019 +/* end confdefs.h. */
39021 +/* Override any gcc2 internal prototype to avoid an error. */
39022 +#ifdef __cplusplus
39025 +/* We use char because int might match the return type of a gcc2
39026 + builtin and then its argument prototype would still apply. */
39036 +rm -f conftest.$ac_objext conftest$ac_exeext
39037 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39038 + (eval $ac_link) 2>conftest.er1
39040 + grep -v '^ *+' conftest.er1 >conftest.err
39041 + rm -f conftest.er1
39042 + cat conftest.err >&5
39043 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39044 + (exit $ac_status); } &&
39045 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39046 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39047 + (eval $ac_try) 2>&5
39049 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 + (exit $ac_status); }; } &&
39051 + { ac_try='test -s conftest$ac_exeext'
39052 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39053 + (eval $ac_try) 2>&5
39055 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 + (exit $ac_status); }; }; then
39057 + ac_cv_lib_w_iswalnum=yes
39059 + echo "$as_me: failed program was:" >&5
39060 +sed 's/^/| /' conftest.$ac_ext >&5
39062 +ac_cv_lib_w_iswalnum=no
39064 +rm -f conftest.err conftest.$ac_objext \
39065 + conftest$ac_exeext conftest.$ac_ext
39066 +LIBS=$ac_check_lib_save_LIBS
39068 +echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
39069 +echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
39070 +if test $ac_cv_lib_w_iswalnum = yes; then
39077 +# The following is necessary for Linux libc-5.4.38
39079 +LIBS="$LIBS $GDK_WLIBS"
39080 +echo "$as_me:$LINENO: checking if iswalnum() and friends are properly defined" >&5
39081 +echo $ECHO_N "checking if iswalnum() and friends are properly defined... $ECHO_C" >&6
39082 +cat >conftest.$ac_ext <<_ACEOF
39085 +cat confdefs.h >>conftest.$ac_ext
39086 +cat >>conftest.$ac_ext <<_ACEOF
39087 +/* end confdefs.h. */
39088 +#include <stdlib.h>
39093 +#if (defined(HAVE_WCTYPE_H) || defined(HAVE_WCHAR_H))
39094 +# ifdef HAVE_WCTYPE_H
39095 +# include <wctype.h>
39097 +# ifdef HAVE_WCHAR_H
39098 +# include <wchar.h>
39102 +# define iswalnum(c) ((wchar_t)(c) <= 0xFF && isalnum(c))
39104 +iswalnum((wchar_t) 0);
39110 +rm -f conftest.$ac_objext conftest$ac_exeext
39111 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39112 + (eval $ac_link) 2>conftest.er1
39114 + grep -v '^ *+' conftest.er1 >conftest.err
39115 + rm -f conftest.er1
39116 + cat conftest.err >&5
39117 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39118 + (exit $ac_status); } &&
39119 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39120 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39121 + (eval $ac_try) 2>&5
39123 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39124 + (exit $ac_status); }; } &&
39125 + { ac_try='test -s conftest$ac_exeext'
39126 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39127 + (eval $ac_try) 2>&5
39129 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
39130 + (exit $ac_status); }; }; then
39133 + echo "$as_me: failed program was:" >&5
39134 +sed 's/^/| /' conftest.$ac_ext >&5
39138 +rm -f conftest.err conftest.$ac_objext \
39139 + conftest$ac_exeext conftest.$ac_ext
39142 +if test $gtk_ok = no; then
39144 +cat >>confdefs.h <<\_ACEOF
39145 +#define HAVE_BROKEN_WCTYPE 1
39150 +echo "$as_me:$LINENO: result: $gtk_ok" >&5
39151 +echo "${ECHO_T}$gtk_ok" >&6
39158 + ac_config_files="$ac_config_files gtk+.spec docs/gtk-config.1 Makefile gtk-config po/Makefile.in docs/Makefile gdk/Makefile gtk/Makefile gtk/gtkfeatures.h gdk.pc gtk+.pc"
39159 + ac_config_commands="$ac_config_commands default"
39160 +cat >confcache <<\_ACEOF
39161 +# This file is a shell script that caches the results of configure
39162 +# tests run on this system so they can be shared between configure
39163 +# scripts and configure runs, see configure's option --config-cache.
39164 +# It is not useful on other systems. If it contains results you don't
39165 +# want to keep, you may remove or edit it.
39167 +# config.status only pays attention to the cache file if you give it
39168 +# the --recheck option to rerun configure.
39170 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
39171 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
39172 +# following values.
39176 +# The following way of writing the cache mishandles newlines in values,
39177 +# but we know of no workaround that is simple, portable, and efficient.
39178 +# So, don't put newlines in cache variables' values.
39179 +# Ultrix sh set writes to stderr and can't be redirected directly,
39180 +# and sets the high bit in the cache file unless we assign to the vars.
39183 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
39185 + # `set' does not quote correctly, so add quotes (double-quote
39186 + # substitution turns \\\\ into \\, and sed turns \\ into \).
39189 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39192 + # `set' quotes correctly as required by POSIX, so do not add quotes.
39194 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39201 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39203 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39204 + : end' >>confcache
39205 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
39206 + if test -w $cache_file; then
39207 + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39208 + cat confcache >$cache_file
39210 + echo "not updating unwritable cache $cache_file"
39215 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
39216 +# Let make expand exec_prefix.
39217 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
39219 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
39220 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
39221 +# trailing colons and then remove the whole line if VPATH becomes empty
39222 +# (actually we leave an empty line to preserve line numbers).
39223 +if test "x$srcdir" = x.; then
39224 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
39225 +s/:*\$(srcdir):*/:/;
39226 +s/:*\${srcdir}:*/:/;
39227 +s/:*@srcdir@:*/:/;
39228 +s/^\([^=]*=[ ]*\):*/\1/;
39234 +DEFS=-DHAVE_CONFIG_H
39238 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
39239 + # 1. Remove the extension, and $U if already installed.
39240 + ac_i=`echo "$ac_i" |
39241 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
39243 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
39244 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
39246 +LIBOBJS=$ac_libobjs
39248 +LTLIBOBJS=$ac_ltlibobjs
39252 +: ${CONFIG_STATUS=./config.status}
39253 +ac_clean_files_save=$ac_clean_files
39254 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
39255 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39256 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
39257 +cat >$CONFIG_STATUS <<_ACEOF
39259 +# Generated by $as_me.
39260 +# Run this file to recreate the current configuration.
39261 +# Compiler output produced by configure, useful for debugging
39262 +# configure, is in config.log if it exists.
39265 +ac_cs_recheck=false
39266 +ac_cs_silent=false
39267 +SHELL=\${CONFIG_SHELL-$SHELL}
39270 +cat >>$CONFIG_STATUS <<\_ACEOF
39271 +## --------------------- ##
39272 +## M4sh Initialization. ##
39273 +## --------------------- ##
39275 +# Be Bourne compatible
39276 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
39279 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39280 + # is contrary to our usage. Disable this feature.
39281 + alias -g '${1+"$@"}'='"$@"'
39282 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
39285 +DUALCASE=1; export DUALCASE # for MKS sh
39287 +# Support unset when possible.
39288 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
39295 +# Work around bugs in pre-3.0 UWIN ksh.
39296 +$as_unset ENV MAIL MAILPATH
39303 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
39304 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
39305 + LC_TELEPHONE LC_TIME
39307 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
39308 + eval $as_var=C; export $as_var
39310 + $as_unset $as_var
39314 +# Required to use basename.
39315 +if expr a : '\(a\)' >/dev/null 2>&1; then
39321 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
39322 + as_basename=basename
39324 + as_basename=false
39328 +# Name of the executable.
39329 +as_me=`$as_basename "$0" ||
39330 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39331 + X"$0" : 'X\(//\)$' \| \
39332 + X"$0" : 'X\(/\)$' \| \
39333 + . : '\(.\)' 2>/dev/null ||
39335 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
39336 + /^X\/\(\/\/\)$/{ s//\1/; q; }
39337 + /^X\/\(\/\).*/{ s//\1/; q; }
39341 +# PATH needs CR, and LINENO needs CR and PATH.
39342 +# Avoid depending upon Character Ranges.
39343 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
39344 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39345 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39346 +as_cr_digits='0123456789'
39347 +as_cr_alnum=$as_cr_Letters$as_cr_digits
39349 +# The user is always right.
39350 +if test "${PATH_SEPARATOR+set}" != set; then
39351 + echo "#! /bin/sh" >conf$$.sh
39352 + echo "exit 0" >>conf$$.sh
39353 + chmod +x conf$$.sh
39354 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
39355 + PATH_SEPARATOR=';'
39363 + as_lineno_1=$LINENO
39364 + as_lineno_2=$LINENO
39365 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39366 + test "x$as_lineno_1" != "x$as_lineno_2" &&
39367 + test "x$as_lineno_3" = "x$as_lineno_2" || {
39368 + # Find who we are. Look in the path if we contain no path at all
39369 + # relative or not.
39371 + *[\\/]* ) as_myself=$0 ;;
39372 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39373 +for as_dir in $PATH
39376 + test -z "$as_dir" && as_dir=.
39377 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
39382 + # We did not find ourselves, most probably we were run as `sh COMMAND'
39383 + # in which case we are not to be found in the path.
39384 + if test "x$as_myself" = x; then
39387 + if test ! -f "$as_myself"; then
39388 + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
39389 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
39390 + { (exit 1); exit 1; }; }
39392 + case $CONFIG_SHELL in
39394 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39395 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
39398 + test -z "$as_dir" && as_dir=.
39399 + for as_base in sh bash ksh sh5; do
39402 + if ("$as_dir/$as_base" -c '
39403 + as_lineno_1=$LINENO
39404 + as_lineno_2=$LINENO
39405 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39406 + test "x$as_lineno_1" != "x$as_lineno_2" &&
39407 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
39408 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
39409 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
39410 + CONFIG_SHELL=$as_dir/$as_base
39411 + export CONFIG_SHELL
39412 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
39420 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39421 + # uniformly replaced by the line number. The first 'sed' inserts a
39422 + # line-number line before each line; the second 'sed' does the real
39423 + # work. The second script uses 'N' to pair each line-number line
39424 + # with the numbered line, and appends trailing '-' during
39425 + # substitution so that $LINENO is not a special case at line end.
39426 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39427 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
39428 + sed '=' <$as_myself |
39433 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
39436 + s,^['$as_cr_digits']*\n,,
39437 + ' >$as_me.lineno &&
39438 + chmod +x $as_me.lineno ||
39439 + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
39440 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
39441 + { (exit 1); exit 1; }; }
39443 + # Don't try to exec as it changes $[0], causing all sort of problems
39444 + # (the dirname of $[0] is not the place where we might find the
39445 + # original and so on. Autoconf is especially sensible to this).
39446 + . ./$as_me.lineno
39447 + # Exit status is that of the last command.
39452 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
39453 + *c*,-n*) ECHO_N= ECHO_C='
39455 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
39456 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
39459 +if expr a : '\(a\)' >/dev/null 2>&1; then
39462 - echo "configure: failed program was:" >&5
39463 - cat conftest.$ac_ext >&5
39465 - eval "ac_cv_func_iswalnum=no"
39471 -if eval "test \"`echo '$ac_cv_func_'iswalnum`\" = yes"; then
39472 - echo "$ac_t""yes" 1>&6
39475 - echo "$ac_t""no" 1>&6
39476 -echo $ac_n "checking for iswalnum in -lw""... $ac_c" 1>&6
39477 -echo "configure:6671: checking for iswalnum in -lw" >&5
39478 -ac_lib_var=`echo w'_'iswalnum | sed 'y%./+-%__p_%'`
39479 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
39480 - echo $ac_n "(cached) $ac_c" 1>&6
39481 +rm -f conf$$ conf$$.exe conf$$.file
39483 +if ln -s conf$$.file conf$$ 2>/dev/null; then
39484 + # We could just check for DJGPP; but this test a) works b) is more generic
39485 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
39486 + if test -f conf$$.exe; then
39487 + # Don't use ln at all; we don't have any links
39492 +elif ln conf$$.file conf$$ 2>/dev/null; then
39495 - ac_save_LIBS="$LIBS"
39497 -cat > conftest.$ac_ext <<EOF
39498 -#line 6679 "configure"
39499 -#include "confdefs.h"
39500 -/* Override any gcc2 internal prototype to avoid an error. */
39501 -/* We use char because int might match the return type of a gcc2
39502 - builtin and then its argument prototype would still apply. */
39506 +rm -f conf$$ conf$$.exe conf$$.file
39512 -if { (eval echo configure:6690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
39514 - eval "ac_cv_lib_$ac_lib_var=yes"
39515 +if mkdir -p . 2>/dev/null; then
39518 - echo "configure: failed program was:" >&5
39519 - cat conftest.$ac_ext >&5
39521 - eval "ac_cv_lib_$ac_lib_var=no"
39522 + test -d ./-p && rmdir ./-p
39526 -LIBS="$ac_save_LIBS"
39528 +as_executable_p="test -f"
39530 +# Sed expression to map a string onto a valid CPP name.
39531 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
39533 +# Sed expression to map a string onto a valid variable name.
39534 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
39538 +# We need space, tab and new line, in precisely that order.
39548 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
39549 +# report actual input values of CONFIG_FILES etc. instead of their
39550 +# values after options handling. Logging --version etc. is OK.
39551 +exec 5>>config.log
39554 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39555 +## Running $as_me. ##
39560 +This file was extended by $as_me, which was
39561 +generated by GNU Autoconf 2.59. Invocation command line was
39563 + CONFIG_FILES = $CONFIG_FILES
39564 + CONFIG_HEADERS = $CONFIG_HEADERS
39565 + CONFIG_LINKS = $CONFIG_LINKS
39566 + CONFIG_COMMANDS = $CONFIG_COMMANDS
39570 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
39574 +# Files that config.status was made for.
39575 +if test -n "$ac_config_files"; then
39576 + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
39578 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
39579 - echo "$ac_t""yes" 1>&6
39582 - echo "$ac_t""no" 1>&6
39584 +if test -n "$ac_config_headers"; then
39585 + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
39588 +if test -n "$ac_config_links"; then
39589 + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
39592 +if test -n "$ac_config_commands"; then
39593 + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
39596 -# The following is necessary for Linux libc-5.4.38
39598 -LIBS="$LIBS $GDK_WLIBS"
39599 -echo $ac_n "checking if iswalnum() and friends are properly defined""... $ac_c" 1>&6
39600 -echo "configure:6717: checking if iswalnum() and friends are properly defined" >&5
39601 -cat > conftest.$ac_ext <<EOF
39602 -#line 6719 "configure"
39603 -#include "confdefs.h"
39604 -#include <stdlib.h>
39606 +cat >>$CONFIG_STATUS <<\_ACEOF
39608 -#if (defined(HAVE_WCTYPE_H) || defined(HAVE_WCHAR_H))
39609 -# ifdef HAVE_WCTYPE_H
39610 -# include <wctype.h>
39612 -# ifdef HAVE_WCHAR_H
39613 -# include <wchar.h>
39617 -# define iswalnum(c) ((wchar_t)(c) <= 0xFF && isalnum(c))
39619 -iswalnum((wchar_t) 0);
39621 +\`$as_me' instantiates files from templates according to the
39622 +current configuration.
39626 -if { (eval echo configure:6739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
39630 - echo "configure: failed program was:" >&5
39631 - cat conftest.$ac_ext >&5
39637 +Usage: $0 [OPTIONS] [FILE]...
39639 -if test $gtk_ok = no; then
39640 - cat >> confdefs.h <<\EOF
39641 -#define HAVE_BROKEN_WCTYPE 1
39643 + -h, --help print this help, then exit
39644 + -V, --version print version number, then exit
39645 + -q, --quiet do not print progress messages
39646 + -d, --debug don't remove temporary files
39647 + --recheck update $as_me by reconfiguring in the same conditions
39648 + --file=FILE[:TEMPLATE]
39649 + instantiate the configuration file FILE
39650 + --header=FILE[:TEMPLATE]
39651 + instantiate the configuration header FILE
39655 -echo "$ac_t""$gtk_ok" 1>&6
39656 +Configuration files:
39659 +Configuration headers:
39662 +Configuration links:
39665 +Configuration commands:
39668 +Report bugs to <bug-autoconf@gnu.org>."
39671 +cat >>$CONFIG_STATUS <<_ACEOF
39674 +configured by $0, generated by GNU Autoconf 2.59,
39675 + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
39678 -cat > confcache <<\EOF
39679 -# This file is a shell script that caches the results of configure
39680 -# tests run on this system so they can be shared between configure
39681 -# scripts and configure runs. It is not useful on other systems.
39682 -# If it contains results you don't want to keep, you may remove or edit it.
39684 -# By default, configure uses ./config.cache as the cache file,
39685 -# creating it if it does not exist already. You can give configure
39686 -# the --cache-file=FILE option to use a different cache file; that is
39687 -# what configure does when it calls configure scripts in
39688 -# subdirectories, so they share the cache.
39689 -# Giving --cache-file=/dev/null disables caching, for debugging configure.
39690 -# config.status only pays attention to the cache file if you give it the
39691 -# --recheck option to rerun configure.
39694 -# The following way of writing the cache mishandles newlines in values,
39695 -# but we know of no workaround that is simple, portable, and efficient.
39696 -# So, don't put newlines in cache variables' values.
39697 -# Ultrix sh set writes to stderr and can't be redirected directly,
39698 -# and sets the high bit in the cache file unless we assign to the vars.
39700 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
39702 - # `set' does not quote correctly, so add quotes (double-quote substitution
39703 - # turns \\\\ into \\, and sed turns \\ into \).
39705 - -e "s/'/'\\\\''/g" \
39706 - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
39707 +Copyright (C) 2003 Free Software Foundation, Inc.
39708 +This config.status script is free software; the Free Software Foundation
39709 +gives unlimited permission to copy, distribute and modify it."
39711 +INSTALL="$INSTALL"
39714 +cat >>$CONFIG_STATUS <<\_ACEOF
39715 +# If no file are specified by the user, then we need to provide default
39716 +# value. By we need to know if files were specified by the user.
39717 +ac_need_defaults=:
39718 +while test $# != 0
39722 + ac_option=`expr "x$1" : 'x\([^=]*\)='`
39723 + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
39727 - # `set' quotes correctly as required by POSIX, so do not add quotes.
39728 - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
39734 - esac >> confcache
39735 -if cmp -s $cache_file confcache; then
39738 - if test -w $cache_file; then
39739 - echo "updating cache $cache_file"
39740 - cat confcache > $cache_file
39742 - echo "not updating unwritable cache $cache_file"
39746 + *) # This is not an option, so the user has probably given explicit
39749 + ac_need_defaults=false;;
39752 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
39753 + case $ac_option in
39754 + # Handling of the options.
39756 +cat >>$CONFIG_STATUS <<\_ACEOF
39757 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39758 + ac_cs_recheck=: ;;
39759 + --version | --vers* | -V )
39760 + echo "$ac_cs_version"; exit 0 ;;
39762 + # Conflict between --help and --header
39763 + { { echo "$as_me:$LINENO: error: ambiguous option: $1
39764 +Try \`$0 --help' for more information." >&5
39765 +echo "$as_me: error: ambiguous option: $1
39766 +Try \`$0 --help' for more information." >&2;}
39767 + { (exit 1); exit 1; }; };;
39768 + --help | --hel | -h )
39769 + echo "$ac_cs_usage"; exit 0 ;;
39770 + --debug | --d* | -d )
39772 + --file | --fil | --fi | --f )
39774 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
39775 + ac_need_defaults=false;;
39776 + --header | --heade | --head | --hea )
39778 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
39779 + ac_need_defaults=false;;
39780 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39781 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
39782 + ac_cs_silent=: ;;
39784 -test "x$prefix" = xNONE && prefix=$ac_default_prefix
39785 -# Let make expand exec_prefix.
39786 -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
39787 + # This is an error.
39788 + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
39789 +Try \`$0 --help' for more information." >&5
39790 +echo "$as_me: error: unrecognized option: $1
39791 +Try \`$0 --help' for more information." >&2;}
39792 + { (exit 1); exit 1; }; } ;;
39794 -# Any assignment to VPATH causes Sun make to only execute
39795 -# the first set of double-colon rules, so remove it if not needed.
39796 -# If there is a colon in the path, we need to keep it.
39797 -if test "x$srcdir" = x.; then
39798 - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
39800 + *) ac_config_targets="$ac_config_targets $1" ;;
39806 -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
39807 +ac_configure_extra_args=
39809 -DEFS=-DHAVE_CONFIG_H
39810 +if $ac_cs_silent; then
39812 + ac_configure_extra_args="$ac_configure_extra_args --silent"
39815 -# Without the "./", some shells look in PATH for config.status.
39816 -: ${CONFIG_STATUS=./config.status}
39818 +cat >>$CONFIG_STATUS <<_ACEOF
39819 +if \$ac_cs_recheck; then
39820 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39821 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39824 -echo creating $CONFIG_STATUS
39825 -rm -f $CONFIG_STATUS
39826 -cat > $CONFIG_STATUS <<EOF
39828 -# Generated automatically by configure.
39829 -# Run this file to recreate the current configuration.
39830 -# This directory was configured as follows,
39831 -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
39834 +cat >>$CONFIG_STATUS <<_ACEOF
39836 -# $0 $ac_configure_args
39837 +# INIT-COMMANDS section.
39839 -# Compiler output produced by configure, useful for debugging
39840 -# configure, is in ./config.log if it exists.
39842 -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
39851 +cat >>$CONFIG_STATUS <<\_ACEOF
39852 +for ac_config_target in $ac_config_targets
39854 - case "\$ac_option" in
39855 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39856 - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
39857 - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
39858 - -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
39859 - echo "$CONFIG_STATUS generated by autoconf version 2.13"
39861 - -help | --help | --hel | --he | --h)
39862 - echo "\$ac_cs_usage"; exit 0 ;;
39863 - *) echo "\$ac_cs_usage"; exit 1 ;;
39864 + case "$ac_config_target" in
39865 + # Handling of arguments.
39866 + "gtk+.spec" ) CONFIG_FILES="$CONFIG_FILES gtk+.spec" ;;
39867 + "docs/gtk-config.1" ) CONFIG_FILES="$CONFIG_FILES docs/gtk-config.1" ;;
39868 + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
39869 + "gtk-config" ) CONFIG_FILES="$CONFIG_FILES gtk-config" ;;
39870 + "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
39871 + "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
39872 + "gdk/Makefile" ) CONFIG_FILES="$CONFIG_FILES gdk/Makefile" ;;
39873 + "gtk/Makefile" ) CONFIG_FILES="$CONFIG_FILES gtk/Makefile" ;;
39874 + "gtk/gtkfeatures.h" ) CONFIG_FILES="$CONFIG_FILES gtk/gtkfeatures.h" ;;
39875 + "gdk.pc" ) CONFIG_FILES="$CONFIG_FILES gdk.pc" ;;
39876 + "gtk+.pc" ) CONFIG_FILES="$CONFIG_FILES gtk+.pc" ;;
39877 + "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
39878 + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
39879 + "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
39880 + "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
39881 + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
39882 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39883 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39884 + { (exit 1); exit 1; }; };;
39888 -ac_given_srcdir=$srcdir
39889 -ac_given_INSTALL="$INSTALL"
39891 -trap 'rm -fr `echo "
39903 - config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
39905 -cat >> $CONFIG_STATUS <<EOF
39906 +# If the user did not use the arguments to specify the items to instantiate,
39907 +# then the envvar interface is used. Set only those that are not.
39908 +# We use the long form for the default assignment because of an extremely
39909 +# bizarre bug on SunOS 4.1.3.
39910 +if $ac_need_defaults; then
39911 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
39912 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
39913 + test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
39914 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
39917 +# Have a temporary directory for convenience. Make it in the build tree
39918 +# simply because there is no reason to put it here, and in addition,
39919 +# creating and moving files from /tmp can sometimes cause problems.
39920 +# Create a temporary directory, and hook for its removal unless debugging.
39923 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39924 + trap '{ (exit 1); exit 1; }' 1 2 13 15
39927 -# Protect against being on the right side of a sed subst in config.status.
39928 -sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
39929 - s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
39932 -s%@SHELL@%$SHELL%g
39933 -s%@CFLAGS@%$CFLAGS%g
39934 -s%@CPPFLAGS@%$CPPFLAGS%g
39935 -s%@CXXFLAGS@%$CXXFLAGS%g
39936 -s%@FFLAGS@%$FFLAGS%g
39938 -s%@LDFLAGS@%$LDFLAGS%g
39940 -s%@exec_prefix@%$exec_prefix%g
39941 -s%@prefix@%$prefix%g
39942 -s%@program_transform_name@%$program_transform_name%g
39943 -s%@bindir@%$bindir%g
39944 -s%@sbindir@%$sbindir%g
39945 -s%@libexecdir@%$libexecdir%g
39946 -s%@datadir@%$datadir%g
39947 -s%@sysconfdir@%$sysconfdir%g
39948 -s%@sharedstatedir@%$sharedstatedir%g
39949 -s%@localstatedir@%$localstatedir%g
39950 -s%@libdir@%$libdir%g
39951 -s%@includedir@%$includedir%g
39952 -s%@oldincludedir@%$oldincludedir%g
39953 -s%@infodir@%$infodir%g
39954 -s%@mandir@%$mandir%g
39955 -s%@GTK_MAJOR_VERSION@%$GTK_MAJOR_VERSION%g
39956 -s%@GTK_MINOR_VERSION@%$GTK_MINOR_VERSION%g
39957 -s%@GTK_MICRO_VERSION@%$GTK_MICRO_VERSION%g
39958 -s%@GTK_INTERFACE_AGE@%$GTK_INTERFACE_AGE%g
39959 -s%@GTK_BINARY_AGE@%$GTK_BINARY_AGE%g
39960 -s%@GTK_VERSION@%$GTK_VERSION%g
39961 -s%@LT_RELEASE@%$LT_RELEASE%g
39962 -s%@LT_CURRENT@%$LT_CURRENT%g
39963 -s%@LT_REVISION@%$LT_REVISION%g
39964 -s%@LT_AGE@%$LT_AGE%g
39965 -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
39966 -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
39967 -s%@INSTALL_DATA@%$INSTALL_DATA%g
39968 -s%@PACKAGE@%$PACKAGE%g
39969 -s%@VERSION@%$VERSION%g
39970 -s%@ACLOCAL@%$ACLOCAL%g
39971 -s%@AUTOCONF@%$AUTOCONF%g
39972 -s%@AUTOMAKE@%$AUTOMAKE%g
39973 -s%@AUTOHEADER@%$AUTOHEADER%g
39974 -s%@MAKEINFO@%$MAKEINFO%g
39975 -s%@SET_MAKE@%$SET_MAKE%g
39977 -s%@host_alias@%$host_alias%g
39978 -s%@host_cpu@%$host_cpu%g
39979 -s%@host_vendor@%$host_vendor%g
39980 -s%@host_os@%$host_os%g
39981 -s%@build@%$build%g
39982 -s%@build_alias@%$build_alias%g
39983 -s%@build_cpu@%$build_cpu%g
39984 -s%@build_vendor@%$build_vendor%g
39985 -s%@build_os@%$build_os%g
39986 -s%@RANLIB@%$RANLIB%g
39989 -s%@LIBTOOL@%$LIBTOOL%g
39990 -s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
39991 -s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
39992 -s%@MAINT@%$MAINT%g
39995 -s%@INDENT@%$INDENT%g
39996 -s%@REBUILD@%$REBUILD%g
39997 -s%@STRIP_DUMMY@%$STRIP_DUMMY%g
39998 -s%@STRIP_BEGIN@%$STRIP_BEGIN%g
39999 -s%@STRIP_END@%$STRIP_END%g
40001 -s%@ALLOCA@%$ALLOCA%g
40002 -s%@USE_NLS@%$USE_NLS%g
40003 -s%@MSGFMT@%$MSGFMT%g
40004 -s%@GMSGFMT@%$GMSGFMT%g
40005 -s%@XGETTEXT@%$XGETTEXT%g
40006 -s%@GENCAT@%$GENCAT%g
40007 -s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
40008 -s%@CATALOGS@%$CATALOGS%g
40009 -s%@CATOBJEXT@%$CATOBJEXT%g
40010 -s%@DATADIRNAME@%$DATADIRNAME%g
40011 -s%@GMOFILES@%$GMOFILES%g
40012 -s%@INSTOBJEXT@%$INSTOBJEXT%g
40013 -s%@INTLDEPS@%$INTLDEPS%g
40014 -s%@INTLLIBS@%$INTLLIBS%g
40015 -s%@INTLOBJS@%$INTLOBJS%g
40016 -s%@POFILES@%$POFILES%g
40017 -s%@POSUB@%$POSUB%g
40018 -s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g
40019 -s%@GT_NO@%$GT_NO%g
40020 -s%@GT_YES@%$GT_YES%g
40021 -s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
40023 -s%@gtklocaledir@%$gtklocaledir%g
40024 -s%@GLIB_CONFIG@%$GLIB_CONFIG%g
40025 -s%@GLIB_CFLAGS@%$GLIB_CFLAGS%g
40026 -s%@GLIB_LIBS@%$GLIB_LIBS%g
40027 -s%@glib_cflags@%$glib_cflags%g
40028 -s%@glib_libs@%$glib_libs%g
40029 -s%@glib_thread_cflags@%$glib_thread_cflags%g
40030 -s%@glib_thread_libs@%$glib_thread_libs%g
40031 -s%@GLIB_DEPLIBS@%$GLIB_DEPLIBS%g
40032 -s%@X_CFLAGS@%$X_CFLAGS%g
40033 -s%@X_PRE_LIBS@%$X_PRE_LIBS%g
40034 -s%@X_LIBS@%$X_LIBS%g
40035 -s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
40036 -s%@x_cflags@%$x_cflags%g
40037 -s%@x_includes@%$x_includes%g
40038 -s%@x_ldflags@%$x_ldflags%g
40039 -s%@x_libs@%$x_libs%g
40040 -s%@xinput_progs@%$xinput_progs%g
40041 -s%@GDK_WLIBS@%$GDK_WLIBS%g
40042 -s%@GTK_DEBUG_FLAGS@%$GTK_DEBUG_FLAGS%g
40043 -s%@GTK_XIM_FLAGS@%$GTK_XIM_FLAGS%g
40044 -s%@GTK_LOCALE_FLAGS@%$GTK_LOCALE_FLAGS%g
40045 +# Create a (secure) tmp directory for tmp files.
40048 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40049 + test -n "$tmp" && test -d "$tmp"
40052 + tmp=./confstat$$-$RANDOM
40053 + (umask 077 && mkdir $tmp)
40056 + echo "$me: cannot create a temporary directory in ." >&2
40057 + { (exit 1); exit 1; }
40062 +cat >>$CONFIG_STATUS <<_ACEOF
40065 +# CONFIG_FILES section.
40068 +# No need to generate the scripts if there are no CONFIG_FILES.
40069 +# This happens for instance when ./config.status config.h
40070 +if test -n "\$CONFIG_FILES"; then
40071 + # Protect against being on the right side of a sed subst in config.status.
40072 + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40073 + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40074 +s,@SHELL@,$SHELL,;t t
40075 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40076 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40077 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40078 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40079 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40080 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40081 +s,@exec_prefix@,$exec_prefix,;t t
40082 +s,@prefix@,$prefix,;t t
40083 +s,@program_transform_name@,$program_transform_name,;t t
40084 +s,@bindir@,$bindir,;t t
40085 +s,@sbindir@,$sbindir,;t t
40086 +s,@libexecdir@,$libexecdir,;t t
40087 +s,@datadir@,$datadir,;t t
40088 +s,@sysconfdir@,$sysconfdir,;t t
40089 +s,@sharedstatedir@,$sharedstatedir,;t t
40090 +s,@localstatedir@,$localstatedir,;t t
40091 +s,@libdir@,$libdir,;t t
40092 +s,@includedir@,$includedir,;t t
40093 +s,@oldincludedir@,$oldincludedir,;t t
40094 +s,@infodir@,$infodir,;t t
40095 +s,@mandir@,$mandir,;t t
40096 +s,@build_alias@,$build_alias,;t t
40097 +s,@host_alias@,$host_alias,;t t
40098 +s,@target_alias@,$target_alias,;t t
40099 +s,@DEFS@,$DEFS,;t t
40100 +s,@ECHO_C@,$ECHO_C,;t t
40101 +s,@ECHO_N@,$ECHO_N,;t t
40102 +s,@ECHO_T@,$ECHO_T,;t t
40103 +s,@LIBS@,$LIBS,;t t
40104 +s,@GTK_MAJOR_VERSION@,$GTK_MAJOR_VERSION,;t t
40105 +s,@GTK_MINOR_VERSION@,$GTK_MINOR_VERSION,;t t
40106 +s,@GTK_MICRO_VERSION@,$GTK_MICRO_VERSION,;t t
40107 +s,@GTK_INTERFACE_AGE@,$GTK_INTERFACE_AGE,;t t
40108 +s,@GTK_BINARY_AGE@,$GTK_BINARY_AGE,;t t
40109 +s,@GTK_VERSION@,$GTK_VERSION,;t t
40110 +s,@LT_RELEASE@,$LT_RELEASE,;t t
40111 +s,@LT_CURRENT@,$LT_CURRENT,;t t
40112 +s,@LT_REVISION@,$LT_REVISION,;t t
40113 +s,@LT_AGE@,$LT_AGE,;t t
40114 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40115 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40116 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40117 +s,@PACKAGE@,$PACKAGE,;t t
40118 +s,@VERSION@,$VERSION,;t t
40119 +s,@ACLOCAL@,$ACLOCAL,;t t
40120 +s,@AUTOCONF@,$AUTOCONF,;t t
40121 +s,@AUTOMAKE@,$AUTOMAKE,;t t
40122 +s,@AUTOHEADER@,$AUTOHEADER,;t t
40123 +s,@MAKEINFO@,$MAKEINFO,;t t
40124 +s,@SET_MAKE@,$SET_MAKE,;t t
40125 +s,@build@,$build,;t t
40126 +s,@build_cpu@,$build_cpu,;t t
40127 +s,@build_vendor@,$build_vendor,;t t
40128 +s,@build_os@,$build_os,;t t
40129 +s,@host@,$host,;t t
40130 +s,@host_cpu@,$host_cpu,;t t
40131 +s,@host_vendor@,$host_vendor,;t t
40132 +s,@host_os@,$host_os,;t t
40134 +s,@CFLAGS@,$CFLAGS,;t t
40135 +s,@LDFLAGS@,$LDFLAGS,;t t
40136 +s,@CPPFLAGS@,$CPPFLAGS,;t t
40137 +s,@ac_ct_CC@,$ac_ct_CC,;t t
40138 +s,@EXEEXT@,$EXEEXT,;t t
40139 +s,@OBJEXT@,$OBJEXT,;t t
40140 +s,@EGREP@,$EGREP,;t t
40141 +s,@LN_S@,$LN_S,;t t
40142 +s,@ECHO@,$ECHO,;t t
40144 +s,@ac_ct_AR@,$ac_ct_AR,;t t
40145 +s,@RANLIB@,$RANLIB,;t t
40146 +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40147 +s,@STRIP@,$STRIP,;t t
40148 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40151 +s,@CXXFLAGS@,$CXXFLAGS,;t t
40152 +s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40153 +s,@CXXCPP@,$CXXCPP,;t t
40155 +s,@FFLAGS@,$FFLAGS,;t t
40156 +s,@ac_ct_F77@,$ac_ct_F77,;t t
40157 +s,@LIBTOOL@,$LIBTOOL,;t t
40158 +s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
40159 +s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
40160 +s,@MAINT@,$MAINT,;t t
40162 +s,@PERL@,$PERL,;t t
40163 +s,@INDENT@,$INDENT,;t t
40164 +s,@REBUILD@,$REBUILD,;t t
40165 +s,@STRIP_DUMMY@,$STRIP_DUMMY,;t t
40166 +s,@STRIP_BEGIN@,$STRIP_BEGIN,;t t
40167 +s,@STRIP_END@,$STRIP_END,;t t
40168 +s,@ALLOCA@,$ALLOCA,;t t
40169 +s,@USE_NLS@,$USE_NLS,;t t
40170 +s,@MSGFMT@,$MSGFMT,;t t
40171 +s,@GMSGFMT@,$GMSGFMT,;t t
40172 +s,@XGETTEXT@,$XGETTEXT,;t t
40173 +s,@GENCAT@,$GENCAT,;t t
40174 +s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
40175 +s,@CATALOGS@,$CATALOGS,;t t
40176 +s,@CATOBJEXT@,$CATOBJEXT,;t t
40177 +s,@DATADIRNAME@,$DATADIRNAME,;t t
40178 +s,@GMOFILES@,$GMOFILES,;t t
40179 +s,@INSTOBJEXT@,$INSTOBJEXT,;t t
40180 +s,@INTLDEPS@,$INTLDEPS,;t t
40181 +s,@INTLLIBS@,$INTLLIBS,;t t
40182 +s,@INTLOBJS@,$INTLOBJS,;t t
40183 +s,@POFILES@,$POFILES,;t t
40184 +s,@POSUB@,$POSUB,;t t
40185 +s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
40186 +s,@GT_NO@,$GT_NO,;t t
40187 +s,@GT_YES@,$GT_YES,;t t
40188 +s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
40190 +s,@gtklocaledir@,$gtklocaledir,;t t
40191 +s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t
40192 +s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
40193 +s,@GLIB_LIBS@,$GLIB_LIBS,;t t
40194 +s,@glib_cflags@,$glib_cflags,;t t
40195 +s,@glib_libs@,$glib_libs,;t t
40196 +s,@glib_thread_cflags@,$glib_thread_cflags,;t t
40197 +s,@glib_thread_libs@,$glib_thread_libs,;t t
40198 +s,@GLIB_DEPLIBS@,$GLIB_DEPLIBS,;t t
40199 +s,@X_CFLAGS@,$X_CFLAGS,;t t
40200 +s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40201 +s,@X_LIBS@,$X_LIBS,;t t
40202 +s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40203 +s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40204 +s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
40205 +s,@x_cflags@,$x_cflags,;t t
40206 +s,@x_includes@,$x_includes,;t t
40207 +s,@x_ldflags@,$x_ldflags,;t t
40208 +s,@x_libs@,$x_libs,;t t
40209 +s,@xinput_progs@,$xinput_progs,;t t
40210 +s,@GDK_WLIBS@,$GDK_WLIBS,;t t
40211 +s,@GTK_DEBUG_FLAGS@,$GTK_DEBUG_FLAGS,;t t
40212 +s,@GTK_XIM_FLAGS@,$GTK_XIM_FLAGS,;t t
40213 +s,@GTK_LOCALE_FLAGS@,$GTK_LOCALE_FLAGS,;t t
40214 +s,@LIBOBJS@,$LIBOBJS,;t t
40215 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40219 -cat >> $CONFIG_STATUS <<\EOF
40222 -# Split the substitutions into bite-sized pieces for seds with
40223 -# small command number limits, like on Digital OSF/1 and HP-UX.
40224 -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
40225 -ac_file=1 # Number of current file.
40226 -ac_beg=1 # First line for current file.
40227 -ac_end=$ac_max_sed_cmds # Line after last line for current file.
40230 -while $ac_more_lines; do
40231 - if test $ac_beg -gt 1; then
40232 - sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
40234 - sed "${ac_end}q" conftest.subs > conftest.s$ac_file
40236 - if test ! -s conftest.s$ac_file; then
40237 - ac_more_lines=false
40238 - rm -f conftest.s$ac_file
40240 - if test -z "$ac_sed_cmds"; then
40241 - ac_sed_cmds="sed -f conftest.s$ac_file"
40242 + cat >>$CONFIG_STATUS <<\_ACEOF
40243 + # Split the substitutions into bite-sized pieces for seds with
40244 + # small command number limits, like on Digital OSF/1 and HP-UX.
40245 + ac_max_sed_lines=48
40246 + ac_sed_frag=1 # Number of current file.
40247 + ac_beg=1 # First line for current file.
40248 + ac_end=$ac_max_sed_lines # Line after last line for current file.
40251 + while $ac_more_lines; do
40252 + if test $ac_beg -gt 1; then
40253 + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40255 - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
40256 + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40258 + if test ! -s $tmp/subs.frag; then
40259 + ac_more_lines=false
40261 + # The purpose of the label and of the branching condition is to
40262 + # speed up the sed processing (if there are no `@' at all, there
40263 + # is no need to browse any of the substitutions).
40264 + # These are the two extra sed commands mentioned above.
40266 + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
40267 + if test -z "$ac_sed_cmds"; then
40268 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40270 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40272 + ac_sed_frag=`expr $ac_sed_frag + 1`
40274 + ac_end=`expr $ac_end + $ac_max_sed_lines`
40276 - ac_file=`expr $ac_file + 1`
40278 - ac_end=`expr $ac_end + $ac_max_sed_cmds`
40280 + if test -z "$ac_sed_cmds"; then
40284 -if test -z "$ac_sed_cmds"; then
40288 +fi # test -n "$CONFIG_FILES"
40290 -cat >> $CONFIG_STATUS <<EOF
40292 -CONFIG_FILES=\${CONFIG_FILES-"gtk+.spec
40305 -cat >> $CONFIG_STATUS <<\EOF
40306 -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
40308 +cat >>$CONFIG_STATUS <<\_ACEOF
40309 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
40310 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40311 - case "$ac_file" in
40312 - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
40313 - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
40314 - *) ac_file_in="${ac_file}.in" ;;
40317 - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
40319 - # Remove last slash and all that follows it. Not all systems have dirname.
40320 - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
40321 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
40322 - # The file is in a subdirectory.
40323 - test ! -d "$ac_dir" && mkdir "$ac_dir"
40324 - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
40325 - # A "../" for each directory in $ac_dir_suffix.
40326 - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
40328 - ac_dir_suffix= ac_dots=
40331 - case "$ac_given_srcdir" in
40333 - if test -z "$ac_dots"; then top_srcdir=.
40334 - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
40335 - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
40337 + - | *:- | *:-:* ) # input from stdin
40339 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40340 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40341 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40342 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40343 + * ) ac_file_in=$ac_file.in ;;
40346 + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40347 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40348 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40349 + X"$ac_file" : 'X\(//\)[^/]' \| \
40350 + X"$ac_file" : 'X\(//\)$' \| \
40351 + X"$ac_file" : 'X\(/\)' \| \
40352 + . : '\(.\)' 2>/dev/null ||
40353 +echo X"$ac_file" |
40354 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40355 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40356 + /^X\(\/\/\)$/{ s//\1/; q; }
40357 + /^X\(\/\).*/{ s//\1/; q; }
40359 + { if $as_mkdir_p; then
40360 + mkdir -p "$ac_dir"
40364 + while test ! -d "$as_dir"; do
40365 + as_dirs="$as_dir $as_dirs"
40366 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
40367 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40368 + X"$as_dir" : 'X\(//\)[^/]' \| \
40369 + X"$as_dir" : 'X\(//\)$' \| \
40370 + X"$as_dir" : 'X\(/\)' \| \
40371 + . : '\(.\)' 2>/dev/null ||
40373 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40374 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40375 + /^X\(\/\/\)$/{ s//\1/; q; }
40376 + /^X\(\/\).*/{ s//\1/; q; }
40379 + test ! -n "$as_dirs" || mkdir $as_dirs
40380 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40381 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40382 + { (exit 1); exit 1; }; }; }
40386 +if test "$ac_dir" != .; then
40387 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40388 + # A "../" for each directory in $ac_dir_suffix.
40389 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40391 + ac_dir_suffix= ac_top_builddir=
40395 + .) # No --srcdir option. We are building in place.
40397 + if test -z "$ac_top_builddir"; then
40400 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40402 + [\\/]* | ?:[\\/]* ) # Absolute path.
40403 + ac_srcdir=$srcdir$ac_dir_suffix;
40404 + ac_top_srcdir=$srcdir ;;
40405 *) # Relative path.
40406 - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
40407 - top_srcdir="$ac_dots$ac_given_srcdir" ;;
40408 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40409 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
40412 +# Do not use `cd foo && pwd` to compute absolute paths, because
40413 +# the directories may not exist.
40415 +.) ac_abs_builddir="$ac_dir";;
40417 + case "$ac_dir" in
40418 + .) ac_abs_builddir=`pwd`;;
40419 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
40420 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
40423 +case $ac_abs_builddir in
40424 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
40426 + case ${ac_top_builddir}. in
40427 + .) ac_abs_top_builddir=$ac_abs_builddir;;
40428 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
40429 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
40432 +case $ac_abs_builddir in
40433 +.) ac_abs_srcdir=$ac_srcdir;;
40435 + case $ac_srcdir in
40436 + .) ac_abs_srcdir=$ac_abs_builddir;;
40437 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
40438 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
40441 +case $ac_abs_builddir in
40442 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
40444 + case $ac_top_srcdir in
40445 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
40446 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
40447 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
40453 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
40454 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
40457 - case "$ac_given_INSTALL" in
40458 - [/$]*) INSTALL="$ac_given_INSTALL" ;;
40459 - *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
40462 - echo creating "$ac_file"
40464 - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
40465 - case "$ac_file" in
40466 - *Makefile*) ac_comsub="1i\\
40467 -# $configure_input" ;;
40471 - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
40472 - sed -e "$ac_comsub
40473 -s%@configure_input@%$configure_input%g
40474 -s%@srcdir@%$srcdir%g
40475 -s%@top_srcdir@%$top_srcdir%g
40476 -s%@INSTALL@%$INSTALL%g
40477 -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
40480 + # Let's still pretend it is `configure' which instantiates (i.e., don't
40481 + # use $as_me), people would be surprised to read:
40482 + # /* config.h. Generated by config.status. */
40483 + if test x"$ac_file" = x-; then
40486 + configure_input="$ac_file. "
40488 + configure_input=$configure_input"Generated from `echo $ac_file_in |
40489 + sed 's,.*/,,'` by configure."
40491 + # First look for the input files in the build tree, otherwise in the
40493 + ac_file_inputs=`IFS=:
40494 + for f in $ac_file_in; do
40496 + -) echo $tmp/stdin ;;
40498 + # Absolute (can't be DOS-style, as IFS=:)
40499 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40500 +echo "$as_me: error: cannot find input file: $f" >&2;}
40501 + { (exit 1); exit 1; }; }
40504 + if test -f "$f"; then
40507 + elif test -f "$srcdir/$f"; then
40509 + echo "$srcdir/$f"
40512 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40513 +echo "$as_me: error: cannot find input file: $f" >&2;}
40514 + { (exit 1); exit 1; }; }
40517 + done` || { (exit 1); exit 1; }
40519 + if test x"$ac_file" != x-; then
40520 + { echo "$as_me:$LINENO: creating $ac_file" >&5
40521 +echo "$as_me: creating $ac_file" >&6;}
40525 +cat >>$CONFIG_STATUS <<_ACEOF
40529 +cat >>$CONFIG_STATUS <<\_ACEOF
40531 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
40532 +s,@configure_input@,$configure_input,;t t
40533 +s,@srcdir@,$ac_srcdir,;t t
40534 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
40535 +s,@top_srcdir@,$ac_top_srcdir,;t t
40536 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
40537 +s,@builddir@,$ac_builddir,;t t
40538 +s,@abs_builddir@,$ac_abs_builddir,;t t
40539 +s,@top_builddir@,$ac_top_builddir,;t t
40540 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
40541 +s,@INSTALL@,$ac_INSTALL,;t t
40542 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
40544 + if test x"$ac_file" != x-; then
40545 + mv $tmp/out $ac_file
40553 +cat >>$CONFIG_STATUS <<\_ACEOF
40556 +# CONFIG_HEADER section.
40559 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
40560 # NAME is the cpp macro being defined and VALUE is the value it is being given.
40562 # ac_d sets the value in "#define NAME VALUE" lines.
40563 -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
40564 -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
40567 -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
40568 -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
40569 -ac_uB='\([ ]\)%\1#\2define\3'
40570 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
40571 +ac_dB='[ ].*$,\1#\2'
40574 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
40575 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
40576 +ac_uB='$,\1#\2define\3'
40579 -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
40580 -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
40581 -ac_eB='$%\1#\2define\3'
40586 -if test "${CONFIG_HEADERS+set}" != set; then
40588 -cat >> $CONFIG_STATUS <<EOF
40589 - CONFIG_HEADERS="config.h"
40591 -cat >> $CONFIG_STATUS <<\EOF
40593 -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
40594 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
40595 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40596 - case "$ac_file" in
40597 - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
40598 - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
40599 - *) ac_file_in="${ac_file}.in" ;;
40601 + - | *:- | *:-:* ) # input from stdin
40603 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40604 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40605 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40606 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40607 + * ) ac_file_in=$ac_file.in ;;
40610 - echo creating $ac_file
40612 - rm -f conftest.frag conftest.in conftest.out
40613 - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
40614 - cat $ac_file_inputs > conftest.in
40617 + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
40618 +echo "$as_me: creating $ac_file" >&6;}
40620 -# Transform confdefs.h into a sed script conftest.vals that substitutes
40621 -# the proper values into config.h.in to produce config.h. And first:
40622 -# Protect against being on the right side of a sed subst in config.status.
40623 -# Protect against being in an unquoted here document in config.status.
40624 -rm -f conftest.vals
40625 -cat > conftest.hdr <<\EOF
40628 -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
40632 -sed -n -f conftest.hdr confdefs.h > conftest.vals
40633 -rm -f conftest.hdr
40634 + # First look for the input files in the build tree, otherwise in the
40636 + ac_file_inputs=`IFS=:
40637 + for f in $ac_file_in; do
40639 + -) echo $tmp/stdin ;;
40641 + # Absolute (can't be DOS-style, as IFS=:)
40642 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40643 +echo "$as_me: error: cannot find input file: $f" >&2;}
40644 + { (exit 1); exit 1; }; }
40645 + # Do quote $f, to prevent DOS paths from being IFS'd.
40648 + if test -f "$f"; then
40651 + elif test -f "$srcdir/$f"; then
40653 + echo "$srcdir/$f"
40656 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40657 +echo "$as_me: error: cannot find input file: $f" >&2;}
40658 + { (exit 1); exit 1; }; }
40661 + done` || { (exit 1); exit 1; }
40662 + # Remove the trailing spaces.
40663 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
40667 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
40668 +# `conftest.undefs', that substitutes the proper values into
40669 +# config.h.in to produce config.h. The first handles `#define'
40670 +# templates, and the second `#undef' templates.
40671 +# And first: Protect against being on the right side of a sed subst in
40672 +# config.status. Protect against being in an unquoted here document
40673 +# in config.status.
40674 +rm -f conftest.defines conftest.undefs
40675 +# Using a here document instead of a string reduces the quoting nightmare.
40676 +# Putting comments in sed scripts is not portable.
40678 +# `end' is used to avoid that the second main sed command (meant for
40679 +# 0-ary CPP macros) applies to n-ary macro definitions.
40680 +# See the Autoconf documentation for `clear'.
40681 +cat >confdef2sed.sed <<\_ACEOF
40686 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
40688 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
40691 +# If some macros were called several times there might be several times
40692 +# the same #defines, which is useless. Nevertheless, we may not want to
40693 +# sort them, since we want the *last* AC-DEFINE to be honored.
40694 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
40695 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
40696 +rm -f confdef2sed.sed
40698 # This sed command replaces #undef with comments. This is necessary, for
40699 # example, in the case of _POSIX_SOURCE, which is predefined and required
40700 # on some systems where configure will not decide to define it.
40701 -cat >> conftest.vals <<\EOF
40702 -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
40705 -# Break up conftest.vals because some shells have a limit on
40706 -# the size of here documents, and old seds have small limits too.
40708 +cat >>conftest.undefs <<\_ACEOF
40709 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
40712 +# Break up conftest.defines because some shells have a limit on the size
40713 +# of here documents, and old seds have small limits too (100 cmds).
40714 +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
40715 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
40716 +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
40717 +echo ' :' >>$CONFIG_STATUS
40718 rm -f conftest.tail
40720 +while grep . conftest.defines >/dev/null
40722 - ac_lines=`grep -c . conftest.vals`
40723 - # grep -c gives empty output for an empty file on some AIX systems.
40724 - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
40725 - # Write a limited-size here document to conftest.frag.
40726 - echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
40727 - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
40728 + # Write a limited-size here document to $tmp/defines.sed.
40729 + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
40730 + # Speed up: don't consider the non `#define' lines.
40731 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
40732 + # Work around the forget-to-reset-the-flag bug.
40733 + echo 't clr' >>$CONFIG_STATUS
40734 + echo ': clr' >>$CONFIG_STATUS
40735 + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
40737 - sed -f conftest.frag conftest.in > conftest.out
40738 - rm -f conftest.in
40739 - mv conftest.out conftest.in
40740 -' >> $CONFIG_STATUS
40741 - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
40742 - rm -f conftest.vals
40743 - mv conftest.tail conftest.vals
40745 -rm -f conftest.vals
40747 -cat >> $CONFIG_STATUS <<\EOF
40748 - rm -f conftest.frag conftest.h
40749 - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
40750 - cat conftest.in >> conftest.h
40751 - rm -f conftest.in
40752 - if cmp -s $ac_file conftest.h 2>/dev/null; then
40753 - echo "$ac_file is unchanged"
40756 - # Remove last slash and all that follows it. Not all systems have dirname.
40757 - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
40758 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
40759 - # The file is in a subdirectory.
40760 - test ! -d "$ac_dir" && mkdir "$ac_dir"
40763 - mv conftest.h $ac_file
40764 + sed -f $tmp/defines.sed $tmp/in >$tmp/out
40766 + mv $tmp/out $tmp/in
40767 +' >>$CONFIG_STATUS
40768 + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
40769 + rm -f conftest.defines
40770 + mv conftest.tail conftest.defines
40772 +rm -f conftest.defines
40773 +echo ' fi # grep' >>$CONFIG_STATUS
40774 +echo >>$CONFIG_STATUS
40776 +# Break up conftest.undefs because some shells have a limit on the size
40777 +# of here documents, and old seds have small limits too (100 cmds).
40778 +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
40779 +rm -f conftest.tail
40780 +while grep . conftest.undefs >/dev/null
40782 + # Write a limited-size here document to $tmp/undefs.sed.
40783 + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
40784 + # Speed up: don't consider the non `#undef'
40785 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
40786 + # Work around the forget-to-reset-the-flag bug.
40787 + echo 't clr' >>$CONFIG_STATUS
40788 + echo ': clr' >>$CONFIG_STATUS
40789 + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
40791 + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
40793 + mv $tmp/out $tmp/in
40794 +' >>$CONFIG_STATUS
40795 + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
40796 + rm -f conftest.undefs
40797 + mv conftest.tail conftest.undefs
40799 +rm -f conftest.undefs
40801 +cat >>$CONFIG_STATUS <<\_ACEOF
40802 + # Let's still pretend it is `configure' which instantiates (i.e., don't
40803 + # use $as_me), people would be surprised to read:
40804 + # /* config.h. Generated by config.status. */
40805 + if test x"$ac_file" = x-; then
40806 + echo "/* Generated by configure. */" >$tmp/config.h
40808 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40811 + cat $tmp/in >>$tmp/config.h
40813 + if test x"$ac_file" != x-; then
40814 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
40815 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40816 +echo "$as_me: $ac_file is unchanged" >&6;}
40818 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40819 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40820 + X"$ac_file" : 'X\(//\)[^/]' \| \
40821 + X"$ac_file" : 'X\(//\)$' \| \
40822 + X"$ac_file" : 'X\(/\)' \| \
40823 + . : '\(.\)' 2>/dev/null ||
40824 +echo X"$ac_file" |
40825 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40826 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40827 + /^X\(\/\/\)$/{ s//\1/; q; }
40828 + /^X\(\/\).*/{ s//\1/; q; }
40830 + { if $as_mkdir_p; then
40831 + mkdir -p "$ac_dir"
40835 + while test ! -d "$as_dir"; do
40836 + as_dirs="$as_dir $as_dirs"
40837 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
40838 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40839 + X"$as_dir" : 'X\(//\)[^/]' \| \
40840 + X"$as_dir" : 'X\(//\)$' \| \
40841 + X"$as_dir" : 'X\(/\)' \| \
40842 + . : '\(.\)' 2>/dev/null ||
40844 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40845 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40846 + /^X\(\/\/\)$/{ s//\1/; q; }
40847 + /^X\(\/\).*/{ s//\1/; q; }
40850 + test ! -n "$as_dirs" || mkdir $as_dirs
40851 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40852 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40853 + { (exit 1); exit 1; }; }; }
40857 + mv $tmp/config.h $ac_file
40860 + cat $tmp/config.h
40861 + rm -f $tmp/config.h
40865 +cat >>$CONFIG_STATUS <<\_ACEOF
40867 -cat >> $CONFIG_STATUS <<EOF
40868 -ac_sources="$nls_cv_header_libgt"
40869 -ac_dests="$nls_cv_header_intl"
40872 +# CONFIG_LINKS section.
40875 -cat >> $CONFIG_STATUS <<\EOF
40876 -srcdir=$ac_given_srcdir
40877 -while test -n "$ac_sources"; do
40878 - set $ac_dests; ac_dest=$1; shift; ac_dests=$*
40879 - set $ac_sources; ac_source=$1; shift; ac_sources=$*
40880 +for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
40881 + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
40882 + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
40884 - echo "linking $srcdir/$ac_source to $ac_dest"
40885 + { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
40886 +echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
40888 if test ! -r $srcdir/$ac_source; then
40889 - { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
40890 + { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
40891 +echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
40892 + { (exit 1); exit 1; }; }
40896 # Make relative symlinks.
40897 - # Remove last slash and all that follows it. Not all systems have dirname.
40898 - ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
40899 - if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
40900 - # The dest file is in a subdirectory.
40901 - test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
40902 - ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
40903 - # A "../" for each directory in $ac_dest_dir_suffix.
40904 - ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
40905 + ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
40906 +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40907 + X"$ac_dest" : 'X\(//\)[^/]' \| \
40908 + X"$ac_dest" : 'X\(//\)$' \| \
40909 + X"$ac_dest" : 'X\(/\)' \| \
40910 + . : '\(.\)' 2>/dev/null ||
40911 +echo X"$ac_dest" |
40912 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40913 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40914 + /^X\(\/\/\)$/{ s//\1/; q; }
40915 + /^X\(\/\).*/{ s//\1/; q; }
40917 + { if $as_mkdir_p; then
40918 + mkdir -p "$ac_dest_dir"
40920 - ac_dest_dir_suffix= ac_dots=
40922 + as_dir="$ac_dest_dir"
40924 + while test ! -d "$as_dir"; do
40925 + as_dirs="$as_dir $as_dirs"
40926 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
40927 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40928 + X"$as_dir" : 'X\(//\)[^/]' \| \
40929 + X"$as_dir" : 'X\(//\)$' \| \
40930 + X"$as_dir" : 'X\(/\)' \| \
40931 + . : '\(.\)' 2>/dev/null ||
40933 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40934 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40935 + /^X\(\/\/\)$/{ s//\1/; q; }
40936 + /^X\(\/\).*/{ s//\1/; q; }
40939 + test ! -n "$as_dirs" || mkdir $as_dirs
40940 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
40941 +echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
40942 + { (exit 1); exit 1; }; }; }
40946 +if test "$ac_dest_dir" != .; then
40947 + ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
40948 + # A "../" for each directory in $ac_dir_suffix.
40949 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40951 + ac_dir_suffix= ac_top_builddir=
40955 + .) # No --srcdir option. We are building in place.
40957 + if test -z "$ac_top_builddir"; then
40960 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40962 + [\\/]* | ?:[\\/]* ) # Absolute path.
40963 + ac_srcdir=$srcdir$ac_dir_suffix;
40964 + ac_top_srcdir=$srcdir ;;
40965 + *) # Relative path.
40966 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40967 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
40970 +# Do not use `cd foo && pwd` to compute absolute paths, because
40971 +# the directories may not exist.
40973 +.) ac_abs_builddir="$ac_dest_dir";;
40975 + case "$ac_dest_dir" in
40976 + .) ac_abs_builddir=`pwd`;;
40977 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
40978 + *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
40981 +case $ac_abs_builddir in
40982 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
40984 + case ${ac_top_builddir}. in
40985 + .) ac_abs_top_builddir=$ac_abs_builddir;;
40986 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
40987 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
40990 +case $ac_abs_builddir in
40991 +.) ac_abs_srcdir=$ac_srcdir;;
40993 + case $ac_srcdir in
40994 + .) ac_abs_srcdir=$ac_abs_builddir;;
40995 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
40996 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
40999 +case $ac_abs_builddir in
41000 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
41002 + case $ac_top_srcdir in
41003 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
41004 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41005 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41009 - case "$srcdir" in
41010 - [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
41011 - *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
41014 + [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
41015 + *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
41018 - # Make a symlink if possible; otherwise try a hard link.
41019 - if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
41020 - ln $srcdir/$ac_source $ac_dest; then :
41022 - { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
41024 + # Try a symlink, then a hard link, then a copy.
41025 + ln -s $ac_rel_source $ac_dest 2>/dev/null ||
41026 + ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
41027 + cp -p $srcdir/$ac_source $ac_dest ||
41028 + { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
41029 +echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
41030 + { (exit 1); exit 1; }; }
41033 -cat >> $CONFIG_STATUS <<EOF
41035 +cat >>$CONFIG_STATUS <<\_ACEOF
41038 +# CONFIG_COMMANDS section.
41040 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
41041 + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
41042 + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
41043 + ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
41044 +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41045 + X"$ac_dest" : 'X\(//\)[^/]' \| \
41046 + X"$ac_dest" : 'X\(//\)$' \| \
41047 + X"$ac_dest" : 'X\(/\)' \| \
41048 + . : '\(.\)' 2>/dev/null ||
41049 +echo X"$ac_dest" |
41050 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41051 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41052 + /^X\(\/\/\)$/{ s//\1/; q; }
41053 + /^X\(\/\).*/{ s//\1/; q; }
41055 + { if $as_mkdir_p; then
41056 + mkdir -p "$ac_dir"
41060 + while test ! -d "$as_dir"; do
41061 + as_dirs="$as_dir $as_dirs"
41062 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
41063 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41064 + X"$as_dir" : 'X\(//\)[^/]' \| \
41065 + X"$as_dir" : 'X\(//\)$' \| \
41066 + X"$as_dir" : 'X\(/\)' \| \
41067 + . : '\(.\)' 2>/dev/null ||
41069 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41070 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41071 + /^X\(\/\/\)$/{ s//\1/; q; }
41072 + /^X\(\/\).*/{ s//\1/; q; }
41075 + test ! -n "$as_dirs" || mkdir $as_dirs
41076 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41077 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41078 + { (exit 1); exit 1; }; }; }
41082 +if test "$ac_dir" != .; then
41083 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41084 + # A "../" for each directory in $ac_dir_suffix.
41085 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41087 + ac_dir_suffix= ac_top_builddir=
41091 + .) # No --srcdir option. We are building in place.
41093 + if test -z "$ac_top_builddir"; then
41096 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41098 + [\\/]* | ?:[\\/]* ) # Absolute path.
41099 + ac_srcdir=$srcdir$ac_dir_suffix;
41100 + ac_top_srcdir=$srcdir ;;
41101 + *) # Relative path.
41102 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41103 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
41106 +# Do not use `cd foo && pwd` to compute absolute paths, because
41107 +# the directories may not exist.
41109 +.) ac_abs_builddir="$ac_dir";;
41111 + case "$ac_dir" in
41112 + .) ac_abs_builddir=`pwd`;;
41113 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41114 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
41117 +case $ac_abs_builddir in
41118 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
41120 + case ${ac_top_builddir}. in
41121 + .) ac_abs_top_builddir=$ac_abs_builddir;;
41122 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41123 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41126 +case $ac_abs_builddir in
41127 +.) ac_abs_srcdir=$ac_srcdir;;
41129 + case $ac_srcdir in
41130 + .) ac_abs_srcdir=$ac_abs_builddir;;
41131 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41132 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41135 +case $ac_abs_builddir in
41136 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
41138 + case $ac_top_srcdir in
41139 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
41140 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41141 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41147 -cat >> $CONFIG_STATUS <<\EOF
41148 -test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
41149 -case "$CONFIG_FILES" in *po/Makefile.in*)
41150 + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41151 +echo "$as_me: executing $ac_dest commands" >&6;}
41153 + default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
41154 + default-2 ) case "$CONFIG_FILES" in *po/Makefile.in*)
41155 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
41157 -chmod +x gtk-config
41161 + default ) chmod +x gtk-config ;;
41166 +cat >>$CONFIG_STATUS <<\_ACEOF
41168 +{ (exit 0); exit 0; }
41170 chmod +x $CONFIG_STATUS
41171 -rm -fr confdefs* $ac_clean_files
41172 -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
41173 +ac_clean_files=$ac_clean_files_save
41176 +# configure is writing to config.log, and then calls config.status.
41177 +# config.status does its own redirection, appending to config.log.
41178 +# Unfortunately, on DOS this fails, as config.log is still kept open
41179 +# by configure, so config.status won't be able to write to it; its
41180 +# output is simply discarded. So we exec the FD to /dev/null,
41181 +# effectively closing config.log, so it can be properly (re)opened and
41182 +# appended to by config.status. When coming back to configure, we
41183 +# need to make the FD available again.
41184 +if test "$no_create" != yes; then
41186 + ac_config_status_args=
41187 + test "$silent" = yes &&
41188 + ac_config_status_args="$ac_config_status_args --quiet"
41190 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
41191 + exec 5>>config.log
41192 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41193 + # would make configure fail if this is the last instruction.
41194 + $ac_cs_success || { (exit 1); exit 1; }
41197 diff -urN gtk+-1.2.10.orig/docs/Makefile.in gtk+-1.2.10/docs/Makefile.in
41198 --- gtk+-1.2.10.orig/docs/Makefile.in 2001-04-01 21:15:08.000000000 -0600
41199 +++ gtk+-1.2.10/docs/Makefile.in 2006-07-09 02:29:45.000000000 -0600
41201 -# Makefile.in generated automatically by automake 1.4 from Makefile.am
41202 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
41204 -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
41205 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
41206 # This Makefile.in is free software; the Free Software Foundation
41207 # gives unlimited permission to copy and/or distribute it,
41208 # with or without modifications, as long as this notice is preserved.
41209 @@ -59,13 +59,22 @@
41211 host_alias = @host_alias@
41212 host_triplet = @host@
41216 CATALOGS = @CATALOGS@
41217 CATOBJEXT = @CATOBJEXT@
41221 DATADIRNAME = @DATADIRNAME@
41222 DLLTOOL = @DLLTOOL@
41228 +GCJFLAGS = @GCJFLAGS@
41229 GDK_WLIBS = @GDK_WLIBS@
41231 GLIB_CFLAGS = @GLIB_CFLAGS@
41232 @@ -85,14 +94,17 @@
41233 GTK_XIM_FLAGS = @GTK_XIM_FLAGS@
41236 +HAVE_LIB = @HAVE_LIB@
41237 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
41239 INSTOBJEXT = @INSTOBJEXT@
41240 INTLDEPS = @INTLDEPS@
41241 INTLLIBS = @INTLLIBS@
41242 INTLOBJS = @INTLOBJS@
41244 LIBTOOL = @LIBTOOL@
41248 LT_CURRENT = @LT_CURRENT@
41249 LT_RELEASE = @LT_RELEASE@
41250 @@ -101,12 +113,16 @@
41251 MAKEINFO = @MAKEINFO@
41252 MKINSTALLDIRS = @MKINSTALLDIRS@
41253 OBJDUMP = @OBJDUMP@
41255 PACKAGE = @PACKAGE@
41257 +PKG_CONFIG = @PKG_CONFIG@
41258 POFILES = @POFILES@
41262 REBUILD = @REBUILD@
41264 STRIP_BEGIN = @STRIP_BEGIN@
41265 STRIP_DUMMY = @STRIP_DUMMY@
41266 STRIP_END = @STRIP_END@
41267 @@ -159,15 +175,15 @@
41269 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
41276 .SUFFIXES: .dvi .info .ps .texi .texinfo .txi
41277 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
41278 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps docs/Makefile
41279 + cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile
41281 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
41282 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
41283 cd $(top_builddir) \
41284 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
41286 @@ -257,7 +273,7 @@
41288 list='$(INFO_DEPS)'; \
41289 for file in $$list; do \
41292 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
41294 @$(NORMAL_UNINSTALL)
41295 @@ -343,6 +359,11 @@
41298 distdir: $(DISTFILES)
41299 + here=`cd $(top_builddir) && pwd`; \
41300 + top_distdir=`cd $(top_distdir) && pwd`; \
41301 + distdir=`cd $(distdir) && pwd`; \
41302 + cd $(top_srcdir) \
41303 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu docs/Makefile
41304 $(mkinstalldirs) $(distdir)/html $(distdir)/text
41305 @for file in $(DISTFILES); do \
41307 diff -urN gtk+-1.2.10.orig/gdk/Makefile.in gtk+-1.2.10/gdk/Makefile.in
41308 --- gtk+-1.2.10.orig/gdk/Makefile.in 2001-04-01 21:14:11.000000000 -0600
41309 +++ gtk+-1.2.10/gdk/Makefile.in 2006-07-09 02:29:45.000000000 -0600
41311 -# Makefile.in generated automatically by automake 1.4 from Makefile.am
41312 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
41314 -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
41315 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
41316 # This Makefile.in is free software; the Free Software Foundation
41317 # gives unlimited permission to copy and/or distribute it,
41318 # with or without modifications, as long as this notice is preserved.
41319 @@ -59,13 +59,22 @@
41321 host_alias = @host_alias@
41322 host_triplet = @host@
41326 CATALOGS = @CATALOGS@
41327 CATOBJEXT = @CATOBJEXT@
41331 DATADIRNAME = @DATADIRNAME@
41332 DLLTOOL = @DLLTOOL@
41338 +GCJFLAGS = @GCJFLAGS@
41339 GDK_WLIBS = @GDK_WLIBS@
41341 GLIB_CFLAGS = @GLIB_CFLAGS@
41342 @@ -85,14 +94,17 @@
41343 GTK_XIM_FLAGS = @GTK_XIM_FLAGS@
41346 +HAVE_LIB = @HAVE_LIB@
41347 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
41349 INSTOBJEXT = @INSTOBJEXT@
41350 INTLDEPS = @INTLDEPS@
41351 INTLLIBS = @INTLLIBS@
41352 INTLOBJS = @INTLOBJS@
41354 LIBTOOL = @LIBTOOL@
41358 LT_CURRENT = @LT_CURRENT@
41359 LT_RELEASE = @LT_RELEASE@
41360 @@ -101,12 +113,16 @@
41361 MAKEINFO = @MAKEINFO@
41362 MKINSTALLDIRS = @MKINSTALLDIRS@
41363 OBJDUMP = @OBJDUMP@
41365 PACKAGE = @PACKAGE@
41367 +PKG_CONFIG = @PKG_CONFIG@
41368 POFILES = @POFILES@
41372 REBUILD = @REBUILD@
41374 STRIP_BEGIN = @STRIP_BEGIN@
41375 STRIP_DUMMY = @STRIP_DUMMY@
41376 STRIP_END = @STRIP_END@
41377 @@ -142,9 +158,10 @@
41378 # setup source file variables
41380 # GDK header files for public installation (non-generated)
41381 -gdk_public_h_sources = @STRIP_BEGIN@ gdk.h gdkcursors.h gdkrgb.h gdki18n.h gdkkeysyms.h gdkprivate.h gdktypes.h gdkx.h @STRIP_END@
41382 +gdk_public_h_sources = gdk.h gdkcursors.h gdkrgb.h gdki18n.h gdkkeysyms.h gdkprivate.h gdktypes.h gdkx.h
41384 -gdk_c_sources = @STRIP_BEGIN@ gdk.c gdkcc.c gdkcolor.c gdkcursor.c gdkdnd.c gdkdraw.c gdkevents.c gdkfont.c gdkgc.c gdkglobals.c gdkim.c gdkimage.c gdkinput.c gdkinput.h gdkinputnone.h gdkinputcommon.h gdkinputgxi.h gdkinputxfree.h gdkpixmap.c gdkproperty.c gdkrgb.c gdkrectangle.c gdkregion.c gdkselection.c gdkvisual.c gdkwindow.c gdkxid.c MwmUtil.h gxid_lib.h gxid_proto.h gxid_lib.c @STRIP_END@
41386 +gdk_c_sources = gdk.c gdkcc.c gdkcolor.c gdkcursor.c gdkdnd.c gdkdraw.c gdkevents.c gdkfont.c gdkgc.c gdkglobals.c gdkim.c gdkimage.c gdkinput.c gdkinput.h gdkinputnone.h gdkinputcommon.h gdkinputgxi.h gdkinputxfree.h gdkpixmap.c gdkproperty.c gdkrgb.c gdkrectangle.c gdkregion.c gdkselection.c gdkvisual.c gdkwindow.c gdkxid.c MwmUtil.h gxid_lib.h gxid_proto.h gxid_lib.c
41390 @@ -152,9 +169,9 @@
41392 libgdkinclude_HEADERS = $(gdk_public_h_sources)
41393 libgdk_la_SOURCES = $(gdk_c_sources)
41394 -MAINTAINERCLEANFILES =
41397 +MAINTAINERCLEANFILES =
41403 @@ -185,9 +202,10 @@
41404 gdkimage.lo gdkinput.lo gdkpixmap.lo gdkproperty.lo gdkrgb.lo \
41405 gdkrectangle.lo gdkregion.lo gdkselection.lo gdkvisual.lo gdkwindow.lo \
41406 gdkxid.lo gxid_lib.lo
41407 +bin_PROGRAMS = @xinput_progs@
41408 PROGRAMS = $(bin_PROGRAMS)
41410 -gxid_OBJECTS = gxid.o
41411 +gxid_OBJECTS = gxid.$(OBJEXT)
41412 gxid_DEPENDENCIES =
41415 @@ -202,18 +220,25 @@
41417 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
41422 +DEP_FILES = .deps/gdk.P .deps/gdkcc.P .deps/gdkcolor.P \
41423 +.deps/gdkcursor.P .deps/gdkdnd.P .deps/gdkdraw.P .deps/gdkevents.P \
41424 +.deps/gdkfont.P .deps/gdkgc.P .deps/gdkglobals.P .deps/gdkim.P \
41425 +.deps/gdkimage.P .deps/gdkinput.P .deps/gdkpixmap.P .deps/gdkproperty.P \
41426 +.deps/gdkrectangle.P .deps/gdkregion.P .deps/gdkrgb.P \
41427 +.deps/gdkselection.P .deps/gdkvisual.P .deps/gdkwindow.P .deps/gdkxid.P \
41428 +.deps/gxid.P .deps/gxid_lib.P
41429 SOURCES = $(libgdk_la_SOURCES) $(gxid_SOURCES)
41430 OBJECTS = $(libgdk_la_OBJECTS) $(gxid_OBJECTS)
41434 -.SUFFIXES: .S .c .lo .o .s
41435 +.SUFFIXES: .S .c .lo .o .obj .s
41436 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
41437 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps gdk/Makefile
41438 + cd $(top_srcdir) && $(AUTOMAKE) --gnu gdk/Makefile
41440 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
41441 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
41442 cd $(top_builddir) \
41443 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
41445 @@ -243,8 +268,10 @@
41446 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
41451 +# FIXME: We should only use cygpath when building on Windows,
41452 +# and only if it is available.
41454 + $(COMPILE) -c `cygpath -w $<`
41458 @@ -254,6 +281,7 @@
41460 mostlyclean-compile:
41461 -rm -f *.o core *.core
41462 + -rm -f *.$(OBJEXT)
41466 @@ -262,9 +290,6 @@
41468 maintainer-clean-compile:
41471 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
41474 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
41476 @@ -309,8 +334,8 @@
41477 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
41480 -gxid: $(gxid_OBJECTS) $(gxid_DEPENDENCIES)
41482 +gxid$(EXEEXT): $(gxid_OBJECTS) $(gxid_DEPENDENCIES)
41483 + @rm -f gxid$(EXEEXT)
41484 $(LINK) $(gxid_LDFLAGS) $(gxid_OBJECTS) $(gxid_LDADD) $(LIBS)
41486 install-libgdkincludeHEADERS: $(libgdkinclude_HEADERS)
41487 @@ -346,7 +371,7 @@
41488 awk ' { files[$$0] = 1; } \
41489 END { for (i in files) print i; }'`; \
41490 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
41491 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
41492 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
41496 @@ -362,6 +387,11 @@
41499 distdir: $(DISTFILES)
41500 + here=`cd $(top_builddir) && pwd`; \
41501 + top_distdir=`cd $(top_distdir) && pwd`; \
41502 + distdir=`cd $(distdir) && pwd`; \
41503 + cd $(top_srcdir) \
41504 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu gdk/Makefile
41505 @for file in $(DISTFILES); do \
41507 if test -d $$d/$$file; then \
41508 @@ -372,55 +402,38 @@
41509 || cp -p $$d/$$file $(distdir)/$$file || :; \
41512 -gdk.lo gdk.o : gdk.c ../config.h gdk.h gdktypes.h gdkcursors.h gdkrgb.h \
41513 - gdkprivate.h gdkinput.h gdkx.h gdkprivate.h gdki18n.h \
41515 -gdkcc.lo gdkcc.o : gdkcc.c gdk.h gdktypes.h gdkcursors.h gdkrgb.h \
41516 - gdkprivate.h gdkx.h gdkprivate.h
41517 -gdkcolor.lo gdkcolor.o : gdkcolor.c gdk.h gdktypes.h gdkcursors.h \
41518 - gdkrgb.h gdkprivate.h gdkx.h gdkprivate.h
41519 -gdkcursor.lo gdkcursor.o : gdkcursor.c gdk.h gdktypes.h gdkcursors.h \
41520 - gdkrgb.h gdkprivate.h
41521 -gdkdnd.lo gdkdnd.o : gdkdnd.c gdkx.h gdkprivate.h gdktypes.h \
41522 - gdkcursors.h gdk.h gdkrgb.h
41523 -gdkdraw.lo gdkdraw.o : gdkdraw.c gdk.h gdktypes.h gdkcursors.h gdkrgb.h \
41525 -gdkevents.lo gdkevents.o : gdkevents.c gdk.h gdktypes.h gdkcursors.h \
41526 - gdkrgb.h gdkx.h gdkprivate.h gdkprivate.h gdkkeysyms.h \
41527 - ../config.h gdkinput.h
41528 -gdkfont.lo gdkfont.o : gdkfont.c gdk.h gdktypes.h gdkcursors.h gdkrgb.h \
41529 - gdkprivate.h ../config.h
41530 -gdkgc.lo gdkgc.o : gdkgc.c gdk.h gdktypes.h gdkcursors.h gdkrgb.h \
41532 -gdkglobals.lo gdkglobals.o : gdkglobals.c gdktypes.h gdkcursors.h \
41533 - gdkprivate.h gdktypes.h ../config.h
41534 -gdkim.lo gdkim.o : gdkim.c gdk.h gdktypes.h gdkcursors.h gdkrgb.h \
41535 - gdkprivate.h gdki18n.h gdkx.h gdkprivate.h ../config.h
41536 -gdkimage.lo gdkimage.o : gdkimage.c ../config.h gdk.h gdktypes.h \
41537 - gdkcursors.h gdkrgb.h gdkprivate.h
41538 -gdkinput.lo gdkinput.o : gdkinput.c ../config.h gdk.h gdktypes.h \
41539 - gdkcursors.h gdkrgb.h gdkx.h gdkprivate.h gdkprivate.h \
41540 - gdkinput.h gdkinputnone.h gdkinputcommon.h gdkinputxfree.h \
41542 -gdkpixmap.lo gdkpixmap.o : gdkpixmap.c ../config.h gdk.h gdktypes.h \
41543 - gdkcursors.h gdkrgb.h gdkprivate.h
41544 -gdkproperty.lo gdkproperty.o : gdkproperty.c gdk.h gdktypes.h \
41545 - gdkcursors.h gdkrgb.h gdkprivate.h
41546 -gdkrectangle.lo gdkrectangle.o : gdkrectangle.c gdk.h gdktypes.h \
41547 - gdkcursors.h gdkrgb.h
41548 -gdkregion.lo gdkregion.o : gdkregion.c gdk.h gdktypes.h gdkcursors.h \
41549 - gdkrgb.h gdkprivate.h
41550 -gdkrgb.lo gdkrgb.o : gdkrgb.c ../config.h gdk.h gdktypes.h gdkcursors.h \
41551 - gdkrgb.h gdkprivate.h gdkrgb.h
41552 -gdkselection.lo gdkselection.o : gdkselection.c gdk.h gdktypes.h \
41553 - gdkcursors.h gdkrgb.h gdkprivate.h gdkx.h gdkprivate.h
41554 -gdkvisual.lo gdkvisual.o : gdkvisual.c gdk.h gdktypes.h gdkcursors.h \
41555 - gdkrgb.h gdkprivate.h gdkx.h gdkprivate.h
41556 -gdkwindow.lo gdkwindow.o : gdkwindow.c gdk.h gdktypes.h gdkcursors.h \
41557 - gdkrgb.h ../config.h gdkinput.h gdkprivate.h MwmUtil.h
41558 -gdkxid.lo gdkxid.o : gdkxid.c gdkprivate.h gdktypes.h gdkcursors.h
41559 -gxid_lib.lo gxid_lib.o : gxid_lib.c ../config.h gxid_lib.h gxid_proto.h
41561 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
41563 +-include $(DEP_FILES)
41565 +mostlyclean-depend:
41572 +maintainer-clean-depend:
41575 + @echo '$(COMPILE) -c $<'; \
41576 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
41577 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
41578 + tr ' ' '\012' < .deps/$(*F).pp \
41579 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
41580 + >> .deps/$(*F).P; \
41581 + rm .deps/$(*F).pp
41584 + @echo '$(LTCOMPILE) -c $<'; \
41585 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
41586 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
41587 + < .deps/$(*F).pp > .deps/$(*F).P; \
41588 + tr ' ' '\012' < .deps/$(*F).pp \
41589 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
41590 + >> .deps/$(*F).P; \
41591 + rm -f .deps/$(*F).pp
41595 @@ -462,19 +475,19 @@
41596 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
41597 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
41598 mostlyclean-libtool mostlyclean-binPROGRAMS \
41599 - mostlyclean-tags mostlyclean-generic
41600 + mostlyclean-tags mostlyclean-depend mostlyclean-generic
41602 mostlyclean: mostlyclean-am
41604 clean-am: clean-libLTLIBRARIES clean-compile clean-libtool \
41605 - clean-binPROGRAMS clean-tags clean-generic \
41606 + clean-binPROGRAMS clean-tags clean-depend clean-generic \
41611 distclean-am: distclean-libLTLIBRARIES distclean-compile \
41612 distclean-libtool distclean-binPROGRAMS distclean-tags \
41613 - distclean-generic clean-am
41614 + distclean-depend distclean-generic clean-am
41617 distclean: distclean-am
41618 @@ -482,7 +495,8 @@
41619 maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
41620 maintainer-clean-compile maintainer-clean-libtool \
41621 maintainer-clean-binPROGRAMS maintainer-clean-tags \
41622 - maintainer-clean-generic distclean-am
41623 + maintainer-clean-depend maintainer-clean-generic \
41625 @echo "This command is intended for maintainers to use;"
41626 @echo "it deletes files that may require special tools to rebuild."
41628 @@ -497,12 +511,13 @@
41629 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
41630 install-binPROGRAMS uninstall-libgdkincludeHEADERS \
41631 install-libgdkincludeHEADERS tags mostlyclean-tags distclean-tags \
41632 -clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
41633 -check-am installcheck-am installcheck install-exec-am install-exec \
41634 -install-data-am install-data install-am install uninstall-am uninstall \
41635 -all-redirect all-am all installdirs mostlyclean-generic \
41636 -distclean-generic clean-generic maintainer-clean-generic clean \
41637 -mostlyclean distclean maintainer-clean
41638 +clean-tags maintainer-clean-tags distdir mostlyclean-depend \
41639 +distclean-depend clean-depend maintainer-clean-depend info-am info \
41640 +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
41641 +install-exec install-data-am install-data install-am install \
41642 +uninstall-am uninstall all-redirect all-am all installdirs \
41643 +mostlyclean-generic distclean-generic clean-generic \
41644 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
41648 diff -urN gtk+-1.2.10.orig/gtk/Makefile.in gtk+-1.2.10/gtk/Makefile.in
41649 --- gtk+-1.2.10.orig/gtk/Makefile.in 2001-04-01 21:14:13.000000000 -0600
41650 +++ gtk+-1.2.10/gtk/Makefile.in 2006-07-09 02:29:45.000000000 -0600
41652 -# Makefile.in generated automatically by automake 1.4 from Makefile.am
41653 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
41655 -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
41656 +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
41657 # This Makefile.in is free software; the Free Software Foundation
41658 # gives unlimited permission to copy and/or distribute it,
41659 # with or without modifications, as long as this notice is preserved.
41660 @@ -59,13 +59,22 @@
41662 host_alias = @host_alias@
41663 host_triplet = @host@
41667 CATALOGS = @CATALOGS@
41668 CATOBJEXT = @CATOBJEXT@
41672 DATADIRNAME = @DATADIRNAME@
41673 DLLTOOL = @DLLTOOL@
41679 +GCJFLAGS = @GCJFLAGS@
41680 GDK_WLIBS = @GDK_WLIBS@
41682 GLIB_CFLAGS = @GLIB_CFLAGS@
41683 @@ -85,14 +94,17 @@
41684 GTK_XIM_FLAGS = @GTK_XIM_FLAGS@
41687 +HAVE_LIB = @HAVE_LIB@
41688 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
41690 INSTOBJEXT = @INSTOBJEXT@
41691 INTLDEPS = @INTLDEPS@
41692 INTLLIBS = @INTLLIBS@
41693 INTLOBJS = @INTLOBJS@
41695 LIBTOOL = @LIBTOOL@
41699 LT_CURRENT = @LT_CURRENT@
41700 LT_RELEASE = @LT_RELEASE@
41701 @@ -101,12 +113,16 @@
41702 MAKEINFO = @MAKEINFO@
41703 MKINSTALLDIRS = @MKINSTALLDIRS@
41704 OBJDUMP = @OBJDUMP@
41706 PACKAGE = @PACKAGE@
41708 +PKG_CONFIG = @PKG_CONFIG@
41709 POFILES = @POFILES@
41713 REBUILD = @REBUILD@
41715 STRIP_BEGIN = @STRIP_BEGIN@
41716 STRIP_DUMMY = @STRIP_DUMMY@
41717 STRIP_END = @STRIP_END@
41718 @@ -143,13 +159,15 @@
41719 # setup source file variables
41721 # GTK+ header files for public installation (non-generated)
41722 -gtk_public_h_sources = @STRIP_BEGIN@ gtk.h gtkaccelgroup.h gtkaccellabel.h gtkadjustment.h gtkalignment.h gtkarg.h gtkarrow.h gtkaspectframe.h gtkbin.h gtkbindings.h gtkbbox.h gtkbox.h gtkbutton.h gtkcalendar.h gtkcheckbutton.h gtkcheckmenuitem.h gtkclist.h gtkcolorsel.h gtkcombo.h gtkcompat.h gtkcontainer.h gtkctree.h gtkcurve.h gtkdata.h gtkdebug.h gtkdialog.h gtkdnd.h gtkdrawingarea.h gtkeditable.h gtkentry.h gtkenums.h gtkeventbox.h gtkfilesel.h gtkfixed.h gtkfontsel.h gtkframe.h gtkgamma.h gtkgc.h gtkhandlebox.h gtkhbbox.h gtkhbox.h gtkhpaned.h gtkhruler.h gtkhscale.h gtkhscrollbar.h gtkhseparator.h gtkimage.h gtkinputdialog.h gtkinvisible.h gtkitem.h gtkitemfactory.h gtklabel.h gtklayout.h gtklist.h gtklistitem.h gtkmain.h gtkmenu.h gtkmenubar.h gtkmenufactory.h gtkmenuitem.h gtkmenushell.h gtkmisc.h gtknotebook.h gtkobject.h gtkoptionmenu.h gtkpacker.h gtkpaned.h gtkpixmap.h gtkplug.h gtkpreview.h gtkprivate.h gtkprogress.h gtkprogressbar.h gtkradiobutton.h gtkradiomenuitem.h gtkrange.h gtkrc.h gtkruler.h gtkscale.h gtkscrollbar.h gtkscrolledwindow.h gtkselection.h gtkseparator.h gtksignal.h gtksocket.h gtkspinbutton.h gtkstyle.h gtkstatusbar.h gtktable.h gtktearoffmenuitem.h gtktext.h gtkthemes.h gtktipsquery.h gtktogglebutton.h gtktoolbar.h gtktooltips.h gtktree.h gtktreeitem.h gtktypeutils.h gtkvbbox.h gtkvbox.h gtkviewport.h gtkvpaned.h gtkvruler.h gtkvscale.h gtkvscrollbar.h gtkvseparator.h gtkwidget.h gtkwindow.h @STRIP_END@
41723 +gtk_public_h_sources = gtk.h gtkaccelgroup.h gtkaccellabel.h gtkadjustment.h gtkalignment.h gtkarg.h gtkarrow.h gtkaspectframe.h gtkbin.h gtkbindings.h gtkbbox.h gtkbox.h gtkbutton.h gtkcalendar.h gtkcheckbutton.h gtkcheckmenuitem.h gtkclist.h gtkcolorsel.h gtkcombo.h gtkcompat.h gtkcontainer.h gtkctree.h gtkcurve.h gtkdata.h gtkdebug.h gtkdialog.h gtkdnd.h gtkdrawingarea.h gtkeditable.h gtkentry.h gtkenums.h gtkeventbox.h gtkfilesel.h gtkfixed.h gtkfontsel.h gtkframe.h gtkgamma.h gtkgc.h gtkhandlebox.h gtkhbbox.h gtkhbox.h gtkhpaned.h gtkhruler.h gtkhscale.h gtkhscrollbar.h gtkhseparator.h gtkimage.h gtkinputdialog.h gtkinvisible.h gtkitem.h gtkitemfactory.h gtklabel.h gtklayout.h gtklist.h gtklistitem.h gtkmain.h gtkmenu.h gtkmenubar.h gtkmenufactory.h gtkmenuitem.h gtkmenushell.h gtkmisc.h gtknotebook.h gtkobject.h gtkoptionmenu.h gtkpacker.h gtkpaned.h gtkpixmap.h gtkplug.h gtkpreview.h gtkprivate.h gtkprogress.h gtkprogressbar.h gtkradiobutton.h gtkradiomenuitem.h gtkrange.h gtkrc.h gtkruler.h gtkscale.h gtkscrollbar.h gtkscrolledwindow.h gtkselection.h gtkseparator.h gtksignal.h gtksocket.h gtkspinbutton.h gtkstyle.h gtkstatusbar.h gtktable.h gtktearoffmenuitem.h gtktext.h gtkthemes.h gtktipsquery.h gtktogglebutton.h gtktoolbar.h gtktooltips.h gtktree.h gtktreeitem.h gtktypeutils.h gtkvbbox.h gtkvbox.h gtkviewport.h gtkvpaned.h gtkvruler.h gtkvscale.h gtkvscrollbar.h gtkvseparator.h gtkwidget.h gtkwindow.h
41726 # GTK+ header files that don't get installed
41727 -gtk_private_h_sources = @STRIP_BEGIN@ @STRIP_END@
41728 +gtk_private_h_sources =
41730 # GTK+ C sources to build the library from
41731 -gtk_c_sources = @STRIP_BEGIN@ gtkaccelgroup.c gtkaccellabel.c gtkadjustment.c gtkalignment.c gtkarg.c gtkarrow.c gtkaspectframe.c gtkbin.c gtkbindings.c gtkbbox.c gtkbox.c gtkbutton.c gtkcalendar.c gtkcheckbutton.c gtkcheckmenuitem.c gtkclist.c gtkcolorsel.c gtkcombo.c gtkcontainer.c gtkctree.c gtkcurve.c gtkdata.c gtkdialog.c gtkdnd.c gtkdrawingarea.c gtkeditable.c gtkentry.c gtkeventbox.c gtkfilesel.c gtkfixed.c gtkfontsel.c gtkframe.c gtkgamma.c gtkgc.c gtkhandlebox.c gtkhbbox.c gtkhbox.c gtkhpaned.c gtkhruler.c gtkhscale.c gtkhscrollbar.c gtkhseparator.c gtkimage.c gtkinputdialog.c gtkintl.h gtkinvisible.c gtkitem.c gtkitemfactory.c gtklabel.c gtklayout.c gtklist.c gtklistitem.c gtkmain.c gtkmarshal.c gtkmenu.c gtkmenubar.c gtkmenufactory.c gtkmenuitem.c gtkmenushell.c gtkmisc.c gtknotebook.c gtkobject.c gtkoptionmenu.c gtkpacker.c gtkpaned.c gtkpixmap.c gtkplug.c gtkpreview.c gtkprogress.c gtkprogressbar.c gtkradiobutton.c gtkradiomenuitem.c gtkrange.c gtkrc.c gtkruler.c gtkscale.c gtkscrollbar.c gtkscrolledwindow.c gtkselection.c gtkseparator.c gtksignal.c gtksocket.c gtkspinbutton.c gtkstyle.c gtkstatusbar.c gtktable.c gtktearoffmenuitem.c gtktext.c gtkthemes.c gtktipsquery.c gtktogglebutton.c gtktoolbar.c gtktooltips.c gtktree.c gtktreeitem.c gtktypeutils.c gtkvbbox.c gtkvbox.c gtkviewport.c gtkvpaned.c gtkvruler.c gtkvscale.c gtkvscrollbar.c gtkvseparator.c gtkwidget.c gtkwindow.c fnmatch.c fnmatch.h @STRIP_END@
41732 +gtk_c_sources = gtkaccelgroup.c gtkaccellabel.c gtkadjustment.c gtkalignment.c gtkarg.c gtkarrow.c gtkaspectframe.c gtkbin.c gtkbindings.c gtkbbox.c gtkbox.c gtkbutton.c gtkcalendar.c gtkcheckbutton.c gtkcheckmenuitem.c gtkclist.c gtkcolorsel.c gtkcombo.c gtkcontainer.c gtkctree.c gtkcurve.c gtkdata.c gtkdialog.c gtkdnd.c gtkdrawingarea.c gtkeditable.c gtkentry.c gtkeventbox.c gtkfilesel.c gtkfixed.c gtkfontsel.c gtkframe.c gtkgamma.c gtkgc.c gtkhandlebox.c gtkhbbox.c gtkhbox.c gtkhpaned.c gtkhruler.c gtkhscale.c gtkhscrollbar.c gtkhseparator.c gtkimage.c gtkinputdialog.c gtkintl.h gtkinvisible.c gtkitem.c gtkitemfactory.c gtklabel.c gtklayout.c gtklist.c gtklistitem.c gtkmain.c gtkmarshal.c gtkmenu.c gtkmenubar.c gtkmenufactory.c gtkmenuitem.c gtkmenushell.c gtkmisc.c gtknotebook.c gtkobject.c gtkoptionmenu.c gtkpacker.c gtkpaned.c gtkpixmap.c gtkplug.c gtkpreview.c gtkprogress.c gtkprogressbar.c gtkradiobutton.c gtkradiomenuitem.c gtkrange.c gtkrc.c gtkruler.c gtkscale.c gtkscrollbar.c gtkscrolledwindow.c gtkselection.c gtkseparator.c gtksignal.c gtksocket.c gtkspinbutton.c gtkstyle.c gtkstatusbar.c gtktable.c gtktearoffmenuitem.c gtktext.c gtkthemes.c gtktipsquery.c gtktogglebutton.c gtktoolbar.c gtktooltips.c gtktree.c gtktreeitem.c gtktypeutils.c gtkvbbox.c gtkvbox.c gtkviewport.c gtkvpaned.c gtkvruler.c gtkvscale.c gtkvscrollbar.c gtkvseparator.c gtkwidget.c gtkwindow.c fnmatch.c fnmatch.h
41735 # we use our own built_sources variable rules to avoid automake's
41736 # BUILT_SOURCES oddities
41737 @@ -158,15 +176,18 @@
41740 # built sources that don't get installed
41741 -gtk_built_sources = @STRIP_BEGIN@ stamp-gtk.defs stamp-gtktypebuiltins.h stamp-gtkmarshal.h gtktypebuiltins_vars.c gtktypebuiltins_ids.c gtktypebuiltins_evals.c gtkmarshal.c gtk.defs @STRIP_END@
41742 +gtk_built_sources = stamp-gtk.defs stamp-gtktypebuiltins.h stamp-gtkmarshal.h gtktypebuiltins_vars.c gtktypebuiltins_ids.c gtktypebuiltins_evals.c gtkmarshal.c gtk.defs
41745 # built sources that get installed with the header files
41746 -gtk_built_public_sources = @STRIP_BEGIN@ gtkmarshal.h gtktypebuiltins.h @STRIP_END@
41747 +gtk_built_public_sources = gtkmarshal.h gtktypebuiltins.h
41750 # non-header sources (headers should be specified in the above variables)
41751 # that don't serve as direct make target sources, i.e. they don't have
41752 # their own .lo rules and don't get publically installed
41753 -gtk_extra_sources = @STRIP_BEGIN@ gtkfeatures.h.in makeenums.pl makeenums.awk maketypes.awk makeenums.h gtkargcollector.c gtk-boxed.defs genmarshal.pl gtkmarshal.list @STRIP_END@
41754 +gtk_extra_sources = gtkfeatures.h.in makeenums.pl makeenums.awk maketypes.awk makeenums.h gtkargcollector.c gtk-boxed.defs genmarshal.pl gtkmarshal.list
41757 # Extra headers that are used for enum type array/id generation
41758 gdk_headers = @STRIP_BEGIN@ ../gdk/gdktypes.h ../gdk/gdkrgb.h @STRIP_END@
41759 @@ -177,10 +198,10 @@
41761 libgtkinclude_HEADERS = $(gtk_public_h_sources) $(gtk_built_public_sources) gtkfeatures.h
41762 libgtk_la_SOURCES = $(gtk_c_sources)
41763 -MAINTAINERCLEANFILES = $(gtk_built_public_sources) $(gtk_built_sources)
41765 +MAINTAINERCLEANFILES = $(gtk_built_public_sources) $(gtk_built_sources)
41768 -EXTRA_DIST = $(gtk_private_h_sources) $(gtk_built_sources) $(gtk_built_public_sources) $(gtk_extra_sources) @STRIP_BEGIN@ testgtk.1 testgtkrc testgtkrc2 circles.xbm line-arrow.xbm line-wrap.xbm tree_plus.xbm tree_minus.xbm 3DRings.xpm FilesQueue.xpm Modeller.xpm check-y.xpm check-n.xpm marble.xpm tree_minus.xpm tree_plus.xpm test.xpm check-y.xpm check-n.xpm test.xpm $(gtkconf_DATA) @STRIP_END@
41769 +EXTRA_DIST = $(gtk_private_h_sources) $(gtk_built_sources) $(gtk_built_public_sources) $(gtk_extra_sources) @STRIP_BEGIN@ testgtk.1 testgtkrc testgtkrc2 circles.xbm line-arrow.xbm line-wrap.xbm tree_plus.xbm tree_minus.xbm 3DRings.xpm FilesQueue.xpm Modeller.xpm check-y.xpm check-n.xpm marble.xpm tree_minus.xpm tree_plus.xpm test.xpm check-y.xpm check-n.xpm test.xpm $(gtkconf_DATA) @STRIP_END@
41773 @@ -188,7 +209,7 @@
41775 # setup autogeneration dependancies
41776 gen_sources = xgen-gdef xgen-gtbh xgen-gtbvc xgen-gtbic xgen-gtbec xgen-gmh xgen-gmc
41777 -CLEANFILES = $(gen_sources)
41778 +CLEANFILES = $(gen_sources)
41780 gtkconfdir = $(sysconfdir)/gtk
41781 gtkconf_DATA = gtkrc.az gtkrc.el gtkrc.eo gtkrc.he gtkrc.hy gtkrc.ja gtkrc.ko gtkrc.ru gtkrc.tr gtkrc.th gtkrc.uk gtkrc.iso-8859-2 gtkrc.iso-8859-5 gtkrc.iso-8859-13 gtkrc.iso-8859-14 gtkrc.iso-8859-15 gtkrc.zh_CN gtkrc.zh_TW.big5 gtkrc.ka_GE.georgianacademy gtkrc.ka_GE.georgianps gtkrc.vi_VN.tcvn gtkrc.vi_VN.viscii gtkrc.cp1251 gtkrc.cp1255
41782 @@ -252,25 +273,28 @@
41783 gtktooltips.lo gtktree.lo gtktreeitem.lo gtktypeutils.lo gtkvbbox.lo \
41784 gtkvbox.lo gtkviewport.lo gtkvpaned.lo gtkvruler.lo gtkvscale.lo \
41785 gtkvscrollbar.lo gtkvseparator.lo gtkwidget.lo gtkwindow.lo fnmatch.lo
41786 +noinst_PROGRAMS = testgtk$(EXEEXT) testinput$(EXEEXT) \
41787 +testselection$(EXEEXT) testrgb$(EXEEXT) testdnd$(EXEEXT) \
41789 PROGRAMS = $(noinst_PROGRAMS)
41791 testgtk_SOURCES = testgtk.c
41792 -testgtk_OBJECTS = testgtk.o
41793 +testgtk_OBJECTS = testgtk.$(OBJEXT)
41795 testinput_SOURCES = testinput.c
41796 -testinput_OBJECTS = testinput.o
41797 +testinput_OBJECTS = testinput.$(OBJEXT)
41798 testinput_LDFLAGS =
41799 testselection_SOURCES = testselection.c
41800 -testselection_OBJECTS = testselection.o
41801 +testselection_OBJECTS = testselection.$(OBJEXT)
41802 testselection_LDFLAGS =
41803 testrgb_SOURCES = testrgb.c
41804 -testrgb_OBJECTS = testrgb.o
41805 +testrgb_OBJECTS = testrgb.$(OBJEXT)
41807 testdnd_SOURCES = testdnd.c
41808 -testdnd_OBJECTS = testdnd.o
41809 +testdnd_OBJECTS = testdnd.$(OBJEXT)
41811 simple_SOURCES = simple.c
41812 -simple_OBJECTS = simple.o
41813 +simple_OBJECTS = simple.$(OBJEXT)
41816 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
41817 @@ -286,18 +310,52 @@
41819 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
41824 +DEP_FILES = .deps/fnmatch.P .deps/gtkaccelgroup.P .deps/gtkaccellabel.P \
41825 +.deps/gtkadjustment.P .deps/gtkalignment.P .deps/gtkarg.P \
41826 +.deps/gtkarrow.P .deps/gtkaspectframe.P .deps/gtkbbox.P .deps/gtkbin.P \
41827 +.deps/gtkbindings.P .deps/gtkbox.P .deps/gtkbutton.P \
41828 +.deps/gtkcalendar.P .deps/gtkcheckbutton.P .deps/gtkcheckmenuitem.P \
41829 +.deps/gtkclist.P .deps/gtkcolorsel.P .deps/gtkcombo.P \
41830 +.deps/gtkcontainer.P .deps/gtkctree.P .deps/gtkcurve.P .deps/gtkdata.P \
41831 +.deps/gtkdialog.P .deps/gtkdnd.P .deps/gtkdrawingarea.P \
41832 +.deps/gtkeditable.P .deps/gtkentry.P .deps/gtkeventbox.P \
41833 +.deps/gtkfilesel.P .deps/gtkfixed.P .deps/gtkfontsel.P .deps/gtkframe.P \
41834 +.deps/gtkgamma.P .deps/gtkgc.P .deps/gtkhandlebox.P .deps/gtkhbbox.P \
41835 +.deps/gtkhbox.P .deps/gtkhpaned.P .deps/gtkhruler.P .deps/gtkhscale.P \
41836 +.deps/gtkhscrollbar.P .deps/gtkhseparator.P .deps/gtkimage.P \
41837 +.deps/gtkinputdialog.P .deps/gtkinvisible.P .deps/gtkitem.P \
41838 +.deps/gtkitemfactory.P .deps/gtklabel.P .deps/gtklayout.P \
41839 +.deps/gtklist.P .deps/gtklistitem.P .deps/gtkmain.P .deps/gtkmarshal.P \
41840 +.deps/gtkmenu.P .deps/gtkmenubar.P .deps/gtkmenufactory.P \
41841 +.deps/gtkmenuitem.P .deps/gtkmenushell.P .deps/gtkmisc.P \
41842 +.deps/gtknotebook.P .deps/gtkobject.P .deps/gtkoptionmenu.P \
41843 +.deps/gtkpacker.P .deps/gtkpaned.P .deps/gtkpixmap.P .deps/gtkplug.P \
41844 +.deps/gtkpreview.P .deps/gtkprogress.P .deps/gtkprogressbar.P \
41845 +.deps/gtkradiobutton.P .deps/gtkradiomenuitem.P .deps/gtkrange.P \
41846 +.deps/gtkrc.P .deps/gtkruler.P .deps/gtkscale.P .deps/gtkscrollbar.P \
41847 +.deps/gtkscrolledwindow.P .deps/gtkselection.P .deps/gtkseparator.P \
41848 +.deps/gtksignal.P .deps/gtksocket.P .deps/gtkspinbutton.P \
41849 +.deps/gtkstatusbar.P .deps/gtkstyle.P .deps/gtktable.P \
41850 +.deps/gtktearoffmenuitem.P .deps/gtktext.P .deps/gtkthemes.P \
41851 +.deps/gtktipsquery.P .deps/gtktogglebutton.P .deps/gtktoolbar.P \
41852 +.deps/gtktooltips.P .deps/gtktree.P .deps/gtktreeitem.P \
41853 +.deps/gtktypeutils.P .deps/gtkvbbox.P .deps/gtkvbox.P \
41854 +.deps/gtkviewport.P .deps/gtkvpaned.P .deps/gtkvruler.P \
41855 +.deps/gtkvscale.P .deps/gtkvscrollbar.P .deps/gtkvseparator.P \
41856 +.deps/gtkwidget.P .deps/gtkwindow.P .deps/simple.P .deps/testdnd.P \
41857 +.deps/testgtk.P .deps/testinput.P .deps/testrgb.P .deps/testselection.P
41858 SOURCES = $(libgtk_la_SOURCES) testgtk.c testinput.c testselection.c testrgb.c testdnd.c simple.c
41859 -OBJECTS = $(libgtk_la_OBJECTS) testgtk.o testinput.o testselection.o testrgb.o testdnd.o simple.o
41860 +OBJECTS = $(libgtk_la_OBJECTS) testgtk.$(OBJEXT) testinput.$(OBJEXT) testselection.$(OBJEXT) testrgb.$(OBJEXT) testdnd.$(OBJEXT) simple.$(OBJEXT)
41864 -.SUFFIXES: .S .c .lo .o .s
41865 +.SUFFIXES: .S .c .lo .o .obj .s
41866 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
41867 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps gtk/Makefile
41868 + cd $(top_srcdir) && $(AUTOMAKE) --gnu gtk/Makefile
41870 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
41871 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
41872 cd $(top_builddir) \
41873 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
41875 @@ -329,8 +387,10 @@
41876 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
41881 +# FIXME: We should only use cygpath when building on Windows,
41882 +# and only if it is available.
41884 + $(COMPILE) -c `cygpath -w $<`
41888 @@ -340,6 +400,7 @@
41890 mostlyclean-compile:
41891 -rm -f *.o core *.core
41892 + -rm -f *.$(OBJEXT)
41896 @@ -348,9 +409,6 @@
41898 maintainer-clean-compile:
41901 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
41904 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
41906 @@ -379,28 +437,28 @@
41908 maintainer-clean-noinstPROGRAMS:
41910 -testgtk: $(testgtk_OBJECTS) $(testgtk_DEPENDENCIES)
41912 +testgtk$(EXEEXT): $(testgtk_OBJECTS) $(testgtk_DEPENDENCIES)
41913 + @rm -f testgtk$(EXEEXT)
41914 $(LINK) $(testgtk_LDFLAGS) $(testgtk_OBJECTS) $(testgtk_LDADD) $(LIBS)
41916 -testinput: $(testinput_OBJECTS) $(testinput_DEPENDENCIES)
41918 +testinput$(EXEEXT): $(testinput_OBJECTS) $(testinput_DEPENDENCIES)
41919 + @rm -f testinput$(EXEEXT)
41920 $(LINK) $(testinput_LDFLAGS) $(testinput_OBJECTS) $(testinput_LDADD) $(LIBS)
41922 -testselection: $(testselection_OBJECTS) $(testselection_DEPENDENCIES)
41923 - @rm -f testselection
41924 +testselection$(EXEEXT): $(testselection_OBJECTS) $(testselection_DEPENDENCIES)
41925 + @rm -f testselection$(EXEEXT)
41926 $(LINK) $(testselection_LDFLAGS) $(testselection_OBJECTS) $(testselection_LDADD) $(LIBS)
41928 -testrgb: $(testrgb_OBJECTS) $(testrgb_DEPENDENCIES)
41930 +testrgb$(EXEEXT): $(testrgb_OBJECTS) $(testrgb_DEPENDENCIES)
41931 + @rm -f testrgb$(EXEEXT)
41932 $(LINK) $(testrgb_LDFLAGS) $(testrgb_OBJECTS) $(testrgb_LDADD) $(LIBS)
41934 -testdnd: $(testdnd_OBJECTS) $(testdnd_DEPENDENCIES)
41936 +testdnd$(EXEEXT): $(testdnd_OBJECTS) $(testdnd_DEPENDENCIES)
41937 + @rm -f testdnd$(EXEEXT)
41938 $(LINK) $(testdnd_LDFLAGS) $(testdnd_OBJECTS) $(testdnd_LDADD) $(LIBS)
41940 -simple: $(simple_OBJECTS) $(simple_DEPENDENCIES)
41942 +simple$(EXEEXT): $(simple_OBJECTS) $(simple_DEPENDENCIES)
41943 + @rm -f simple$(EXEEXT)
41944 $(LINK) $(simple_LDFLAGS) $(simple_OBJECTS) $(simple_LDADD) $(LIBS)
41946 install-gtkconfDATA: $(gtkconf_DATA)
41947 @@ -455,7 +513,7 @@
41948 awk ' { files[$$0] = 1; } \
41949 END { for (i in files) print i; }'`; \
41950 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
41951 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
41952 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
41956 @@ -471,6 +529,11 @@
41959 distdir: $(DISTFILES)
41960 + here=`cd $(top_builddir) && pwd`; \
41961 + top_distdir=`cd $(top_distdir) && pwd`; \
41962 + distdir=`cd $(distdir) && pwd`; \
41963 + cd $(top_srcdir) \
41964 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu gtk/Makefile
41965 @for file in $(DISTFILES); do \
41967 if test -d $$d/$$file; then \
41968 @@ -481,866 +544,38 @@
41969 || cp -p $$d/$$file $(distdir)/$$file || :; \
41972 -fnmatch.lo fnmatch.o : fnmatch.c ../config.h fnmatch.h
41973 -gtkaccelgroup.lo gtkaccelgroup.o : gtkaccelgroup.c gtkaccelgroup.h \
41974 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
41975 - ../gdk/gdkrgb.h gtkobject.h gtkarg.h gtktypeutils.h \
41976 - gtktypebuiltins.h gtkenums.h gtkdebug.h ../gdk/gdkkeysyms.h \
41977 - gtksignal.h gtkmarshal.h gtkwidget.h gtkaccelgroup.h \
41978 - gtkadjustment.h gtkdata.h gtkstyle.h
41979 -gtkaccellabel.lo gtkaccellabel.o : gtkaccellabel.c gtkmain.h \
41980 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
41981 - ../gdk/gdkrgb.h gtkwidget.h gtkaccelgroup.h gtkobject.h \
41982 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
41983 - gtkadjustment.h gtkdata.h gtkstyle.h gtksignal.h gtkmarshal.h \
41984 - gtkaccellabel.h gtklabel.h gtkmisc.h
41985 -gtkadjustment.lo gtkadjustment.o : gtkadjustment.c gtkadjustment.h \
41986 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
41987 - ../gdk/gdkrgb.h gtkdata.h gtkobject.h gtkarg.h gtktypeutils.h \
41988 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtksignal.h \
41990 -gtkalignment.lo gtkalignment.o : gtkalignment.c gtkalignment.h \
41991 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
41992 - ../gdk/gdkrgb.h gtkbin.h gtkcontainer.h gtkenums.h gtkwidget.h \
41993 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
41994 - gtktypebuiltins.h gtkdebug.h gtkadjustment.h gtkdata.h \
41996 -gtkarg.lo gtkarg.o : gtkarg.c gtkobject.h gtkarg.h gtktypeutils.h \
41997 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkargcollector.c
41998 -gtkarrow.lo gtkarrow.o : gtkarrow.c gtkarrow.h ../gdk/gdk.h \
41999 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkmisc.h \
42000 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42001 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42002 - gtkdata.h gtkstyle.h
42003 -gtkaspectframe.lo gtkaspectframe.o : gtkaspectframe.c gtkaspectframe.h \
42004 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42005 - ../gdk/gdkrgb.h gtkbin.h gtkcontainer.h gtkenums.h gtkwidget.h \
42006 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42007 - gtktypebuiltins.h gtkdebug.h gtkadjustment.h gtkdata.h \
42008 - gtkstyle.h gtkframe.h
42009 -gtkbbox.lo gtkbbox.o : gtkbbox.c gtkbbox.h gtkbox.h ../gdk/gdk.h \
42010 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42011 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42012 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42013 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h
42014 -gtkbin.lo gtkbin.o : gtkbin.c gtkbin.h ../gdk/gdk.h ../gdk/gdktypes.h \
42015 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkcontainer.h gtkenums.h \
42016 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42017 - gtktypebuiltins.h gtkdebug.h gtkadjustment.h gtkdata.h \
42019 -gtkbindings.lo gtkbindings.o : gtkbindings.c gtkbindings.h ../gdk/gdk.h \
42020 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42021 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42022 - gtkenums.h gtkdebug.h gtksignal.h gtkmarshal.h gtkwidget.h \
42023 - gtkaccelgroup.h gtkadjustment.h gtkdata.h gtkstyle.h gtkrc.h \
42025 -gtkbox.lo gtkbox.o : gtkbox.c gtkbox.h ../gdk/gdk.h ../gdk/gdktypes.h \
42026 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkcontainer.h gtkenums.h \
42027 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42028 - gtktypebuiltins.h gtkdebug.h gtkadjustment.h gtkdata.h \
42030 -gtkbutton.lo gtkbutton.o : gtkbutton.c gtkbutton.h ../gdk/gdk.h \
42031 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkbin.h \
42032 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42033 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42034 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtklabel.h \
42035 - gtkmisc.h gtkmain.h gtksignal.h gtkmarshal.h
42036 -gtkcalendar.lo gtkcalendar.o : gtkcalendar.c gtkcalendar.h ../gdk/gdk.h \
42037 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42038 - gtksignal.h gtkenums.h gtkobject.h gtkarg.h gtktypeutils.h \
42039 - gtktypebuiltins.h gtkdebug.h gtkmarshal.h gtkwidget.h \
42040 - gtkaccelgroup.h gtkadjustment.h gtkdata.h gtkstyle.h \
42041 - ../gdk/gdkkeysyms.h
42042 -gtkcheckbutton.lo gtkcheckbutton.o : gtkcheckbutton.c gtkcheckbutton.h \
42043 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42044 - ../gdk/gdkrgb.h gtktogglebutton.h gtkbutton.h gtkbin.h \
42045 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42046 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42047 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtklabel.h \
42049 -gtkcheckmenuitem.lo gtkcheckmenuitem.o : gtkcheckmenuitem.c \
42050 - gtkcheckmenuitem.h ../gdk/gdk.h ../gdk/gdktypes.h \
42051 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkmenuitem.h gtkitem.h \
42052 - gtkbin.h gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42053 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42054 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtkaccellabel.h \
42055 - gtklabel.h gtkmisc.h gtksignal.h gtkmarshal.h
42056 -gtkclist.lo gtkclist.o : gtkclist.c ../config.h gtkmain.h ../gdk/gdk.h \
42057 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42058 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42059 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42060 - gtkdata.h gtkstyle.h gtkclist.h gtksignal.h gtkmarshal.h \
42061 - gtkalignment.h gtkbin.h gtkcontainer.h gtklabel.h gtkmisc.h \
42062 - gtkbutton.h gtkhscrollbar.h gtkscrollbar.h gtkrange.h \
42063 - gtkvscrollbar.h gtkbindings.h gtkdnd.h gtkselection.h \
42064 - gtkwindow.h ../gdk/gdkx.h ../gdk/gdkprivate.h \
42065 - ../gdk/gdkkeysyms.h
42066 -gtkcolorsel.lo gtkcolorsel.o : gtkcolorsel.c ../gdk/gdk.h \
42067 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42068 - gtkcolorsel.h gtkwindow.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42069 - gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h gtkbin.h \
42070 - gtkcontainer.h gtkwidget.h gtkadjustment.h gtkdata.h gtkstyle.h \
42071 - gtkvbox.h gtkbox.h gtkframe.h gtkpreview.h gtkbutton.h \
42072 - gtkentry.h gtkeditable.h gtkhbox.h gtklabel.h gtkmisc.h \
42073 - gtkmain.h gtksignal.h gtkmarshal.h gtkrange.h gtkscale.h \
42074 - gtkhscale.h gtktable.h gtkeventbox.h gtkwindow.h gtkhbbox.h \
42075 - gtkbbox.h gtkintl.h ../config.h gtkdnd.h gtkselection.h \
42077 -gtkcombo.lo gtkcombo.o : gtkcombo.c gtkarrow.h ../gdk/gdk.h \
42078 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkmisc.h \
42079 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42080 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42081 - gtkdata.h gtkstyle.h gtklabel.h gtklist.h gtkcontainer.h \
42082 - gtklistitem.h gtkitem.h gtkbin.h gtkentry.h gtkeditable.h \
42083 - gtkeventbox.h gtkbutton.h gtklistitem.h gtkscrolledwindow.h \
42084 - gtkhscrollbar.h gtkscrollbar.h gtkrange.h gtkvscrollbar.h \
42085 - gtkviewport.h gtkmain.h gtksignal.h gtkmarshal.h gtkwindow.h \
42086 - ../gdk/gdkkeysyms.h gtkcombo.h gtkhbox.h gtkbox.h gtkframe.h
42087 -gtkcontainer.lo gtkcontainer.o : gtkcontainer.c gtkcontainer.h \
42088 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42089 - ../gdk/gdkrgb.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42090 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42091 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtkprivate.h \
42092 - gtksignal.h gtkmarshal.h gtkmain.h
42093 -gtkctree.lo gtkctree.o : gtkctree.c gtkctree.h gtkclist.h ../gdk/gdk.h \
42094 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42095 - gtksignal.h gtkenums.h gtkobject.h gtkarg.h gtktypeutils.h \
42096 - gtktypebuiltins.h gtkdebug.h gtkmarshal.h gtkalignment.h \
42097 - gtkbin.h gtkcontainer.h gtkwidget.h gtkaccelgroup.h \
42098 - gtkadjustment.h gtkdata.h gtkstyle.h gtklabel.h gtkmisc.h \
42099 - gtkbutton.h gtkhscrollbar.h gtkscrollbar.h gtkrange.h \
42100 - gtkvscrollbar.h gtkbindings.h gtkmain.h gtkdnd.h gtkselection.h \
42101 - ../gdk/gdkx.h ../gdk/gdkprivate.h ../gdk/gdkkeysyms.h
42102 -gtkcurve.lo gtkcurve.o : gtkcurve.c gtkcurve.h ../gdk/gdk.h \
42103 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42104 - gtkdrawingarea.h gtkwidget.h gtkaccelgroup.h gtkobject.h \
42105 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42106 - gtkadjustment.h gtkdata.h gtkstyle.h gtkdrawingarea.h gtkmain.h \
42107 - gtkradiobutton.h gtkcheckbutton.h gtktogglebutton.h gtkbutton.h \
42108 - gtkbin.h gtkcontainer.h gtksignal.h gtkmarshal.h gtktable.h
42109 -gtkdata.lo gtkdata.o : gtkdata.c gtkdata.h ../gdk/gdk.h \
42110 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42111 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42112 - gtkenums.h gtkdebug.h gtksignal.h gtkmarshal.h
42113 -gtkdialog.lo gtkdialog.o : gtkdialog.c gtkbutton.h ../gdk/gdk.h \
42114 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkbin.h \
42115 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42116 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42117 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtkdialog.h \
42118 - gtkwindow.h gtkhbox.h gtkbox.h gtkhseparator.h gtkseparator.h \
42120 -gtkdnd.lo gtkdnd.o : gtkdnd.c ../gdk/gdkx.h ../gdk/gdkprivate.h \
42121 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkkeysyms.h \
42122 - gtkdnd.h ../gdk/gdk.h ../gdk/gdkrgb.h gtkenums.h gtkwidget.h \
42123 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42124 - gtktypebuiltins.h gtkdebug.h gtkadjustment.h gtkdata.h \
42125 - gtkstyle.h gtkselection.h gtkinvisible.h gtkbin.h \
42126 - gtkcontainer.h gtkmain.h gtksignal.h gtkmarshal.h gtkwindow.h
42127 -gtkdrawingarea.lo gtkdrawingarea.o : gtkdrawingarea.c gtkdrawingarea.h \
42128 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42129 - ../gdk/gdkrgb.h gtkwidget.h gtkaccelgroup.h gtkobject.h \
42130 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42131 - gtkadjustment.h gtkdata.h gtkstyle.h
42132 -gtkeditable.lo gtkeditable.o : gtkeditable.c ../gdk/gdkx.h \
42133 - ../gdk/gdkprivate.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42134 - ../gdk/gdkkeysyms.h ../gdk/gdki18n.h gtkeditable.h ../gdk/gdk.h \
42135 - ../gdk/gdkrgb.h gtkwidget.h gtkaccelgroup.h gtkobject.h \
42136 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42137 - gtkadjustment.h gtkdata.h gtkstyle.h gtkmain.h gtkselection.h \
42138 - gtksignal.h gtkmarshal.h
42139 -gtkentry.lo gtkentry.o : gtkentry.c ../gdk/gdkkeysyms.h ../gdk/gdki18n.h \
42140 - gtkentry.h ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42141 - ../gdk/gdkrgb.h gtkeditable.h gtkwidget.h gtkaccelgroup.h \
42142 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42143 - gtkenums.h gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h \
42144 - gtkmain.h gtkselection.h gtksignal.h gtkmarshal.h gtkstyle.h
42145 -gtkeventbox.lo gtkeventbox.o : gtkeventbox.c gtksignal.h ../gdk/gdk.h \
42146 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42147 - gtkenums.h gtkobject.h gtkarg.h gtktypeutils.h \
42148 - gtktypebuiltins.h gtkdebug.h gtkmarshal.h gtkeventbox.h \
42149 - gtkbin.h gtkcontainer.h gtkwidget.h gtkaccelgroup.h \
42150 - gtkadjustment.h gtkdata.h gtkstyle.h
42151 -gtkfilesel.lo gtkfilesel.o : gtkfilesel.c fnmatch.h ../gdk/gdkkeysyms.h \
42152 - gtkbutton.h ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42153 - ../gdk/gdkrgb.h gtkbin.h gtkcontainer.h gtkenums.h gtkwidget.h \
42154 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42155 - gtktypebuiltins.h gtkdebug.h gtkadjustment.h gtkdata.h \
42156 - gtkstyle.h gtkentry.h gtkeditable.h gtkfilesel.h gtkwindow.h \
42157 - gtkhbox.h gtkbox.h gtkhbbox.h gtkbbox.h gtklabel.h gtkmisc.h \
42158 - gtklist.h gtklistitem.h gtkitem.h gtklistitem.h gtkmain.h \
42159 - gtkscrolledwindow.h gtkhscrollbar.h gtkscrollbar.h gtkrange.h \
42160 - gtkvscrollbar.h gtkviewport.h gtksignal.h gtkmarshal.h \
42161 - gtkvbox.h gtkmenu.h gtkmenushell.h gtkmenuitem.h \
42162 - gtkoptionmenu.h gtkbutton.h gtkclist.h gtksignal.h \
42163 - gtkalignment.h gtklabel.h gtkdialog.h gtkintl.h ../config.h
42164 -gtkfixed.lo gtkfixed.o : gtkfixed.c gtkfixed.h ../gdk/gdk.h \
42165 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42166 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42167 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42168 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h
42169 -gtkfontsel.lo gtkfontsel.o : gtkfontsel.c ../gdk/gdkx.h \
42170 - ../gdk/gdkprivate.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42171 - ../gdk/gdkkeysyms.h gtkbutton.h ../gdk/gdk.h ../gdk/gdkrgb.h \
42172 - gtkbin.h gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42173 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42174 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h \
42175 - gtkcheckbutton.h gtktogglebutton.h gtkbutton.h gtkclist.h \
42176 - gtksignal.h gtkmarshal.h gtkalignment.h gtklabel.h gtkmisc.h \
42177 - gtkhscrollbar.h gtkscrollbar.h gtkrange.h gtkvscrollbar.h \
42178 - gtkentry.h gtkeditable.h gtkfontsel.h gtkwindow.h gtknotebook.h \
42179 - gtkframe.h gtkhbbox.h gtkbbox.h gtkbox.h gtkhbox.h gtklabel.h \
42180 - gtknotebook.h gtkradiobutton.h gtkcheckbutton.h gtksignal.h \
42181 - gtktable.h gtkvbox.h gtkscrolledwindow.h gtkviewport.h \
42182 - gtkintl.h ../config.h
42183 -gtkframe.lo gtkframe.o : gtkframe.c gtkframe.h ../gdk/gdk.h \
42184 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkbin.h \
42185 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42186 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42187 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h
42188 -gtkgamma.lo gtkgamma.o : gtkgamma.c gtkgamma.h ../gdk/gdk.h \
42189 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkvbox.h \
42190 - gtkbox.h gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42191 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42192 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtkcurve.h \
42193 - gtkdrawingarea.h gtkdialog.h gtkwindow.h gtkbin.h \
42194 - gtkdrawingarea.h gtkentry.h gtkeditable.h gtkhbox.h gtklabel.h \
42195 - gtkmisc.h gtkmain.h gtkpixmap.h gtkradiobutton.h \
42196 - gtkcheckbutton.h gtktogglebutton.h gtkbutton.h gtksignal.h \
42197 - gtkmarshal.h gtktable.h gtkvbox.h gtkwindow.h gtkintl.h \
42199 -gtkgc.lo gtkgc.o : gtkgc.c gtkgc.h ../gdk/gdk.h ../gdk/gdktypes.h \
42200 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h
42201 -gtkhandlebox.lo gtkhandlebox.o : gtkhandlebox.c ../gdk/gdkx.h \
42202 - ../gdk/gdkprivate.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42203 - gtkhandlebox.h ../gdk/gdk.h ../gdk/gdkrgb.h gtkbin.h \
42204 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42205 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42206 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtkinvisible.h \
42207 - gtkmain.h gtksignal.h gtkmarshal.h gtkwindow.h
42208 -gtkhbbox.lo gtkhbbox.o : gtkhbbox.c gtkhbbox.h gtkbbox.h gtkbox.h \
42209 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42210 - ../gdk/gdkrgb.h gtkcontainer.h gtkenums.h gtkwidget.h \
42211 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42212 - gtktypebuiltins.h gtkdebug.h gtkadjustment.h gtkdata.h \
42214 -gtkhbox.lo gtkhbox.o : gtkhbox.c gtkhbox.h ../gdk/gdk.h \
42215 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkbox.h \
42216 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42217 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42218 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h
42219 -gtkhpaned.lo gtkhpaned.o : gtkhpaned.c gtkhpaned.h ../gdk/gdk.h \
42220 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42221 - gtkpaned.h gtkcontainer.h gtkenums.h gtkwidget.h \
42222 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42223 - gtktypebuiltins.h gtkdebug.h gtkadjustment.h gtkdata.h \
42224 - gtkstyle.h gtkmain.h gtksignal.h gtkmarshal.h
42225 -gtkhruler.lo gtkhruler.o : gtkhruler.c gtkhruler.h ../gdk/gdk.h \
42226 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42227 - gtkruler.h gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42228 - gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42229 - gtkadjustment.h gtkdata.h gtkstyle.h
42230 -gtkhscale.lo gtkhscale.o : gtkhscale.c gtkhscale.h ../gdk/gdk.h \
42231 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42232 - gtkscale.h gtkrange.h gtkadjustment.h gtkdata.h gtkobject.h \
42233 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42234 - gtkwidget.h gtkaccelgroup.h gtkstyle.h gtksignal.h gtkmarshal.h \
42235 - ../gdk/gdkkeysyms.h
42236 -gtkhscrollbar.lo gtkhscrollbar.o : gtkhscrollbar.c gtkhscrollbar.h \
42237 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42238 - ../gdk/gdkrgb.h gtkscrollbar.h gtkrange.h gtkadjustment.h \
42239 - gtkdata.h gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42240 - gtkenums.h gtkdebug.h gtkwidget.h gtkaccelgroup.h gtkstyle.h \
42241 - gtksignal.h gtkmarshal.h ../gdk/gdkkeysyms.h
42242 -gtkhseparator.lo gtkhseparator.o : gtkhseparator.c gtkhseparator.h \
42243 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42244 - ../gdk/gdkrgb.h gtkseparator.h gtkwidget.h gtkaccelgroup.h \
42245 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42246 - gtkenums.h gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h
42247 -gtkimage.lo gtkimage.o : gtkimage.c gtkcontainer.h ../gdk/gdk.h \
42248 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42249 - gtkenums.h gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42250 - gtktypeutils.h gtktypebuiltins.h gtkdebug.h gtkadjustment.h \
42251 - gtkdata.h gtkstyle.h gtkimage.h gtkmisc.h
42252 -gtkinputdialog.lo gtkinputdialog.o : gtkinputdialog.c \
42253 - ../gdk/gdkkeysyms.h gtkbutton.h ../gdk/gdk.h ../gdk/gdktypes.h \
42254 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkbin.h gtkcontainer.h \
42255 - gtkenums.h gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42256 - gtktypeutils.h gtktypebuiltins.h gtkdebug.h gtkadjustment.h \
42257 - gtkdata.h gtkstyle.h gtkentry.h gtkeditable.h gtkhbox.h \
42258 - gtkbox.h gtkhseparator.h gtkseparator.h gtkinputdialog.h \
42259 - gtkdialog.h gtkwindow.h gtklabel.h gtkmisc.h gtklistitem.h \
42260 - gtkitem.h gtkmain.h gtkmenu.h gtkmenushell.h gtkmenuitem.h \
42261 - gtknotebook.h gtkoptionmenu.h gtkbutton.h gtkscrolledwindow.h \
42262 - gtkhscrollbar.h gtkscrollbar.h gtkrange.h gtkvscrollbar.h \
42263 - gtkviewport.h gtksignal.h gtkmarshal.h gtktable.h gtkvbox.h \
42264 - gtkintl.h ../config.h
42265 -gtkinvisible.lo gtkinvisible.o : gtkinvisible.c gtksignal.h ../gdk/gdk.h \
42266 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42267 - gtkenums.h gtkobject.h gtkarg.h gtktypeutils.h \
42268 - gtktypebuiltins.h gtkdebug.h gtkmarshal.h gtkinvisible.h \
42269 - gtkbin.h gtkcontainer.h gtkwidget.h gtkaccelgroup.h \
42270 - gtkadjustment.h gtkdata.h gtkstyle.h
42271 -gtkitem.lo gtkitem.o : gtkitem.c gtkitem.h ../gdk/gdk.h \
42272 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkbin.h \
42273 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42274 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42275 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtksignal.h \
42277 -gtkitemfactory.lo gtkitemfactory.o : gtkitemfactory.c gtkitemfactory.h \
42278 - gtkwidget.h ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42279 - ../gdk/gdkrgb.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42280 - gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42281 - gtkadjustment.h gtkdata.h gtkstyle.h gtkmenufactory.h \
42282 - gtkbindings.h gtksignal.h gtkmarshal.h gtkoptionmenu.h \
42283 - gtkbutton.h gtkbin.h gtkcontainer.h gtkmenubar.h gtkmenushell.h \
42284 - gtkmenu.h gtkmenuitem.h gtkitem.h gtkradiomenuitem.h \
42285 - gtkcheckmenuitem.h gtktearoffmenuitem.h gtkaccellabel.h \
42286 - gtklabel.h gtkmisc.h ../gdk/gdkkeysyms.h
42287 -gtklabel.lo gtklabel.o : gtklabel.c gtklabel.h ../gdk/gdk.h \
42288 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkmisc.h \
42289 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42290 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42291 - gtkdata.h gtkstyle.h ../gdk/gdkkeysyms.h ../gdk/gdki18n.h
42292 -gtklayout.lo gtklayout.o : gtklayout.c gtklayout.h ../gdk/gdk.h \
42293 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42294 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42295 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42296 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtksignal.h \
42297 - gtkmarshal.h gtkprivate.h ../gdk/gdkx.h ../gdk/gdkprivate.h
42298 -gtklist.lo gtklist.o : gtklist.c gtklist.h ../gdk/gdk.h \
42299 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42300 - gtkenums.h gtkcontainer.h gtkwidget.h gtkaccelgroup.h \
42301 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42302 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtklistitem.h \
42303 - gtkitem.h gtkbin.h gtklistitem.h gtkmain.h gtksignal.h \
42304 - gtkmarshal.h gtklabel.h gtkmisc.h
42305 -gtklistitem.lo gtklistitem.o : gtklistitem.c gtkbindings.h ../gdk/gdk.h \
42306 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42307 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42308 - gtkenums.h gtkdebug.h gtklabel.h gtkmisc.h gtkwidget.h \
42309 - gtkaccelgroup.h gtkadjustment.h gtkdata.h gtkstyle.h \
42310 - gtklistitem.h gtkitem.h gtkbin.h gtkcontainer.h gtklist.h \
42311 - gtklistitem.h gtksignal.h gtkmarshal.h ../gdk/gdkkeysyms.h
42312 -gtkmain.lo gtkmain.o : gtkmain.c gtkbutton.h ../gdk/gdk.h \
42313 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkbin.h \
42314 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42315 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42316 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtkdnd.h \
42317 - gtkselection.h gtkfeatures.h gtkhscrollbar.h gtkscrollbar.h \
42318 - gtkrange.h gtkhseparator.h gtkseparator.h gtkmain.h \
42319 - gtkpreview.h gtkrc.h gtkscrolledwindow.h gtkhscrollbar.h \
42320 - gtkvscrollbar.h gtkviewport.h gtkselection.h gtksignal.h \
42321 - gtkmarshal.h gtktable.h gtktext.h gtkeditable.h gtkvbox.h \
42322 - gtkbox.h gtkvscrollbar.h gtkwidget.h gtkwindow.h gtkprivate.h \
42323 - ../gdk/gdki18n.h ../config.h gtkdebug.h gtkintl.h
42324 -gtkmarshal.lo gtkmarshal.o : gtkmarshal.c gtkmarshal.h gtktypeutils.h \
42325 - gtktypebuiltins.h gtkobject.h gtkarg.h gtkenums.h gtkdebug.h
42326 -gtkmenu.lo gtkmenu.o : gtkmenu.c ../gdk/gdkkeysyms.h gtkbindings.h \
42327 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42328 - ../gdk/gdkrgb.h gtkobject.h gtkarg.h gtktypeutils.h \
42329 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtklabel.h gtkmisc.h \
42330 - gtkwidget.h gtkaccelgroup.h gtkadjustment.h gtkdata.h \
42331 - gtkstyle.h gtkmain.h gtkmenu.h gtkmenushell.h gtkcontainer.h \
42332 - gtkmenuitem.h gtkitem.h gtkbin.h gtksignal.h gtkmarshal.h \
42334 -gtkmenubar.lo gtkmenubar.o : gtkmenubar.c ../gdk/gdkkeysyms.h \
42335 - gtkbindings.h ../gdk/gdk.h ../gdk/gdktypes.h \
42336 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkobject.h gtkarg.h \
42337 - gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42338 - gtkmain.h gtkwidget.h gtkaccelgroup.h gtkadjustment.h gtkdata.h \
42339 - gtkstyle.h gtkmenubar.h gtkmenushell.h gtkcontainer.h \
42340 - gtkmenuitem.h gtkitem.h gtkbin.h
42341 -gtkmenufactory.lo gtkmenufactory.o : gtkmenufactory.c gtkcheckmenuitem.h \
42342 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42343 - ../gdk/gdkrgb.h gtkmenuitem.h gtkitem.h gtkbin.h gtkcontainer.h \
42344 - gtkenums.h gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42345 - gtktypeutils.h gtktypebuiltins.h gtkdebug.h gtkadjustment.h \
42346 - gtkdata.h gtkstyle.h gtkmenu.h gtkmenushell.h gtkmenubar.h \
42347 - gtkmenufactory.h gtkmenuitem.h gtksignal.h gtkmarshal.h
42348 -gtkmenuitem.lo gtkmenuitem.o : gtkmenuitem.c gtkaccellabel.h gtklabel.h \
42349 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42350 - ../gdk/gdkrgb.h gtkmisc.h gtkwidget.h gtkaccelgroup.h \
42351 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42352 - gtkenums.h gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h \
42353 - gtkmain.h gtkmenu.h gtkmenushell.h gtkcontainer.h gtkmenubar.h \
42354 - gtkmenuitem.h gtkitem.h gtkbin.h gtksignal.h gtkmarshal.h
42355 -gtkmenushell.lo gtkmenushell.o : gtkmenushell.c ../gdk/gdkkeysyms.h \
42356 - gtkbindings.h ../gdk/gdk.h ../gdk/gdktypes.h \
42357 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkobject.h gtkarg.h \
42358 - gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42359 - gtkmain.h gtkwidget.h gtkaccelgroup.h gtkadjustment.h gtkdata.h \
42360 - gtkstyle.h gtkmenuitem.h gtkitem.h gtkbin.h gtkcontainer.h \
42361 - gtktearoffmenuitem.h gtkmenuitem.h gtkmenushell.h gtksignal.h \
42363 -gtkmisc.lo gtkmisc.o : gtkmisc.c gtkcontainer.h ../gdk/gdk.h \
42364 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42365 - gtkenums.h gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42366 - gtktypeutils.h gtktypebuiltins.h gtkdebug.h gtkadjustment.h \
42367 - gtkdata.h gtkstyle.h gtkmisc.h
42368 -gtknotebook.lo gtknotebook.o : gtknotebook.c gtknotebook.h ../gdk/gdk.h \
42369 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42370 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42371 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42372 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtksignal.h \
42373 - gtkmarshal.h gtkmain.h gtkmenu.h gtkmenushell.h gtkmenuitem.h \
42374 - gtkitem.h gtkbin.h gtklabel.h gtkmisc.h ../gdk/gdkkeysyms.h \
42375 - gtkintl.h ../config.h
42376 -gtkobject.lo gtkobject.o : gtkobject.c gtkobject.h gtkarg.h \
42377 - gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42378 - gtksignal.h ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42379 - ../gdk/gdkrgb.h gtkobject.h gtkmarshal.h
42380 -gtkoptionmenu.lo gtkoptionmenu.o : gtkoptionmenu.c gtkmenu.h \
42381 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42382 - ../gdk/gdkrgb.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42383 - gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42384 - gtkmenushell.h gtkcontainer.h gtkwidget.h gtkadjustment.h \
42385 - gtkdata.h gtkstyle.h gtkmenuitem.h gtkitem.h gtkbin.h \
42386 - gtkoptionmenu.h gtkbutton.h gtksignal.h gtkmarshal.h \
42387 - ../gdk/gdkkeysyms.h
42388 -gtkpacker.lo gtkpacker.o : gtkpacker.c gtkpacker.h gtkcontainer.h \
42389 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42390 - ../gdk/gdkrgb.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42391 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42392 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h
42393 -gtkpaned.lo gtkpaned.o : gtkpaned.c gtkpaned.h ../gdk/gdk.h \
42394 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42395 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42396 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42397 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtkhpaned.h \
42399 -gtkpixmap.lo gtkpixmap.o : gtkpixmap.c gtkcontainer.h ../gdk/gdk.h \
42400 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42401 - gtkenums.h gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42402 - gtktypeutils.h gtktypebuiltins.h gtkdebug.h gtkadjustment.h \
42403 - gtkdata.h gtkstyle.h gtkpixmap.h gtkmisc.h
42404 -gtkplug.lo gtkplug.o : gtkplug.c ../gdk/gdkx.h ../gdk/gdkprivate.h \
42405 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkkeysyms.h \
42406 - gtkplug.h ../gdk/gdk.h ../gdk/gdkrgb.h gtkwindow.h \
42407 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42408 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkbin.h gtkcontainer.h \
42409 - gtkwidget.h gtkadjustment.h gtkdata.h gtkstyle.h
42410 -gtkpreview.lo gtkpreview.o : gtkpreview.c ../gdk/gdkx.h \
42411 - ../gdk/gdkprivate.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42412 - ../gdk/gdkrgb.h gtkpreview.h gtkwidget.h ../gdk/gdk.h \
42413 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42414 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42415 - gtkdata.h gtkstyle.h gtksignal.h gtkmarshal.h
42416 -gtkprogress.lo gtkprogress.o : gtkprogress.c gtkprogress.h ../gdk/gdk.h \
42417 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42418 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42419 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42420 - gtkdata.h gtkstyle.h gtksignal.h gtkmarshal.h
42421 -gtkprogressbar.lo gtkprogressbar.o : gtkprogressbar.c ../config.h \
42422 - gtkprogressbar.h ../gdk/gdk.h ../gdk/gdktypes.h \
42423 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkprogress.h gtkwidget.h \
42424 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42425 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42426 - gtkdata.h gtkstyle.h gtksignal.h gtkmarshal.h
42427 -gtkradiobutton.lo gtkradiobutton.o : gtkradiobutton.c gtklabel.h \
42428 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42429 - ../gdk/gdkrgb.h gtkmisc.h gtkwidget.h gtkaccelgroup.h \
42430 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42431 - gtkenums.h gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h \
42432 - gtkradiobutton.h gtkcheckbutton.h gtktogglebutton.h gtkbutton.h \
42433 - gtkbin.h gtkcontainer.h gtksignal.h gtkmarshal.h
42434 -gtkradiomenuitem.lo gtkradiomenuitem.o : gtkradiomenuitem.c \
42435 - gtkaccellabel.h gtklabel.h ../gdk/gdk.h ../gdk/gdktypes.h \
42436 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkmisc.h gtkwidget.h \
42437 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42438 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42439 - gtkdata.h gtkstyle.h gtkradiomenuitem.h gtkcheckmenuitem.h \
42440 - gtkmenuitem.h gtkitem.h gtkbin.h gtkcontainer.h
42441 -gtkrange.lo gtkrange.o : gtkrange.c gtkmain.h ../gdk/gdk.h \
42442 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42443 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42444 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42445 - gtkdata.h gtkstyle.h gtkrange.h gtksignal.h gtkmarshal.h
42446 -gtkrc.lo gtkrc.o : gtkrc.c gtkrc.h gtkstyle.h ../gdk/gdk.h \
42447 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42448 - gtkenums.h gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42449 - gtktypeutils.h gtktypebuiltins.h gtkdebug.h gtkadjustment.h \
42450 - gtkdata.h gtkbindings.h gtkthemes.h gtkintl.h ../config.h
42451 -gtkruler.lo gtkruler.o : gtkruler.c gtkruler.h ../gdk/gdk.h \
42452 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42453 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42454 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42455 - gtkdata.h gtkstyle.h
42456 -gtkscale.lo gtkscale.o : gtkscale.c gtkcontainer.h ../gdk/gdk.h \
42457 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42458 - gtkenums.h gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42459 - gtktypeutils.h gtktypebuiltins.h gtkdebug.h gtkadjustment.h \
42460 - gtkdata.h gtkstyle.h gtkscale.h gtkrange.h
42461 -gtkscrollbar.lo gtkscrollbar.o : gtkscrollbar.c gtkscrollbar.h \
42462 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42463 - ../gdk/gdkrgb.h gtkrange.h gtkadjustment.h gtkdata.h \
42464 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42465 - gtkenums.h gtkdebug.h gtkwidget.h gtkaccelgroup.h gtkstyle.h
42466 -gtkscrolledwindow.lo gtkscrolledwindow.o : gtkscrolledwindow.c \
42467 - gtkscrolledwindow.h ../gdk/gdk.h ../gdk/gdktypes.h \
42468 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkhscrollbar.h \
42469 - gtkscrollbar.h gtkrange.h gtkadjustment.h gtkdata.h gtkobject.h \
42470 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42471 - gtkwidget.h gtkaccelgroup.h gtkstyle.h gtkvscrollbar.h \
42472 - gtkviewport.h gtkbin.h gtkcontainer.h gtksignal.h gtkmarshal.h
42473 -gtkselection.lo gtkselection.o : gtkselection.c ../gdk/gdkx.h \
42474 - ../gdk/gdkprivate.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42475 - gtkmain.h ../gdk/gdk.h ../gdk/gdkrgb.h gtkwidget.h \
42476 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42477 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42478 - gtkdata.h gtkstyle.h gtkselection.h gtksignal.h gtkmarshal.h
42479 -gtkseparator.lo gtkseparator.o : gtkseparator.c gtkseparator.h \
42480 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42481 - ../gdk/gdkrgb.h gtkwidget.h gtkaccelgroup.h gtkobject.h \
42482 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42483 - gtkadjustment.h gtkdata.h gtkstyle.h
42484 -gtksignal.lo gtksignal.o : gtksignal.c gtksignal.h ../gdk/gdk.h \
42485 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42486 - gtkenums.h gtkobject.h gtkarg.h gtktypeutils.h \
42487 - gtktypebuiltins.h gtkdebug.h gtkmarshal.h gtkargcollector.c
42488 -gtksocket.lo gtksocket.o : gtksocket.c ../gdk/gdkx.h ../gdk/gdkprivate.h \
42489 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkkeysyms.h \
42490 - gtkwindow.h ../gdk/gdk.h ../gdk/gdkrgb.h gtkaccelgroup.h \
42491 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42492 - gtkenums.h gtkdebug.h gtkbin.h gtkcontainer.h gtkwidget.h \
42493 - gtkadjustment.h gtkdata.h gtkstyle.h gtksignal.h gtkmarshal.h \
42494 - gtksocket.h gtkdnd.h gtkselection.h
42495 -gtkspinbutton.lo gtkspinbutton.o : gtkspinbutton.c ../gdk/gdkkeysyms.h \
42496 - gtkspinbutton.h ../gdk/gdk.h ../gdk/gdktypes.h \
42497 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkentry.h gtkeditable.h \
42498 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42499 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42500 - gtkdata.h gtkstyle.h gtkmain.h gtksignal.h gtkmarshal.h
42501 -gtkstatusbar.lo gtkstatusbar.o : gtkstatusbar.c gtkframe.h ../gdk/gdk.h \
42502 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkbin.h \
42503 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42504 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42505 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtklabel.h \
42506 - gtkmisc.h gtksignal.h gtkmarshal.h gtkstatusbar.h gtkhbox.h \
42508 -gtkstyle.lo gtkstyle.o : gtkstyle.c gtkgc.h ../gdk/gdk.h \
42509 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkrc.h \
42510 - gtkstyle.h gtkenums.h gtkwidget.h gtkaccelgroup.h gtkobject.h \
42511 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkdebug.h \
42512 - gtkadjustment.h gtkdata.h gtkstyle.h gtkwidget.h gtkthemes.h \
42513 - ../gdk/gdkprivate.h
42514 -gtktable.lo gtktable.o : gtktable.c gtktable.h ../gdk/gdk.h \
42515 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42516 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42517 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42518 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h
42519 -gtktearoffmenuitem.lo gtktearoffmenuitem.o : gtktearoffmenuitem.c \
42520 - gtkmenu.h ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42521 - ../gdk/gdkrgb.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42522 - gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42523 - gtkmenushell.h gtkcontainer.h gtkwidget.h gtkadjustment.h \
42524 - gtkdata.h gtkstyle.h gtksignal.h gtkmarshal.h \
42525 - gtktearoffmenuitem.h gtkmenuitem.h gtkitem.h gtkbin.h
42526 -gtktext.lo gtktext.o : gtktext.c ../gdk/gdkkeysyms.h ../gdk/gdki18n.h \
42527 - gtkmain.h ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42528 - ../gdk/gdkrgb.h gtkwidget.h gtkaccelgroup.h gtkobject.h \
42529 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42530 - gtkadjustment.h gtkdata.h gtkstyle.h gtkselection.h gtksignal.h \
42531 - gtkmarshal.h gtktext.h gtkeditable.h line-wrap.xbm \
42533 -gtkthemes.lo gtkthemes.o : gtkthemes.c gtkthemes.h ../gdk/gdk.h \
42534 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42535 - gtkstyle.h gtkenums.h gtkwidget.h gtkaccelgroup.h gtkobject.h \
42536 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkdebug.h \
42537 - gtkadjustment.h gtkdata.h gtkmain.h gtkrc.h gtkselection.h \
42538 - gtksignal.h gtkmarshal.h gtkwidget.h ../config.h gtkintl.h
42539 -gtktipsquery.lo gtktipsquery.o : gtktipsquery.c gtktipsquery.h \
42540 - gtklabel.h ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42541 - ../gdk/gdkrgb.h gtkmisc.h gtkwidget.h gtkaccelgroup.h \
42542 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42543 - gtkenums.h gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h \
42544 - gtksignal.h gtkmarshal.h gtktooltips.h gtkmain.h gtkintl.h \
42546 -gtktogglebutton.lo gtktogglebutton.o : gtktogglebutton.c gtklabel.h \
42547 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42548 - ../gdk/gdkrgb.h gtkmisc.h gtkwidget.h gtkaccelgroup.h \
42549 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42550 - gtkenums.h gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h \
42551 - gtkmain.h gtksignal.h gtkmarshal.h gtktogglebutton.h \
42552 - gtkbutton.h gtkbin.h gtkcontainer.h
42553 -gtktoolbar.lo gtktoolbar.o : gtktoolbar.c gtkbutton.h ../gdk/gdk.h \
42554 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkbin.h \
42555 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42556 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42557 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h \
42558 - gtktogglebutton.h gtkbutton.h gtkradiobutton.h gtkcheckbutton.h \
42559 - gtktogglebutton.h gtklabel.h gtkmisc.h gtkvbox.h gtkbox.h \
42560 - gtktoolbar.h gtkpixmap.h gtksignal.h gtkmarshal.h gtktooltips.h
42561 -gtktooltips.lo gtktooltips.o : gtktooltips.c gtkmain.h ../gdk/gdk.h \
42562 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42563 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42564 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42565 - gtkdata.h gtkstyle.h gtkwidget.h gtkwindow.h gtkbin.h \
42566 - gtkcontainer.h gtksignal.h gtkmarshal.h gtkstyle.h \
42568 -gtktree.lo gtktree.o : gtktree.c gtktree.h ../gdk/gdk.h \
42569 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42570 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42571 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42572 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h gtktreeitem.h \
42573 - gtkitem.h gtkbin.h gtkmain.h gtksignal.h gtkmarshal.h gtklist.h \
42575 -gtktreeitem.lo gtktreeitem.o : gtktreeitem.c gtklabel.h ../gdk/gdk.h \
42576 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkmisc.h \
42577 - gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42578 - gtktypebuiltins.h gtkenums.h gtkdebug.h gtkadjustment.h \
42579 - gtkdata.h gtkstyle.h gtktree.h gtkcontainer.h gtktreeitem.h \
42580 - gtkitem.h gtkbin.h gtkeventbox.h gtkpixmap.h gtkmain.h \
42581 - gtksignal.h gtkmarshal.h tree_plus.xpm tree_minus.xpm
42582 -gtktypeutils.lo gtktypeutils.o : gtktypeutils.c gtktypeutils.h \
42583 - gtktypebuiltins.h makeenums.h ../gdk/gdkprivate.h \
42584 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdk.h \
42585 - ../gdk/gdkrgb.h gtk.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42586 - gtktypeutils.h gtkenums.h gtkdebug.h gtkaccellabel.h gtklabel.h \
42587 - gtkmisc.h gtkwidget.h gtkadjustment.h gtkdata.h gtkstyle.h \
42588 - gtkalignment.h gtkbin.h gtkcontainer.h gtkaspectframe.h \
42589 - gtkframe.h gtkarrow.h gtkbindings.h gtkbox.h gtkbbox.h \
42590 - gtkbutton.h gtkcalendar.h gtksignal.h gtkmarshal.h \
42591 - gtkcheckbutton.h gtktogglebutton.h gtkcheckmenuitem.h \
42592 - gtkmenuitem.h gtkitem.h gtkclist.h gtkhscrollbar.h \
42593 - gtkscrollbar.h gtkrange.h gtkvscrollbar.h gtkcolorsel.h \
42594 - gtkwindow.h gtkvbox.h gtkpreview.h gtkentry.h gtkeditable.h \
42595 - gtkhbox.h gtkmain.h gtkscale.h gtkhscale.h gtktable.h \
42596 - gtkeventbox.h gtkcombo.h gtkcompat.h gtkctree.h gtkcurve.h \
42597 - gtkdrawingarea.h gtkdialog.h gtkdnd.h gtkselection.h \
42598 - gtkfeatures.h gtkfilesel.h gtkfixed.h gtkfontsel.h \
42599 - gtknotebook.h gtkgamma.h gtkgc.h gtkhandlebox.h gtkhbbox.h \
42600 - gtkhpaned.h gtkpaned.h gtkhruler.h gtkruler.h gtkhseparator.h \
42601 - gtkseparator.h gtkimage.h gtkinputdialog.h gtkitemfactory.h \
42602 - gtkmenufactory.h gtklayout.h gtklist.h gtklistitem.h gtkmenu.h \
42603 - gtkmenushell.h gtkmenubar.h gtkoptionmenu.h gtkpacker.h \
42604 - gtkpixmap.h gtkplug.h gtkprogress.h gtkprogressbar.h \
42605 - gtkradiobutton.h gtkradiomenuitem.h gtkrc.h gtkscrolledwindow.h \
42606 - gtkviewport.h gtksocket.h gtkspinbutton.h gtkstatusbar.h \
42607 - gtktearoffmenuitem.h gtktext.h gtkthemes.h gtktipsquery.h \
42608 - gtktoolbar.h gtktooltips.h gtktree.h gtktreeitem.h gtkvbbox.h \
42609 - gtkvpaned.h gtkvruler.h gtkvscale.h gtkvseparator.h \
42610 - gtkprivate.h gtktypebuiltins_vars.c gtktypebuiltins_evals.c \
42611 - gtktypebuiltins_ids.c
42612 -gtkvbbox.lo gtkvbbox.o : gtkvbbox.c gtkvbbox.h gtkbbox.h gtkbox.h \
42613 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42614 - ../gdk/gdkrgb.h gtkcontainer.h gtkenums.h gtkwidget.h \
42615 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42616 - gtktypebuiltins.h gtkdebug.h gtkadjustment.h gtkdata.h \
42618 -gtkvbox.lo gtkvbox.o : gtkvbox.c gtkvbox.h ../gdk/gdk.h \
42619 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkbox.h \
42620 - gtkcontainer.h gtkenums.h gtkwidget.h gtkaccelgroup.h \
42621 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42622 - gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h
42623 -gtkviewport.lo gtkviewport.o : gtkviewport.c gtksignal.h ../gdk/gdk.h \
42624 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42625 - gtkenums.h gtkobject.h gtkarg.h gtktypeutils.h \
42626 - gtktypebuiltins.h gtkdebug.h gtkmarshal.h gtkviewport.h \
42627 - gtkadjustment.h gtkdata.h gtkbin.h gtkcontainer.h gtkwidget.h \
42628 - gtkaccelgroup.h gtkstyle.h
42629 -gtkvpaned.lo gtkvpaned.o : gtkvpaned.c gtkvpaned.h ../gdk/gdk.h \
42630 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42631 - gtkpaned.h gtkcontainer.h gtkenums.h gtkwidget.h \
42632 - gtkaccelgroup.h gtkobject.h gtkarg.h gtktypeutils.h \
42633 - gtktypebuiltins.h gtkdebug.h gtkadjustment.h gtkdata.h \
42634 - gtkstyle.h gtkmain.h gtksignal.h gtkmarshal.h
42635 -gtkvruler.lo gtkvruler.o : gtkvruler.c gtkvruler.h ../gdk/gdk.h \
42636 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42637 - gtkruler.h gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42638 - gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42639 - gtkadjustment.h gtkdata.h gtkstyle.h
42640 -gtkvscale.lo gtkvscale.o : gtkvscale.c gtkvscale.h ../gdk/gdk.h \
42641 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42642 - gtkscale.h gtkrange.h gtkadjustment.h gtkdata.h gtkobject.h \
42643 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42644 - gtkwidget.h gtkaccelgroup.h gtkstyle.h gtksignal.h gtkmarshal.h \
42645 - ../gdk/gdkkeysyms.h
42646 -gtkvscrollbar.lo gtkvscrollbar.o : gtkvscrollbar.c gtkvscrollbar.h \
42647 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42648 - ../gdk/gdkrgb.h gtkscrollbar.h gtkrange.h gtkadjustment.h \
42649 - gtkdata.h gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42650 - gtkenums.h gtkdebug.h gtkwidget.h gtkaccelgroup.h gtkstyle.h \
42651 - gtksignal.h gtkmarshal.h ../gdk/gdkkeysyms.h
42652 -gtkvseparator.lo gtkvseparator.o : gtkvseparator.c gtkvseparator.h \
42653 - ../gdk/gdk.h ../gdk/gdktypes.h ../gdk/gdkcursors.h \
42654 - ../gdk/gdkrgb.h gtkseparator.h gtkwidget.h gtkaccelgroup.h \
42655 - gtkobject.h gtkarg.h gtktypeutils.h gtktypebuiltins.h \
42656 - gtkenums.h gtkdebug.h gtkadjustment.h gtkdata.h gtkstyle.h
42657 -gtkwidget.lo gtkwidget.o : gtkwidget.c gtkcontainer.h ../gdk/gdk.h \
42658 - ../gdk/gdktypes.h ../gdk/gdkcursors.h ../gdk/gdkrgb.h \
42659 - gtkenums.h gtkwidget.h gtkaccelgroup.h gtkobject.h gtkarg.h \
42660 - gtktypeutils.h gtktypebuiltins.h gtkdebug.h gtkadjustment.h \
42661 - gtkdata.h gtkstyle.h gtkmain.h gtkrc.h gtkselection.h \
42662 - gtksignal.h gtkmarshal.h gtkwidget.h gtkwindow.h gtkbin.h \
42663 - gtkcontainer.h gtkbindings.h gtkprivate.h ../gdk/gdkx.h \
42664 - ../gdk/gdkprivate.h
42665 -gtkwindow.lo gtkwindow.o : gtkwindow.c ../gdk/gdk.h ../gdk/gdktypes.h \
42666 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h ../gdk/gdkkeysyms.h \
42667 - ../gdk/gdkx.h ../gdk/gdkprivate.h gtkprivate.h gtkobject.h \
42668 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42669 - gtkwidget.h gtkaccelgroup.h gtkadjustment.h gtkdata.h \
42670 - gtkstyle.h gtkrc.h gtksignal.h gtkmarshal.h gtkwindow.h \
42671 - gtkbin.h gtkcontainer.h gtkbindings.h gtkmain.h
42672 -simple.o: simple.c gtk.h ../gdk/gdk.h ../gdk/gdktypes.h \
42673 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkaccelgroup.h gtkobject.h \
42674 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42675 - gtkaccellabel.h gtklabel.h gtkmisc.h gtkwidget.h \
42676 - gtkadjustment.h gtkdata.h gtkstyle.h gtkalignment.h gtkbin.h \
42677 - gtkcontainer.h gtkaspectframe.h gtkframe.h gtkarrow.h \
42678 - gtkbindings.h gtkbox.h gtkbbox.h gtkbutton.h gtkcalendar.h \
42679 - gtksignal.h gtkmarshal.h gtkcheckbutton.h gtktogglebutton.h \
42680 - gtkcheckmenuitem.h gtkmenuitem.h gtkitem.h gtkclist.h \
42681 - gtkhscrollbar.h gtkscrollbar.h gtkrange.h gtkvscrollbar.h \
42682 - gtkcolorsel.h gtkwindow.h gtkvbox.h gtkpreview.h gtkentry.h \
42683 - gtkeditable.h gtkhbox.h gtkmain.h gtkscale.h gtkhscale.h \
42684 - gtktable.h gtkeventbox.h gtkcombo.h gtkcompat.h gtkctree.h \
42685 - gtkcurve.h gtkdrawingarea.h gtkdialog.h gtkdnd.h gtkselection.h \
42686 - gtkfeatures.h gtkfilesel.h gtkfixed.h gtkfontsel.h \
42687 - gtknotebook.h gtkgamma.h gtkgc.h gtkhandlebox.h gtkhbbox.h \
42688 - gtkhpaned.h gtkpaned.h gtkhruler.h gtkruler.h gtkhseparator.h \
42689 - gtkseparator.h gtkimage.h gtkinputdialog.h gtkitemfactory.h \
42690 - gtkmenufactory.h gtklayout.h gtklist.h gtklistitem.h gtkmenu.h \
42691 - gtkmenushell.h gtkmenubar.h gtkoptionmenu.h gtkpacker.h \
42692 - gtkpixmap.h gtkplug.h gtkprogress.h gtkprogressbar.h \
42693 - gtkradiobutton.h gtkradiomenuitem.h gtkrc.h gtkscrolledwindow.h \
42694 - gtkviewport.h gtksocket.h gtkspinbutton.h gtkstatusbar.h \
42695 - gtktearoffmenuitem.h gtktext.h gtkthemes.h gtktipsquery.h \
42696 - gtktoolbar.h gtktooltips.h gtktree.h gtktreeitem.h gtkvbbox.h \
42697 - gtkvpaned.h gtkvruler.h gtkvscale.h gtkvseparator.h \
42698 - ../gdk/gdkprivate.h
42699 -testdnd.o: testdnd.c gtk.h ../gdk/gdk.h ../gdk/gdktypes.h \
42700 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkaccelgroup.h gtkobject.h \
42701 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42702 - gtkaccellabel.h gtklabel.h gtkmisc.h gtkwidget.h \
42703 - gtkadjustment.h gtkdata.h gtkstyle.h gtkalignment.h gtkbin.h \
42704 - gtkcontainer.h gtkaspectframe.h gtkframe.h gtkarrow.h \
42705 - gtkbindings.h gtkbox.h gtkbbox.h gtkbutton.h gtkcalendar.h \
42706 - gtksignal.h gtkmarshal.h gtkcheckbutton.h gtktogglebutton.h \
42707 - gtkcheckmenuitem.h gtkmenuitem.h gtkitem.h gtkclist.h \
42708 - gtkhscrollbar.h gtkscrollbar.h gtkrange.h gtkvscrollbar.h \
42709 - gtkcolorsel.h gtkwindow.h gtkvbox.h gtkpreview.h gtkentry.h \
42710 - gtkeditable.h gtkhbox.h gtkmain.h gtkscale.h gtkhscale.h \
42711 - gtktable.h gtkeventbox.h gtkcombo.h gtkcompat.h gtkctree.h \
42712 - gtkcurve.h gtkdrawingarea.h gtkdialog.h gtkdnd.h gtkselection.h \
42713 - gtkfeatures.h gtkfilesel.h gtkfixed.h gtkfontsel.h \
42714 - gtknotebook.h gtkgamma.h gtkgc.h gtkhandlebox.h gtkhbbox.h \
42715 - gtkhpaned.h gtkpaned.h gtkhruler.h gtkruler.h gtkhseparator.h \
42716 - gtkseparator.h gtkimage.h gtkinputdialog.h gtkitemfactory.h \
42717 - gtkmenufactory.h gtklayout.h gtklist.h gtklistitem.h gtkmenu.h \
42718 - gtkmenushell.h gtkmenubar.h gtkoptionmenu.h gtkpacker.h \
42719 - gtkpixmap.h gtkplug.h gtkprogress.h gtkprogressbar.h \
42720 - gtkradiobutton.h gtkradiomenuitem.h gtkrc.h gtkscrolledwindow.h \
42721 - gtkviewport.h gtksocket.h gtkspinbutton.h gtkstatusbar.h \
42722 - gtktearoffmenuitem.h gtktext.h gtkthemes.h gtktipsquery.h \
42723 - gtktoolbar.h gtktooltips.h gtktree.h gtktreeitem.h gtkvbbox.h \
42724 - gtkvpaned.h gtkvruler.h gtkvscale.h gtkvseparator.h
42725 -testgtk.o: testgtk.c gtk.h ../gdk/gdk.h ../gdk/gdktypes.h \
42726 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkaccelgroup.h gtkobject.h \
42727 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42728 - gtkaccellabel.h gtklabel.h gtkmisc.h gtkwidget.h \
42729 - gtkadjustment.h gtkdata.h gtkstyle.h gtkalignment.h gtkbin.h \
42730 - gtkcontainer.h gtkaspectframe.h gtkframe.h gtkarrow.h \
42731 - gtkbindings.h gtkbox.h gtkbbox.h gtkbutton.h gtkcalendar.h \
42732 - gtksignal.h gtkmarshal.h gtkcheckbutton.h gtktogglebutton.h \
42733 - gtkcheckmenuitem.h gtkmenuitem.h gtkitem.h gtkclist.h \
42734 - gtkhscrollbar.h gtkscrollbar.h gtkrange.h gtkvscrollbar.h \
42735 - gtkcolorsel.h gtkwindow.h gtkvbox.h gtkpreview.h gtkentry.h \
42736 - gtkeditable.h gtkhbox.h gtkmain.h gtkscale.h gtkhscale.h \
42737 - gtktable.h gtkeventbox.h gtkcombo.h gtkcompat.h gtkctree.h \
42738 - gtkcurve.h gtkdrawingarea.h gtkdialog.h gtkdnd.h gtkselection.h \
42739 - gtkfeatures.h gtkfilesel.h gtkfixed.h gtkfontsel.h \
42740 - gtknotebook.h gtkgamma.h gtkgc.h gtkhandlebox.h gtkhbbox.h \
42741 - gtkhpaned.h gtkpaned.h gtkhruler.h gtkruler.h gtkhseparator.h \
42742 - gtkseparator.h gtkimage.h gtkinputdialog.h gtkitemfactory.h \
42743 - gtkmenufactory.h gtklayout.h gtklist.h gtklistitem.h gtkmenu.h \
42744 - gtkmenushell.h gtkmenubar.h gtkoptionmenu.h gtkpacker.h \
42745 - gtkpixmap.h gtkplug.h gtkprogress.h gtkprogressbar.h \
42746 - gtkradiobutton.h gtkradiomenuitem.h gtkrc.h gtkscrolledwindow.h \
42747 - gtkviewport.h gtksocket.h gtkspinbutton.h gtkstatusbar.h \
42748 - gtktearoffmenuitem.h gtktext.h gtkthemes.h gtktipsquery.h \
42749 - gtktoolbar.h gtktooltips.h gtktree.h gtktreeitem.h gtkvbbox.h \
42750 - gtkvpaned.h gtkvruler.h gtkvscale.h gtkvseparator.h \
42751 - ../gdk/gdkx.h ../gdk/gdkprivate.h ../gdk/gdkkeysyms.h \
42753 -testinput.o: testinput.c gtk.h ../gdk/gdk.h ../gdk/gdktypes.h \
42754 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkaccelgroup.h gtkobject.h \
42755 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42756 - gtkaccellabel.h gtklabel.h gtkmisc.h gtkwidget.h \
42757 - gtkadjustment.h gtkdata.h gtkstyle.h gtkalignment.h gtkbin.h \
42758 - gtkcontainer.h gtkaspectframe.h gtkframe.h gtkarrow.h \
42759 - gtkbindings.h gtkbox.h gtkbbox.h gtkbutton.h gtkcalendar.h \
42760 - gtksignal.h gtkmarshal.h gtkcheckbutton.h gtktogglebutton.h \
42761 - gtkcheckmenuitem.h gtkmenuitem.h gtkitem.h gtkclist.h \
42762 - gtkhscrollbar.h gtkscrollbar.h gtkrange.h gtkvscrollbar.h \
42763 - gtkcolorsel.h gtkwindow.h gtkvbox.h gtkpreview.h gtkentry.h \
42764 - gtkeditable.h gtkhbox.h gtkmain.h gtkscale.h gtkhscale.h \
42765 - gtktable.h gtkeventbox.h gtkcombo.h gtkcompat.h gtkctree.h \
42766 - gtkcurve.h gtkdrawingarea.h gtkdialog.h gtkdnd.h gtkselection.h \
42767 - gtkfeatures.h gtkfilesel.h gtkfixed.h gtkfontsel.h \
42768 - gtknotebook.h gtkgamma.h gtkgc.h gtkhandlebox.h gtkhbbox.h \
42769 - gtkhpaned.h gtkpaned.h gtkhruler.h gtkruler.h gtkhseparator.h \
42770 - gtkseparator.h gtkimage.h gtkinputdialog.h gtkitemfactory.h \
42771 - gtkmenufactory.h gtklayout.h gtklist.h gtklistitem.h gtkmenu.h \
42772 - gtkmenushell.h gtkmenubar.h gtkoptionmenu.h gtkpacker.h \
42773 - gtkpixmap.h gtkplug.h gtkprogress.h gtkprogressbar.h \
42774 - gtkradiobutton.h gtkradiomenuitem.h gtkrc.h gtkscrolledwindow.h \
42775 - gtkviewport.h gtksocket.h gtkspinbutton.h gtkstatusbar.h \
42776 - gtktearoffmenuitem.h gtktext.h gtkthemes.h gtktipsquery.h \
42777 - gtktoolbar.h gtktooltips.h gtktree.h gtktreeitem.h gtkvbbox.h \
42778 - gtkvpaned.h gtkvruler.h gtkvscale.h gtkvseparator.h
42779 -testrgb.o: testrgb.c gtk.h ../gdk/gdk.h ../gdk/gdktypes.h \
42780 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkaccelgroup.h gtkobject.h \
42781 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42782 - gtkaccellabel.h gtklabel.h gtkmisc.h gtkwidget.h \
42783 - gtkadjustment.h gtkdata.h gtkstyle.h gtkalignment.h gtkbin.h \
42784 - gtkcontainer.h gtkaspectframe.h gtkframe.h gtkarrow.h \
42785 - gtkbindings.h gtkbox.h gtkbbox.h gtkbutton.h gtkcalendar.h \
42786 - gtksignal.h gtkmarshal.h gtkcheckbutton.h gtktogglebutton.h \
42787 - gtkcheckmenuitem.h gtkmenuitem.h gtkitem.h gtkclist.h \
42788 - gtkhscrollbar.h gtkscrollbar.h gtkrange.h gtkvscrollbar.h \
42789 - gtkcolorsel.h gtkwindow.h gtkvbox.h gtkpreview.h gtkentry.h \
42790 - gtkeditable.h gtkhbox.h gtkmain.h gtkscale.h gtkhscale.h \
42791 - gtktable.h gtkeventbox.h gtkcombo.h gtkcompat.h gtkctree.h \
42792 - gtkcurve.h gtkdrawingarea.h gtkdialog.h gtkdnd.h gtkselection.h \
42793 - gtkfeatures.h gtkfilesel.h gtkfixed.h gtkfontsel.h \
42794 - gtknotebook.h gtkgamma.h gtkgc.h gtkhandlebox.h gtkhbbox.h \
42795 - gtkhpaned.h gtkpaned.h gtkhruler.h gtkruler.h gtkhseparator.h \
42796 - gtkseparator.h gtkimage.h gtkinputdialog.h gtkitemfactory.h \
42797 - gtkmenufactory.h gtklayout.h gtklist.h gtklistitem.h gtkmenu.h \
42798 - gtkmenushell.h gtkmenubar.h gtkoptionmenu.h gtkpacker.h \
42799 - gtkpixmap.h gtkplug.h gtkprogress.h gtkprogressbar.h \
42800 - gtkradiobutton.h gtkradiomenuitem.h gtkrc.h gtkscrolledwindow.h \
42801 - gtkviewport.h gtksocket.h gtkspinbutton.h gtkstatusbar.h \
42802 - gtktearoffmenuitem.h gtktext.h gtkthemes.h gtktipsquery.h \
42803 - gtktoolbar.h gtktooltips.h gtktree.h gtktreeitem.h gtkvbbox.h \
42804 - gtkvpaned.h gtkvruler.h gtkvscale.h gtkvseparator.h
42805 -testselection.o: testselection.c gtk.h ../gdk/gdk.h ../gdk/gdktypes.h \
42806 - ../gdk/gdkcursors.h ../gdk/gdkrgb.h gtkaccelgroup.h gtkobject.h \
42807 - gtkarg.h gtktypeutils.h gtktypebuiltins.h gtkenums.h gtkdebug.h \
42808 - gtkaccellabel.h gtklabel.h gtkmisc.h gtkwidget.h \
42809 - gtkadjustment.h gtkdata.h gtkstyle.h gtkalignment.h gtkbin.h \
42810 - gtkcontainer.h gtkaspectframe.h gtkframe.h gtkarrow.h \
42811 - gtkbindings.h gtkbox.h gtkbbox.h gtkbutton.h gtkcalendar.h \
42812 - gtksignal.h gtkmarshal.h gtkcheckbutton.h gtktogglebutton.h \
42813 - gtkcheckmenuitem.h gtkmenuitem.h gtkitem.h gtkclist.h \
42814 - gtkhscrollbar.h gtkscrollbar.h gtkrange.h gtkvscrollbar.h \
42815 - gtkcolorsel.h gtkwindow.h gtkvbox.h gtkpreview.h gtkentry.h \
42816 - gtkeditable.h gtkhbox.h gtkmain.h gtkscale.h gtkhscale.h \
42817 - gtktable.h gtkeventbox.h gtkcombo.h gtkcompat.h gtkctree.h \
42818 - gtkcurve.h gtkdrawingarea.h gtkdialog.h gtkdnd.h gtkselection.h \
42819 - gtkfeatures.h gtkfilesel.h gtkfixed.h gtkfontsel.h \
42820 - gtknotebook.h gtkgamma.h gtkgc.h gtkhandlebox.h gtkhbbox.h \
42821 - gtkhpaned.h gtkpaned.h gtkhruler.h gtkruler.h gtkhseparator.h \
42822 - gtkseparator.h gtkimage.h gtkinputdialog.h gtkitemfactory.h \
42823 - gtkmenufactory.h gtklayout.h gtklist.h gtklistitem.h gtkmenu.h \
42824 - gtkmenushell.h gtkmenubar.h gtkoptionmenu.h gtkpacker.h \
42825 - gtkpixmap.h gtkplug.h gtkprogress.h gtkprogressbar.h \
42826 - gtkradiobutton.h gtkradiomenuitem.h gtkrc.h gtkscrolledwindow.h \
42827 - gtkviewport.h gtksocket.h gtkspinbutton.h gtkstatusbar.h \
42828 - gtktearoffmenuitem.h gtktext.h gtkthemes.h gtktipsquery.h \
42829 - gtktoolbar.h gtktooltips.h gtktree.h gtktreeitem.h gtkvbbox.h \
42830 - gtkvpaned.h gtkvruler.h gtkvscale.h gtkvseparator.h
42832 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
42834 +-include $(DEP_FILES)
42836 +mostlyclean-depend:
42843 +maintainer-clean-depend:
42846 + @echo '$(COMPILE) -c $<'; \
42847 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
42848 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
42849 + tr ' ' '\012' < .deps/$(*F).pp \
42850 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
42851 + >> .deps/$(*F).P; \
42852 + rm .deps/$(*F).pp
42855 + @echo '$(LTCOMPILE) -c $<'; \
42856 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
42857 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
42858 + < .deps/$(*F).pp > .deps/$(*F).P; \
42859 + tr ' ' '\012' < .deps/$(*F).pp \
42860 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
42861 + >> .deps/$(*F).P; \
42862 + rm -f .deps/$(*F).pp
42866 @@ -1384,19 +619,20 @@
42867 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
42868 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
42869 mostlyclean-libtool mostlyclean-noinstPROGRAMS \
42870 - mostlyclean-tags mostlyclean-generic
42871 + mostlyclean-tags mostlyclean-depend mostlyclean-generic
42873 mostlyclean: mostlyclean-am
42875 clean-am: clean-libLTLIBRARIES clean-compile clean-libtool \
42876 - clean-noinstPROGRAMS clean-tags clean-generic \
42878 + clean-noinstPROGRAMS clean-tags clean-depend \
42879 + clean-generic mostlyclean-am
42883 distclean-am: distclean-libLTLIBRARIES distclean-compile \
42884 distclean-libtool distclean-noinstPROGRAMS \
42885 - distclean-tags distclean-generic clean-am
42886 + distclean-tags distclean-depend distclean-generic \
42890 distclean: distclean-am
42891 @@ -1404,7 +640,8 @@
42892 maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
42893 maintainer-clean-compile maintainer-clean-libtool \
42894 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
42895 - maintainer-clean-generic distclean-am
42896 + maintainer-clean-depend maintainer-clean-generic \
42898 @echo "This command is intended for maintainers to use;"
42899 @echo "it deletes files that may require special tools to rebuild."
42901 @@ -1420,10 +657,11 @@
42902 maintainer-clean-noinstPROGRAMS uninstall-gtkconfDATA \
42903 install-gtkconfDATA uninstall-libgtkincludeHEADERS \
42904 install-libgtkincludeHEADERS tags mostlyclean-tags distclean-tags \
42905 -clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
42906 -check-am installcheck-am installcheck install-exec-am install-exec \
42907 -install-data-local install-data-am install-data install-am install \
42908 -uninstall-local uninstall-am uninstall all-redirect all-am all \
42909 +clean-tags maintainer-clean-tags distdir mostlyclean-depend \
42910 +distclean-depend clean-depend maintainer-clean-depend info-am info \
42911 +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
42912 +install-exec install-data-local install-data-am install-data install-am \
42913 +install uninstall-local uninstall-am uninstall all-redirect all-am all \
42914 installdirs mostlyclean-generic distclean-generic clean-generic \
42915 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
42917 diff -urN gtk+-1.2.10.orig/ltmain.sh gtk+-1.2.10/ltmain.sh
42918 --- gtk+-1.2.10.orig/ltmain.sh 2000-02-02 18:07:43.000000000 -0700
42919 +++ gtk+-1.2.10/ltmain.sh 2006-01-10 08:23:52.000000000 -0700
42921 # ltmain.sh - Provide generalized library-building support services.
42922 -# NOTE: Changing this file will not affect anything until you rerun ltconfig.
42923 +# NOTE: Changing this file will not affect anything until you rerun configure.
42925 -# Copyright (C) 1996-1999 Free Software Foundation, Inc.
42926 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
42927 +# Free Software Foundation, Inc.
42928 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
42930 # This program is free software; you can redistribute it and/or modify
42931 @@ -16,13 +17,41 @@
42933 # You should have received a copy of the GNU General Public License
42934 # along with this program; if not, write to the Free Software
42935 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
42936 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
42938 # As a special exception to the GNU General Public License, if you
42939 # distribute this file as part of a program that contains a
42940 # configuration script generated by Autoconf, you may include it under
42941 # the same distribution terms that you use for the rest of that program.
42943 +basename="s,^.*/,,g"
42945 +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
42946 +# is ksh but when the shell is invoked as "sh" and the current value of
42947 +# the _XPG environment variable is not equal to 1 (one), the special
42948 +# positional parameter $0, within a function call, is the name of the
42952 +# The name of this program:
42953 +progname=`echo "$progpath" | $SED $basename`
42954 +modename="$progname"
42956 +# Global variables:
42962 +VERSION="1.5.22 Debian 1.5.22-2"
42963 +TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
42965 +# See if we are running on zsh, and set the options which allow our
42966 +# commands through without removal of \ escapes.
42967 +if test -n "${ZSH_VERSION+set}" ; then
42968 + setopt NO_GLOB_SUBST
42971 # Check that we have a working $echo.
42972 if test "X$1" = X--no-reexec; then
42973 # Discard the --no-reexec flag, and continue.
42977 # Restart under the correct shell, and then maybe $echo will work.
42978 - exec $SHELL "$0" --no-reexec ${1+"$@"}
42979 + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
42982 if test "X$1" = X--fallback-echo; then
42988 + exit $EXIT_SUCCESS
42991 -# The name of this program.
42992 -progname=`$echo "$0" | sed 's%^.*/%%'`
42993 -modename="$progname"
42999 -TIMESTAMP=" (1.385.2.196 1999/12/07 21:47:57)"
43002 help="Try \`$progname --help' for more information."
43003 magic="%%%MAGIC variable%%%"
43004 @@ -66,10 +85,20 @@
43006 # Sed substitution that helps us do robust quoting. It backslashifies
43007 # metacharacters that are still active within double-quoted strings.
43008 -Xsed='sed -e 1s/^X//'
43009 +Xsed="${SED}"' -e 1s/^X//'
43010 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
43011 -SP2NL='tr \040 \012'
43012 -NL2SP='tr \015\012 \040\040'
43013 +# test EBCDIC or ASCII
43014 +case `echo X|tr X '\101'` in
43015 + A) # ASCII based system
43016 + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
43017 + SP2NL='tr \040 \012'
43018 + NL2SP='tr \015\012 \040\040'
43020 + *) # EBCDIC based system
43021 + SP2NL='tr \100 \n'
43022 + NL2SP='tr \r\n \100\100'
43027 # Only set LANG and LC_ALL to C if already set.
43028 @@ -83,16 +112,15 @@
43029 save_LANG="$LANG"; LANG=C; export LANG
43032 -if test "$LTCONFIG_VERSION" != "$VERSION"; then
43033 - echo "$modename: ltconfig version \`$LTCONFIG_VERSION' does not match $PROGRAM version \`$VERSION'" 1>&2
43034 - echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
43037 +# Make sure IFS has a sensible default
43042 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
43043 - echo "$modename: not configured to build any kind of library" 1>&2
43044 - echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
43046 + $echo "$modename: not configured to build any kind of library" 1>&2
43047 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
43048 + exit $EXIT_FAILURE
43051 # Global variables.
43052 @@ -104,25 +132,310 @@
43058 lo2o="s/\\.lo\$/.${objext}/"
43059 o2lo="s/\\.${objext}\$/.lo/"
43061 +#####################################
43062 +# Shell function definitions:
43063 +# This seems to be the best place for them
43065 +# func_mktempdir [string]
43066 +# Make a temporary directory that won't clash with other running
43067 +# libtool processes, and avoids race conditions if possible. If
43068 +# given, STRING is the basename for that directory.
43071 + my_template="${TMPDIR-/tmp}/${1-$progname}"
43073 + if test "$run" = ":"; then
43074 + # Return a directory name, but don't create it in dry-run mode
43075 + my_tmpdir="${my_template}-$$"
43078 + # If mktemp works, use that first and foremost
43079 + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
43081 + if test ! -d "$my_tmpdir"; then
43082 + # Failing that, at least try and use $RANDOM to avoid a race
43083 + my_tmpdir="${my_template}-${RANDOM-0}$$"
43085 + save_mktempdir_umask=`umask`
43087 + $mkdir "$my_tmpdir"
43088 + umask $save_mktempdir_umask
43091 + # If we're not in dry-run mode, bomb out on failure
43092 + test -d "$my_tmpdir" || {
43093 + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2
43094 + exit $EXIT_FAILURE
43098 + $echo "X$my_tmpdir" | $Xsed
43102 +# func_win32_libid arg
43103 +# return the library type of file 'arg'
43105 +# Need a lot of goo to handle *both* DLLs and import libs
43106 +# Has to be a shell function in order to 'eat' the argument
43107 +# that is supplied when $file_magic_command is called.
43108 +func_win32_libid ()
43110 + win32_libid_type="unknown"
43111 + win32_fileres=`file -L $1 2>/dev/null`
43112 + case $win32_fileres in
43113 + *ar\ archive\ import\ library*) # definitely import
43114 + win32_libid_type="x86 archive import"
43116 + *ar\ archive*) # could be an import, or static
43117 + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
43118 + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
43119 + win32_nmres=`eval $NM -f posix -A $1 | \
43120 + $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
43121 + case $win32_nmres in
43122 + import*) win32_libid_type="x86 archive import";;
43123 + *) win32_libid_type="x86 archive static";;
43128 + win32_libid_type="x86 DLL"
43130 + *executable*) # but shell scripts are "executable" too...
43131 + case $win32_fileres in
43132 + *MS\ Windows\ PE\ Intel*)
43133 + win32_libid_type="x86 DLL"
43138 + $echo $win32_libid_type
43142 +# func_infer_tag arg
43143 +# Infer tagged configuration to use if any are available and
43144 +# if one wasn't chosen via the "--tag" command line option.
43145 +# Only attempt this if the compiler in the base compile
43146 +# command doesn't match the default compiler.
43147 +# arg is usually of the form 'gcc ...'
43150 + if test -n "$available_tags" && test -z "$tagname"; then
43152 + for arg in $CC; do
43154 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
43158 + CC_quoted="$CC_quoted $arg"
43161 + # Blanks in the command may have been stripped by the calling shell,
43162 + # but not from the CC environment variable when configure was run.
43163 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;;
43164 + # Blanks at the start of $base_compile will cause this to fail
43165 + # if we don't check for them as well.
43167 + for z in $available_tags; do
43168 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
43169 + # Evaluate the configuration.
43170 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
43172 + for arg in $CC; do
43173 + # Double-quote args containing other shell metacharacters.
43175 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
43179 + CC_quoted="$CC_quoted $arg"
43182 + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*)
43183 + # The compiler in the base compile command matches
43184 + # the one in the tagged configuration.
43185 + # Assume this is the tagged configuration we want.
43192 + # If $tagname still isn't set, then no tagged configuration
43193 + # was found and let the user know that the "--tag" command
43194 + # line option must be used.
43195 + if test -z "$tagname"; then
43196 + $echo "$modename: unable to infer tagged configuration"
43197 + $echo "$modename: specify a tag with \`--tag'" 1>&2
43198 + exit $EXIT_FAILURE
43200 +# $echo "$modename: using $tagname tagged configuration"
43208 +# func_extract_an_archive dir oldlib
43209 +func_extract_an_archive ()
43211 + f_ex_an_ar_dir="$1"; shift
43212 + f_ex_an_ar_oldlib="$1"
43214 + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)"
43215 + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $?
43216 + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
43219 + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2
43220 + exit $EXIT_FAILURE
43224 +# func_extract_archives gentop oldlib ...
43225 +func_extract_archives ()
43227 + my_gentop="$1"; shift
43228 + my_oldlibs=${1+"$@"}
43235 + $show "${rm}r $my_gentop"
43236 + $run ${rm}r "$my_gentop"
43237 + $show "$mkdir $my_gentop"
43238 + $run $mkdir "$my_gentop"
43240 + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then
43244 + for my_xlib in $my_oldlibs; do
43245 + # Extract the objects.
43247 + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
43248 + *) my_xabs=`pwd`"/$my_xlib" ;;
43250 + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
43251 + my_xdir="$my_gentop/$my_xlib"
43253 + $show "${rm}r $my_xdir"
43254 + $run ${rm}r "$my_xdir"
43255 + $show "$mkdir $my_xdir"
43256 + $run $mkdir "$my_xdir"
43258 + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then
43259 + exit $exit_status
43263 + $show "Extracting $my_xabs"
43264 + # Do not bother doing anything if just a dry run
43265 + if test -z "$run"; then
43266 + darwin_orig_dir=`pwd`
43267 + cd $my_xdir || exit $?
43268 + darwin_archive=$my_xabs
43269 + darwin_curdir=`pwd`
43270 + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'`
43271 + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null`
43272 + if test -n "$darwin_arches"; then
43273 + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'`
43275 + $show "$darwin_base_archive has multiple architectures $darwin_arches"
43276 + for darwin_arch in $darwin_arches ; do
43277 + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
43278 + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
43279 + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
43280 + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
43281 + cd "$darwin_curdir"
43282 + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
43283 + done # $darwin_arches
43284 + ## Okay now we have a bunch of thin objects, gotta fatten them up :)
43285 + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP`
43288 + for darwin_file in $darwin_filelist; do
43289 + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
43290 + lipo -create -output "$darwin_file" $darwin_files
43291 + done # $darwin_filelist
43293 + cd "$darwin_orig_dir"
43295 + cd "$darwin_orig_dir"
43296 + func_extract_an_archive "$my_xdir" "$my_xabs"
43297 + fi # $darwin_arches
43301 + func_extract_an_archive "$my_xdir" "$my_xabs"
43304 + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
43306 + func_extract_archives_result="$my_oldobjs"
43308 +# End of Shell function definitions
43309 +#####################################
43312 +eval std_shrext=\"$shrext_cmds\"
43316 # Parse our command line options once, thoroughly.
43317 -while test $# -gt 0
43318 +while test "$#" -gt 0
43325 -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
43329 # If the previous option needs an argument, assign it.
43330 if test -n "$prev"; then
43334 - eval "$prev=\"\$$prev \$arg\""
43335 + execute_dlfiles="$execute_dlfiles $arg"
43339 + preserve_args="${preserve_args}=$arg"
43341 + # Check whether tagname contains only valid characters
43343 + *[!-_A-Za-z0-9,/]*)
43344 + $echo "$progname: invalid tag name: $tagname" 1>&2
43345 + exit $EXIT_FAILURE
43351 + # Don't test for the "default" C tag, as we know, it's there, but
43352 + # not specially marked.
43355 + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
43356 + taglist="$taglist $tagname"
43357 + # Evaluate the configuration.
43358 + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
43360 + $echo "$progname: ignoring unknown tag $tagname" 1>&2
43367 @@ -135,24 +448,33 @@
43370 # Have we seen a non-optional argument yet?
43378 - echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
43380 + $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
43382 + $echo "Copyright (C) 2005 Free Software Foundation, Inc."
43383 + $echo "This is free software; see the source for copying conditions. There is NO"
43384 + $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
43389 - sed -e '1,/^### BEGIN LIBTOOL CONFIG/d' -e '/^### END LIBTOOL CONFIG/,$d' $0
43391 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath
43392 + # Now print the configurations for the tags.
43393 + for tagname in $taglist; do
43394 + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath"
43400 - echo "$progname: enabling shell trace mode"
43401 + $echo "$progname: enabling shell trace mode"
43403 + preserve_args="$preserve_args $arg"
43407 @@ -160,18 +482,18 @@
43411 - echo "host: $host"
43412 + $echo "host: $host"
43413 if test "$build_libtool_libs" = yes; then
43414 - echo "enable shared libraries"
43415 + $echo "enable shared libraries"
43417 - echo "disable shared libraries"
43418 + $echo "disable shared libraries"
43420 if test "$build_old_libs" = yes; then
43421 - echo "enable static libraries"
43422 + $echo "enable static libraries"
43424 - echo "disable static libraries"
43425 + $echo "disable static libraries"
43431 --finish) mode="finish" ;;
43432 @@ -179,8 +501,23 @@
43433 --mode) prevopt="--mode" prev=mode ;;
43434 --mode=*) mode="$optarg" ;;
43436 + --preserve-dup-deps) duplicate_deps="yes" ;;
43438 --quiet | --silent)
43440 + preserve_args="$preserve_args $arg"
43446 + preserve_args="$preserve_args --tag"
43449 + set tag "$optarg" ${1+"$@"}
43452 + preserve_args="$preserve_args --tag"
43456 @@ -191,7 +528,7 @@
43458 $echo "$modename: unrecognized option \`$arg'" 1>&2
43461 + exit $EXIT_FAILURE
43465 @@ -204,19 +541,38 @@
43466 if test -n "$prevopt"; then
43467 $echo "$modename: option \`$prevopt' requires an argument" 1>&2
43470 + exit $EXIT_FAILURE
43473 +case $disable_libs in
43477 + build_libtool_libs=no
43478 + build_old_libs=yes
43481 + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
43485 +# If this variable is set in any of the actions, the command in it
43486 +# will be execed at the end. This prevents here-documents from being
43487 +# left over by shells.
43490 if test -z "$show_help"; then
43492 # Infer the operation mode.
43493 if test -z "$mode"; then
43494 - case "$nonopt" in
43495 - *cc | *++ | gcc* | *-gcc*)
43496 + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
43497 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2
43499 + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
43508 @@ -253,7 +609,7 @@
43509 if test -n "$execute_dlfiles" && test "$mode" != execute; then
43510 $echo "$modename: unrecognized option \`-dlopen'" 1>&2
43513 + exit $EXIT_FAILURE
43516 # Change the help message to a mode-specific one.
43517 @@ -261,140 +617,233 @@
43518 help="Try \`$modename --help --mode=$mode' for more information."
43520 # These modes are in order of execution frequency so that they run quickly.
43523 # libtool compile mode
43525 modename="$modename: compile"
43526 # Get the compilation command and the source file.
43529 - srcfile="$nonopt"
43530 + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
43540 - # Accept any command-line options.
43543 - if test "$user_target" != "no"; then
43544 - $echo "$modename: you cannot specify \`-o' more than once" 1>&2
43551 - build_old_libs=yes
43553 + case $arg_mode in
43555 + # do not "continue". Instead, add this to base_compile
43561 - case "$user_target" in
43563 - # The next one is the -o target name
43568 - # We got the output file
43577 - # Accept the current argument as the source file.
43578 - lastarg="$srcfile"
43581 + # Accept any command-line options.
43584 + if test -n "$libobj" ; then
43585 + $echo "$modename: you cannot specify \`-o' more than once" 1>&2
43586 + exit $EXIT_FAILURE
43592 - # Aesthetically quote the previous argument.
43593 + -static | -prefer-pic | -prefer-non-pic)
43594 + later="$later $arg"
43598 - # Backslashify any backslashes, double quotes, and dollar signs.
43599 - # These are the only characters that are still specially
43600 - # interpreted inside of double-quoted scrings.
43607 + arg_mode=arg # the next one goes into the "base_compile" arg list
43608 + continue # The current "srcfile" will either be retained or
43609 + ;; # replaced later. I would guess that would be a bug.
43612 + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
43614 + save_ifs="$IFS"; IFS=','
43615 + for arg in $args; do
43618 + # Double-quote args containing other shell metacharacters.
43619 + # Many Bourne shells cannot handle close brackets correctly
43620 + # in scan sets, so we specify it separately.
43622 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
43626 + lastarg="$lastarg $arg"
43629 + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
43631 + # Add the arguments to base_compile.
43632 + base_compile="$base_compile $lastarg"
43637 + # Accept the current argument as the source file.
43638 + # The previous "srcfile" becomes the current argument.
43640 + lastarg="$srcfile"
43645 + esac # case $arg_mode
43647 + # Aesthetically quote the previous argument.
43648 lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
43651 # Double-quote args containing other shell metacharacters.
43652 - # Many Bourne shells cannot handle close brackets correctly in scan
43653 - # sets, so we specify it separately.
43654 - case "$lastarg" in
43655 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
43656 + # Many Bourne shells cannot handle close brackets correctly
43657 + # in scan sets, and some SunOS ksh mistreat backslash-escaping
43658 + # in scan sets (worked around with variable expansion),
43659 + # and furthermore cannot handle '|' '&' '(' ')' in scan sets
43660 + # at all, so we specify them separately.
43661 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
43662 lastarg="\"$lastarg\""
43666 - # Add the previous argument to base_compile.
43667 - if test -z "$base_compile"; then
43668 - base_compile="$lastarg"
43670 - base_compile="$base_compile $lastarg"
43673 + base_compile="$base_compile $lastarg"
43676 - case "$user_target" in
43678 + case $arg_mode in
43680 + $echo "$modename: you must specify an argument for -Xcompile"
43681 + exit $EXIT_FAILURE
43684 - # Get the name of the library object.
43685 - libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
43687 + $echo "$modename: you must specify a target with \`-o'" 1>&2
43688 + exit $EXIT_FAILURE
43691 - $echo "$modename: you must specify a target with \`-o'" 1>&2
43693 + # Get the name of the library object.
43694 + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
43698 # Recognize several different file suffixes.
43699 # If the user specifies -o file.o, it is replaced with file.lo
43700 - xform='[cCFSfmso]'
43701 - case "$libobj" in
43702 + xform='[cCFSifmso]'
43704 *.ada) xform=ada ;;
43705 *.adb) xform=adb ;;
43706 *.ads) xform=ads ;;
43707 *.asm) xform=asm ;;
43708 *.c++) xform=c++ ;;
43710 + *.ii) xform=ii ;;
43711 + *.class) xform=class ;;
43712 *.cpp) xform=cpp ;;
43713 *.cxx) xform=cxx ;;
43714 *.f90) xform=f90 ;;
43715 *.for) xform=for ;;
43716 + *.java) xform=java ;;
43719 libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
43721 - case "$libobj" in
43723 *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
43725 $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
43727 + exit $EXIT_FAILURE
43731 + func_infer_tag $base_compile
43733 + for arg in $later; do
43736 + build_old_libs=yes
43752 + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"`
43754 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
43755 + qlibobj="\"$qlibobj\"" ;;
43757 + test "X$libobj" != "X$qlibobj" \
43758 + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \
43759 + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters."
43760 + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
43761 + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
43762 + if test "X$xdir" = "X$obj"; then
43767 + lobj=${xdir}$objdir/$objname
43769 if test -z "$base_compile"; then
43770 $echo "$modename: you must specify a compilation command" 1>&2
43773 + exit $EXIT_FAILURE
43776 # Delete any leftover library objects.
43777 if test "$build_old_libs" = yes; then
43778 - removelist="$obj $libobj"
43779 + removelist="$obj $lobj $libobj ${libobj}T"
43781 - removelist="$libobj"
43782 + removelist="$lobj $libobj ${libobj}T"
43785 $run $rm $removelist
43786 - trap "$run $rm $removelist; exit 1" 1 2 15
43787 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
43789 + # On Cygwin there's no "real" PIC flag so we must build both object types
43791 + cygwin* | mingw* | pw32* | os2*)
43795 + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
43796 + # non-PIC code in shared libraries is not supported
43800 # Calculate the filename of the output object if compiler does
43801 # not support -o with -c
43802 if test "$compiler_c_o" = no; then
43803 - output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\..*$%%'`.${objext}
43804 + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
43805 lockfile="$output_obj.lock"
43806 removelist="$removelist $output_obj $lockfile"
43807 - trap "$run $rm $removelist; exit 1" 1 2 15
43808 + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
43814 @@ -402,13 +851,13 @@
43815 # Lock this critical section if it is needed
43816 # We use this script file to make the link, it avoids creating a new file
43817 if test "$need_locks" = yes; then
43818 - until ln "$0" "$lockfile" 2>/dev/null; do
43819 + until $run ln "$progpath" "$lockfile" 2>/dev/null; do
43820 $show "Waiting for $lockfile to be removed"
43823 elif test "$need_locks" = warn; then
43824 if test -f "$lockfile"; then
43827 *** ERROR, $lockfile exists and contains:
43828 `cat $lockfile 2>/dev/null`
43830 @@ -420,63 +869,72 @@
43833 $run $rm $removelist
43835 + exit $EXIT_FAILURE
43837 - echo $srcfile > "$lockfile"
43838 + $echo "$srcfile" > "$lockfile"
43841 if test -n "$fix_srcfile_path"; then
43842 eval srcfile=\"$fix_srcfile_path\"
43844 + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"`
43845 + case $qsrcfile in
43846 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
43847 + qsrcfile="\"$qsrcfile\"" ;;
43850 + $run $rm "$libobj" "${libobj}T"
43852 + # Create a libtool object file (analogous to a ".la" file),
43853 + # but don't create it if we're doing a dry run.
43854 + test -z "$run" && cat > ${libobj}T <<EOF
43855 +# $libobj - a libtool object file
43856 +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
43858 +# Please DO NOT delete this file!
43859 +# It is necessary for linking the library.
43861 +# Name of the PIC object.
43864 # Only build a PIC object if we are building libtool libraries.
43865 if test "$build_libtool_libs" = yes; then
43866 # Without this assignment, base_compile gets emptied.
43867 fbsd_hideous_sh_bug=$base_compile
43869 - # All platforms use -DPIC, to notify preprocessed assembler code.
43870 - command="$base_compile $srcfile $pic_flag -DPIC"
43871 - if test "$build_old_libs" = yes; then
43872 - lo_libobj="$libobj"
43873 - dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
43874 - if test "X$dir" = "X$libobj"; then
43877 - dir="$dir/$objdir"
43879 - libobj="$dir/"`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
43880 + if test "$pic_mode" != no; then
43881 + command="$base_compile $qsrcfile $pic_flag"
43883 + # Don't build PIC code
43884 + command="$base_compile $qsrcfile"
43887 - if test -d "$dir"; then
43888 - $show "$rm $libobj"
43891 - $show "$mkdir $dir"
43894 - if test $status -ne 0 && test ! -d $dir; then
43897 + if test ! -d "${xdir}$objdir"; then
43898 + $show "$mkdir ${xdir}$objdir"
43899 + $run $mkdir ${xdir}$objdir
43901 + if test "$exit_status" -ne 0 && test ! -d "${xdir}$objdir"; then
43902 + exit $exit_status
43905 - if test "$compiler_o_lo" = yes; then
43906 - output_obj="$libobj"
43907 - command="$command -o $output_obj"
43908 - elif test "$compiler_c_o" = yes; then
43909 - output_obj="$obj"
43910 - command="$command -o $output_obj"
43912 + if test -z "$output_obj"; then
43913 + # Place PIC objects in $objdir
43914 + command="$command -o $lobj"
43917 - $run $rm "$output_obj"
43918 + $run $rm "$lobj" "$output_obj"
43921 if $run eval "$command"; then :
43923 test -n "$output_obj" && $run $rm $removelist
43925 + exit $EXIT_FAILURE
43928 if test "$need_locks" = warn &&
43929 - test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
43931 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
43933 *** ERROR, $lockfile contains:
43934 `cat $lockfile 2>/dev/null`
43936 @@ -491,13 +949,13 @@
43939 $run $rm $removelist
43941 + exit $EXIT_FAILURE
43944 # Just move the object if needed, then go on to compile the next one
43945 - if test x"$output_obj" != x"$libobj"; then
43946 - $show "$mv $output_obj $libobj"
43947 - if $run $mv $output_obj $libobj; then :
43948 + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
43949 + $show "$mv $output_obj $lobj"
43950 + if $run $mv $output_obj $lobj; then :
43953 $run $rm $removelist
43954 @@ -505,66 +963,50 @@
43958 - # If we have no pic_flag, then copy the object into place and finish.
43959 - if test -z "$pic_flag" && test "$build_old_libs" = yes; then
43960 - # Rename the .lo from within objdir to obj
43961 - if test -f $obj; then
43965 + # Append the name of the PIC object to the libtool object file.
43966 + test -z "$run" && cat >> ${libobj}T <<EOF
43967 +pic_object='$objdir/$objname'
43969 - $show "$mv $libobj $obj"
43970 - if $run $mv $libobj $obj; then :
43973 - $run $rm $removelist
43978 - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
43979 - if test "X$xdir" = "X$obj"; then
43984 - baseobj=`$echo "X$obj" | $Xsed -e "s%.*/%%"`
43985 - libobj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
43986 - # Now arrange that obj and lo_libobj become the same file
43987 - $show "(cd $xdir && $LN_S $baseobj $libobj)"
43988 - if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
43992 - $run $rm $removelist
43995 + # Allow error messages only from the first compilation.
43996 + if test "$suppress_opt" = yes; then
43997 + suppress_output=' >/dev/null 2>&1'
44000 + # No PIC object so indicate it doesn't exist in the libtool
44002 + test -z "$run" && cat >> ${libobj}T <<EOF
44005 - # Allow error messages only from the first compilation.
44006 - suppress_output=' >/dev/null 2>&1'
44010 # Only build a position-dependent object if we build old libraries.
44011 if test "$build_old_libs" = yes; then
44012 - command="$base_compile $srcfile"
44013 + if test "$pic_mode" != yes; then
44014 + # Don't build PIC code
44015 + command="$base_compile $qsrcfile"
44017 + command="$base_compile $qsrcfile $pic_flag"
44019 if test "$compiler_c_o" = yes; then
44020 command="$command -o $obj"
44021 - output_obj="$obj"
44024 # Suppress compiler output if we already did a PIC compilation.
44025 command="$command$suppress_output"
44026 - $run $rm "$output_obj"
44027 + $run $rm "$obj" "$output_obj"
44029 if $run eval "$command"; then :
44031 $run $rm $removelist
44033 + exit $EXIT_FAILURE
44036 if test "$need_locks" = warn &&
44037 - test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then
44039 + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
44041 *** ERROR, $lockfile contains:
44042 `cat $lockfile 2>/dev/null`
44044 @@ -579,11 +1021,11 @@
44047 $run $rm $removelist
44049 + exit $EXIT_FAILURE
44052 # Just move the object if needed
44053 - if test x"$output_obj" != x"$obj"; then
44054 + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
44055 $show "$mv $output_obj $obj"
44056 if $run $mv $output_obj $obj; then :
44058 @@ -593,40 +1035,42 @@
44062 - # Create an invalid libtool object if no PIC, so that we do not
44063 - # accidentally link it into a program.
44064 - if test "$build_libtool_libs" != yes; then
44065 - $show "echo timestamp > $libobj"
44066 - $run eval "echo timestamp > \$libobj" || exit $?
44068 - # Move the .lo from within objdir
44069 - $show "$mv $libobj $lo_libobj"
44070 - if $run $mv $libobj $lo_libobj; then :
44073 - $run $rm $removelist
44077 + # Append the name of the non-PIC object the libtool object file.
44078 + # Only append if the libtool object file exists.
44079 + test -z "$run" && cat >> ${libobj}T <<EOF
44080 +# Name of the non-PIC object.
44081 +non_pic_object='$objname'
44085 + # Append the name of the non-PIC object the libtool object file.
44086 + # Only append if the libtool object file exists.
44087 + test -z "$run" && cat >> ${libobj}T <<EOF
44088 +# Name of the non-PIC object.
44089 +non_pic_object=none
44094 + $run $mv "${libobj}T" "${libobj}"
44096 # Unlock the critical section if it was locked
44097 if test "$need_locks" != no; then
44099 + $run $rm "$lockfile"
44103 + exit $EXIT_SUCCESS
44106 # libtool link mode
44109 modename="$modename: link"
44111 - *-*-cygwin* | *-*-mingw* | *-*-os2*)
44113 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
44114 # It is impossible to link a dll without this setting, and
44115 # we shouldn't force the makefile maintainer to figure out
44116 # which system we are compiling for in order to pass an extra
44117 - # flag for every libtool invokation.
44118 + # flag for every libtool invocation.
44119 # allow_undefined=no
44121 # FIXME: Unfortunately, there are problems with the above when trying
44122 @@ -635,179 +1079,13 @@
44123 # -no-undefined on the libtool link line when we can be certain
44124 # that all symbols are satisfied, otherwise we get a static library.
44125 allow_undefined=yes
44127 - # This is a source program that is used to create dlls on Windows
44128 - # Don't remove nor modify the starting and closing comments
44129 -# /* ltdll.c starts here */
44130 -# #define WIN32_LEAN_AND_MEAN
44131 -# #include <windows.h>
44132 -# #undef WIN32_LEAN_AND_MEAN
44133 -# #include <stdio.h>
44135 -# #ifndef __CYGWIN__
44136 -# # ifdef __CYGWIN32__
44137 -# # define __CYGWIN__ __CYGWIN32__
44141 -# #ifdef __cplusplus
44144 -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
44145 -# #ifdef __cplusplus
44149 -# #ifdef __CYGWIN__
44150 -# #include <cygwin/cygwin_dll.h>
44151 -# DECLARE_CYGWIN_DLL( DllMain );
44153 -# HINSTANCE __hDllInstance_base;
44156 -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
44158 -# __hDllInstance_base = hInst;
44161 -# /* ltdll.c ends here */
44162 - # This is a source program that is used to create import libraries
44163 - # on Windows for dlls which lack them. Don't remove nor modify the
44164 - # starting and closing comments
44165 -# /* impgen.c starts here */
44166 -# /* Copyright (C) 1999 Free Software Foundation, Inc.
44168 -# This file is part of GNU libtool.
44170 -# This program is free software; you can redistribute it and/or modify
44171 -# it under the terms of the GNU General Public License as published by
44172 -# the Free Software Foundation; either version 2 of the License, or
44173 -# (at your option) any later version.
44175 -# This program is distributed in the hope that it will be useful,
44176 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
44177 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44178 -# GNU General Public License for more details.
44180 -# You should have received a copy of the GNU General Public License
44181 -# along with this program; if not, write to the Free Software
44182 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
44185 -# #include <stdio.h> /* for printf() */
44186 -# #include <unistd.h> /* for open(), lseek(), read() */
44187 -# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
44188 -# #include <string.h> /* for strdup() */
44190 -# static unsigned int
44191 -# pe_get16 (fd, offset)
44195 -# unsigned char b[2];
44196 -# lseek (fd, offset, SEEK_SET);
44197 -# read (fd, b, 2);
44198 -# return b[0] + (b[1]<<8);
44201 -# static unsigned int
44202 -# pe_get32 (fd, offset)
44206 -# unsigned char b[4];
44207 -# lseek (fd, offset, SEEK_SET);
44208 -# read (fd, b, 4);
44209 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
44212 -# static unsigned int
44216 -# unsigned char *b = ptr;
44217 -# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
44221 -# main (argc, argv)
44226 -# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
44227 -# unsigned long export_rva, export_size, nsections, secptr, expptr;
44228 -# unsigned long name_rvas, nexp;
44229 -# unsigned char *expdata, *erva;
44230 -# char *filename, *dll_name;
44232 -# filename = argv[1];
44234 -# dll = open(filename, O_RDONLY|O_BINARY);
44238 -# dll_name = filename;
44240 -# for (i=0; filename[i]; i++)
44241 -# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
44242 -# dll_name = filename + i +1;
44244 -# pe_header_offset = pe_get32 (dll, 0x3c);
44245 -# opthdr_ofs = pe_header_offset + 4 + 20;
44246 -# num_entries = pe_get32 (dll, opthdr_ofs + 92);
44248 -# if (num_entries < 1) /* no exports */
44251 -# export_rva = pe_get32 (dll, opthdr_ofs + 96);
44252 -# export_size = pe_get32 (dll, opthdr_ofs + 100);
44253 -# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
44254 -# secptr = (pe_header_offset + 4 + 20 +
44255 -# pe_get16 (dll, pe_header_offset + 4 + 16));
44258 -# for (i = 0; i < nsections; i++)
44261 -# unsigned long secptr1 = secptr + 40 * i;
44262 -# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
44263 -# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
44264 -# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
44265 -# lseek(dll, secptr1, SEEK_SET);
44266 -# read(dll, sname, 8);
44267 -# if (vaddr <= export_rva && vaddr+vsize > export_rva)
44269 -# expptr = fptr + (export_rva - vaddr);
44270 -# if (export_rva + export_size > vaddr + vsize)
44271 -# export_size = vsize - (export_rva - vaddr);
44276 -# expdata = (unsigned char*)malloc(export_size);
44277 -# lseek (dll, expptr, SEEK_SET);
44278 -# read (dll, expdata, export_size);
44279 -# erva = expdata - export_rva;
44281 -# nexp = pe_as32 (expdata+24);
44282 -# name_rvas = pe_as32 (expdata+32);
44284 -# printf ("EXPORTS\n");
44285 -# for (i = 0; i<nexp; i++)
44287 -# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
44288 -# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
44293 -# /* impgen.c ends here */
44296 allow_undefined=yes
44299 + libtool_args="$nonopt"
44300 + base_compile="$nonopt $@"
44301 compile_command="$nonopt"
44302 finalize_command="$nonopt"
44304 @@ -818,18 +1096,13 @@
44313 + lib_search_path=`pwd`
44316 - if test -n "$shlibpath_var"; then
44317 - # get the directories listed in $shlibpath_var
44318 - eval lib_search_path=\`\$echo \"X \${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
44322 - # now prepend the system-specific ones
44323 - eval lib_search_path=\"$sys_lib_search_path_spec\$lib_search_path\"
44324 - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
44329 @@ -839,10 +1112,13 @@
44330 export_symbols_regex=
44333 - link_against_libtool_libs=
44339 + notinst_path= # paths that contain not-installed libtool libraries
44340 + precious_files_regex=
44341 prefer_static_libs=no
44344 @@ -854,11 +1130,14 @@
44350 + func_infer_tag $base_compile
44352 # We need to know -static, to get the right output filenames.
44357 -all-static | -static)
44358 if test "X$arg" = "X-all-static"; then
44359 if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
44360 @@ -867,14 +1146,15 @@
44361 if test -n "$link_static_flag"; then
44362 dlopen_self=$dlopen_self_static
44364 + prefer_static_libs=yes
44366 if test -z "$pic_flag" && test -n "$link_static_flag"; then
44367 dlopen_self=$dlopen_self_static
44369 + prefer_static_libs=built
44371 build_libtool_libs=no
44373 - prefer_static_libs=yes
44377 @@ -884,20 +1164,27 @@
44378 test -n "$old_archive_from_new_cmds" && build_old_libs=yes
44380 # Go through the arguments, transforming them on the way.
44381 - while test $# -gt 0; do
44382 + while test "$#" -gt 0; do
44386 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
44387 + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
44391 + libtool_args="$libtool_args $qarg"
44393 # If the previous option needs an argument, assign it.
44394 if test -n "$prev"; then
44398 compile_command="$compile_command @OUTPUT@"
44399 finalize_command="$finalize_command @OUTPUT@"
44405 dlfiles|dlprefiles)
44406 if test "$preload" = no; then
44407 # Add the symbol object into the linking commands.
44408 @@ -905,7 +1192,7 @@
44409 finalize_command="$finalize_command @SYMFILE@"
44414 *.la | *.lo) ;; # We handle these cases below.
44416 if test "$dlself" = no; then
44417 @@ -934,6 +1221,7 @@
44418 dlprefiles="$dlprefiles $arg"
44425 @@ -941,7 +1229,7 @@
44426 export_symbols="$arg"
44427 if test ! -f "$arg"; then
44428 $echo "$modename: symbol file \`$arg' does not exist"
44430 + exit $EXIT_FAILURE
44434 @@ -951,18 +1239,140 @@
44439 + inst_prefix_dir="$arg"
44444 + precious_files_regex="$arg"
44454 + if test -f "$arg"; then
44457 + for fil in `cat $save_arg`
44459 +# moreargs="$moreargs $fil"
44461 + # A libtool-controlled object.
44463 + # Check to see that this really is a libtool object.
44464 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
44468 + # Read the .lo file
44469 + # If there is no directory component, then add one.
44471 + */* | *\\*) . $arg ;;
44475 + if test -z "$pic_object" || \
44476 + test -z "$non_pic_object" ||
44477 + test "$pic_object" = none && \
44478 + test "$non_pic_object" = none; then
44479 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
44480 + exit $EXIT_FAILURE
44483 + # Extract subdirectory from the argument.
44484 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
44485 + if test "X$xdir" = "X$arg"; then
44491 + if test "$pic_object" != none; then
44492 + # Prepend the subdirectory the object is found in.
44493 + pic_object="$xdir$pic_object"
44495 + if test "$prev" = dlfiles; then
44496 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
44497 + dlfiles="$dlfiles $pic_object"
44501 + # If libtool objects are unsupported, then we need to preload.
44506 + # CHECK ME: I think I busted this. -Ossama
44507 + if test "$prev" = dlprefiles; then
44508 + # Preload the old-style object.
44509 + dlprefiles="$dlprefiles $pic_object"
44514 + libobjs="$libobjs $pic_object"
44515 + arg="$pic_object"
44518 + # Non-PIC object.
44519 + if test "$non_pic_object" != none; then
44520 + # Prepend the subdirectory the object is found in.
44521 + non_pic_object="$xdir$non_pic_object"
44523 + # A standard non-PIC object
44524 + non_pic_objects="$non_pic_objects $non_pic_object"
44525 + if test -z "$pic_object" || test "$pic_object" = none ; then
44526 + arg="$non_pic_object"
44529 + # If the PIC object exists, use it instead.
44530 + # $xdir was prepended to $pic_object above.
44531 + non_pic_object="$pic_object"
44532 + non_pic_objects="$non_pic_objects $non_pic_object"
44535 + # Only an error if not doing a dry-run.
44536 + if test -z "$run"; then
44537 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
44538 + exit $EXIT_FAILURE
44542 + # Extract subdirectory from the argument.
44543 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
44544 + if test "X$xdir" = "X$arg"; then
44550 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
44551 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
44552 + libobjs="$libobjs $pic_object"
44553 + non_pic_objects="$non_pic_objects $non_pic_object"
44558 + $echo "$modename: link input file \`$save_arg' does not exist"
44559 + exit $EXIT_FAILURE
44566 # We need an absolute path.
44569 [\\/]* | [A-Za-z]:[\\/]*) ;;
44571 $echo "$modename: only absolute run-paths are allowed" 1>&2
44573 + exit $EXIT_FAILURE
44576 if test "$prev" = rpath; then
44577 @@ -979,17 +1389,52 @@
44582 + compiler_flags="$compiler_flags $qarg"
44584 + compile_command="$compile_command $qarg"
44585 + finalize_command="$finalize_command $qarg"
44589 + linker_flags="$linker_flags $qarg"
44590 + compiler_flags="$compiler_flags $wl$qarg"
44592 + compile_command="$compile_command $wl$qarg"
44593 + finalize_command="$finalize_command $wl$qarg"
44597 + linker_flags="$linker_flags $qarg"
44598 + compiler_flags="$compiler_flags $qarg"
44600 + compile_command="$compile_command $qarg"
44601 + finalize_command="$finalize_command $qarg"
44605 + shrext_cmds="$arg"
44609 + darwin_framework|darwin_framework_skip)
44610 + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg"
44611 + compile_command="$compile_command $arg"
44612 + finalize_command="$finalize_command $arg"
44617 eval "$prev=\"\$arg\""
44623 + fi # test -n "$prev"
44630 if test -n "$link_static_flag"; then
44631 compile_command="$compile_command $link_static_flag"
44632 @@ -1026,8 +1471,8 @@
44634 -export-symbols | -export-symbols-regex)
44635 if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
44636 - $echo "$modename: not more than one -exported-symbols argument allowed"
44638 + $echo "$modename: more than one -exported-symbols argument is not allowed"
44639 + exit $EXIT_FAILURE
44641 if test "X$arg" = "X-export-symbols"; then
44643 @@ -1037,58 +1482,129 @@
44647 + -framework|-arch|-isysroot)
44649 + *" ${arg} ${1} "* | *" ${arg} ${1} "*)
44650 + prev=darwin_framework_skip ;;
44651 + *) compiler_flags="$compiler_flags $arg"
44652 + prev=darwin_framework ;;
44654 + compile_command="$compile_command $arg"
44655 + finalize_command="$finalize_command $arg"
44659 + -inst-prefix-dir)
44664 + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
44665 + # so, if we see these flags be careful not to treat them like -L
44667 + case $with_gcc/$host in
44668 + no/*-*-irix* | /*-*-irix*)
44669 + compile_command="$compile_command $arg"
44670 + finalize_command="$finalize_command $arg"
44677 dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
44678 # We need an absolute path.
44681 [\\/]* | [A-Za-z]:[\\/]*) ;;
44683 absdir=`cd "$dir" && pwd`
44684 if test -z "$absdir"; then
44685 - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
44686 - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
44687 + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
44689 + notinst_path="$notinst_path $dir"
44694 - case " $deplibs " in
44696 - *) deplibs="$deplibs $arg";;
44698 - case " $lib_search_path " in
44700 - *) lib_search_path="$lib_search_path $dir";;
44701 + case "$deplibs " in
44704 + deplibs="$deplibs -L$dir"
44705 + lib_search_path="$lib_search_path $dir"
44709 - *-*-cygwin* | *-*-mingw* | *-*-os2*)
44710 - dllsearchdir=`cd "$dir" && pwd || echo "$dir"`
44711 - case ":$dllsearchpath:" in
44712 - ::) dllsearchpath="$dllsearchdir";;
44713 - *":$dllsearchdir:"*) ;;
44714 - *) dllsearchpath="$dllsearchpath:$dllsearchdir";;
44716 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
44717 + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'`
44718 + case :$dllsearchpath: in
44720 + *) dllsearchpath="$dllsearchpath:$dir";;
44722 + case :$dllsearchpath: in
44723 + *":$testbindir:"*) ;;
44724 + *) dllsearchpath="$dllsearchpath:$testbindir";;
44732 - if test "$arg" = "-lc"; then
44734 - *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
44735 - # These systems don't actually have c library (as such)
44736 + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
44738 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
44739 + # These systems don't actually have a C or math library (as such)
44743 - elif test "$arg" = "-lm"; then
44745 - *-*-cygwin* | *-*-beos*)
44746 - # These systems don't actually have math library (as such)
44748 + # These systems don't actually have a C library (as such)
44749 + test "X$arg" = "X-lc" && continue
44751 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
44752 + # Do not include libc due to us having libc/libc_r.
44753 + test "X$arg" = "X-lc" && continue
44755 + *-*-rhapsody* | *-*-darwin1.[012])
44756 + # Rhapsody C and math libraries are in the System framework
44757 + deplibs="$deplibs -framework System"
44760 + *-*-sco3.2v5* | *-*-sco5v6*)
44761 + # Causes problems with __ctype
44762 + test "X$arg" = "X-lc" && continue
44764 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
44765 + # Compiler inserts libc in the correct place for threads to work
44766 + test "X$arg" = "X-lc" && continue
44769 + elif test "X$arg" = "X-lc_r"; then
44771 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
44772 + # Do not include libc_r directly, use -pthread flag.
44777 deplibs="$deplibs $arg"
44781 + # Tru64 UNIX uses -model [arg] to determine the layout of C++
44782 + # classes, name mangling, and exception handling.
44784 + compile_command="$compile_command $arg"
44785 + compiler_flags="$compiler_flags $arg"
44786 + finalize_command="$finalize_command $arg"
44791 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
44792 + compiler_flags="$compiler_flags $arg"
44793 + compile_command="$compile_command $arg"
44794 + finalize_command="$finalize_command $arg"
44799 @@ -1096,13 +1612,74 @@
44803 + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
44804 + # -r[0-9][0-9]* specifies the processor on the SGI compiler
44805 + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
44806 + # +DA*, +DD* enable 64-bit mode on the HP compiler
44807 + # -q* pass through compiler args for the IBM compiler
44808 + # -m* pass through architecture-specific compiler args for GCC
44809 + # -m*, -t[45]*, -txscale* pass through architecture-specific
44810 + # compiler args for GCC
44811 + # -pg pass through profiling flag for GCC
44812 + # @file GCC response files
44813 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
44814 + -t[45]*|-txscale*|@*)
44816 + # Unknown arguments in both finalize_command and compile_command need
44817 + # to be aesthetically quoted because they are evaled later.
44818 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
44820 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
44824 + compile_command="$compile_command $arg"
44825 + finalize_command="$finalize_command $arg"
44826 + compiler_flags="$compiler_flags $arg"
44835 + -no-fast-install)
44842 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
44843 + # The PATH hackery in wrapper scripts is required on Windows
44844 + # in order for the loader to find any dlls it needs.
44845 + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
44846 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
44849 + *) no_install=yes ;;
44866 + -precious-files-regex)
44867 + prev=precious_regex
44874 @@ -1121,11 +1698,11 @@
44876 dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
44877 # We need an absolute path.
44880 [\\/]* | [A-Za-z]:[\\/]*) ;;
44882 $echo "$modename: only absolute run-paths are allowed" 1>&2
44884 + exit $EXIT_FAILURE
44888 @@ -1136,11 +1713,11 @@
44892 - # If we have no pic_flag, then this is the same as -all-static.
44893 - if test -z "$pic_flag" && test -n "$link_static_flag"; then
44894 - compile_command="$compile_command $link_static_flag"
44895 - finalize_command="$finalize_command $link_static_flag"
44897 + # The effects of -static are defined in a previous loop.
44898 + # We used to do the same as -all-static on platforms that
44899 + # didn't have a PIC flag, but the assumption that the effects
44900 + # would be equivalent was wrong. It would break on at least
44901 + # Digital Unix and AIX.
44905 @@ -1153,388 +1730,1335 @@
44916 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
44918 + save_ifs="$IFS"; IFS=','
44919 + for flag in $args; do
44922 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
44926 + arg="$arg $wl$flag"
44927 + compiler_flags="$compiler_flags $flag"
44930 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
44934 + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
44936 + save_ifs="$IFS"; IFS=','
44937 + for flag in $args; do
44940 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
44944 + arg="$arg $wl$flag"
44945 + compiler_flags="$compiler_flags $wl$flag"
44946 + linker_flags="$linker_flags $flag"
44949 + arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
44967 # Some other compiler flag.
44969 # Unknown arguments in both finalize_command and compile_command need
44970 # to be aesthetically quoted because they are evaled later.
44971 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
44973 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
44975 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
44981 - *.o | *.obj | *.a | *.lib)
44983 # A standard object.
44988 - # A library object.
44989 - if test "$prev" = dlfiles; then
44990 - dlfiles="$dlfiles $arg"
44991 - if test "$build_libtool_libs" = yes && test "$dlopen" = yes; then
44994 + # A libtool-controlled object.
44996 + # Check to see that this really is a libtool object.
44997 + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
45001 + # Read the .lo file
45002 + # If there is no directory component, then add one.
45004 + */* | *\\*) . $arg ;;
45008 + if test -z "$pic_object" || \
45009 + test -z "$non_pic_object" ||
45010 + test "$pic_object" = none && \
45011 + test "$non_pic_object" = none; then
45012 + $echo "$modename: cannot find name of object for \`$arg'" 1>&2
45013 + exit $EXIT_FAILURE
45016 + # Extract subdirectory from the argument.
45017 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
45018 + if test "X$xdir" = "X$arg"; then
45024 + if test "$pic_object" != none; then
45025 + # Prepend the subdirectory the object is found in.
45026 + pic_object="$xdir$pic_object"
45028 + if test "$prev" = dlfiles; then
45029 + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
45030 + dlfiles="$dlfiles $pic_object"
45034 + # If libtool objects are unsupported, then we need to preload.
45039 + # CHECK ME: I think I busted this. -Ossama
45040 + if test "$prev" = dlprefiles; then
45041 + # Preload the old-style object.
45042 + dlprefiles="$dlprefiles $pic_object"
45047 + libobjs="$libobjs $pic_object"
45048 + arg="$pic_object"
45051 + # Non-PIC object.
45052 + if test "$non_pic_object" != none; then
45053 + # Prepend the subdirectory the object is found in.
45054 + non_pic_object="$xdir$non_pic_object"
45056 + # A standard non-PIC object
45057 + non_pic_objects="$non_pic_objects $non_pic_object"
45058 + if test -z "$pic_object" || test "$pic_object" = none ; then
45059 + arg="$non_pic_object"
45062 - # If libtool objects are unsupported, then we need to preload.
45064 + # If the PIC object exists, use it instead.
45065 + # $xdir was prepended to $pic_object above.
45066 + non_pic_object="$pic_object"
45067 + non_pic_objects="$non_pic_objects $non_pic_object"
45071 + # Only an error if not doing a dry-run.
45072 + if test -z "$run"; then
45073 + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
45074 + exit $EXIT_FAILURE
45078 - if test "$prev" = dlprefiles; then
45079 - # Preload the old-style object.
45080 - dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"`
45082 + # Extract subdirectory from the argument.
45083 + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
45084 + if test "X$xdir" = "X$arg"; then
45090 + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
45091 + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
45092 + libobjs="$libobjs $pic_object"
45093 + non_pic_objects="$non_pic_objects $non_pic_object"
45096 - libobjs="$libobjs $arg"
45101 + deplibs="$deplibs $arg"
45102 + old_deplibs="$old_deplibs $arg"
45107 # A libtool-controlled library.
45114 - # Check to see that this really is a libtool archive.
45115 - if (sed -e '2q' $arg | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
45116 + if test "$prev" = dlfiles; then
45117 + # This library was specified with -dlopen.
45118 + dlfiles="$dlfiles $arg"
45120 + elif test "$prev" = dlprefiles; then
45121 + # The library was specified with -dlpreopen.
45122 + dlprefiles="$dlprefiles $arg"
45125 - $echo "$modename: \`$arg' is not a valid libtool archive" 1>&2
45127 + deplibs="$deplibs $arg"
45132 - # If the library was installed with an old release of libtool,
45133 - # it will not redefine variable installed.
45136 - # Read the .la file
45137 - # If there is no directory component, then add one.
45139 - */* | *\\*) . $arg ;;
45141 + # Some other compiler argument.
45143 + # Unknown arguments in both finalize_command and compile_command need
45144 + # to be aesthetically quoted because they are evaled later.
45145 + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
45147 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
45154 - # Get the name of the library we link against.
45156 - for l in $old_library $library_names; do
45159 + # Now actually substitute the argument into the commands.
45160 + if test -n "$arg"; then
45161 + compile_command="$compile_command $arg"
45162 + finalize_command="$finalize_command $arg"
45164 + done # argument parsing loop
45166 - if test -z "$linklib"; then
45167 - $echo "$modename: cannot find name of link library for \`$arg'" 1>&2
45170 + if test -n "$prev"; then
45171 + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
45172 + $echo "$help" 1>&2
45173 + exit $EXIT_FAILURE
45176 - # Find the relevant object directory and library name.
45177 - name=`$echo "X$arg" | $Xsed -e 's%^.*/%%' -e 's/\.la$//' -e 's/^lib//'`
45178 + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
45179 + eval arg=\"$export_dynamic_flag_spec\"
45180 + compile_command="$compile_command $arg"
45181 + finalize_command="$finalize_command $arg"
45184 - if test "X$installed" = Xyes; then
45187 - dir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
45188 - if test "X$dir" = "X$arg"; then
45191 - dir="$dir/$objdir"
45195 + # calculate the name of the file, without its directory
45196 + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
45197 + libobjs_save="$libobjs"
45199 - if test -n "$dependency_libs"; then
45200 - # Extract -R and -L from dependency_libs
45202 - for deplib in $dependency_libs; do
45203 - case "$deplib" in
45204 - -R*) temp_xrpath=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
45205 - case " $rpath $xrpath " in
45206 - *" $temp_xrpath "*) ;;
45207 - *) xrpath="$xrpath $temp_xrpath";;
45209 - -L*) case "$compile_command $temp_deplibs " in
45210 - *" $deplib "*) ;;
45211 - *) temp_deplibs="$temp_deplibs $deplib";;
45213 - temp_dir=`$echo "X$deplib" | $Xsed -e 's/^-L//'`
45214 - case " $lib_search_path " in
45215 - *" $temp_dir "*) ;;
45216 - *) lib_search_path="$lib_search_path $temp_dir";;
45219 - *) temp_deplibs="$temp_deplibs $deplib";;
45222 - dependency_libs="$temp_deplibs"
45224 + if test -n "$shlibpath_var"; then
45225 + # get the directories listed in $shlibpath_var
45226 + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
45228 + shlib_search_path=
45230 + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
45231 + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
45233 - if test -z "$libdir"; then
45234 - # It is a libtool convenience library, so add in its objects.
45235 - convenience="$convenience $dir/$old_library"
45236 - old_convenience="$old_convenience $dir/$old_library"
45237 - deplibs="$deplibs$dependency_libs"
45238 - compile_command="$compile_command $dir/$old_library$dependency_libs"
45239 - finalize_command="$finalize_command $dir/$old_library$dependency_libs"
45242 + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
45243 + if test "X$output_objdir" = "X$output"; then
45244 + output_objdir="$objdir"
45246 + output_objdir="$output_objdir/$objdir"
45248 + # Create the object directory.
45249 + if test ! -d "$output_objdir"; then
45250 + $show "$mkdir $output_objdir"
45251 + $run $mkdir $output_objdir
45253 + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then
45254 + exit $exit_status
45258 - # This library was specified with -dlopen.
45259 - if test "$prev" = dlfiles; then
45260 - dlfiles="$dlfiles $arg"
45261 - if test -z "$dlname" || test "$dlopen" != yes || test "$build_libtool_libs" = no; then
45262 - # If there is no dlname, no dlopen support or we're linking statically,
45263 - # we need to preload.
45266 - # We should not create a dependency on this library, but we
45267 - # may need any libraries it requires.
45268 - compile_command="$compile_command$dependency_libs"
45269 - finalize_command="$finalize_command$dependency_libs"
45274 + # Determine the type of output
45277 + $echo "$modename: you must specify an output file" 1>&2
45278 + $echo "$help" 1>&2
45279 + exit $EXIT_FAILURE
45281 + *.$libext) linkmode=oldlib ;;
45282 + *.lo | *.$objext) linkmode=obj ;;
45283 + *.la) linkmode=lib ;;
45284 + *) linkmode=prog ;; # Anything else should be a program.
45287 - # The library was specified with -dlpreopen.
45288 - if test "$prev" = dlprefiles; then
45289 - # Prefer using a static library (so that no silly _DYNAMIC symbols
45290 - # are required to link).
45291 - if test -n "$old_library"; then
45292 - dlprefiles="$dlprefiles $dir/$old_library"
45294 - dlprefiles="$dlprefiles $dir/$linklib"
45299 + *cygwin* | *mingw* | *pw32*)
45300 + # don't eliminate duplications in $postdeps and $predeps
45301 + duplicate_compiler_generated_deps=yes
45304 + duplicate_compiler_generated_deps=$duplicate_deps
45309 - if test -n "$library_names" &&
45310 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
45311 - link_against_libtool_libs="$link_against_libtool_libs $arg"
45312 - if test -n "$shlibpath_var"; then
45313 - # Make sure the rpath contains only unique directories.
45314 - case "$temp_rpath " in
45316 - *) temp_rpath="$temp_rpath $dir" ;;
45320 + # Find all interdependent deplibs by searching for libraries
45321 + # that are linked more than once (e.g. -la -lb -la)
45322 + for deplib in $deplibs; do
45323 + if test "X$duplicate_deps" = "Xyes" ; then
45325 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
45328 + libs="$libs $deplib"
45331 - # We need an absolute path.
45333 - [\\/] | [A-Za-z]:[\\/]*) absdir="$dir" ;;
45334 + if test "$linkmode" = lib; then
45335 + libs="$predeps $libs $compiler_lib_search_path $postdeps"
45337 + # Compute libraries that are listed more than once in $predeps
45338 + # $postdeps and mark them as special (i.e., whose duplicates are
45339 + # not to be eliminated).
45341 + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
45342 + for pre_post_dep in $predeps $postdeps; do
45343 + case "$pre_post_deps " in
45344 + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
45346 + pre_post_deps="$pre_post_deps $pre_post_dep"
45353 + newdependency_libs=
45354 + newlib_search_path=
45355 + need_relink=no # whether we're linking any uninstalled libtool libraries
45356 + notinst_deplibs= # not-installed libtool libraries
45357 + case $linkmode in
45359 + passes="conv link"
45360 + for file in $dlfiles $dlprefiles; do
45364 - absdir=`cd "$dir" && pwd`
45365 - if test -z "$absdir"; then
45366 - $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
45367 - $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
45370 + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
45371 + exit $EXIT_FAILURE
45375 - # This is the magic to use -rpath.
45376 - # Skip directories that are in the system default run-time
45377 - # search path, unless they have been requested with -R.
45378 - case " $sys_lib_dlsearch_path " in
45379 - *" $absdir "*) ;;
45381 - case "$compile_rpath " in
45382 - *" $absdir "*) ;;
45383 - *) compile_rpath="$compile_rpath $absdir"
45389 + finalize_deplibs=
45393 + passes="conv scan dlopen dlpreopen link"
45398 + for pass in $passes; do
45399 + if test "$linkmode,$pass" = "lib,link" ||
45400 + test "$linkmode,$pass" = "prog,scan"; then
45404 + if test "$linkmode" = prog; then
45406 + dlopen) libs="$dlfiles" ;;
45407 + dlpreopen) libs="$dlprefiles" ;;
45409 + libs="$deplibs %DEPLIBS%"
45410 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
45414 + if test "$pass" = dlopen; then
45415 + # Collect dlpreopened libraries
45416 + save_deplibs="$deplibs"
45419 + for deplib in $libs; do
45423 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
45424 + if test "$linkmode,$pass" = "prog,link"; then
45425 + compile_deplibs="$deplib $compile_deplibs"
45426 + finalize_deplibs="$deplib $finalize_deplibs"
45428 + compiler_flags="$compiler_flags $deplib"
45433 + if test "$linkmode" != lib && test "$linkmode" != prog; then
45434 + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
45437 + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
45438 + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
45439 + for search_ext in .la $std_shrext .so .a; do
45440 + # Search the libtool library
45441 + lib="$searchdir/lib${name}${search_ext}"
45442 + if test -f "$lib"; then
45443 + if test "$search_ext" = ".la"; then
45452 + if test "$found" != yes; then
45453 + # deplib doesn't seem to be a libtool library
45454 + if test "$linkmode,$pass" = "prog,link"; then
45455 + compile_deplibs="$deplib $compile_deplibs"
45456 + finalize_deplibs="$deplib $finalize_deplibs"
45458 + deplibs="$deplib $deplibs"
45459 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
45462 + else # deplib is a libtool library
45463 + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
45464 + # We need to do some special things here, and not later.
45465 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
45466 + case " $predeps $postdeps " in
45468 + if (${SED} -e '2q' $lib |
45469 + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
45473 + */* | *\\*) . $lib ;;
45476 + for l in $old_library $library_names; do
45479 + if test "X$ll" = "X$old_library" ; then # only static version available
45481 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
45482 + test "X$ladir" = "X$lib" && ladir="."
45483 + lib=$ladir/$old_library
45484 + if test "$linkmode,$pass" = "prog,link"; then
45485 + compile_deplibs="$deplib $compile_deplibs"
45486 + finalize_deplibs="$deplib $finalize_deplibs"
45488 + deplibs="$deplib $deplibs"
45489 + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
45501 + case $linkmode in
45503 + deplibs="$deplib $deplibs"
45504 + test "$pass" = conv && continue
45505 + newdependency_libs="$deplib $newdependency_libs"
45506 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
45509 + if test "$pass" = conv; then
45510 + deplibs="$deplib $deplibs"
45513 + if test "$pass" = scan; then
45514 + deplibs="$deplib $deplibs"
45516 + compile_deplibs="$deplib $compile_deplibs"
45517 + finalize_deplibs="$deplib $finalize_deplibs"
45519 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
45523 - case " $sys_lib_dlsearch_path " in
45524 - *" $libdir "*) ;;
45526 - case "$finalize_rpath " in
45527 - *" $libdir "*) ;;
45528 - *) finalize_rpath="$finalize_rpath $libdir"
45530 + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
45535 - case "$hardcode_action" in
45536 - immediate | unsupported)
45537 - if test "$hardcode_direct" = no; then
45538 - compile_command="$compile_command $dir/$linklib"
45539 - deplibs="$deplibs $dir/$linklib"
45541 - *-*-cygwin* | *-*-mingw* | *-*-os2*)
45542 - dllsearchdir=`cd "$dir" && pwd || echo "$dir"`
45543 - if test -n "$dllsearchpath"; then
45544 - dllsearchpath="$dllsearchpath:$dllsearchdir"
45546 - dllsearchpath="$dllsearchdir"
45551 + if test "$pass" = link; then
45552 + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
45553 + # Make sure the xrpath contains only unique directories.
45554 + case "$xrpath " in
45556 + *) xrpath="$xrpath $dir" ;;
45559 + deplibs="$deplib $deplibs"
45562 + *.la) lib="$deplib" ;;
45564 + if test "$pass" = conv; then
45565 + deplibs="$deplib $deplibs"
45568 + case $linkmode in
45571 + case $deplibs_check_method in
45573 + set dummy $deplibs_check_method
45574 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
45575 + if eval $echo \"$deplib\" 2>/dev/null \
45577 + | $EGREP "$match_pattern_regex" > /dev/null; then
45582 - elif test "$hardcode_minus_L" = no; then
45585 - compile_shlibpath="$compile_shlibpath$dir:"
45590 - case "$compile_command " in
45592 - *) compile_command="$compile_command -L$dir";;
45594 - compile_command="$compile_command -l$name"
45595 - deplibs="$deplibs -L$dir -l$name"
45596 - elif test "$hardcode_shlibpath_var" = no; then
45597 - case ":$compile_shlibpath:" in
45599 - *) compile_shlibpath="$compile_shlibpath$dir:";;
45601 - compile_command="$compile_command -l$name"
45602 - deplibs="$deplibs -l$name"
45604 + if test "$valid_a_lib" != yes; then
45606 + $echo "*** Warning: Trying to link with static lib archive $deplib."
45607 + $echo "*** I have the capability to make that library automatically link in when"
45608 + $echo "*** you link to this library. But I can only do this if you have a"
45609 + $echo "*** shared version of the library, which you do not appear to have"
45610 + $echo "*** because the file extensions .$libext of this argument makes me believe"
45611 + $echo "*** that it is just a static archive that I should not used here."
45615 + $echo "*** Warning: Linking the shared library $output against the"
45616 + $echo "*** static library $deplib is not portable!"
45617 + deplibs="$deplib $deplibs"
45623 - if test "$hardcode_direct" = yes; then
45624 - compile_command="$compile_command $absdir/$linklib"
45625 - deplibs="$deplibs $absdir/$linklib"
45626 - elif test "$hardcode_minus_L" = yes; then
45627 - case "$compile_command " in
45628 - *" -L$absdir "*) ;;
45629 - *) compile_command="$compile_command -L$absdir";;
45631 - compile_command="$compile_command -l$name"
45632 - deplibs="$deplibs -L$absdir -l$name"
45633 - elif test "$hardcode_shlibpath_var" = yes; then
45634 - case ":$compile_shlibpath:" in
45635 - *":$absdir:"*) ;;
45636 - *) compile_shlibpath="$compile_shlibpath$absdir:";;
45638 - compile_command="$compile_command -l$name"
45639 - deplibs="$deplibs -l$name"
45641 + if test "$pass" != link; then
45642 + deplibs="$deplib $deplibs"
45645 + compile_deplibs="$deplib $compile_deplibs"
45646 + finalize_deplibs="$deplib $finalize_deplibs"
45652 + *.lo | *.$objext)
45653 + if test "$pass" = conv; then
45654 + deplibs="$deplib $deplibs"
45655 + elif test "$linkmode" = prog; then
45656 + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
45657 + # If there is no dlopen support or we're linking statically,
45658 + # we need to preload.
45659 + newdlprefiles="$newdlprefiles $deplib"
45660 + compile_deplibs="$deplib $compile_deplibs"
45661 + finalize_deplibs="$deplib $finalize_deplibs"
45663 + newdlfiles="$newdlfiles $deplib"
45672 + esac # case $deplib
45673 + if test "$found" = yes || test -f "$lib"; then :
45675 + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2
45676 + exit $EXIT_FAILURE
45683 + # Check to see that this really is a libtool archive.
45684 + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
45686 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
45687 + exit $EXIT_FAILURE
45690 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
45691 + test "X$ladir" = "X$lib" && ladir="."
45693 - if test "$lib_linked" != yes; then
45694 - $echo "$modename: configuration error: unsupported hardcode properties"
45702 + # If the library was installed with an old release of libtool,
45703 + # it will not redefine variables installed, or shouldnotlink
45709 + # Read the .la file
45711 + */* | *\\*) . $lib ;;
45715 + if test "$linkmode,$pass" = "lib,link" ||
45716 + test "$linkmode,$pass" = "prog,scan" ||
45717 + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
45718 + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
45719 + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
45722 + if test "$pass" = conv; then
45723 + # Only check for convenience libraries
45724 + deplibs="$lib $deplibs"
45725 + if test -z "$libdir"; then
45726 + if test -z "$old_library"; then
45727 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
45728 + exit $EXIT_FAILURE
45730 + # It is a libtool convenience library, so add in its objects.
45731 + convenience="$convenience $ladir/$objdir/$old_library"
45732 + old_convenience="$old_convenience $ladir/$objdir/$old_library"
45734 + for deplib in $dependency_libs; do
45735 + deplibs="$deplib $deplibs"
45736 + if test "X$duplicate_deps" = "Xyes" ; then
45737 + case "$tmp_libs " in
45738 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
45741 + tmp_libs="$tmp_libs $deplib"
45743 + elif test "$linkmode" != prog && test "$linkmode" != lib; then
45744 + $echo "$modename: \`$lib' is not a convenience library" 1>&2
45745 + exit $EXIT_FAILURE
45748 + fi # $pass = conv
45750 - # Finalize command for both is simple: just hardcode it.
45751 - if test "$hardcode_direct" = yes; then
45752 - finalize_command="$finalize_command $libdir/$linklib"
45753 - elif test "$hardcode_minus_L" = yes; then
45754 - case "$finalize_command " in
45755 - *" -L$libdir "*) ;;
45756 - *) finalize_command="$finalize_command -L$libdir";;
45758 - finalize_command="$finalize_command -l$name"
45759 - elif test "$hardcode_shlibpath_var" = yes; then
45760 - case ":$finalize_shlibpath:" in
45761 - *":$libdir:"*) ;;
45762 - *) finalize_shlibpath="$finalize_shlibpath$libdir:";;
45764 - finalize_command="$finalize_command -l$name"
45766 + # Get the name of the library we link against.
45768 + for l in $old_library $library_names; do
45771 + if test -z "$linklib"; then
45772 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
45773 + exit $EXIT_FAILURE
45776 + # This library was specified with -dlopen.
45777 + if test "$pass" = dlopen; then
45778 + if test -z "$libdir"; then
45779 + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
45780 + exit $EXIT_FAILURE
45782 + if test -z "$dlname" ||
45783 + test "$dlopen_support" != yes ||
45784 + test "$build_libtool_libs" = no; then
45785 + # If there is no dlname, no dlopen support or we're linking
45786 + # statically, we need to preload. We also need to preload any
45787 + # dependent libraries so libltdl's deplib preloader doesn't
45788 + # bomb out in the load deplibs phase.
45789 + dlprefiles="$dlprefiles $lib $dependency_libs"
45791 - # We cannot seem to hardcode it, guess we'll fake it.
45792 - case "$finalize_command " in
45794 - *) finalize_command="$finalize_command -L$libdir";;
45796 - finalize_command="$finalize_command -l$name"
45797 + newdlfiles="$newdlfiles $lib"
45800 + fi # $pass = dlopen
45802 + # We need an absolute path.
45804 + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
45806 + abs_ladir=`cd "$ladir" && pwd`
45807 + if test -z "$abs_ladir"; then
45808 + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
45809 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
45810 + abs_ladir="$ladir"
45814 + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
45816 + # Find the relevant object directory and library name.
45817 + if test "X$installed" = Xyes; then
45818 + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
45819 + $echo "$modename: warning: library \`$lib' was moved." 1>&2
45821 + absdir="$abs_ladir"
45822 + libdir="$abs_ladir"
45827 + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
45829 - # Transform directly to old archives if we don't build new libraries.
45830 - if test -n "$pic_flag" && test -z "$old_library"; then
45831 - $echo "$modename: cannot find static library for \`$arg'" 1>&2
45833 + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
45835 + absdir="$abs_ladir"
45836 + # Remove this search path later
45837 + notinst_path="$notinst_path $abs_ladir"
45839 + dir="$ladir/$objdir"
45840 + absdir="$abs_ladir/$objdir"
45841 + # Remove this search path later
45842 + notinst_path="$notinst_path $abs_ladir"
45844 + fi # $installed = yes
45845 + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
45847 + # This library was specified with -dlpreopen.
45848 + if test "$pass" = dlpreopen; then
45849 + if test -z "$libdir"; then
45850 + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
45851 + exit $EXIT_FAILURE
45853 + # Prefer using a static library (so that no silly _DYNAMIC symbols
45854 + # are required to link).
45855 + if test -n "$old_library"; then
45856 + newdlprefiles="$newdlprefiles $dir/$old_library"
45857 + # Otherwise, use the dlname, so that lt_dlopen finds it.
45858 + elif test -n "$dlname"; then
45859 + newdlprefiles="$newdlprefiles $dir/$dlname"
45861 + newdlprefiles="$newdlprefiles $dir/$linklib"
45863 + fi # $pass = dlpreopen
45865 - # Here we assume that one of hardcode_direct or hardcode_minus_L
45866 - # is not unsupported. This is valid on all known static and
45867 - # shared platforms.
45868 - if test "$hardcode_direct" != unsupported; then
45869 - test -n "$old_library" && linklib="$old_library"
45870 - compile_command="$compile_command $dir/$linklib"
45871 - finalize_command="$finalize_command $dir/$linklib"
45872 + if test -z "$libdir"; then
45873 + # Link the convenience library
45874 + if test "$linkmode" = lib; then
45875 + deplibs="$dir/$old_library $deplibs"
45876 + elif test "$linkmode,$pass" = "prog,link"; then
45877 + compile_deplibs="$dir/$old_library $compile_deplibs"
45878 + finalize_deplibs="$dir/$old_library $finalize_deplibs"
45880 - case "$compile_command " in
45882 - *) compile_command="$compile_command -L$dir";;
45883 + deplibs="$lib $deplibs" # used for prog,scan pass
45889 + if test "$linkmode" = prog && test "$pass" != link; then
45890 + newlib_search_path="$newlib_search_path $ladir"
45891 + deplibs="$lib $deplibs"
45893 + linkalldeplibs=no
45894 + if test "$link_all_deplibs" != no || test -z "$library_names" ||
45895 + test "$build_libtool_libs" = no; then
45896 + linkalldeplibs=yes
45900 + for deplib in $dependency_libs; do
45902 + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
45904 + # Need to link against all dependency_libs?
45905 + if test "$linkalldeplibs" = yes; then
45906 + deplibs="$deplib $deplibs"
45908 + # Need to hardcode shared library paths
45909 + # or/and link against static libraries
45910 + newdependency_libs="$deplib $newdependency_libs"
45912 + if test "X$duplicate_deps" = "Xyes" ; then
45913 + case "$tmp_libs " in
45914 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
45917 + tmp_libs="$tmp_libs $deplib"
45918 + done # for deplib
45920 + fi # $linkmode = prog...
45922 + if test "$linkmode,$pass" = "prog,link"; then
45923 + if test -n "$library_names" &&
45924 + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
45925 + # We need to hardcode the library path
45926 + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
45927 + # Make sure the rpath contains only unique directories.
45928 + case "$temp_rpath " in
45930 + *" $absdir "*) ;;
45931 + *) temp_rpath="$temp_rpath $absdir" ;;
45935 + # Hardcode the library path.
45936 + # Skip directories that are in the system default run-time
45938 + case " $sys_lib_dlsearch_path " in
45939 + *" $absdir "*) ;;
45941 + case "$compile_rpath " in
45942 + *" $absdir "*) ;;
45943 + *) compile_rpath="$compile_rpath $absdir"
45947 - compile_command="$compile_command -l$name"
45948 - case "$finalize_command " in
45950 - *) finalize_command="$finalize_command -L$dir";;
45951 + case " $sys_lib_dlsearch_path " in
45952 + *" $libdir "*) ;;
45954 + case "$finalize_rpath " in
45955 + *" $libdir "*) ;;
45956 + *) finalize_rpath="$finalize_rpath $libdir"
45960 - finalize_command="$finalize_command -l$name"
45961 + fi # $linkmode,$pass = prog,link...
45963 + if test "$alldeplibs" = yes &&
45964 + { test "$deplibs_check_method" = pass_all ||
45965 + { test "$build_libtool_libs" = yes &&
45966 + test -n "$library_names"; }; }; then
45967 + # We only need to search for static libraries
45972 - # Add in any libraries that this one depends upon.
45973 - compile_command="$compile_command$dependency_libs"
45974 - finalize_command="$finalize_command$dependency_libs"
45977 + link_static=no # Whether the deplib will be linked statically
45978 + use_static_libs=$prefer_static_libs
45979 + if test "$use_static_libs" = built && test "$installed" = yes ; then
45980 + use_static_libs=no
45982 + if test -n "$library_names" &&
45983 + { test "$use_static_libs" = no || test -z "$old_library"; }; then
45984 + if test "$installed" = no; then
45985 + notinst_deplibs="$notinst_deplibs $lib"
45988 + # This is a shared library
45990 + # Warn about portability, can't link against -module's on
45991 + # some systems (darwin)
45992 + if test "$shouldnotlink" = yes && test "$pass" = link ; then
45994 + if test "$linkmode" = prog; then
45995 + $echo "*** Warning: Linking the executable $output against the loadable module"
45997 + $echo "*** Warning: Linking the shared library $output against the loadable module"
45999 + $echo "*** $linklib is not portable!"
46001 + if test "$linkmode" = lib &&
46002 + test "$hardcode_into_libs" = yes; then
46003 + # Hardcode the library path.
46004 + # Skip directories that are in the system default run-time
46006 + case " $sys_lib_dlsearch_path " in
46007 + *" $absdir "*) ;;
46009 + case "$compile_rpath " in
46010 + *" $absdir "*) ;;
46011 + *) compile_rpath="$compile_rpath $absdir"
46015 + case " $sys_lib_dlsearch_path " in
46016 + *" $libdir "*) ;;
46018 + case "$finalize_rpath " in
46019 + *" $libdir "*) ;;
46020 + *) finalize_rpath="$finalize_rpath $libdir"
46026 - # Some other compiler argument.
46028 - # Unknown arguments in both finalize_command and compile_command need
46029 - # to be aesthetically quoted because they are evaled later.
46030 - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
46032 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
46038 + if test -n "$old_archive_from_expsyms_cmds"; then
46039 + # figure out the soname
46040 + set dummy $library_names
46043 + libname=`eval \\$echo \"$libname_spec\"`
46044 + # use dlname if we got it. it's perfectly good, no?
46045 + if test -n "$dlname"; then
46047 + elif test -n "$soname_spec"; then
46050 + *cygwin* | mingw*)
46051 + major=`expr $current - $age`
46052 + versuffix="-$major"
46055 + eval soname=\"$soname_spec\"
46057 + soname="$realname"
46060 - # Now actually substitute the argument into the commands.
46061 - if test -n "$arg"; then
46062 - compile_command="$compile_command $arg"
46063 - finalize_command="$finalize_command $arg"
46066 + # Make a new name for the extract_expsyms_cmds to use
46068 + soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
46069 + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
46071 - if test -n "$prev"; then
46072 - $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
46073 - $echo "$help" 1>&2
46076 + # If the library has no export list, then create one now
46077 + if test -f "$output_objdir/$soname-def"; then :
46079 + $show "extracting exported symbol list from \`$soname'"
46080 + save_ifs="$IFS"; IFS='~'
46081 + cmds=$extract_expsyms_cmds
46082 + for cmd in $cmds; do
46084 + eval cmd=\"$cmd\"
46086 + $run eval "$cmd" || exit $?
46091 - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
46092 - eval arg=\"$export_dynamic_flag_spec\"
46093 - compile_command="$compile_command $arg"
46094 - finalize_command="$finalize_command $arg"
46097 + if test -f "$output_objdir/$newlib"; then :; else
46098 + $show "generating import library for \`$soname'"
46099 + save_ifs="$IFS"; IFS='~'
46100 + cmds=$old_archive_from_expsyms_cmds
46101 + for cmd in $cmds; do
46103 + eval cmd=\"$cmd\"
46105 + $run eval "$cmd" || exit $?
46109 + # make sure the library variables are pointing to the new library
46110 + dir=$output_objdir
46112 + fi # test -n "$old_archive_from_expsyms_cmds"
46114 + if test "$linkmode" = prog || test "$mode" != relink; then
46119 + case $hardcode_action in
46120 + immediate | unsupported)
46121 + if test "$hardcode_direct" = no; then
46122 + add="$dir/$linklib"
46124 + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
46125 + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
46126 + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
46127 + *-*-unixware7*) add_dir="-L$dir" ;;
46129 + # if the lib is a module then we can not link against
46130 + # it, someone is ignoring the new warnings I added
46131 + if /usr/bin/file -L $add 2> /dev/null |
46132 + $EGREP ": [^:]* bundle" >/dev/null ; then
46133 + $echo "** Warning, lib $linklib is a module, not a shared library"
46134 + if test -z "$old_library" ; then
46136 + $echo "** And there doesn't seem to be a static archive available"
46137 + $echo "** The link will probably fail, sorry"
46139 + add="$dir/$old_library"
46143 + elif test "$hardcode_minus_L" = no; then
46145 + *-*-sunos*) add_shlibpath="$dir" ;;
46149 + elif test "$hardcode_shlibpath_var" = no; then
46150 + add_shlibpath="$dir"
46157 + if test "$hardcode_direct" = yes; then
46158 + add="$dir/$linklib"
46159 + elif test "$hardcode_minus_L" = yes; then
46161 + # Try looking first in the location we're being installed to.
46162 + if test -n "$inst_prefix_dir"; then
46165 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
46170 + elif test "$hardcode_shlibpath_var" = yes; then
46171 + add_shlibpath="$dir"
46177 + *) lib_linked=no ;;
46181 - # calculate the name of the file, without its directory
46182 - outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
46183 - libobjs_save="$libobjs"
46184 + if test "$lib_linked" != yes; then
46185 + $echo "$modename: configuration error: unsupported hardcode properties"
46186 + exit $EXIT_FAILURE
46189 - case "$output" in
46191 - $echo "$modename: you must specify an output file" 1>&2
46192 - $echo "$help" 1>&2
46195 + if test -n "$add_shlibpath"; then
46196 + case :$compile_shlibpath: in
46197 + *":$add_shlibpath:"*) ;;
46198 + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
46201 + if test "$linkmode" = prog; then
46202 + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
46203 + test -n "$add" && compile_deplibs="$add $compile_deplibs"
46205 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
46206 + test -n "$add" && deplibs="$add $deplibs"
46207 + if test "$hardcode_direct" != yes && \
46208 + test "$hardcode_minus_L" != yes && \
46209 + test "$hardcode_shlibpath_var" = yes; then
46210 + case :$finalize_shlibpath: in
46211 + *":$libdir:"*) ;;
46212 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
46218 + if test "$linkmode" = prog || test "$mode" = relink; then
46222 + # Finalize command for both is simple: just hardcode it.
46223 + if test "$hardcode_direct" = yes; then
46224 + add="$libdir/$linklib"
46225 + elif test "$hardcode_minus_L" = yes; then
46226 + add_dir="-L$libdir"
46228 + elif test "$hardcode_shlibpath_var" = yes; then
46229 + case :$finalize_shlibpath: in
46230 + *":$libdir:"*) ;;
46231 + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
46234 + elif test "$hardcode_automatic" = yes; then
46235 + if test -n "$inst_prefix_dir" &&
46236 + test -f "$inst_prefix_dir$libdir/$linklib" ; then
46237 + add="$inst_prefix_dir$libdir/$linklib"
46239 + add="$libdir/$linklib"
46242 + # We cannot seem to hardcode it, guess we'll fake it.
46243 + add_dir="-L$libdir"
46244 + # Try looking first in the location we're being installed to.
46245 + if test -n "$inst_prefix_dir"; then
46248 + add_dir="$add_dir -L$inst_prefix_dir$libdir"
46255 + if test "$linkmode" = prog; then
46256 + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
46257 + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
46259 + test -n "$add_dir" && deplibs="$add_dir $deplibs"
46260 + test -n "$add" && deplibs="$add $deplibs"
46263 + elif test "$linkmode" = prog; then
46264 + # Here we assume that one of hardcode_direct or hardcode_minus_L
46265 + # is not unsupported. This is valid on all known static and
46266 + # shared platforms.
46267 + if test "$hardcode_direct" != unsupported; then
46268 + test -n "$old_library" && linklib="$old_library"
46269 + compile_deplibs="$dir/$linklib $compile_deplibs"
46270 + finalize_deplibs="$dir/$linklib $finalize_deplibs"
46272 + compile_deplibs="-l$name -L$dir $compile_deplibs"
46273 + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
46275 + elif test "$build_libtool_libs" = yes; then
46276 + # Not a shared library
46277 + if test "$deplibs_check_method" != pass_all; then
46278 + # We're trying link a shared library against a static one
46279 + # but the system doesn't support it.
46281 + # Just print a warning and add the library to dependency_libs so
46282 + # that the program can be linked against the static library.
46284 + $echo "*** Warning: This system can not link to static lib archive $lib."
46285 + $echo "*** I have the capability to make that library automatically link in when"
46286 + $echo "*** you link to this library. But I can only do this if you have a"
46287 + $echo "*** shared version of the library, which you do not appear to have."
46288 + if test "$module" = yes; then
46289 + $echo "*** But as you try to build a module library, libtool will still create "
46290 + $echo "*** a static module, that should work as long as the dlopening application"
46291 + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
46292 + if test -z "$global_symbol_pipe"; then
46294 + $echo "*** However, this would only work if libtool was able to extract symbol"
46295 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
46296 + $echo "*** not find such a program. So, this module is probably useless."
46297 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
46299 + if test "$build_old_libs" = no; then
46300 + build_libtool_libs=module
46301 + build_old_libs=yes
46303 + build_libtool_libs=no
46307 + deplibs="$dir/$old_library $deplibs"
46310 + fi # link shared/static library?
46312 + if test "$linkmode" = lib; then
46313 + if test -n "$dependency_libs" &&
46314 + { test "$hardcode_into_libs" != yes ||
46315 + test "$build_old_libs" = yes ||
46316 + test "$link_static" = yes; }; then
46317 + # Extract -R from dependency_libs
46319 + for libdir in $dependency_libs; do
46321 + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
46322 + case " $xrpath " in
46323 + *" $temp_xrpath "*) ;;
46324 + *) xrpath="$xrpath $temp_xrpath";;
46326 + *) temp_deplibs="$temp_deplibs $libdir";;
46329 + dependency_libs="$temp_deplibs"
46332 + newlib_search_path="$newlib_search_path $absdir"
46333 + # Link against this library
46334 + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
46335 + # ... and its dependency_libs
46337 + for deplib in $dependency_libs; do
46338 + newdependency_libs="$deplib $newdependency_libs"
46339 + if test "X$duplicate_deps" = "Xyes" ; then
46340 + case "$tmp_libs " in
46341 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
46344 + tmp_libs="$tmp_libs $deplib"
46348 - if test -n "$link_against_libtool_libs"; then
46349 - $echo "$modename: error: cannot link libtool libraries into archives" 1>&2
46351 + if test "$link_all_deplibs" != no; then
46352 + # Add the search paths of all dependency libraries
46353 + for deplib in $dependency_libs; do
46355 + -L*) path="$deplib" ;;
46357 + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
46358 + test "X$dir" = "X$deplib" && dir="."
46359 + # We need an absolute path.
46361 + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
46363 + absdir=`cd "$dir" && pwd`
46364 + if test -z "$absdir"; then
46365 + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
46370 + if grep "^installed=no" $deplib > /dev/null; then
46371 + path="$absdir/$objdir"
46373 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
46374 + if test -z "$libdir"; then
46375 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
46376 + exit $EXIT_FAILURE
46378 + if test "$absdir" != "$libdir"; then
46379 + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
46386 + # we do not want to link against static libs,
46387 + # but need to link against shared
46388 + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
46389 + if test -n "$deplibrary_names" ; then
46390 + for tmp in $deplibrary_names ; do
46393 + if test -f "$path/$depdepl" ; then
46394 + depdepl="$path/$depdepl"
46396 + # do not add paths which are already there
46397 + case " $newlib_search_path " in
46399 + *) newlib_search_path="$newlib_search_path $path";;
46412 + # Again, we only want to link against shared libraries
46413 + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
46414 + for tmp in $newlib_search_path ; do
46415 + if test -f "$tmp/lib$tmp_libs.dylib" ; then
46416 + eval depdepl="$tmp/lib$tmp_libs.dylib"
46427 + case " $deplibs " in
46429 + *) deplibs="$path $deplibs" ;;
46431 + case " $deplibs " in
46432 + *" $depdepl "*) ;;
46433 + *) deplibs="$depdepl $deplibs" ;;
46436 + fi # link_all_deplibs != no
46437 + fi # linkmode = lib
46438 + done # for deplib in $libs
46439 + dependency_libs="$newdependency_libs"
46440 + if test "$pass" = dlpreopen; then
46441 + # Link the dlpreopened libraries before other libraries
46442 + for deplib in $save_deplibs; do
46443 + deplibs="$deplib $deplibs"
46446 + if test "$pass" != dlopen; then
46447 + if test "$pass" != conv; then
46448 + # Make sure lib_search_path contains only unique directories.
46450 + for dir in $newlib_search_path; do
46451 + case "$lib_search_path " in
46453 + *) lib_search_path="$lib_search_path $dir" ;;
46456 + newlib_search_path=
46459 + if test "$linkmode,$pass" != "prog,link"; then
46462 + vars="compile_deplibs finalize_deplibs"
46464 + for var in $vars dependency_libs; do
46465 + # Add libraries to $var in reverse order
46466 + eval tmp_libs=\"\$$var\"
46468 + for deplib in $tmp_libs; do
46469 + # FIXME: Pedantically, this is the right thing to do, so
46470 + # that some nasty dependency loop isn't accidentally
46472 + #new_libs="$deplib $new_libs"
46473 + # Pragmatically, this seems to cause very few problems in
46476 + -L*) new_libs="$deplib $new_libs" ;;
46479 + # And here is the reason: when a library appears more
46480 + # than once as an explicit dependence of a library, or
46481 + # is implicitly linked in more than once by the
46482 + # compiler, it is considered special, and multiple
46483 + # occurrences thereof are not removed. Compare this
46484 + # with having the same library being listed as a
46485 + # dependency of multiple other libraries: in this case,
46486 + # we know (pedantically, we assume) the library does not
46487 + # need to be listed more than once, so we keep only the
46488 + # last copy. This is not always right, but it is rare
46489 + # enough that we require users that really mean to play
46490 + # such unportable linking tricks to link the library
46491 + # using -Wl,-lname, so that libtool does not consider it
46492 + # for duplicate removal.
46493 + case " $specialdeplibs " in
46494 + *" $deplib "*) new_libs="$deplib $new_libs" ;;
46496 + case " $new_libs " in
46497 + *" $deplib "*) ;;
46498 + *) new_libs="$deplib $new_libs" ;;
46506 + for deplib in $new_libs; do
46509 + case " $tmp_libs " in
46510 + *" $deplib "*) ;;
46511 + *) tmp_libs="$tmp_libs $deplib" ;;
46514 + *) tmp_libs="$tmp_libs $deplib" ;;
46517 + eval $var=\"$tmp_libs\"
46520 + # Last step: remove runtime libs from dependency_libs
46521 + # (they stay in deplibs)
46523 + for i in $dependency_libs ; do
46524 + case " $predeps $postdeps $compiler_lib_search_path " in
46529 + if test -n "$i" ; then
46530 + tmp_libs="$tmp_libs $i"
46533 + dependency_libs=$tmp_libs
46535 + if test "$linkmode" = prog; then
46536 + dlfiles="$newdlfiles"
46537 + dlprefiles="$newdlprefiles"
46540 + case $linkmode in
46542 if test -n "$deplibs"; then
46543 $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
46545 @@ -1552,7 +3076,7 @@
46548 if test -n "$vinfo"; then
46549 - $echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2
46550 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
46553 if test -n "$release"; then
46554 @@ -1566,24 +3090,27 @@
46555 # Now set the variables for building old libraries.
46556 build_libtool_libs=no
46558 + objs="$objs$old_deplibs"
46563 # Make sure we only generate libraries of the form `libNAME.la'.
46564 - case "$outputname" in
46565 + case $outputname in
46567 name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
46568 + eval shared_ext=\"$shrext_cmds\"
46569 eval libname=\"$libname_spec\"
46572 if test "$module" = no; then
46573 $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
46576 + exit $EXIT_FAILURE
46578 if test "$need_lib_prefix" != no; then
46579 # Add the "lib" prefix for modules if required
46580 name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
46581 + eval shared_ext=\"$shrext_cmds\"
46582 eval libname=\"$libname_spec\"
46584 libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
46585 @@ -1591,30 +3118,24 @@
46589 - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
46590 - if test "X$output_objdir" = "X$output"; then
46591 - output_objdir="$objdir"
46593 - output_objdir="$output_objdir/$objdir"
46596 if test -n "$objs"; then
46597 - $echo "$modename: cannot build libtool library \`$output' from non-libtool objects:$objs" 2>&1
46601 - # How the heck are we supposed to write a wrapper for a shared library?
46602 - if test -n "$link_against_libtool_libs"; then
46603 - $echo "$modename: error: cannot link shared libraries into libtool libraries" 1>&2
46605 + if test "$deplibs_check_method" != pass_all; then
46606 + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
46607 + exit $EXIT_FAILURE
46610 + $echo "*** Warning: Linking the shared library $output against the non-libtool"
46611 + $echo "*** objects $objs is not portable!"
46612 + libobjs="$libobjs $objs"
46616 - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
46617 - $echo "$modename: warning: \`-dlopen' is ignored for libtool libraries" 1>&2
46618 + if test "$dlself" != no; then
46619 + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
46623 - if test $# -gt 2; then
46624 + if test "$#" -gt 2; then
46625 $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
46627 install_libdir="$2"
46628 @@ -1623,15 +3144,16 @@
46629 if test -z "$rpath"; then
46630 if test "$build_libtool_libs" = yes; then
46631 # Building a libtool convenience library.
46633 + # Some compilers have problems with a `.al' extension so
46634 + # convenience libraries should have the same extension an
46635 + # archive normally would.
46636 oldlibs="$output_objdir/$libname.$libext $oldlibs"
46637 build_libtool_libs=convenience
46640 - dependency_libs="$deplibs"
46642 if test -n "$vinfo"; then
46643 - $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2
46644 + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
46647 if test -n "$release"; then
46648 @@ -1640,73 +3162,143 @@
46651 # Parse the version information argument.
46652 - IFS="${IFS= }"; save_ifs="$IFS"; IFS=':'
46653 + save_ifs="$IFS"; IFS=':'
46654 set dummy $vinfo 0 0 0
46657 if test -n "$8"; then
46658 $echo "$modename: too many parameters to \`-version-info'" 1>&2
46661 + exit $EXIT_FAILURE
46667 + # convert absolute version numbers to libtool ages
46668 + # this retains compatibility with .la files and attempts
46669 + # to make the code below a bit more comprehensible
46671 + case $vinfo_number in
46673 + number_major="$2"
46674 + number_minor="$3"
46675 + number_revision="$4"
46677 + # There are really only two kinds -- those that
46678 + # use the current revision as the major version
46679 + # and those that subtract age and use age as
46680 + # a minor version. But, then there is irix
46681 + # which has an extra 1 added just for fun
46683 + case $version_type in
46684 + darwin|linux|osf|windows)
46685 + current=`expr $number_major + $number_minor`
46686 + age="$number_minor"
46687 + revision="$number_revision"
46689 + freebsd-aout|freebsd-elf|sunos)
46690 + current="$number_major"
46691 + revision="$number_minor"
46695 + current=`expr $number_major + $number_minor - 1`
46696 + age="$number_minor"
46697 + revision="$number_minor"
46700 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
46701 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
46702 + exit $EXIT_FAILURE
46713 # Check that each of the things are valid numbers.
46714 - case "$current" in
46715 - 0 | [1-9] | [1-9][0-9]*) ;;
46717 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
46719 - $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
46720 + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2
46721 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
46723 + exit $EXIT_FAILURE
46727 - case "$revision" in
46728 - 0 | [1-9] | [1-9][0-9]*) ;;
46729 + case $revision in
46730 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
46732 - $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
46733 + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2
46734 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
46736 + exit $EXIT_FAILURE
46741 - 0 | [1-9] | [1-9][0-9]*) ;;
46743 + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
46745 - $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
46746 + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2
46747 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
46749 + exit $EXIT_FAILURE
46753 - if test $age -gt $current; then
46754 + if test "$age" -gt "$current"; then
46755 $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
46756 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
46758 + exit $EXIT_FAILURE
46761 # Calculate the version variables.
46765 - case "$version_type" in
46766 + case $version_type in
46771 + # Like Linux, but with the current version available in
46772 + # verstring for coding it into the library header
46773 + major=.`expr $current - $age`
46774 + versuffix="$major.$age.$revision"
46775 + # Darwin ld doesn't like 0 for these options...
46776 + minor_current=`expr $current + 1`
46777 + verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
46781 + major=".$current"
46782 + versuffix=".$current.$revision";
46786 + major=".$current"
46787 + versuffix=".$current";
46790 + irix | nonstopux)
46791 major=`expr $current - $age + 1`
46792 - versuffix="$major.$revision"
46793 - verstring="sgi$major.$revision"
46795 + case $version_type in
46796 + nonstopux) verstring_prefix=nonstopux ;;
46797 + *) verstring_prefix=sgi ;;
46799 + verstring="$verstring_prefix$major.$revision"
46801 # Add in all the interfaces that we are compatible with.
46803 - while test $loop != 0; do
46804 + while test "$loop" -ne 0; do
46805 iface=`expr $revision - $loop`
46806 loop=`expr $loop - 1`
46807 - verstring="sgi$major.$iface:$verstring"
46808 + verstring="$verstring_prefix$major.$iface:$verstring"
46811 + # Before this point, $major must not contain `.'.
46813 + versuffix="$major.$revision"
46817 @@ -1715,13 +3307,13 @@
46821 - major=`expr $current - $age`
46822 + major=.`expr $current - $age`
46823 versuffix=".$current.$age.$revision"
46824 verstring="$current.$age.$revision"
46826 # Add in all the interfaces that we are compatible with.
46828 - while test $loop != 0; do
46829 + while test "$loop" -ne 0; do
46830 iface=`expr $current - $loop`
46831 loop=`expr $loop - 1`
46832 verstring="$verstring:${iface}.0"
46833 @@ -1736,34 +3328,33 @@
46834 versuffix=".$current.$revision"
46838 - major=".$current"
46839 - versuffix=".$current.$revision";
46843 - major=".$current"
46844 - versuffix=".$current";
46848 - # Like Linux, but with '-' rather than '.', since we only
46849 - # want one extension on Windows 95.
46850 + # Use '-' rather than '.', since we only want one
46851 + # extension on DOS 8.3 filesystems.
46852 major=`expr $current - $age`
46853 - versuffix="-$major-$age-$revision"
46854 + versuffix="-$major"
46858 $echo "$modename: unknown library version type \`$version_type'" 1>&2
46859 - echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
46861 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
46862 + exit $EXIT_FAILURE
46866 # Clear the version info if we defaulted, and they specified a release.
46867 if test -z "$vinfo" && test -n "$release"; then
46870 + case $version_type in
46872 + # we can't check for "0.0" in archive_cmds due to quoting
46873 + # problems, so we reset it completely
46880 if test "$need_version" = no; then
46883 @@ -1777,7 +3368,7 @@
46889 # Check to see if the archive will have undefined symbols.
46890 if test "$allow_undefined" = yes; then
46891 if test "$allow_undefined_flag" = unsupported; then
46892 @@ -1789,29 +3380,32 @@
46893 # Don't allow undefined symbols.
46894 allow_undefined_flag="$no_undefined_flag"
46897 - dependency_libs="$deplibs"
46899 - *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
46900 - # these systems don't actually have a c library (as such)!
46903 - # Add libc to deplibs on all other systems.
46904 - deplibs="$deplibs -lc"
46909 - # Create the output directory, or remove our outputs if we need to.
46910 - if test -d $output_objdir; then
46911 - $show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
46912 - $run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
46914 - $show "$mkdir $output_objdir"
46915 - $run $mkdir $output_objdir
46917 - if test $status -ne 0 && test ! -d $output_objdir; then
46919 + if test "$mode" != relink; then
46920 + # Remove our outputs, but don't remove object files since they
46921 + # may have been created when compiling PIC objects.
46923 + tempremovelist=`$echo "$output_objdir/*"`
46924 + for p in $tempremovelist; do
46928 + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
46929 + if test "X$precious_files_regex" != "X"; then
46930 + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
46935 + removelist="$removelist $p"
46940 + if test -n "$removelist"; then
46941 + $show "${rm}r $removelist"
46942 + $run ${rm}r $removelist
46946 @@ -1823,7 +3417,79 @@
46947 oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
46950 + # Eliminate all temporary directories.
46951 + for path in $notinst_path; do
46952 + lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
46953 + deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
46954 + dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
46957 + if test -n "$xrpath"; then
46958 + # If the user specified any rpath flags, then add them.
46960 + for libdir in $xrpath; do
46961 + temp_xrpath="$temp_xrpath -R$libdir"
46962 + case "$finalize_rpath " in
46963 + *" $libdir "*) ;;
46964 + *) finalize_rpath="$finalize_rpath $libdir" ;;
46967 + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
46968 + dependency_libs="$temp_xrpath $dependency_libs"
46972 + # Make sure dlfiles contains only unique files that won't be dlpreopened
46973 + old_dlfiles="$dlfiles"
46975 + for lib in $old_dlfiles; do
46976 + case " $dlprefiles $dlfiles " in
46978 + *) dlfiles="$dlfiles $lib" ;;
46982 + # Make sure dlprefiles contains only unique files
46983 + old_dlprefiles="$dlprefiles"
46985 + for lib in $old_dlprefiles; do
46986 + case "$dlprefiles " in
46988 + *) dlprefiles="$dlprefiles $lib" ;;
46992 if test "$build_libtool_libs" = yes; then
46993 + if test -n "$rpath"; then
46995 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
46996 + # these systems don't actually have a c library (as such)!
46998 + *-*-rhapsody* | *-*-darwin1.[012])
46999 + # Rhapsody C library is in the System framework
47000 + deplibs="$deplibs -framework System"
47003 + # Don't link with libc until the a.out ld.so is fixed.
47005 + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
47006 + # Do not include libc due to us having libc/libc_r.
47008 + *-*-sco3.2v5* | *-*-sco5v6*)
47009 + # Causes problems with __ctype
47011 + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
47012 + # Compiler inserts libc in the correct place for threads to work
47015 + # Add libc to deplibs on all other systems if necessary.
47016 + if test "$build_libtool_need_lc" = "yes"; then
47017 + deplibs="$deplibs -lc"
47023 # Transform deplibs into only deplibs that can be linked in shared.
47025 libname_save=$libname
47026 @@ -1838,13 +3504,13 @@
47030 - case "$deplibs_check_method" in
47031 + case $deplibs_check_method in
47033 # Don't check for shared/static. Everything works.
47034 # This might be a little naive. We might want to check
47035 # whether the library exists or not. But this is on
47036 # osf3 & osf4 and I'm not really sure... Just
47037 - # implementing what was already the behaviour.
47038 + # implementing what was already the behavior.
47039 newdeplibs=$deplibs
47042 @@ -1857,64 +3523,88 @@
47043 int main() { return 0; }
47046 - $CC -o conftest conftest.c $deplibs
47047 - if test $? -eq 0 ; then
47048 + $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
47049 + if test "$?" -eq 0 ; then
47050 ldd_output=`ldd conftest`
47051 for i in $deplibs; do
47052 - name="`expr $i : '-l\(.*\)'`"
47053 + name=`expr $i : '-l\(.*\)'`
47054 # If $name is empty we are operating on a -L argument.
47055 - if test "$name" != "" ; then
47056 - libname=`eval \\$echo \"$libname_spec\"`
47057 - deplib_matches=`eval \\$echo \"$library_names_spec\"`
47058 - set dummy $deplib_matches
47060 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
47061 - newdeplibs="$newdeplibs $i"
47065 - echo "*** Warning: This library needs some functionality provided by $i."
47066 - echo "*** I have the capability to make that library automatically link in when"
47067 - echo "*** you link to this library. But I can only do this if you have a"
47068 - echo "*** shared version of the library, which you do not appear to have."
47069 + if test "$name" != "" && test "$name" -ne "0"; then
47070 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
47071 + case " $predeps $postdeps " in
47073 + newdeplibs="$newdeplibs $i"
47078 + if test -n "$i" ; then
47079 + libname=`eval \\$echo \"$libname_spec\"`
47080 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
47081 + set dummy $deplib_matches
47083 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
47084 + newdeplibs="$newdeplibs $i"
47088 + $echo "*** Warning: dynamic linker does not accept needed library $i."
47089 + $echo "*** I have the capability to make that library automatically link in when"
47090 + $echo "*** you link to this library. But I can only do this if you have a"
47091 + $echo "*** shared version of the library, which I believe you do not have"
47092 + $echo "*** because a test_compile did reveal that the linker did not use it for"
47093 + $echo "*** its dynamic dependency list that programs get resolved with at runtime."
47097 newdeplibs="$newdeplibs $i"
47101 - # Error occured in the first compile. Let's try to salvage the situation:
47102 - # Compile a seperate program for each library.
47103 + # Error occurred in the first compile. Let's try to salvage
47104 + # the situation: Compile a separate program for each library.
47105 for i in $deplibs; do
47106 - name="`expr $i : '-l\(.*\)'`"
47107 - # If $name is empty we are operating on a -L argument.
47108 - if test "$name" != "" ; then
47109 + name=`expr $i : '-l\(.*\)'`
47110 + # If $name is empty we are operating on a -L argument.
47111 + if test "$name" != "" && test "$name" != "0"; then
47113 - $CC -o conftest conftest.c $i
47114 + $LTCC $LTCFLAGS -o conftest conftest.c $i
47116 - if test $? -eq 0 ; then
47117 + if test "$?" -eq 0 ; then
47118 ldd_output=`ldd conftest`
47119 - libname=`eval \\$echo \"$libname_spec\"`
47120 - deplib_matches=`eval \\$echo \"$library_names_spec\"`
47121 - set dummy $deplib_matches
47123 - if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
47124 - newdeplibs="$newdeplibs $i"
47128 - echo "*** Warning: This library needs some functionality provided by $i."
47129 - echo "*** I have the capability to make that library automatically link in when"
47130 - echo "*** you link to this library. But I can only do this if you have a"
47131 - echo "*** shared version of the library, which you do not appear to have."
47132 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
47133 + case " $predeps $postdeps " in
47135 + newdeplibs="$newdeplibs $i"
47140 + if test -n "$i" ; then
47141 + libname=`eval \\$echo \"$libname_spec\"`
47142 + deplib_matches=`eval \\$echo \"$library_names_spec\"`
47143 + set dummy $deplib_matches
47145 + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
47146 + newdeplibs="$newdeplibs $i"
47150 + $echo "*** Warning: dynamic linker does not accept needed library $i."
47151 + $echo "*** I have the capability to make that library automatically link in when"
47152 + $echo "*** you link to this library. But I can only do this if you have a"
47153 + $echo "*** shared version of the library, which you do not appear to have"
47154 + $echo "*** because a test_compile did reveal that the linker did not use this one"
47155 + $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
47161 - echo "*** Warning! Library $i is needed by this library but I was not able to"
47162 - echo "*** make it link in! You will probably need to install it or some"
47163 - echo "*** library that it depends on before this library will be fully"
47164 - echo "*** functional. Installing it before continuing would be even better."
47166 + $echo "*** Warning! Library $i is needed by this library but I was not able to"
47167 + $echo "*** make it link in! You will probably need to install it or some"
47168 + $echo "*** library that it depends on before this library will be fully"
47169 + $echo "*** functional. Installing it before continuing would be even better."
47172 newdeplibs="$newdeplibs $i"
47173 @@ -1924,19 +3614,28 @@
47176 set dummy $deplibs_check_method
47177 - file_magic_regex="`expr \"$deplibs_check_method\" : \"$2 \(.*\)\"`"
47178 + file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
47179 for a_deplib in $deplibs; do
47180 - name="`expr $a_deplib : '-l\(.*\)'`"
47181 + name=`expr $a_deplib : '-l\(.*\)'`
47182 # If $name is empty we are operating on a -L argument.
47183 - if test "$name" != "" ; then
47184 - libname=`eval \\$echo \"$libname_spec\"`
47185 - for i in $lib_search_path; do
47186 - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
47187 - for potent_lib in $potential_libs; do
47188 + if test "$name" != "" && test "$name" != "0"; then
47189 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
47190 + case " $predeps $postdeps " in
47192 + newdeplibs="$newdeplibs $a_deplib"
47197 + if test -n "$a_deplib" ; then
47198 + libname=`eval \\$echo \"$libname_spec\"`
47199 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
47200 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
47201 + for potent_lib in $potential_libs; do
47202 # Follow soft links.
47203 if ls -lLd "$potent_lib" 2>/dev/null \
47204 | grep " -> " >/dev/null; then
47208 # The statement above tries to avoid entering an
47209 # endless loop below, in case of cyclic links.
47210 @@ -1945,28 +3644,88 @@
47212 potlib="$potent_lib"
47213 while test -h "$potlib" 2>/dev/null; do
47214 - potliblink=`ls -ld $potlib | sed 's/.* -> //'`
47215 - case "$potliblink" in
47216 + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
47217 + case $potliblink in
47218 [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
47219 *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
47222 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
47224 - | egrep "$file_magic_regex" > /dev/null; then
47226 + | $EGREP "$file_magic_regex" > /dev/null; then
47227 newdeplibs="$newdeplibs $a_deplib"
47236 + if test -n "$a_deplib" ; then
47239 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
47240 + $echo "*** I have the capability to make that library automatically link in when"
47241 + $echo "*** you link to this library. But I can only do this if you have a"
47242 + $echo "*** shared version of the library, which you do not appear to have"
47243 + $echo "*** because I did check the linker path looking for a file starting"
47244 + if test -z "$potlib" ; then
47245 + $echo "*** with $libname but no candidates were found. (...for file magic test)"
47247 + $echo "*** with $libname and none of the candidates passed a file format test"
47248 + $echo "*** using a file magic. Last file checked: $potlib"
47252 + # Add a -L argument.
47253 + newdeplibs="$newdeplibs $a_deplib"
47255 + done # Gone through all deplibs.
47258 + set dummy $deplibs_check_method
47259 + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
47260 + for a_deplib in $deplibs; do
47261 + name=`expr $a_deplib : '-l\(.*\)'`
47262 + # If $name is empty we are operating on a -L argument.
47263 + if test -n "$name" && test "$name" != "0"; then
47264 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
47265 + case " $predeps $postdeps " in
47267 + newdeplibs="$newdeplibs $a_deplib"
47272 + if test -n "$a_deplib" ; then
47273 + libname=`eval \\$echo \"$libname_spec\"`
47274 + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
47275 + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
47276 + for potent_lib in $potential_libs; do
47277 + potlib="$potent_lib" # see symlink-check above in file_magic test
47278 + if eval $echo \"$potent_lib\" 2>/dev/null \
47280 + | $EGREP "$match_pattern_regex" > /dev/null; then
47281 + newdeplibs="$newdeplibs $a_deplib"
47288 if test -n "$a_deplib" ; then
47291 - echo "*** Warning: This library needs some functionality provided by $a_deplib."
47292 - echo "*** I have the capability to make that library automatically link in when"
47293 - echo "*** you link to this library. But I can only do this if you have a"
47294 - echo "*** shared version of the library, which you do not appear to have."
47296 + $echo "*** Warning: linker path does not have real file for library $a_deplib."
47297 + $echo "*** I have the capability to make that library automatically link in when"
47298 + $echo "*** you link to this library. But I can only do this if you have a"
47299 + $echo "*** shared version of the library, which you do not appear to have"
47300 + $echo "*** because I did check the linker path looking for a file starting"
47301 + if test -z "$potlib" ; then
47302 + $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
47304 + $echo "*** with $libname and none of the candidates passed a file format test"
47305 + $echo "*** using a regex pattern. Last file checked: $potlib"
47309 # Add a -L argument.
47310 @@ -1976,16 +3735,23 @@
47312 none | unknown | *)
47314 - if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
47315 - -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g' |
47316 - grep . >/dev/null; then
47318 + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
47319 + -e 's/ -[LR][^ ]*//g'`
47320 + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
47321 + for i in $predeps $postdeps ; do
47322 + # can't use Xsed below, because $i might contain '/'
47323 + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
47326 + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
47327 + | grep . >/dev/null; then
47329 if test "X$deplibs_check_method" = "Xnone"; then
47330 - echo "*** Warning: inter-library dependencies are not supported in this platform."
47331 + $echo "*** Warning: inter-library dependencies are not supported in this platform."
47333 - echo "*** Warning: inter-library dependencies are not known to be supported."
47334 + $echo "*** Warning: inter-library dependencies are not known to be supported."
47336 - echo "*** All declared inter-library dependencies are being dropped."
47337 + $echo "*** All declared inter-library dependencies are being dropped."
47341 @@ -1996,19 +3762,26 @@
47342 libname=$libname_save
47346 + *-*-rhapsody* | *-*-darwin1.[012])
47347 + # On Rhapsody replace the C library is the System framework
47348 + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
47352 if test "$droppeddeps" = yes; then
47353 if test "$module" = yes; then
47355 - echo "*** Warning: libtool could not satisfy all declared inter-library"
47356 - echo "*** dependencies of module $libname. Therefore, libtool will create"
47357 - echo "*** a static module, that should work as long as the dlopening"
47358 - echo "*** application is linked with the -dlopen flag."
47360 + $echo "*** Warning: libtool could not satisfy all declared inter-library"
47361 + $echo "*** dependencies of module $libname. Therefore, libtool will create"
47362 + $echo "*** a static module, that should work as long as the dlopening"
47363 + $echo "*** application is linked with the -dlopen flag."
47364 if test -z "$global_symbol_pipe"; then
47366 - echo "*** However, this would only work if libtool was able to extract symbol"
47367 - echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
47368 - echo "*** not find such a program. So, this module is probably useless."
47369 - echo "*** \`nm' from GNU binutils and a full rebuild may help."
47371 + $echo "*** However, this would only work if libtool was able to extract symbol"
47372 + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
47373 + $echo "*** not find such a program. So, this module is probably useless."
47374 + $echo "*** \`nm' from GNU binutils and a full rebuild may help."
47376 if test "$build_old_libs" = no; then
47377 oldlibs="$output_objdir/$libname.$libext"
47378 @@ -2018,23 +3791,127 @@
47379 build_libtool_libs=no
47382 - echo "*** The inter-library dependencies that have been dropped here will be"
47383 - echo "*** automatically added whenever a program is linked with this library"
47384 - echo "*** or is declared to -dlopen it."
47385 + $echo "*** The inter-library dependencies that have been dropped here will be"
47386 + $echo "*** automatically added whenever a program is linked with this library"
47387 + $echo "*** or is declared to -dlopen it."
47389 + if test "$allow_undefined" = no; then
47391 + $echo "*** Since this library must not contain undefined symbols,"
47392 + $echo "*** because either the platform does not support them or"
47393 + $echo "*** it was explicitly requested with -no-undefined,"
47394 + $echo "*** libtool will only create a static version of it."
47395 + if test "$build_old_libs" = no; then
47396 + oldlibs="$output_objdir/$libname.$libext"
47397 + build_libtool_libs=module
47398 + build_old_libs=yes
47400 + build_libtool_libs=no
47405 # Done checking deplibs!
47406 deplibs=$newdeplibs
47410 + # move library search paths that coincide with paths to not yet
47411 + # installed libraries to the beginning of the library search list
47413 + for path in $notinst_path; do
47414 + case " $new_libs " in
47415 + *" -L$path/$objdir "*) ;;
47417 + case " $deplibs " in
47418 + *" -L$path/$objdir "*)
47419 + new_libs="$new_libs -L$path/$objdir" ;;
47424 + for deplib in $deplibs; do
47427 + case " $new_libs " in
47428 + *" $deplib "*) ;;
47429 + *) new_libs="$new_libs $deplib" ;;
47432 + *) new_libs="$new_libs $deplib" ;;
47435 + deplibs="$new_libs"
47438 # All the library-specific variables (install_libdir is set above).
47444 # Test again, we may have decided not to build it any more
47445 if test "$build_libtool_libs" = yes; then
47446 + if test "$hardcode_into_libs" = yes; then
47447 + # Hardcode the library paths
47448 + hardcode_libdirs=
47450 + rpath="$finalize_rpath"
47451 + test "$mode" != relink && rpath="$compile_rpath$rpath"
47452 + for libdir in $rpath; do
47453 + if test -n "$hardcode_libdir_flag_spec"; then
47454 + if test -n "$hardcode_libdir_separator"; then
47455 + if test -z "$hardcode_libdirs"; then
47456 + hardcode_libdirs="$libdir"
47458 + # Just accumulate the unique libdirs.
47459 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
47460 + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
47463 + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
47468 + eval flag=\"$hardcode_libdir_flag_spec\"
47469 + dep_rpath="$dep_rpath $flag"
47471 + elif test -n "$runpath_var"; then
47472 + case "$perm_rpath " in
47473 + *" $libdir "*) ;;
47474 + *) perm_rpath="$perm_rpath $libdir" ;;
47478 + # Substitute the hardcoded libdirs into the rpath.
47479 + if test -n "$hardcode_libdir_separator" &&
47480 + test -n "$hardcode_libdirs"; then
47481 + libdir="$hardcode_libdirs"
47482 + if test -n "$hardcode_libdir_flag_spec_ld"; then
47483 + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
47485 + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
47488 + if test -n "$runpath_var" && test -n "$perm_rpath"; then
47489 + # We should set the runpath_var.
47491 + for dir in $perm_rpath; do
47492 + rpath="$rpath$dir:"
47494 + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
47496 + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
47499 + shlibpath="$finalize_shlibpath"
47500 + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
47501 + if test -n "$shlibpath"; then
47502 + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
47505 # Get the real and link names of the library.
47506 + eval shared_ext=\"$shrext_cmds\"
47507 eval library_names=\"$library_names_spec\"
47508 set dummy $library_names
47510 @@ -2045,30 +3922,17 @@
47514 + if test -z "$dlname"; then
47518 lib="$output_objdir/$realname"
47522 linknames="$linknames $link"
47525 - # Ensure that we have .o objects for linkers which dislike .lo
47526 - # (e.g. aix) in case we are running --disable-static
47527 - for obj in $libobjs; do
47528 - xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
47529 - if test "X$xdir" = "X$obj"; then
47534 - baseobj=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
47535 - oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
47536 - if test ! -f $xdir/$oldobj; then
47537 - $show "(cd $xdir && ${LN_S} $baseobj $oldobj)"
47538 - $run eval '(cd $xdir && ${LN_S} $baseobj $oldobj)' || exit $?
47542 # Use standard objects if they are pic
47543 test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
47545 @@ -2078,17 +3942,29 @@
47546 $show "generating symbol list for \`$libname.la'"
47547 export_symbols="$output_objdir/$libname.exp"
47548 $run $rm $export_symbols
47549 - eval cmds=\"$export_symbols_cmds\"
47550 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
47551 + cmds=$export_symbols_cmds
47552 + save_ifs="$IFS"; IFS='~'
47553 for cmd in $cmds; do
47556 - $run eval "$cmd" || exit $?
47557 + eval cmd=\"$cmd\"
47558 + if len=`expr "X$cmd" : ".*"` &&
47559 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
47561 + $run eval "$cmd" || exit $?
47562 + skipped_export=false
47564 + # The command line is too long to execute in one step.
47565 + $show "using reloadable object file for export list..."
47567 + # Break out early, otherwise skipped_export may be
47568 + # set to false by a later but shorter cmd.
47573 if test -n "$export_symbols_regex"; then
47574 - $show "egrep -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
47575 - $run eval 'egrep -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
47576 + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
47577 + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
47578 $show "$mv \"${export_symbols}T\" \"$export_symbols\""
47579 $run eval '$mv "${export_symbols}T" "$export_symbols"'
47581 @@ -2099,65 +3975,212 @@
47582 $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
47586 + for test_deplib in $deplibs; do
47587 + case " $convenience " in
47588 + *" $test_deplib "*) ;;
47590 + tmp_deplibs="$tmp_deplibs $test_deplib"
47594 + deplibs="$tmp_deplibs"
47596 if test -n "$convenience"; then
47597 if test -n "$whole_archive_flag_spec"; then
47598 + save_libobjs=$libobjs
47599 eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
47601 gentop="$output_objdir/${outputname}x"
47602 - $show "${rm}r $gentop"
47603 - $run ${rm}r "$gentop"
47604 - $show "mkdir $gentop"
47605 - $run mkdir "$gentop"
47607 - if test $status -ne 0 && test ! -d "$gentop"; then
47610 generated="$generated $gentop"
47612 - for xlib in $convenience; do
47613 - # Extract the objects.
47615 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
47616 - *) xabs=`pwd`"/$xlib" ;;
47618 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
47619 - xdir="$gentop/$xlib"
47621 - $show "${rm}r $xdir"
47622 - $run ${rm}r "$xdir"
47623 - $show "mkdir $xdir"
47624 - $run mkdir "$xdir"
47626 - if test $status -ne 0 && test ! -d "$xdir"; then
47629 - $show "(cd $xdir && $AR x $xabs)"
47630 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
47632 - libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
47634 + func_extract_archives $gentop $convenience
47635 + libobjs="$libobjs $func_extract_archives_result"
47640 if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
47641 eval flag=\"$thread_safe_flag_spec\"
47642 - linkopts="$linkopts $flag"
47643 + linker_flags="$linker_flags $flag"
47646 + # Make a backup of the uninstalled library when relinking
47647 + if test "$mode" = relink; then
47648 + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
47651 # Do each of the archive commands.
47652 + if test "$module" = yes && test -n "$module_cmds" ; then
47653 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
47654 + eval test_cmds=\"$module_expsym_cmds\"
47655 + cmds=$module_expsym_cmds
47657 + eval test_cmds=\"$module_cmds\"
47658 + cmds=$module_cmds
47661 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
47662 - eval cmds=\"$archive_expsym_cmds\"
47663 + eval test_cmds=\"$archive_expsym_cmds\"
47664 + cmds=$archive_expsym_cmds
47666 + eval test_cmds=\"$archive_cmds\"
47667 + cmds=$archive_cmds
47671 + if test "X$skipped_export" != "X:" &&
47672 + len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
47673 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
47676 - eval cmds=\"$archive_cmds\"
47677 + # The command line is too long to link in one step, link piecewise.
47678 + $echo "creating reloadable object files..."
47680 + # Save the value of $output and $libobjs because we want to
47681 + # use them later. If we have whole_archive_flag_spec, we
47682 + # want to use save_libobjs as it was before
47683 + # whole_archive_flag_spec was expanded, because we can't
47684 + # assume the linker understands whole_archive_flag_spec.
47685 + # This may have to be revisited, in case too many
47686 + # convenience libraries get linked in and end up exceeding
47688 + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
47689 + save_libobjs=$libobjs
47691 + save_output=$output
47692 + output_la=`$echo "X$output" | $Xsed -e "$basename"`
47694 + # Clear the reloadable object creation command queue and
47695 + # initialize k to one.
47702 + output=$output_objdir/$output_la-${k}.$objext
47703 + # Loop over the list of objects to be linked.
47704 + for obj in $save_libobjs
47706 + eval test_cmds=\"$reload_cmds $objlist $last_robj\"
47707 + if test "X$objlist" = X ||
47708 + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
47709 + test "$len" -le "$max_cmd_len"; }; then
47710 + objlist="$objlist $obj"
47712 + # The command $test_cmds is almost too long, add a
47713 + # command to the queue.
47714 + if test "$k" -eq 1 ; then
47715 + # The first file doesn't have a previous command to add.
47716 + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
47718 + # All subsequent reloadable object files will link in
47719 + # the last one created.
47720 + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
47722 + last_robj=$output_objdir/$output_la-${k}.$objext
47724 + output=$output_objdir/$output_la-${k}.$objext
47729 + # Handle the remaining objects by creating one last
47730 + # reloadable object file. All subsequent reloadable object
47731 + # files will link in the last one created.
47732 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
47733 + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
47735 + if ${skipped_export-false}; then
47736 + $show "generating symbol list for \`$libname.la'"
47737 + export_symbols="$output_objdir/$libname.exp"
47738 + $run $rm $export_symbols
47740 + # Append the command to create the export file.
47741 + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
47744 + # Set up a command to remove the reloadable object files
47745 + # after they are used.
47747 + while test "$i" -lt "$k"
47750 + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext"
47753 + $echo "creating a temporary reloadable object file: $output"
47755 + # Loop through the commands generated above and execute them.
47756 + save_ifs="$IFS"; IFS='~'
47757 + for cmd in $concat_cmds; do
47760 + $run eval "$cmd" || exit $?
47765 + # Restore the value of output.
47766 + output=$save_output
47768 + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
47769 + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
47771 + # Expand the library linking commands again to reset the
47772 + # value of $libobjs for piecewise linking.
47774 + # Do each of the archive commands.
47775 + if test "$module" = yes && test -n "$module_cmds" ; then
47776 + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
47777 + cmds=$module_expsym_cmds
47779 + cmds=$module_cmds
47782 + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
47783 + cmds=$archive_expsym_cmds
47785 + cmds=$archive_cmds
47789 + # Append the command to remove the reloadable object files
47790 + # to the just-reset $cmds.
47791 + eval cmds=\"\$cmds~\$rm $delfiles\"
47793 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
47794 + save_ifs="$IFS"; IFS='~'
47795 for cmd in $cmds; do
47797 + eval cmd=\"$cmd\"
47799 - $run eval "$cmd" || exit $?
47800 + $run eval "$cmd" || {
47803 + # Restore the uninstalled library and exit
47804 + if test "$mode" = relink; then
47805 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
47813 + # Restore the uninstalled library and exit
47814 + if test "$mode" = relink; then
47815 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
47817 + if test -n "$convenience"; then
47818 + if test -z "$whole_archive_flag_spec"; then
47819 + $show "${rm}r $gentop"
47820 + $run ${rm}r "$gentop"
47824 + exit $EXIT_SUCCESS
47827 # Create links to the real library.
47828 for linkname in $linknames; do
47829 if test "$realname" != "$linkname"; then
47830 @@ -2174,12 +4197,7 @@
47834 - *.lo | *.o | *.obj)
47835 - if test -n "$link_against_libtool_libs"; then
47836 - $echo "$modename: error: cannot link libtool libraries into objects" 1>&2
47841 if test -n "$deplibs"; then
47842 $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
47844 @@ -2204,11 +4222,11 @@
47845 $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
47848 - case "$output" in
47851 - if test -n "$objs"; then
47852 + if test -n "$objs$old_deplibs"; then
47853 $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
47855 + exit $EXIT_FAILURE
47858 obj=`$echo "X$output" | $Xsed -e "$lo2o"`
47859 @@ -2230,56 +4248,29 @@
47861 # reload_cmds runs $LD directly, so let us get rid of
47862 # -Wl from whole_archive_flag_spec
47866 if test -n "$convenience"; then
47867 if test -n "$whole_archive_flag_spec"; then
47868 eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
47870 gentop="$output_objdir/${obj}x"
47871 - $show "${rm}r $gentop"
47872 - $run ${rm}r "$gentop"
47873 - $show "mkdir $gentop"
47874 - $run mkdir "$gentop"
47876 - if test $status -ne 0 && test ! -d "$gentop"; then
47879 generated="$generated $gentop"
47881 - for xlib in $convenience; do
47882 - # Extract the objects.
47884 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
47885 - *) xabs=`pwd`"/$xlib" ;;
47887 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
47888 - xdir="$gentop/$xlib"
47890 - $show "${rm}r $xdir"
47891 - $run ${rm}r "$xdir"
47892 - $show "mkdir $xdir"
47893 - $run mkdir "$xdir"
47895 - if test $status -ne 0 && test ! -d "$xdir"; then
47898 - $show "(cd $xdir && $AR x $xabs)"
47899 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
47901 - reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP`
47903 + func_extract_archives $gentop $convenience
47904 + reload_conv_objs="$reload_objs $func_extract_archives_result"
47908 # Create the old-style object.
47909 - reload_objs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs"
47910 + reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
47913 - eval cmds=\"$reload_cmds\"
47914 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
47915 + cmds=$reload_cmds
47916 + save_ifs="$IFS"; IFS='~'
47917 for cmd in $cmds; do
47919 + eval cmd=\"$cmd\"
47921 $run eval "$cmd" || exit $?
47923 @@ -2292,7 +4283,7 @@
47924 $run ${rm}r $gentop
47928 + exit $EXIT_SUCCESS
47931 if test "$build_libtool_libs" != yes; then
47932 @@ -2303,37 +4294,24 @@
47934 # Create an invalid libtool object if no PIC, so that we don't
47935 # accidentally link it into a program.
47936 - $show "echo timestamp > $libobj"
47937 - $run eval "echo timestamp > $libobj" || exit $?
47939 + # $show "echo timestamp > $libobj"
47940 + # $run eval "echo timestamp > $libobj" || exit $?
47941 + exit $EXIT_SUCCESS
47944 - if test -n "$pic_flag"; then
47945 + if test -n "$pic_flag" || test "$pic_mode" != default; then
47946 # Only do commands if we really have different PIC objects.
47947 reload_objs="$libobjs $reload_conv_objs"
47949 - eval cmds=\"$reload_cmds\"
47950 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
47951 + cmds=$reload_cmds
47952 + save_ifs="$IFS"; IFS='~'
47953 for cmd in $cmds; do
47955 + eval cmd=\"$cmd\"
47957 $run eval "$cmd" || exit $?
47961 - # Just create a symlink.
47962 - $show $rm $libobj
47964 - xdir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'`
47965 - if test "X$xdir" = "X$libobj"; then
47970 - baseobj=`$echo "X$libobj" | $Xsed -e 's%^.*/%%'`
47971 - oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"`
47972 - $show "(cd $xdir && $LN_S $oldobj $baseobj)"
47973 - $run eval '(cd $xdir && $LN_S $oldobj $baseobj)' || exit $?
47976 if test -n "$gentop"; then
47977 @@ -2341,11 +4319,13 @@
47978 $run ${rm}r $gentop
47982 + exit $EXIT_SUCCESS
47985 - # Anything else should be a program.
47989 + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
47991 if test -n "$vinfo"; then
47992 $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
47994 @@ -2355,20 +4335,66 @@
47997 if test "$preload" = yes; then
47998 - if test "$dlopen" = unknown && test "$dlopen_self" = unknown &&
47999 + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
48000 test "$dlopen_self_static" = unknown; then
48001 $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
48008 + *-*-rhapsody* | *-*-darwin1.[012])
48009 + # On Rhapsody replace the C library is the System framework
48010 + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
48011 + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
48017 + # Don't allow lazy linking, it breaks C++ global constructors
48018 + if test "$tagname" = CXX ; then
48019 + compile_command="$compile_command ${wl}-bind_at_load"
48020 + finalize_command="$finalize_command ${wl}-bind_at_load"
48026 + # move library search paths that coincide with paths to not yet
48027 + # installed libraries to the beginning of the library search list
48029 + for path in $notinst_path; do
48030 + case " $new_libs " in
48031 + *" -L$path/$objdir "*) ;;
48033 + case " $compile_deplibs " in
48034 + *" -L$path/$objdir "*)
48035 + new_libs="$new_libs -L$path/$objdir" ;;
48040 + for deplib in $compile_deplibs; do
48043 + case " $new_libs " in
48044 + *" $deplib "*) ;;
48045 + *) new_libs="$new_libs $deplib" ;;
48048 + *) new_libs="$new_libs $deplib" ;;
48051 + compile_deplibs="$new_libs"
48054 + compile_command="$compile_command $compile_deplibs"
48055 + finalize_command="$finalize_command $finalize_deplibs"
48057 if test -n "$rpath$xrpath"; then
48058 # If the user specified any rpath flags, then add them.
48059 for libdir in $rpath $xrpath; do
48060 # This is the magic to use -rpath.
48061 - case "$compile_rpath " in
48062 - *" $libdir "*) ;;
48063 - *) compile_rpath="$compile_rpath $libdir" ;;
48065 case "$finalize_rpath " in
48067 *) finalize_rpath="$finalize_rpath $libdir" ;;
48068 @@ -2386,7 +4412,7 @@
48069 hardcode_libdirs="$libdir"
48071 # Just accumulate the unique libdirs.
48072 - case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
48073 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
48074 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
48077 @@ -2404,6 +4430,19 @@
48078 *) perm_rpath="$perm_rpath $libdir" ;;
48082 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
48083 + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'`
48084 + case :$dllsearchpath: in
48085 + *":$libdir:"*) ;;
48086 + *) dllsearchpath="$dllsearchpath:$libdir";;
48088 + case :$dllsearchpath: in
48089 + *":$testbindir:"*) ;;
48090 + *) dllsearchpath="$dllsearchpath:$testbindir";;
48095 # Substitute the hardcoded libdirs into the rpath.
48096 if test -n "$hardcode_libdir_separator" &&
48097 @@ -2422,7 +4461,7 @@
48098 hardcode_libdirs="$libdir"
48100 # Just accumulate the unique libdirs.
48101 - case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
48102 + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
48103 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
48106 @@ -2449,23 +4488,6 @@
48108 finalize_rpath="$rpath"
48110 - output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
48111 - if test "X$output_objdir" = "X$output"; then
48112 - output_objdir="$objdir"
48114 - output_objdir="$output_objdir/$objdir"
48117 - # Create the binary in the object directory, then wrap it.
48118 - if test ! -d $output_objdir; then
48119 - $show "$mkdir $output_objdir"
48120 - $run $mkdir $output_objdir
48122 - if test $status -ne 0 && test ! -d $output_objdir; then
48127 if test -n "$libobjs" && test "$build_old_libs" = yes; then
48128 # Transform all the library objects into standard objects.
48129 compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
48130 @@ -2482,7 +4504,7 @@
48133 if test -n "$dlsyms"; then
48134 - case "$dlsyms" in
48138 # Discover the nlist of each of the dlfiles.
48139 @@ -2514,38 +4536,50 @@
48140 test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
48142 # Add our own program objects to the symbol list.
48143 - progfiles=`$echo "X$objs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
48144 + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
48145 for arg in $progfiles; do
48146 $show "extracting global C symbols from \`$arg'"
48147 $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
48150 if test -n "$exclude_expsyms"; then
48151 - $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
48152 + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
48153 $run eval '$mv "$nlist"T "$nlist"'
48157 if test -n "$export_symbols_regex"; then
48158 - $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
48159 + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
48160 $run eval '$mv "$nlist"T "$nlist"'
48163 # Prepare the list of exported symbols
48164 if test -z "$export_symbols"; then
48165 - export_symbols="$output_objdir/$output.exp"
48166 + export_symbols="$output_objdir/$outputname.exp"
48167 $run $rm $export_symbols
48168 - $run eval "sed -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
48169 + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
48171 + *cygwin* | *mingw* )
48172 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
48173 + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
48177 - $run eval "sed -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
48178 - $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
48179 + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
48180 + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
48181 $run eval 'mv "$nlist"T "$nlist"'
48183 + *cygwin* | *mingw* )
48184 + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
48185 + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
48191 for arg in $dlprefiles; do
48192 $show "extracting global C symbols from \`$arg'"
48193 - name=`echo "$arg" | sed -e 's%^.*/%%'`
48194 - $run eval 'echo ": $name " >> "$nlist"'
48195 + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
48196 + $run eval '$echo ": $name " >> "$nlist"'
48197 $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
48200 @@ -2554,12 +4588,18 @@
48201 test -f "$nlist" || : > "$nlist"
48203 if test -n "$exclude_expsyms"; then
48204 - egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
48205 + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
48206 $mv "$nlist"T "$nlist"
48209 # Try sorting and uniquifying the output.
48210 - if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then
48211 + if grep -v "^: " < "$nlist" |
48212 + if sort -k 3 </dev/null >/dev/null 2>&1; then
48217 + uniq > "$nlist"S; then
48220 grep -v "^: " < "$nlist" > "$nlist"S
48221 @@ -2568,7 +4608,7 @@
48222 if test -f "$nlist"S; then
48223 eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
48225 - echo '/* NONE */' >> "$output_objdir/$dlsyms"
48226 + $echo '/* NONE */' >> "$output_objdir/$dlsyms"
48229 $echo >> "$output_objdir/$dlsyms" "\
48230 @@ -2576,27 +4616,44 @@
48231 #undef lt_preloaded_symbols
48233 #if defined (__STDC__) && __STDC__
48234 -# define lt_ptr_t void *
48235 +# define lt_ptr void *
48237 -# define lt_ptr_t char *
48238 +# define lt_ptr char *
48242 /* The mapping between symbol names and symbols. */
48246 + *cygwin* | *mingw* )
48247 + $echo >> "$output_objdir/$dlsyms" "\
48248 +/* DATA imports from DLLs on WIN32 can't be const, because
48249 + runtime relocations are performed -- see ld's documentation
48250 + on pseudo-relocs */
48255 + $echo >> "$output_objdir/$dlsyms" "\
48262 + $echo >> "$output_objdir/$dlsyms" "\
48264 - lt_ptr_t address;
48267 lt_preloaded_symbols[] =
48271 - sed -n -e 's/^: \([^ ]*\) $/ {\"\1\", (lt_ptr_t) 0},/p' \
48272 - -e 's/^. \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr_t) \&\2},/p' \
48273 - < "$nlist" >> "$output_objdir/$dlsyms"
48274 + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
48276 $echo >> "$output_objdir/$dlsyms" "\
48277 - {0, (lt_ptr_t) 0}
48281 /* This works around a problem in FreeBSD linker */
48282 @@ -2613,39 +4670,52 @@
48285 pic_flag_for_symtable=
48288 # compiling the symbol table file with pic_flag works around
48289 # a FreeBSD bug that causes programs to crash when -lm is
48290 # linked before any other PIC object. But we must not use
48291 # pic_flag when linking with -static. The problem exists in
48292 # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
48293 - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
48294 + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
48295 case "$compile_command " in
48297 - *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
48298 + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
48301 case "$compile_command " in
48303 - *) pic_flag_for_symtable=" $pic_flag -DPIC";;
48304 + *) pic_flag_for_symtable=" $pic_flag";;
48308 # Now compile the dynamic symbol file.
48309 - $show "(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
48310 - $run eval '(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
48311 + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
48312 + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
48314 # Clean up the generated files.
48315 $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
48316 $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
48318 # Transform the symbol file into the correct name.
48319 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
48320 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
48322 + *cygwin* | *mingw* )
48323 + if test -f "$output_objdir/${outputname}.def" ; then
48324 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
48325 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
48327 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
48328 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
48332 + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
48333 + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
48338 $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
48340 + exit $EXIT_FAILURE
48344 @@ -2658,7 +4728,7 @@
48345 finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
48348 - if test -z "$link_against_libtool_libs" || test "$build_libtool_libs" != yes; then
48349 + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
48350 # Replace the output file specification.
48351 compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
48352 link_command="$compile_command$compile_rpath"
48353 @@ -2666,22 +4736,22 @@
48354 # We have no uninstalled library dependencies, so finalize right now.
48355 $show "$link_command"
48356 $run eval "$link_command"
48361 # Delete the generated files.
48362 if test -n "$dlsyms"; then
48363 $show "$rm $output_objdir/${outputname}S.${objext}"
48364 $run $rm "$output_objdir/${outputname}S.${objext}"
48368 + exit $exit_status
48371 if test -n "$shlibpath_var"; then
48372 # We should set the shlibpath_var
48374 for dir in $temp_rpath; do
48377 [\\/]* | [A-Za-z]:[\\/]*)
48379 rpath="$rpath$dir:"
48380 @@ -2723,11 +4793,24 @@
48384 + if test "$no_install" = yes; then
48385 + # We don't need to create a wrapper script.
48386 + link_command="$compile_var$compile_command$compile_rpath"
48387 + # Replace the output file specification.
48388 + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
48389 + # Delete the old output file.
48391 + # Link the executable and exit
48392 + $show "$link_command"
48393 + $run eval "$link_command" || exit $?
48394 + exit $EXIT_SUCCESS
48397 if test "$hardcode_action" = relink; then
48398 # Fast installation is not supported
48399 link_command="$compile_var$compile_command$compile_rpath"
48400 relink_command="$finalize_var$finalize_command$finalize_rpath"
48403 $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
48404 $echo "$modename: \`$output' will be relinked during installation" 1>&2
48406 @@ -2747,7 +4830,7 @@
48408 # Replace the output file specification.
48409 link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
48412 # Delete the old output files.
48413 $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
48415 @@ -2759,14 +4842,26 @@
48417 # Quote the relink command for shipping.
48418 if test -n "$relink_command"; then
48419 + # Preserve any variables that may affect compiler behavior
48420 + for var in $variables_saved_for_relink; do
48421 + if eval test -z \"\${$var+set}\"; then
48422 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
48423 + elif eval var_value=\$$var; test -z "$var_value"; then
48424 + relink_command="$var=; export $var; $relink_command"
48426 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
48427 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
48430 + relink_command="(cd `pwd`; $relink_command)"
48431 relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
48434 # Quote $echo for shipping.
48435 - if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
48437 - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
48438 - *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
48439 + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then
48440 + case $progpath in
48441 + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
48442 + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
48444 qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
48446 @@ -2778,10 +4873,376 @@
48447 # win32 will think the script is a binary if it has
48448 # a .exe suffix, so we strip it off here.
48450 - *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
48451 + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
48453 + # test for cygwin because mv fails w/o .exe extensions
48457 + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
48461 - trap "$rm $output; exit 1" 1 2 15
48463 + *cygwin* | *mingw* )
48464 + output_name=`basename $output`
48465 + output_path=`dirname $output`
48466 + cwrappersource="$output_path/$objdir/lt-$output_name.c"
48467 + cwrapper="$output_path/$output_name.exe"
48468 + $rm $cwrappersource $cwrapper
48469 + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
48471 + cat > $cwrappersource <<EOF
48473 +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
48474 + Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
48476 + The $output program cannot be directly executed until all the libtool
48477 + libraries that it depends on are installed.
48479 + This wrapper executable should never be moved out of the build directory.
48480 + If it is, it will not operate correctly.
48482 + Currently, it simply execs the wrapper *script* "/bin/sh $output",
48483 + but could eventually absorb all of the scripts functionality and
48484 + exec $objdir/$outputname directly.
48487 + cat >> $cwrappersource<<"EOF"
48488 +#include <stdio.h>
48489 +#include <stdlib.h>
48490 +#include <unistd.h>
48491 +#include <malloc.h>
48492 +#include <stdarg.h>
48493 +#include <assert.h>
48494 +#include <string.h>
48495 +#include <ctype.h>
48496 +#include <sys/stat.h>
48498 +#if defined(PATH_MAX)
48499 +# define LT_PATHMAX PATH_MAX
48500 +#elif defined(MAXPATHLEN)
48501 +# define LT_PATHMAX MAXPATHLEN
48503 +# define LT_PATHMAX 1024
48506 +#ifndef DIR_SEPARATOR
48507 +# define DIR_SEPARATOR '/'
48508 +# define PATH_SEPARATOR ':'
48511 +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
48512 + defined (__OS2__)
48513 +# define HAVE_DOS_BASED_FILE_SYSTEM
48514 +# ifndef DIR_SEPARATOR_2
48515 +# define DIR_SEPARATOR_2 '\\'
48517 +# ifndef PATH_SEPARATOR_2
48518 +# define PATH_SEPARATOR_2 ';'
48522 +#ifndef DIR_SEPARATOR_2
48523 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
48524 +#else /* DIR_SEPARATOR_2 */
48525 +# define IS_DIR_SEPARATOR(ch) \
48526 + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
48527 +#endif /* DIR_SEPARATOR_2 */
48529 +#ifndef PATH_SEPARATOR_2
48530 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
48531 +#else /* PATH_SEPARATOR_2 */
48532 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
48533 +#endif /* PATH_SEPARATOR_2 */
48535 +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
48536 +#define XFREE(stale) do { \
48537 + if (stale) { free ((void *) stale); stale = 0; } \
48540 +/* -DDEBUG is fairly common in CFLAGS. */
48542 +#if defined DEBUGWRAPPER
48543 +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
48545 +# define DEBUG(format, ...)
48548 +const char *program_name = NULL;
48550 +void * xmalloc (size_t num);
48551 +char * xstrdup (const char *string);
48552 +const char * base_name (const char *name);
48553 +char * find_executable(const char *wrapper);
48554 +int check_executable(const char *path);
48555 +char * strendzap(char *str, const char *pat);
48556 +void lt_fatal (const char *message, ...);
48559 +main (int argc, char *argv[])
48564 + program_name = (char *) xstrdup (base_name (argv[0]));
48565 + DEBUG("(main) argv[0] : %s\n",argv[0]);
48566 + DEBUG("(main) program_name : %s\n",program_name);
48567 + newargz = XMALLOC(char *, argc+2);
48570 + cat >> $cwrappersource <<EOF
48571 + newargz[0] = (char *) xstrdup("$SHELL");
48574 + cat >> $cwrappersource <<"EOF"
48575 + newargz[1] = find_executable(argv[0]);
48576 + if (newargz[1] == NULL)
48577 + lt_fatal("Couldn't find %s", argv[0]);
48578 + DEBUG("(main) found exe at : %s\n",newargz[1]);
48579 + /* we know the script has the same name, without the .exe */
48580 + /* so make sure newargz[1] doesn't end in .exe */
48581 + strendzap(newargz[1],".exe");
48582 + for (i = 1; i < argc; i++)
48583 + newargz[i+1] = xstrdup(argv[i]);
48584 + newargz[argc+1] = NULL;
48586 + for (i=0; i<argc+1; i++)
48588 + DEBUG("(main) newargz[%d] : %s\n",i,newargz[i]);
48596 + cat >> $cwrappersource <<EOF
48597 + execv("$SHELL",(char const **)newargz);
48601 + cat >> $cwrappersource <<EOF
48602 + execv("$SHELL",newargz);
48607 + cat >> $cwrappersource <<"EOF"
48612 +xmalloc (size_t num)
48614 + void * p = (void *) malloc (num);
48616 + lt_fatal ("Memory exhausted");
48622 +xstrdup (const char *string)
48624 + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
48629 +base_name (const char *name)
48631 + const char *base;
48633 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
48634 + /* Skip over the disk name in MSDOS pathnames. */
48635 + if (isalpha ((unsigned char)name[0]) && name[1] == ':')
48639 + for (base = name; *name; name++)
48640 + if (IS_DIR_SEPARATOR (*name))
48646 +check_executable(const char * path)
48650 + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!");
48651 + if ((!path) || (!*path))
48654 + if ((stat (path, &st) >= 0) &&
48656 + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */
48657 +#if defined (S_IXOTH)
48658 + ((st.st_mode & S_IXOTH) == S_IXOTH) ||
48660 +#if defined (S_IXGRP)
48661 + ((st.st_mode & S_IXGRP) == S_IXGRP) ||
48663 + ((st.st_mode & S_IXUSR) == S_IXUSR))
48670 +/* Searches for the full path of the wrapper. Returns
48671 + newly allocated full path name if found, NULL otherwise */
48673 +find_executable (const char* wrapper)
48675 + int has_slash = 0;
48677 + const char* p_next;
48678 + /* static buffer for getcwd */
48679 + char tmp[LT_PATHMAX + 1];
48681 + char* concat_name;
48683 + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!");
48685 + if ((wrapper == NULL) || (*wrapper == '\0'))
48688 + /* Absolute path? */
48689 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
48690 + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':')
48692 + concat_name = xstrdup (wrapper);
48693 + if (check_executable(concat_name))
48694 + return concat_name;
48695 + XFREE(concat_name);
48700 + if (IS_DIR_SEPARATOR (wrapper[0]))
48702 + concat_name = xstrdup (wrapper);
48703 + if (check_executable(concat_name))
48704 + return concat_name;
48705 + XFREE(concat_name);
48707 +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
48711 + for (p = wrapper; *p; p++)
48719 + /* no slashes; search PATH */
48720 + const char* path = getenv ("PATH");
48721 + if (path != NULL)
48723 + for (p = path; *p; p = p_next)
48727 + for (q = p; *q; q++)
48728 + if (IS_PATH_SEPARATOR(*q))
48731 + p_next = (*q == '\0' ? q : q + 1);
48734 + /* empty path: current directory */
48735 + if (getcwd (tmp, LT_PATHMAX) == NULL)
48736 + lt_fatal ("getcwd failed");
48737 + tmp_len = strlen(tmp);
48738 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
48739 + memcpy (concat_name, tmp, tmp_len);
48740 + concat_name[tmp_len] = '/';
48741 + strcpy (concat_name + tmp_len + 1, wrapper);
48745 + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1);
48746 + memcpy (concat_name, p, p_len);
48747 + concat_name[p_len] = '/';
48748 + strcpy (concat_name + p_len + 1, wrapper);
48750 + if (check_executable(concat_name))
48751 + return concat_name;
48752 + XFREE(concat_name);
48755 + /* not found in PATH; assume curdir */
48757 + /* Relative path | not found in path: prepend cwd */
48758 + if (getcwd (tmp, LT_PATHMAX) == NULL)
48759 + lt_fatal ("getcwd failed");
48760 + tmp_len = strlen(tmp);
48761 + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1);
48762 + memcpy (concat_name, tmp, tmp_len);
48763 + concat_name[tmp_len] = '/';
48764 + strcpy (concat_name + tmp_len + 1, wrapper);
48766 + if (check_executable(concat_name))
48767 + return concat_name;
48768 + XFREE(concat_name);
48773 +strendzap(char *str, const char *pat)
48775 + size_t len, patlen;
48777 + assert(str != NULL);
48778 + assert(pat != NULL);
48780 + len = strlen(str);
48781 + patlen = strlen(pat);
48783 + if (patlen <= len)
48785 + str += len - patlen;
48786 + if (strcmp(str, pat) == 0)
48793 +lt_error_core (int exit_status, const char * mode,
48794 + const char * message, va_list ap)
48796 + fprintf (stderr, "%s: %s: ", program_name, mode);
48797 + vfprintf (stderr, message, ap);
48798 + fprintf (stderr, ".\n");
48800 + if (exit_status >= 0)
48801 + exit (exit_status);
48805 +lt_fatal (const char *message, ...)
48808 + va_start (ap, message);
48809 + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
48813 + # we should really use a build-platform specific compiler
48814 + # here, but OTOH, the wrappers (shell script and this C one)
48815 + # are only useful if you want to execute the "real" binary.
48816 + # Since the "real" binary is built for $host, then this
48817 + # wrapper might as well be built for $host, too.
48818 + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
48822 + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
48826 @@ -2797,19 +5258,19 @@
48828 # Sed substitution that helps us do robust quoting. It backslashifies
48829 # metacharacters that are still active within double-quoted strings.
48830 -Xsed='sed -e 1s/^X//'
48831 +Xsed='${SED} -e 1s/^X//'
48832 sed_quote_subst='$sed_quote_subst'
48834 # The HP-UX ksh and POSIX shell print the target directory to stdout
48835 # if CDPATH is set.
48836 -if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
48837 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
48839 relink_command=\"$relink_command\"
48841 # This environment variable determines our operation mode.
48842 if test \"\$libtool_install_magic\" = \"$magic\"; then
48843 # install mode needs the following variable:
48844 - link_against_libtool_libs='$link_against_libtool_libs'
48845 + notinst_deplibs='$notinst_deplibs'
48847 # When we are sourced in execute mode, \$file and \$echo are already set.
48848 if test \"\$libtool_execute_magic\" != \"$magic\"; then
48849 @@ -2835,20 +5296,20 @@
48850 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
48852 # Follow symbolic links until we get to the real thisdir.
48853 - file=\`ls -ld \"\$file\" | sed -n 's/.*-> //p'\`
48854 + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
48855 while test -n \"\$file\"; do
48856 destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
48858 # If there was a directory component, then change thisdir.
48859 if test \"x\$destdir\" != \"x\$file\"; then
48860 case \"\$destdir\" in
48861 - [\\/]* | [A-Za-z]:[\\/]*) thisdir=\"\$destdir\" ;;
48862 + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
48863 *) thisdir=\"\$thisdir/\$destdir\" ;;
48867 file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
48868 - file=\`ls -ld \"\$thisdir/\$file\" | sed -n 's/.*-> //p'\`
48869 + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
48872 # Try to get the absolute directory name.
48873 @@ -2857,12 +5318,12 @@
48876 if test "$fast_install" = yes; then
48877 - echo >> $output "\
48878 - program=lt-'$outputname'
48879 + $echo >> $output "\
48880 + program=lt-'$outputname'$exeext
48881 progdir=\"\$thisdir/$objdir\"
48884 if test ! -f \"\$progdir/\$program\" || \\
48885 - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | sed 1q\`; \\
48886 + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
48887 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
48889 file=\"\$\$-\$program\"
48890 @@ -2873,14 +5334,15 @@
48891 $rm \"\$progdir/\$file\"
48894 - echo >> $output "\
48895 + $echo >> $output "\
48897 # relink executable if necessary
48898 if test -n \"\$relink_command\"; then
48899 - if (cd \"\$thisdir\" && eval \$relink_command); then :
48900 + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
48902 + $echo \"\$relink_command_output\" >&2
48903 $rm \"\$progdir/\$file\"
48905 + exit $EXIT_FAILURE
48909 @@ -2890,13 +5352,13 @@
48910 $rm \"\$progdir/\$file\"
48913 - echo >> $output "\
48914 + $echo >> $output "\
48915 program='$outputname'
48916 progdir=\"\$thisdir/$objdir\"
48920 - echo >> $output "\
48921 + $echo >> $output "\
48923 if test -f \"\$progdir/\$program\"; then"
48925 @@ -2927,39 +5389,35 @@
48926 # Run the actual program with our arguments.
48929 - *-*-cygwin* | *-*-mingw | *-*-os2*)
48930 - # win32 systems need to use the prog path for dll
48932 + # Backslashes separate directories on plain windows
48933 + *-*-mingw | *-*-os2*)
48934 $echo >> $output "\
48935 - exec \$progdir\\\\\$program \${1+\"\$@\"}
48936 + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
48941 $echo >> $output "\
48942 - # Export the path to the program.
48943 - PATH=\"\$progdir:\$PATH\"
48946 - exec \$program \${1+\"\$@\"}
48947 + exec \"\$progdir/\$program\" \${1+\"\$@\"}
48951 $echo >> $output "\
48952 \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
48954 + exit $EXIT_FAILURE
48957 # The program doesn't exist.
48958 - \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
48959 + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
48960 \$echo \"This script is just a wrapper for \$program.\" 1>&2
48961 - echo \"See the $PACKAGE documentation for more information.\" 1>&2
48963 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2
48964 + exit $EXIT_FAILURE
48971 + exit $EXIT_SUCCESS
48975 @@ -2975,74 +5433,130 @@
48976 oldobjs="$libobjs_save"
48977 build_libtool_libs=no
48979 - oldobjs="$objs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`
48980 + oldobjs="$old_deplibs $non_pic_objects"
48982 addlibs="$old_convenience"
48985 if test -n "$addlibs"; then
48986 gentop="$output_objdir/${outputname}x"
48987 - $show "${rm}r $gentop"
48988 - $run ${rm}r "$gentop"
48989 - $show "mkdir $gentop"
48990 - $run mkdir "$gentop"
48992 - if test $status -ne 0 && test ! -d "$gentop"; then
48995 generated="$generated $gentop"
48997 - # Add in members from convenience archives.
48998 - for xlib in $addlibs; do
48999 - # Extract the objects.
49001 - [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
49002 - *) xabs=`pwd`"/$xlib" ;;
49004 - xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
49005 - xdir="$gentop/$xlib"
49007 - $show "${rm}r $xdir"
49008 - $run ${rm}r "$xdir"
49009 - $show "mkdir $xdir"
49010 - $run mkdir "$xdir"
49012 - if test $status -ne 0 && test ! -d "$xdir"; then
49015 - $show "(cd $xdir && $AR x $xabs)"
49016 - $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
49018 - oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
49020 + func_extract_archives $gentop $addlibs
49021 + oldobjs="$oldobjs $func_extract_archives_result"
49024 # Do each command in the archive commands.
49025 if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
49026 - eval cmds=\"$old_archive_from_new_cmds\"
49027 + cmds=$old_archive_from_new_cmds
49029 - # Ensure that we have .o objects in place in case we decided
49030 - # not to build a shared library, and have fallen back to building
49031 - # static libs even though --disable-static was passed!
49032 - for oldobj in $oldobjs; do
49033 - if test ! -f $oldobj; then
49034 - xdir=`$echo "X$oldobj" | $Xsed -e 's%/[^/]*$%%'`
49035 - if test "X$xdir" = "X$oldobj"; then
49040 - baseobj=`$echo "X$oldobj" | $Xsed -e 's%^.*/%%'`
49041 - obj=`$echo "X$baseobj" | $Xsed -e "$o2lo"`
49042 - $show "(cd $xdir && ${LN_S} $obj $baseobj)"
49043 - $run eval '(cd $xdir && ${LN_S} $obj $baseobj)' || exit $?
49044 + # POSIX demands no paths to be encoded in archives. We have
49045 + # to avoid creating archives with duplicate basenames if we
49046 + # might have to extract them afterwards, e.g., when creating a
49047 + # static archive out of a convenience library, or when linking
49048 + # the entirety of a libtool archive into another (currently
49049 + # not supported by libtool).
49050 + if (for obj in $oldobjs
49052 + $echo "X$obj" | $Xsed -e 's%^.*/%%'
49053 + done | sort | sort -uc >/dev/null 2>&1); then
49056 + $echo "copying selected object files to avoid basename conflicts..."
49058 + if test -z "$gentop"; then
49059 + gentop="$output_objdir/${outputname}x"
49060 + generated="$generated $gentop"
49062 + $show "${rm}r $gentop"
49063 + $run ${rm}r "$gentop"
49064 + $show "$mkdir $gentop"
49065 + $run $mkdir "$gentop"
49067 + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then
49068 + exit $exit_status
49073 + save_oldobjs=$oldobjs
49076 + for obj in $save_oldobjs
49078 + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
49079 + case " $oldobjs " in
49080 + " ") oldobjs=$obj ;;
49081 + *[\ /]"$objbase "*)
49083 + # Make sure we don't pick an alternate name that also
49085 + newobj=lt$counter-$objbase
49086 + counter=`expr $counter + 1`
49087 + case " $oldobjs " in
49088 + *[\ /]"$newobj "*) ;;
49089 + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
49092 + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
49093 + $run ln "$obj" "$gentop/$newobj" ||
49094 + $run cp "$obj" "$gentop/$newobj"
49095 + oldobjs="$oldobjs $gentop/$newobj"
49097 + *) oldobjs="$oldobjs $obj" ;;
49102 eval cmds=\"$old_archive_cmds\"
49104 + if len=`expr "X$cmds" : ".*"` &&
49105 + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
49106 + cmds=$old_archive_cmds
49108 + # the command line is too long to link in one step, link in parts
49109 + $echo "using piecewise archive linking..."
49110 + save_RANLIB=$RANLIB
49114 + save_oldobjs=$oldobjs
49116 + # Is there a better way of finding the last object in the list?
49117 + for obj in $save_oldobjs
49121 + for obj in $save_oldobjs
49123 + oldobjs="$objlist $obj"
49124 + objlist="$objlist $obj"
49125 + eval test_cmds=\"$old_archive_cmds\"
49126 + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` &&
49127 + test "$len" -le "$max_cmd_len"; then
49130 + # the above command should be used before it gets too long
49132 + if test "$obj" = "$last_oldobj" ; then
49133 + RANLIB=$save_RANLIB
49135 + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
49136 + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
49140 + RANLIB=$save_RANLIB
49142 + if test "X$oldobjs" = "X" ; then
49143 + eval cmds=\"\$concat_cmds\"
49145 + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
49149 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
49150 + save_ifs="$IFS"; IFS='~'
49151 for cmd in $cmds; do
49152 + eval cmd=\"$cmd\"
49155 $run eval "$cmd" || exit $?
49156 @@ -3056,20 +5570,31 @@
49159 # Now create the libtool archive.
49160 - case "$output" in
49164 test "$build_old_libs" = yes && old_library="$libname.$libext"
49165 $show "creating $output"
49167 - if test -n "$xrpath"; then
49169 - for libdir in $xrpath; do
49170 - temp_xrpath="$temp_xrpath -R$libdir"
49172 - dependency_libs="$temp_xrpath $dependency_libs"
49173 + # Preserve any variables that may affect compiler behavior
49174 + for var in $variables_saved_for_relink; do
49175 + if eval test -z \"\${$var+set}\"; then
49176 + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
49177 + elif eval var_value=\$$var; test -z "$var_value"; then
49178 + relink_command="$var=; export $var; $relink_command"
49180 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
49181 + relink_command="$var=\"$var_value\"; export $var; $relink_command"
49184 + # Quote the link command for shipping.
49185 + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
49186 + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
49187 + if test "$hardcode_automatic" = yes ; then
49192 # Only create the output if not a dry run.
49193 if test -z "$run"; then
49194 for installed in no yes; do
49195 @@ -3078,8 +5603,71 @@
49198 output="$output_objdir/$outputname"i
49199 + # Replace all uninstalled libtool libraries with the installed ones
49200 + newdependency_libs=
49201 + for deplib in $dependency_libs; do
49204 + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
49205 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
49206 + if test -z "$libdir"; then
49207 + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
49208 + exit $EXIT_FAILURE
49210 + newdependency_libs="$newdependency_libs $libdir/$name"
49212 + *) newdependency_libs="$newdependency_libs $deplib" ;;
49215 + dependency_libs="$newdependency_libs"
49217 + for lib in $dlfiles; do
49218 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
49219 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
49220 + if test -z "$libdir"; then
49221 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
49222 + exit $EXIT_FAILURE
49224 + newdlfiles="$newdlfiles $libdir/$name"
49226 + dlfiles="$newdlfiles"
49228 + for lib in $dlprefiles; do
49229 + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
49230 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
49231 + if test -z "$libdir"; then
49232 + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
49233 + exit $EXIT_FAILURE
49235 + newdlprefiles="$newdlprefiles $libdir/$name"
49237 + dlprefiles="$newdlprefiles"
49240 + for lib in $dlfiles; do
49242 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
49243 + *) abs=`pwd`"/$lib" ;;
49245 + newdlfiles="$newdlfiles $abs"
49247 + dlfiles="$newdlfiles"
49249 + for lib in $dlprefiles; do
49251 + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
49252 + *) abs=`pwd`"/$lib" ;;
49254 + newdlprefiles="$newdlprefiles $abs"
49256 + dlprefiles="$newdlprefiles"
49259 + # place dlname in correct position for cygwin
49261 + case $host,$output,$installed,$module,$dlname in
49262 + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
49265 # $outputname - a libtool library file
49266 # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
49267 @@ -3088,7 +5676,7 @@
49268 # It is necessary for linking the library.
49270 # The name that we can dlopen(3).
49274 # Names of this library.
49275 library_names='$library_names'
49276 @@ -3107,19 +5695,29 @@
49277 # Is this an already installed library?
49278 installed=$installed
49280 +# Should we warn about portability when linking against -modules?
49281 +shouldnotlink=$module
49283 +# Files to dlopen/dlpreopen
49285 +dlpreopen='$dlprefiles'
49287 # Directory that this library needs to be installed in:
49288 -libdir='$install_libdir'\
49290 +libdir='$install_libdir'"
49291 + if test "$installed" = no && test "$need_relink" = yes; then
49292 + $echo >> $output "\
49293 +relink_command=\"$relink_command\""
49298 # Do a symbolic link so that the libtool archive can be found in
49299 # LD_LIBRARY_PATH before the program is installed.
49300 $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
49301 - $run eval "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" || exit $?
49302 + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
49306 + exit $EXIT_SUCCESS
49309 # libtool install mode
49310 @@ -3128,11 +5726,13 @@
49312 # There may be an optional sh(1) argument at the beginning of
49313 # install_prog (especially on Windows NT).
49314 - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh; then
49315 + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
49316 + # Allow the use of GNU shtool's install command.
49317 + $echo "X$nonopt" | grep shtool > /dev/null; then
49318 # Aesthetically quote it.
49319 arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
49321 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
49323 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
49327 @@ -3141,14 +5741,14 @@
49335 # The real first argument should be the name of the installation program.
49336 # Aesthetically quote it.
49337 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
49339 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
49341 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
49345 @@ -3166,28 +5766,31 @@
49347 if test -n "$dest"; then
49348 files="$files $dest"
49362 + case " $install_prog " in
49363 + *[\\\ /]cp\ *) ;;
49367 + -g | -m | -o) prev=$arg ;;
49377 # If the previous option needed an argument, then skip it.
49378 if test -n "$prev"; then
49386 @@ -3195,8 +5798,8 @@
49388 # Aesthetically quote the argument.
49389 arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
49391 - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
49393 + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
49397 @@ -3206,13 +5809,13 @@
49398 if test -z "$install_prog"; then
49399 $echo "$modename: you must specify an install program" 1>&2
49402 + exit $EXIT_FAILURE
49405 if test -n "$prev"; then
49406 $echo "$modename: the \`$prev' option requires an argument" 1>&2
49409 + exit $EXIT_FAILURE
49412 if test -z "$files"; then
49413 @@ -3222,7 +5825,7 @@
49414 $echo "$modename: you must specify a destination" 1>&2
49418 + exit $EXIT_FAILURE
49421 # Strip any trailing slash from the destination.
49422 @@ -3240,22 +5843,22 @@
49424 # Not a directory, so check to see that there is only one file specified.
49426 - if test $# -gt 2; then
49427 + if test "$#" -gt 2; then
49428 $echo "$modename: \`$dest' is not a directory" 1>&2
49431 + exit $EXIT_FAILURE
49434 - case "$destdir" in
49436 [\\/]* | [A-Za-z]:[\\/]*) ;;
49438 for file in $files; do
49443 $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
49446 + exit $EXIT_FAILURE
49450 @@ -3272,25 +5875,26 @@
49451 for file in $files; do
49453 # Do each installation.
49458 # Do the static libraries later.
49459 staticlibs="$staticlibs $file"
49463 # Check to see that this really is a libtool archive.
49464 - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
49465 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
49467 $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
49470 + exit $EXIT_FAILURE
49476 # If there is no directory component, then add one.
49479 */* | *\\*) . $file ;;
49482 @@ -3309,10 +5913,41 @@
49486 - dir="`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/"
49487 + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
49488 test "X$dir" = "X$file/" && dir=
49491 + if test -n "$relink_command"; then
49492 + # Determine the prefix the user has applied to our future dir.
49493 + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
49495 + # Don't allow the user to place us outside of our expected
49496 + # location b/c this prevents finding dependent libraries that
49497 + # are installed to the same prefix.
49498 + # At present, this check doesn't affect windows .dll's that
49499 + # are installed into $libdir/../bin (currently, that works fine)
49500 + # but it's something to keep an eye on.
49501 + if test "$inst_prefix_dir" = "$destdir"; then
49502 + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
49503 + exit $EXIT_FAILURE
49506 + if test -n "$inst_prefix_dir"; then
49507 + # Stick the inst_prefix_dir data into the link command.
49508 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
49510 + relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
49513 + $echo "$modename: warning: relinking \`$file'" 1>&2
49514 + $show "$relink_command"
49515 + if $run eval "$relink_command"; then :
49517 + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
49518 + exit $EXIT_FAILURE
49522 # See the names of the shared library.
49523 set dummy $library_names
49524 if test -n "$2"; then
49525 @@ -3320,29 +5955,49 @@
49529 + srcname="$realname"
49530 + test -n "$relink_command" && srcname="$realname"T
49532 # Install the shared library and build the symlinks.
49533 - $show "$install_prog $dir/$realname $destdir/$realname"
49534 - $run eval "$install_prog $dir/$realname $destdir/$realname" || exit $?
49535 + $show "$install_prog $dir/$srcname $destdir/$realname"
49536 + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
49537 + if test -n "$stripme" && test -n "$striplib"; then
49538 + $show "$striplib $destdir/$realname"
49539 + $run eval "$striplib $destdir/$realname" || exit $?
49542 - if test $# -gt 0; then
49543 + if test "$#" -gt 0; then
49544 # Delete the old symlinks, and create new ones.
49545 + # Try `ln -sf' first, because the `ln' binary might depend on
49546 + # the symlink we replace! Solaris /bin/ln does not understand -f,
49547 + # so we also need to try rm && ln -s.
49550 if test "$linkname" != "$realname"; then
49551 - $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
49552 - $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
49553 + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
49554 + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })"
49559 # Do each command in the postinstall commands.
49560 lib="$destdir/$realname"
49561 - eval cmds=\"$postinstall_cmds\"
49562 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
49563 + cmds=$postinstall_cmds
49564 + save_ifs="$IFS"; IFS='~'
49565 for cmd in $cmds; do
49567 + eval cmd=\"$cmd\"
49569 - $run eval "$cmd" || exit $?
49570 + $run eval "$cmd" || {
49573 + # Restore the uninstalled library and exit
49574 + if test "$mode" = relink; then
49575 + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)'
49583 @@ -3369,18 +6024,18 @@
49586 # Deduce the name of the destination old-style object file.
49587 - case "$destfile" in
49588 + case $destfile in
49590 staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
49594 staticdest="$destfile"
49598 $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
49601 + exit $EXIT_FAILURE
49605 @@ -3398,7 +6053,7 @@
49606 $show "$install_prog $staticobj $staticdest"
49607 $run eval "$install_prog \$staticobj \$staticdest" || exit $?
49610 + exit $EXIT_SUCCESS
49614 @@ -3410,52 +6065,84 @@
49615 destfile="$destdir/$destfile"
49618 + # If the file is missing, and there is a .exe on the end, strip it
49619 + # because it is most likely a libtool script we actually want to
49624 + if test ! -f "$file"; then
49625 + file=`$echo $file|${SED} 's,.exe$,,'`
49626 + stripped_ext=".exe"
49631 # Do a test to see if this is really a libtool program.
49632 - if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
49633 - link_against_libtool_libs=
49635 + *cygwin*|*mingw*)
49636 + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
49642 + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
49646 + # Note that it is not necessary on cygwin/mingw to append a dot to
49647 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
49648 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
49649 + # `FILE.' does not work on cygwin managed mounts.
49651 # If there is no directory component, then add one.
49653 - */* | *\\*) . $file ;;
49656 + */* | *\\*) . ${wrapper} ;;
49657 + *) . ./${wrapper} ;;
49660 # Check the variables that should have been set.
49661 - if test -z "$link_against_libtool_libs"; then
49662 - $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
49664 + if test -z "$notinst_deplibs"; then
49665 + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
49666 + exit $EXIT_FAILURE
49670 - for lib in $link_against_libtool_libs; do
49671 + for lib in $notinst_deplibs; do
49672 # Check to see that each library is installed.
49674 if test -f "$lib"; then
49675 # If there is no directory component, then add one.
49678 */* | *\\*) . $lib ;;
49682 - libfile="$libdir/`$echo "X$lib" | $Xsed -e 's%^.*/%%g'`"
49683 + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
49684 if test -n "$libdir" && test ! -f "$libfile"; then
49685 $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
49691 + # Note that it is not necessary on cygwin/mingw to append a dot to
49692 + # foo even if both foo and FILE.exe exist: automatic-append-.exe
49693 + # behavior happens only for exec(3), not for open(2)! Also, sourcing
49694 + # `FILE.' does not work on cygwin managed mounts.
49696 + # If there is no directory component, then add one.
49698 + */* | *\\*) . ${wrapper} ;;
49699 + *) . ./${wrapper} ;;
49703 if test "$fast_install" = no && test -n "$relink_command"; then
49704 if test "$finalize" = yes && test -z "$run"; then
49706 - test -n "$TMPDIR" && tmpdir="$TMPDIR"
49707 - tmpdir="$tmpdir/libtool-$$"
49708 - if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
49710 - $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
49713 + tmpdir=`func_mktempdir`
49714 + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
49715 outputname="$tmpdir/$file"
49716 # Replace the output file specification.
49717 relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
49718 @@ -3473,10 +6160,27 @@
49721 # Install the binary that we compiled earlier.
49722 - file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
49723 + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
49727 + # remove .exe since cygwin /usr/bin/install will append another
49729 + case $install_prog,$host in
49730 + */usr/bin/install*,*cygwin*)
49731 + case $file:$destfile in
49736 + destfile=$destfile.exe
49739 + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
49744 $show "$install_prog$stripme $file $destfile"
49745 $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
49746 test -n "$outputname" && ${rm}r "$tmpdir"
49747 @@ -3493,11 +6197,17 @@
49748 $show "$install_prog $file $oldlib"
49749 $run eval "$install_prog \$file \$oldlib" || exit $?
49751 + if test -n "$stripme" && test -n "$old_striplib"; then
49752 + $show "$old_striplib $oldlib"
49753 + $run eval "$old_striplib $oldlib" || exit $?
49756 # Do each command in the postinstall commands.
49757 - eval cmds=\"$old_postinstall_cmds\"
49758 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
49759 + cmds=$old_postinstall_cmds
49760 + save_ifs="$IFS"; IFS='~'
49761 for cmd in $cmds; do
49763 + eval cmd=\"$cmd\"
49765 $run eval "$cmd" || exit $?
49767 @@ -3511,11 +6221,10 @@
49768 if test -n "$current_libdirs"; then
49769 # Maybe just do a dry run.
49770 test -n "$run" && current_libdirs=" -n$current_libdirs"
49771 - exec $SHELL $0 --finish$current_libdirs
49773 + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
49775 + exit $EXIT_SUCCESS
49781 # libtool finish mode
49782 @@ -3533,10 +6242,11 @@
49783 for libdir in $libdirs; do
49784 if test -n "$finish_cmds"; then
49785 # Do each command in the finish commands.
49786 - eval cmds=\"$finish_cmds\"
49787 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
49788 + cmds=$finish_cmds
49789 + save_ifs="$IFS"; IFS='~'
49790 for cmd in $cmds; do
49792 + eval cmd=\"$cmd\"
49794 $run eval "$cmd" || admincmds="$admincmds
49796 @@ -3553,43 +6263,43 @@
49799 # Exit here if they wanted silent mode.
49800 - test "$show" = : && exit 0
49801 + test "$show" = : && exit $EXIT_SUCCESS
49803 - echo "----------------------------------------------------------------------"
49804 - echo "Libraries have been installed in:"
49805 + $echo "X----------------------------------------------------------------------" | $Xsed
49806 + $echo "Libraries have been installed in:"
49807 for libdir in $libdirs; do
49812 - echo "If you ever happen to want to link against installed libraries"
49813 - echo "in a given directory, LIBDIR, you must either use libtool, and"
49814 - echo "specify the full pathname of the library, or use \`-LLIBDIR'"
49815 - echo "flag during linking and do at least one of the following:"
49817 + $echo "If you ever happen to want to link against installed libraries"
49818 + $echo "in a given directory, LIBDIR, you must either use libtool, and"
49819 + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
49820 + $echo "flag during linking and do at least one of the following:"
49821 if test -n "$shlibpath_var"; then
49822 - echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
49823 - echo " during execution"
49824 + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
49825 + $echo " during execution"
49827 if test -n "$runpath_var"; then
49828 - echo " - add LIBDIR to the \`$runpath_var' environment variable"
49829 - echo " during linking"
49830 + $echo " - add LIBDIR to the \`$runpath_var' environment variable"
49831 + $echo " during linking"
49833 if test -n "$hardcode_libdir_flag_spec"; then
49835 eval flag=\"$hardcode_libdir_flag_spec\"
49837 - echo " - use the \`$flag' linker flag"
49838 + $echo " - use the \`$flag' linker flag"
49840 if test -n "$admincmds"; then
49841 - echo " - have your system administrator run these commands:$admincmds"
49842 + $echo " - have your system administrator run these commands:$admincmds"
49844 if test -f /etc/ld.so.conf; then
49845 - echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
49846 + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
49849 - echo "See any operating system documentation about shared libraries for"
49850 - echo "more information, such as the ld(1) and ld.so(8) manual pages."
49851 - echo "----------------------------------------------------------------------"
49854 + $echo "See any operating system documentation about shared libraries for"
49855 + $echo "more information, such as the ld(1) and ld.so(8) manual pages."
49856 + $echo "X----------------------------------------------------------------------" | $Xsed
49857 + exit $EXIT_SUCCESS
49860 # libtool execute mode
49861 @@ -3601,7 +6311,7 @@
49862 if test -z "$cmd"; then
49863 $echo "$modename: you must specify a COMMAND" 1>&2
49866 + exit $EXIT_FAILURE
49869 # Handle -dlopen flags immediately.
49870 @@ -3609,18 +6319,18 @@
49871 if test ! -f "$file"; then
49872 $echo "$modename: \`$file' is not a file" 1>&2
49875 + exit $EXIT_FAILURE
49882 # Check to see that this really is a libtool archive.
49883 - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
49884 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
49886 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
49889 + exit $EXIT_FAILURE
49892 # Read the libtool library.
49893 @@ -3628,7 +6338,7 @@
49896 # If there is no directory component, then add one.
49899 */* | *\\*) . $file ;;
49902 @@ -3647,7 +6357,7 @@
49905 $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
49907 + exit $EXIT_FAILURE
49911 @@ -3683,13 +6393,13 @@
49919 # Do a test to see if this is really a libtool program.
49920 - if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
49921 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
49922 # If there is no directory component, then add one.
49925 */* | *\\*) . $file ;;
49928 @@ -3706,11 +6416,11 @@
49930 if test -z "$run"; then
49931 if test -n "$shlibpath_var"; then
49932 - # Export the shlibpath_var.
49933 - eval "export $shlibpath_var"
49934 + # Export the shlibpath_var.
49935 + eval "export $shlibpath_var"
49938 - # Restore saved enviroment variables
49939 + # Restore saved environment variables
49940 if test "${save_LC_ALL+set}" = set; then
49941 LC_ALL="$save_LC_ALL"; export LC_ALL
49943 @@ -3718,31 +6428,35 @@
49944 LANG="$save_LANG"; export LANG
49947 - # Now actually exec the command.
49948 - eval "exec \$cmd$args"
49950 - $echo "$modename: cannot exec \$cmd$args"
49952 + # Now prepare to actually exec the command.
49953 + exec_cmd="\$cmd$args"
49955 # Display what would be done.
49956 if test -n "$shlibpath_var"; then
49957 - eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
49958 - $echo "export $shlibpath_var"
49959 + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
49960 + $echo "export $shlibpath_var"
49964 + exit $EXIT_SUCCESS
49968 - # libtool uninstall mode
49970 - modename="$modename: uninstall"
49971 + # libtool clean and uninstall mode
49972 + clean | uninstall)
49973 + modename="$modename: $mode"
49979 + # This variable tells wrapper scripts just to set variables rather
49980 + # than running their programs.
49981 + libtool_install_magic="$magic"
49987 + -f) rm="$rm $arg"; rmforce=yes ;;
49988 -*) rm="$rm $arg" ;;
49989 *) files="$files $arg" ;;
49991 @@ -3751,91 +6465,192 @@
49992 if test -z "$rm"; then
49993 $echo "$modename: you must specify an RM program" 1>&2
49996 + exit $EXIT_FAILURE
50001 + origobjdir="$objdir"
50002 for file in $files; do
50003 dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
50004 - test "X$dir" = "X$file" && dir=.
50005 + if test "X$dir" = "X$file"; then
50007 + objdir="$origobjdir"
50009 + objdir="$dir/$origobjdir"
50011 name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
50012 + test "$mode" = uninstall && objdir="$dir"
50014 + # Remember objdir for removal later, being careful to avoid duplicates
50015 + if test "$mode" = clean; then
50016 + case " $rmdirs " in
50017 + *" $objdir "*) ;;
50018 + *) rmdirs="$rmdirs $objdir" ;;
50022 + # Don't error if the file doesn't exist and rm -f was used.
50023 + if (test -L "$file") >/dev/null 2>&1 \
50024 + || (test -h "$file") >/dev/null 2>&1 \
50025 + || test -f "$file"; then
50027 + elif test -d "$file"; then
50030 + elif test "$rmforce" = yes; then
50039 # Possibly a libtool archive, so verify it.
50040 - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
50041 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
50044 # Delete the libtool libraries and symlinks.
50045 for n in $library_names; do
50046 - rmfiles="$rmfiles $dir/$n"
50047 + rmfiles="$rmfiles $objdir/$n"
50049 - test -n "$old_library" && rmfiles="$rmfiles $dir/$old_library"
50050 + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
50052 - $show "$rm $rmfiles"
50053 - $run $rm $rmfiles
50055 - if test -n "$library_names"; then
50056 - # Do each command in the postuninstall commands.
50057 - eval cmds=\"$postuninstall_cmds\"
50058 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
50059 - for cmd in $cmds; do
50062 + case " $library_names " in
50063 + # " " in the beginning catches empty $dlname
50064 + *" $dlname "*) ;;
50065 + *) rmfiles="$rmfiles $objdir/$dlname" ;;
50067 + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
50070 + if test -n "$library_names"; then
50071 + # Do each command in the postuninstall commands.
50072 + cmds=$postuninstall_cmds
50073 + save_ifs="$IFS"; IFS='~'
50074 + for cmd in $cmds; do
50076 + eval cmd=\"$cmd\"
50079 + if test "$?" -ne 0 && test "$rmforce" != yes; then
50091 - if test -n "$old_library"; then
50092 - # Do each command in the old_postuninstall commands.
50093 - eval cmds=\"$old_postuninstall_cmds\"
50094 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
50095 - for cmd in $cmds; do
50096 + if test -n "$old_library"; then
50097 + # Do each command in the old_postuninstall commands.
50098 + cmds=$old_postuninstall_cmds
50099 + save_ifs="$IFS"; IFS='~'
50100 + for cmd in $cmds; do
50102 + eval cmd=\"$cmd\"
50105 + if test "$?" -ne 0 && test "$rmforce" != yes; then
50116 - # FIXME: should reinstall the best remaining shared library.
50118 + # FIXME: should reinstall the best remaining shared library.
50125 - if test "$build_old_libs" = yes; then
50126 - oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
50127 - rmfiles="$rmfiles $dir/$oldobj"
50128 + # Possibly a libtool object, so verify it.
50129 + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
50131 + # Read the .lo file
50134 + # Add PIC object to the list of files to remove.
50135 + if test -n "$pic_object" \
50136 + && test "$pic_object" != none; then
50137 + rmfiles="$rmfiles $dir/$pic_object"
50140 + # Add non-PIC object to the list of files to remove.
50141 + if test -n "$non_pic_object" \
50142 + && test "$non_pic_object" != none; then
50143 + rmfiles="$rmfiles $dir/$non_pic_object"
50146 - $show "$rm $rmfiles"
50147 - $run $rm $rmfiles
50151 - $show "$rm $rmfiles"
50152 - $run $rm $rmfiles
50153 + if test "$mode" = clean ; then
50157 + file=`$echo $file|${SED} 's,.exe$,,'`
50158 + noexename=`$echo $name|${SED} 's,.exe$,,'`
50159 + # $file with .exe has already been added to rmfiles,
50160 + # add $file without .exe
50161 + rmfiles="$rmfiles $file"
50164 + # Do a test to see if this is a libtool program.
50165 + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
50167 + . $dir/$noexename
50169 + # note $name still contains .exe if it was in $file originally
50170 + # as does the version of $file that was added into $rmfiles
50171 + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
50172 + if test "$fast_install" = yes && test -n "$relink_command"; then
50173 + rmfiles="$rmfiles $objdir/lt-$name"
50175 + if test "X$noexename" != "X$name" ; then
50176 + rmfiles="$rmfiles $objdir/lt-${noexename}.c"
50182 + $show "$rm $rmfiles"
50183 + $run $rm $rmfiles || exit_status=1
50186 + objdir="$origobjdir"
50188 + # Try to remove the ${objdir}s in the directories where we deleted files
50189 + for dir in $rmdirs; do
50190 + if test -d "$dir"; then
50191 + $show "rmdir $dir"
50192 + $run rmdir $dir >/dev/null 2>&1
50196 + exit $exit_status
50200 $echo "$modename: you must specify a MODE" 1>&2
50201 $echo "$generic_help" 1>&2
50203 + exit $EXIT_FAILURE
50207 - $echo "$modename: invalid operation mode \`$mode'" 1>&2
50208 - $echo "$generic_help" 1>&2
50210 + if test -z "$exec_cmd"; then
50211 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
50212 + $echo "$generic_help" 1>&2
50213 + exit $EXIT_FAILURE
50215 fi # test -z "$show_help"
50217 +if test -n "$exec_cmd"; then
50218 + eval exec $exec_cmd
50219 + exit $EXIT_FAILURE
50222 # We need to display help for each of the modes.
50226 "Usage: $modename [OPTION]... [MODE-ARG]...
50228 @@ -3850,10 +6665,12 @@
50229 --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
50230 --quiet same as \`--silent'
50231 --silent don't print informational messages
50232 + --tag=TAG use configuration variables from tag TAG
50233 --version print version information
50235 MODE must be one of the following:
50237 + clean remove files from the build directory
50238 compile compile a source file into a libtool object
50239 execute automatically set library path, then run a program
50240 finish complete the installation of libtool libraries
50241 @@ -3862,8 +6679,24 @@
50242 uninstall remove libraries from an installed directory
50244 MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
50245 -a more detailed description of MODE."
50247 +a more detailed description of MODE.
50249 +Report bugs to <bug-libtool@gnu.org>."
50250 + exit $EXIT_SUCCESS
50255 +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
50257 +Remove files from the build directory.
50259 +RM is the name of the program to use to delete files associated with each FILE
50260 +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
50263 +If FILE is a libtool library, object or program, all the files associated
50264 +with it are deleted. Otherwise, only FILE itself is deleted using RM."
50268 @@ -3875,6 +6708,8 @@
50269 This mode accepts the following additional options:
50271 -o OUTPUT-FILE set the output file name to OUTPUT-FILE
50272 + -prefer-pic try to building PIC objects only
50273 + -prefer-non-pic try to building non-PIC objects only
50274 -static always build a \`.o' file suitable for static linking
50276 COMPILE-COMMAND is a command to be used in creating a \`standard' object file
50277 @@ -3954,8 +6789,13 @@
50278 -LLIBDIR search LIBDIR for required installed libraries
50279 -lNAME OUTPUT-FILE requires the installed library libNAME
50280 -module build a library that can dlopened
50281 + -no-fast-install disable the fast-install mode
50282 + -no-install link a not-installable executable
50283 -no-undefined declare that a library does not refer to external symbols
50284 -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
50285 + -objectlist FILE Use a list of object files found in FILE to specify objects
50286 + -precious-files-regex REGEX
50287 + don't remove output files matching REGEX
50288 -release RELEASE specify package release information
50289 -rpath LIBDIR the created library will eventually be installed in LIBDIR
50290 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
50291 @@ -3997,14 +6837,33 @@
50293 $echo "$modename: invalid operation mode \`$mode'" 1>&2
50296 + exit $EXIT_FAILURE
50302 $echo "Try \`$modename --help' for more information about other modes."
50307 +# The TAGs below are defined such that we never get into a situation
50308 +# in which we disable both kinds of libraries. Given conflicting
50309 +# choices, we go for a static library, that is the most portable,
50310 +# since we can't tell whether shared libraries were disabled because
50311 +# the user asked for that or because the platform doesn't support
50312 +# them. This is particularly important on AIX, because we don't
50313 +# support having both static and shared libraries enabled at the same
50314 +# time on that platform, so we default to a shared-only configuration.
50315 +# If a disable-shared tag is given, we'll fallback to a static-only
50316 +# configuration. But we'll never go from static-only to shared-only.
50318 +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
50319 +disable_libs=shared
50320 +# ### END LIBTOOL TAG CONFIG: disable-shared
50322 +# ### BEGIN LIBTOOL TAG CONFIG: disable-static
50323 +disable_libs=static
50324 +# ### END LIBTOOL TAG CONFIG: disable-static
50327 # mode:shell-script